2 # From configure.in Id: configure.in 67603 2011-04-26 17:35:35Z RD .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.2.
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.2'
579 PACKAGE_STRING
='wxWidgets 2.9.2'
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_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_DFB_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
943 COND_TOOLKIT_MGL_USE_GUI_1
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
966 COND_TOOLKIT_X11_USE_GUI_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1036 WXCONFIG_LDFLAGS_GUI
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1059 ac_precious_vars
='build_alias
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1096 ac_subdirs_all
='src/tiff
1099 # Initialize some variables set by options.
1101 ac_init_version
=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file
=/dev
/null
1111 program_transform_name
=s
,x
,x
,
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir
='${exec_prefix}/bin'
1126 sbindir
='${exec_prefix}/sbin'
1127 libexecdir
='${exec_prefix}/libexec'
1128 datarootdir
='${prefix}/share'
1129 datadir
='${datarootdir}'
1130 sysconfdir
='${prefix}/etc'
1131 sharedstatedir
='${prefix}/com'
1132 localstatedir
='${prefix}/var'
1133 includedir
='${prefix}/include'
1134 oldincludedir
='/usr/include'
1135 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir
='${datarootdir}/info'
1141 libdir
='${exec_prefix}/lib'
1142 localedir
='${datarootdir}/locale'
1143 mandir
='${datarootdir}/man'
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\
$ac_option
1157 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1163 case $ac_dashdash$ac_option in
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir
=$ac_optarg ;;
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev
=build_alias
;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias
=$ac_optarg ;;
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev
=cache_file
;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file
=$ac_optarg ;;
1184 --config-cache | -C)
1185 cache_file
=config.cache
;;
1187 -datadir | --datadir | --datadi | --datad)
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir
=$ac_optarg ;;
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev
=datarootdir
;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir
=$ac_optarg ;;
1199 -disable-* | --disable-*)
1200 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_
$ac_feature=no
;;
1208 -docdir | --docdir | --docdi | --doc | --do)
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir
=$ac_optarg ;;
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir
=$ac_optarg ;;
1218 -enable-* | --enable-*)
1219 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_
$ac_feature=\
$ac_optarg ;;
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev
=exec_prefix
;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix
=$ac_optarg ;;
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help
=long
;;
1242 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1243 ac_init_help
=recursive
;;
1244 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1245 ac_init_help
=short
;;
1247 -host | --host | --hos | --ho)
1248 ac_prev
=host_alias
;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias
=$ac_optarg ;;
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1256 htmldir
=$ac_optarg ;;
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev
=includedir
;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir
=$ac_optarg ;;
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir
=$ac_optarg ;;
1270 -libdir | --libdir | --libdi | --libd)
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir
=$ac_optarg ;;
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev
=libexecdir
;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir
=$ac_optarg ;;
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev
=localedir
;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir
=$ac_optarg ;;
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev
=localstatedir
;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir
=$ac_optarg ;;
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir
=$ac_optarg ;;
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev
=oldincludedir
;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir
=$ac_optarg ;;
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix
=$ac_optarg ;;
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev
=program_prefix
;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix
=$ac_optarg ;;
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev
=program_suffix
;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix
=$ac_optarg ;;
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev
=program_transform_name
;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name
=$ac_optarg ;;
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir
=$ac_optarg ;;
1361 -psdir | --psdir | --psdi | --psd | --ps)
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1374 sbindir
=$ac_optarg ;;
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1380 ac_prev
=sharedstatedir
;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1385 sharedstatedir
=$ac_optarg ;;
1387 -site | --site | --sit)
1389 -site=* | --site=* | --sit=*)
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir
=$ac_optarg ;;
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev
=sysconfdir
;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir
=$ac_optarg ;;
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev
=target_alias
;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias
=$ac_optarg ;;
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version
=: ;;
1416 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_
$ac_package=\
$ac_optarg ;;
1424 -without-* | --without-*)
1425 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_
$ac_package=no
;;
1434 # Obsolete; use --with-x.
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev
=x_includes
;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes
=$ac_optarg ;;
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev
=x_libraries
;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries
=$ac_optarg ;;
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1457 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\
$ac_optarg
1463 export $ac_envvar ;;
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1476 if test -n "$ac_prev"; then
1477 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1482 # Be sure to have absolute directory names.
1483 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1488 eval ac_val
=\$
$ac_var
1490 [\\/$
]* | ?
:[\\/]* ) continue;;
1491 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1502 target
=$target_alias
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x
; then
1506 if test "x$build_alias" = x
; then
1507 cross_compiling
=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1516 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1518 test "$silent" = yes && exec 6>/dev
/null
1521 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di
=`ls -di .` &&
1523 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted
=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir
=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1563 ac_srcdir_defaulted
=no
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1570 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1583 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1585 for ac_var
in $ac_precious_vars; do
1586 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1587 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1588 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1589 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1593 # Report the --help message.
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1606 Defaults for the options are specified in brackets.
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1630 For better control, use the options below.
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1657 --x-includes=DIR X include files are
in DIR
1658 --x-libraries=DIR X library files are
in DIR
1661 --build=BUILD configure
for building on BUILD
[guessed
]
1662 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short
| recursive
) echo "Configuration of wxWidgets 2.9.2:";;
1673 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1674 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1675 --disable-gui don
't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1690 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use standard C++ classes for everything
1693 --enable-std_containers use standard C++ container classes
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1697 --disable-unicode compile without Unicode support
1698 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1699 --enable-utf8 use UTF-8 representation for strings (Unix only)
1700 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1701 --enable-extended_rtti use extended RTTI (XTI)
1702 --enable-omf use OMF object format
1703 --disable-optimise compile without optimisations
1704 --enable-profile create code with profiling information
1705 --enable-no_rtti create code without RTTI information
1706 --enable-no_exceptions create code without C++ exceptions handling
1707 --enable-permissive compile code disregarding strict ANSI
1708 --enable-no_deps create code without dependency information
1709 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1710 --enable-universal_binary create universal binary with Mac PPC and i386
(and x86_64
if using Cocoa
) architectures
1711 --enable-macosx_arch=ARCH build
for just the specified architecture
1712 --enable-compat26 enable wxWidgets
2.6 compatibility
1713 --disable-compat28 disable wxWidgets
2.8 compatibility
1714 --disable-rpath disable use of rpath
for uninstalled builds
1715 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1716 --disable-visibility disable use of ELF symbols visibility even
if supported
1717 --disable-tls disable use of compiler TLS support
1718 --enable-intl use internationalization system
1719 --enable-xlocale use x
-locale support
(requires wxLocale
)
1720 --enable-config use wxConfig
(and derived
) classes
1721 --enable-protocols use wxProtocol and derived classes
1722 --enable-ftp use wxFTP
(requires wxProtocol
1723 --enable-http use wxHTTP
(requires wxProtocol
1724 --enable-fileproto use wxFileProto class
(requires wxProtocol
1725 --enable-sockets use socket
/network classes
1726 --enable-ipv6 enable IPv6 support
in wxSocket
1727 --enable-ole use OLE classes
(Win32 only
)
1728 --enable-dataobj use data object classes
1729 --enable-ipc use interprocess communication
(wxSocket etc.
)
1730 --enable-baseevtloop use event loop
in console programs too
1731 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1732 --enable-selectloop use wxSelectDispatcher class
1733 --enable-any use wxAny class
1734 --enable-apple_ieee use the Apple IEEE codec
1735 --enable-arcstream use wxArchive streams
1736 --enable-base64 use base64 encoding
/decoding functions
1737 --enable-backtrace use wxStackWalker class
for getting backtraces
1738 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1739 --enable-cmdline use wxCmdLineParser class
1740 --enable-datetime use wxDateTime class
1741 --enable-debugreport use wxDebugReport class
1742 --enable-dialupman use dialup network classes
1743 --enable-dynlib use wxLibrary class
for DLL loading
1744 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1745 --enable-exceptions build exception
-safe library
1746 --enable-ffile use wxFFile class
1747 --enable-file use wxFile class
1748 --enable-filehistory use wxFileHistory class
1749 --enable-filesystem use virtual
file systems classes
1750 --enable-fontenum use wxFontEnumerator class
1751 --enable-fontmap use font encodings conversion classes
1752 --enable-fs_archive use virtual archive filesystems
1753 --enable-fs_inet use virtual HTTP
/FTP filesystems
1754 --enable-fs_zip now replaced by fs_archive
1755 --enable-fswatcher use wxFileSystemWatcher class
1756 --enable-geometry use geometry class
1757 --enable-log use logging system
1758 --enable-longlong use wxLongLong class
1759 --enable-mimetype use wxMimeTypesManager
1760 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1761 --enable-snglinst use wxSingleInstanceChecker class
1762 --enable-sound use wxSound class
1763 --enable-stdpaths use wxStandardPaths class
1764 --enable-stopwatch use wxStopWatch class
1765 --enable-streams use wxStream etc classes
1766 --enable-sysoptions use wxSystemOptions
1767 --enable-tarstream use wxTar streams
1768 --enable-textbuf use wxTextBuffer class
1769 --enable-textfile use wxTextFile class
1770 --enable-timer use wxTimer class
1771 --enable-variant use wxVariant class
1772 --enable-zipstream use wxZip streams
1773 --enable-url use wxURL class
1774 --enable-protocol use wxProtocol class
1775 --enable-protocol-http HTTP support
in wxProtocol
1776 --enable-protocol-ftp FTP support
in wxProtocol
1777 --enable-protocol-file FILE support
in wxProtocol
1778 --enable-threads use threads
1779 --enable-iniconf use wxIniConfig
(Win32 only
)
1780 --enable-regkey use wxRegKey class
(Win32 only
)
1781 --enable-docview use document view architecture
1782 --enable-help use
help subsystem
1783 --enable-mshtmlhelp use MS HTML Help
(win32
)
1784 --enable-html use wxHTML sub
-library
1785 --enable-htmlhelp use wxHTML
-based help
1786 --enable-xrc use XRC resources sub
-library
1787 --enable-aui use AUI docking library
1788 --enable-propgrid use wxPropertyGrid library
1789 --enable-ribbon use wxRibbon library
1790 --enable-stc use wxStyledTextCtrl library
1791 --enable-constraints use layout
-constraints system
1792 --enable-loggui use standard GUI logger
1793 --enable-logwin use wxLogWindow
1794 --enable-logdialog use wxLogDialog
1795 --enable-mdi use multiple document interface architecture
1796 --enable-mdidoc use docview architecture with MDI
1797 --enable-mediactrl use wxMediaCtrl class
1798 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1799 --enable-webkit use wxWebKitCtrl
(Mac
)
1800 --enable-richtext use wxRichTextCtrl
1801 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1802 --enable-printarch use printing architecture
1803 --enable-svg use wxSVGFileDC device context
1804 --enable-graphics_ctx use graphics context
2D drawing API
1805 --enable-clipboard use wxClipboard class
1806 --enable-dnd use Drag
'n'Drop classes
1807 --enable-metafile use win32 metafiles
1808 --disable-controls disable compilation of all standard controls
1809 --enable-markup support wxControl
::SetLabelMarkup
1810 --enable-accel use accelerators
1811 --enable-animatectrl use wxAnimationCtrl class
1812 --enable-artstd use standard XPM icons
in wxArtProvider
1813 --enable-arttango use Tango icons
in wxArtProvider
1814 --enable-bmpbutton use wxBitmapButton class
1815 --enable-bmpcombobox use wxBitmapComboBox class
1816 --enable-button use wxButton class
1817 --enable-calendar use wxCalendarCtrl class
1818 --enable-caret use wxCaret class
1819 --enable-checkbox use wxCheckBox class
1820 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1821 --enable-choice use wxChoice class
1822 --enable-choicebook use wxChoicebook class
1823 --enable-collpane use wxCollapsiblePane class
1824 --enable-colourpicker use wxColourPickerCtrl class
1825 --enable-combobox use wxComboBox class
1826 --enable-comboctrl use wxComboCtrl class
1827 --enable-commandlinkbutton use wxCommmandLinkButton class
1828 --enable-dataviewctrl use wxDataViewCtrl class
1829 --enable-datepick use wxDatePickerCtrl class
1830 --enable-detect_sm use code to detect X11 session manager
1831 --enable-dirpicker use wxDirPickerCtrl class
1832 --enable-display use wxDisplay class
1833 --enable-editablebox use wxEditableListBox class
1834 --enable-filectrl use wxFileCtrl class
1835 --enable-filepicker use wxFilePickerCtrl class
1836 --enable-fontpicker use wxFontPickerCtrl class
1837 --enable-gauge use wxGauge class
1838 --enable-grid use wxGrid class
1839 --enable-headerctrl use wxHeaderCtrl class
1840 --enable-hyperlink use wxHyperlinkCtrl class
1841 --enable-imaglist use wxImageList class
1842 --enable-infobar use wxInfoBar class
1843 --enable-listbook use wxListbook class
1844 --enable-listbox use wxListBox class
1845 --enable-listctrl use wxListCtrl class
1846 --enable-notebook use wxNotebook class
1847 --enable-notifmsg use wxNotificationMessage class
1848 --enable-odcombobox use wxOwnerDrawnComboBox class
1849 --enable-popupwin use wxPopUpWindow class
1850 --enable-radiobox use wxRadioBox class
1851 --enable-radiobtn use wxRadioButton class
1852 --enable-richmsgdlg use wxRichMessageDialog class
1853 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1854 --enable-sash use wxSashWindow class
1855 --enable-scrollbar use wxScrollBar class and scrollable windows
1856 --enable-searchctrl use wxSearchCtrl class
1857 --enable-slider use wxSlider class
1858 --enable-spinbtn use wxSpinButton class
1859 --enable-spinctrl use wxSpinCtrl class
1860 --enable-splitter use wxSplitterWindow class
1861 --enable-statbmp use wxStaticBitmap class
1862 --enable-statbox use wxStaticBox class
1863 --enable-statline use wxStaticLine class
1864 --enable-stattext use wxStaticText class
1865 --enable-statusbar use wxStatusBar class
1866 --enable-taskbaricon use wxTaskBarIcon class
1867 --enable-tbarnative use native wxToolBar class
1868 --enable-textctrl use wxTextCtrl class
1869 --enable-tipwindow use wxTipWindow class
1870 --enable-togglebtn use wxToggleButton class
1871 --enable-toolbar use wxToolBar class
1872 --enable-toolbook use wxToolbook class
1873 --enable-treebook use wxTreebook class
1874 --enable-treectrl use wxTreeCtrl class
1875 --enable-commondlg use all common dialogs
1876 --enable-aboutdlg use wxAboutBox
1877 --enable-choicedlg use wxChoiceDialog
1878 --enable-coldlg use wxColourDialog
1879 --enable-filedlg use wxFileDialog
1880 --enable-finddlg use wxFindReplaceDialog
1881 --enable-fontdlg use wxFontDialog
1882 --enable-dirdlg use wxDirDialog
1883 --enable-msgdlg use wxMessageDialog
1884 --enable-numberdlg use wxNumberEntryDialog
1885 --enable-splash use wxSplashScreen
1886 --enable-textdlg use wxTextDialog
1887 --enable-tipdlg use startup tips
1888 --enable-progressdlg use wxProgressDialog
1889 --enable-wizarddlg use wxWizard
1890 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1891 --enable-miniframe use wxMiniFrame class
1892 --enable-tooltips use wxToolTip class
1893 --enable-splines use spline drawing code
1894 --enable-mousewheel use mousewheel
1895 --enable-validators use wxValidator and derived classes
1896 --enable-busyinfo use wxBusyInfo
1897 --enable-joystick use wxJoystick
1898 --enable-metafiles use wxMetaFile
(Win32 only
)
1899 --enable-dragimage use wxDragImage
1900 --enable-accessibility enable accessibility support
1901 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1902 --enable-dctransform use wxDC
::SetTransformMatrix and related
1903 --enable-palette use wxPalette class
1904 --enable-image use wxImage class
1905 --enable-gif use gif images
(GIF
file format
)
1906 --enable-pcx use pcx images
(PCX
file format
)
1907 --enable-tga use tga images
(TGA
file format
)
1908 --enable-iff use iff images
(IFF
file format
)
1909 --enable-pnm use pnm images
(PNM
file format
)
1910 --enable-xpm use xpm images
(XPM
file format
)
1911 --enable-ico_cur use Windows ICO and CUR formats
1912 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1913 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1914 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1915 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1916 --enable-wxdib use wxDIB class
(Win32 only
)
1917 --enable-autoidman use automatic ids management
1918 --disable-largefile omit support
for large files
1919 --disable-gtktest do not try to compile and run a
test GTK
+ program
1920 --disable-gtktest Do not try to compile and run a
test GTK program
1921 --disable-sdltest Do not try to compile and run a
test SDL program
1922 --enable-omf use OMF object format
(OS
/2)
1923 --disable-dependency-tracking
1924 don
't use dependency tracking even if the compiler
1926 --disable-precomp-headers
1927 don't use precompiled headers even
if compiler can
1930 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1931 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1932 --without-subdirs don
't generate makefiles for samples/demos/...
1933 --with-flavour=NAME specify a name to identify this build
1934 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1935 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1936 --with-motif use Motif/Lesstif
1937 --with-osx_carbon use Mac OS X (Carbon)
1938 --with-osx_cocoa use Mac OS X (Cocoa)
1939 --with-osx_iphone use iPhone OS X port
1940 --with-osx use Mac OS X (default port, currently Carbon)
1941 --with-carbon same as --with-osx_carbon
1942 --with-cocoa same as --with-osx_cocoa
1943 --with-iphone same as --with-osx_iphone
1944 --with-mac same as --with-osx
1945 --with-old_cocoa use old, deprecated, Cocoa port
1946 --with-wine use Wine
1947 --with-msw use MS-Windows
1948 --with-pm use OS/2 Presentation Manager
1949 --with-mgl use SciTech MGL
1950 --with-directfb use DirectFB
1951 --with-microwin use MicroWindows
1953 --with-libpng use libpng (PNG image format)
1954 --with-libjpeg use libjpeg (JPEG file format)
1955 --with-libtiff use libtiff (TIFF file format)
1956 --with-libxpm use libxpm (XPM file format)
1957 --with-libiconv use libiconv (character conversion)
1958 --with-libmspack use libmspack (CHM help files loading)
1959 --without-gtkprint don't use GTK printing support
1960 --without-gnomeprint don
't use GNOME printing libraries
1961 --with-gnomevfs use GNOME VFS for associating MIME types
1962 --with-hildon use Hildon framework for Nokia 770/800/810
1963 --with-opengl use OpenGL (or Mesa)
1964 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1965 --with-sdl use SDL for audio on Unix
1966 --with-regex enable support for wxRegEx class
1967 --with-zlib use zlib for LZW compression
1968 --with-expat enable XML support using expat parser
1969 --with-macosx-sdk=PATH use an OS X SDK at PATH
1970 --with-macosx-version-min=VER build binaries which require at least this OS X version
1971 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1972 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1973 --with-x use the X Window System
1974 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1975 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1976 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1977 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1978 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1980 Some influential environment variables:
1981 CC C compiler command
1982 CFLAGS C compiler flags
1983 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1984 nonstandard directory <lib dir>
1985 LIBS libraries to pass to the linker, e.g. -l<library>
1986 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1987 you have headers in a nonstandard directory <include dir>
1989 CXX C++ compiler command
1990 CXXFLAGS C++ compiler flags
1991 CXXCPP C++ preprocessor
1992 PKG_CONFIG path to pkg-config utility
1994 C compiler flags for DIRECTFB, overriding pkg-config
1996 linker flags for DIRECTFB, overriding pkg-config
1997 XMKMF Path to xmkmf, Makefile generator for X Window System
1999 C compiler flags for PANGOX, overriding pkg-config
2000 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2002 C compiler flags for PANGOFT2, overriding pkg-config
2004 linker flags for PANGOFT2, overriding pkg-config
2006 C compiler flags for PANGOXFT, overriding pkg-config
2008 linker flags for PANGOXFT, overriding pkg-config
2010 C compiler flags for GTKPRINT, overriding pkg-config
2012 linker flags for GTKPRINT, overriding pkg-config
2013 LIBGNOMEPRINTUI_CFLAGS
2014 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2015 LIBGNOMEPRINTUI_LIBS
2016 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2018 C compiler flags for GNOMEVFS, overriding pkg-config
2020 linker flags for GNOMEVFS, overriding pkg-config
2022 C compiler flags for HILDON, overriding pkg-config
2023 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2025 C compiler flags for HILDON2, overriding pkg-config
2027 linker flags for HILDON2, overriding pkg-config
2029 C compiler flags for CAIRO, overriding pkg-config
2030 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2031 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2032 GST_LIBS linker flags for GST, overriding pkg-config
2034 Use these variables to override the choices made by `configure' or to
help
2035 it to
find libraries and programs with nonstandard names
/locations.
2037 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2042 if test "$ac_init_help" = "recursive"; then
2043 # If there are subdirs, report their specific --help.
2044 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2045 test -d "$ac_dir" || continue
2049 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2051 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2052 # A ".." for each directory in $ac_dir_suffix.
2053 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2054 case $ac_top_builddir_sub in
2055 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2056 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2059 ac_abs_top_builddir
=$ac_pwd
2060 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2061 # for backward compatibility:
2062 ac_top_builddir
=$ac_top_build_prefix
2065 .
) # We are building in place.
2067 ac_top_srcdir
=$ac_top_builddir_sub
2068 ac_abs_top_srcdir
=$ac_pwd ;;
2069 [\\/]* | ?
:[\\/]* ) # Absolute name.
2070 ac_srcdir
=$srcdir$ac_dir_suffix;
2071 ac_top_srcdir
=$srcdir
2072 ac_abs_top_srcdir
=$srcdir ;;
2074 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2075 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2076 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2078 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2080 cd "$ac_dir" || { ac_status
=$?
; continue; }
2081 # Check for guested configure.
2082 if test -f "$ac_srcdir/configure.gnu"; then
2084 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2085 elif test -f "$ac_srcdir/configure"; then
2087 $SHELL "$ac_srcdir/configure" --help=recursive
2089 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2091 cd "$ac_pwd" || { ac_status
=$?
; break; }
2095 test -n "$ac_init_help" && exit $ac_status
2096 if $ac_init_version; then
2098 wxWidgets configure
2.9.2
2099 generated by GNU Autoconf
2.61
2101 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2102 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2103 This configure
script is free software
; the Free Software Foundation
2104 gives unlimited permission to copy
, distribute and modify it.
2108 cat >config.log
<<_ACEOF
2109 This file contains any messages produced by compilers while
2110 running configure, to aid debugging if configure makes a mistake.
2112 It was created by wxWidgets $as_me 2.9.2, which was
2113 generated by GNU Autoconf 2.61. Invocation command line was
2125 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2126 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2127 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2128 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2129 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2131 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2132 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2134 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2135 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2136 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2137 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2138 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2139 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2140 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir
=.
2149 echo "PATH: $as_dir"
2165 # Keep a trace of the command line.
2166 # Strip out --no-create and --no-recursion so they do not pile up.
2167 # Strip out --silent because we don't want to record it for future runs.
2168 # Also quote any args containing shell meta-characters.
2169 # Make two passes to allow for proper duplicate-argument suppression.
2173 ac_must_keep_next
=false
2179 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2181 | -silent | --silent | --silen | --sile | --sil)
2184 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2187 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2189 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2190 if test $ac_must_keep_next = true
; then
2191 ac_must_keep_next
=false
# Got value, back to normal.
2194 *=* | --config-cache | -C | -disable-* | --disable-* \
2195 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2196 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2197 | -with-* | --with-* | -without-* | --without-* | --x)
2198 case "$ac_configure_args0 " in
2199 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2202 -* ) ac_must_keep_next
=true
;;
2205 ac_configure_args
="$ac_configure_args '$ac_arg'"
2210 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2211 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2213 # When interrupted or exit'd, cleanup temporary files, and complete
2214 # config.log. We remove comments because anyway the quotes in there
2215 # would cause problems or look ugly.
2216 # WARNING: Use '\'' to represent an apostrophe within the trap.
2217 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2218 trap 'exit_status=$?
2219 # Save into config.log some information that might help in debugging.
2224 ## ---------------- ##
2225 ## Cache variables. ##
2226 ## ---------------- ##
2229 # The following way of writing the cache mishandles newlines in values,
2231 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2232 eval ac_val=\$$ac_var
2236 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2237 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2240 _ | IFS | as_nl) ;; #(
2241 *) $as_unset $ac_var ;;
2246 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2247 *${as_nl}ac_space=\ *)
2249 "s/'\''/'\''\\\\'\'''\''/g;
2250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2253 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2261 ## ----------------- ##
2262 ## Output variables. ##
2263 ## ----------------- ##
2266 for ac_var in $ac_subst_vars
2268 eval ac_val=\$$ac_var
2270 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272 echo "$ac_var='\''$ac_val'\''"
2276 if test -n "$ac_subst_files"; then
2278 ## ------------------- ##
2279 ## File substitutions. ##
2280 ## ------------------- ##
2283 for ac_var
in $ac_subst_files
2285 eval ac_val
=\$
$ac_var
2287 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2289 echo "$ac_var='\''$ac_val'\''"
2294 if test -s confdefs.h; then
2304 test "$ac_signal" != 0 &&
2305 echo "$as_me: caught signal $ac_signal"
2306 echo "$as_me: exit $exit_status"
2308 rm -f core *.core core.conftest.* &&
2309 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2312 for ac_signal
in 1 2 13 15; do
2313 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2318 rm -f -r conftest
* confdefs.h
2320 # Predefined preprocessor variables.
2322 cat >>confdefs.h
<<_ACEOF
2323 #define PACKAGE_NAME "$PACKAGE_NAME"
2327 cat >>confdefs.h
<<_ACEOF
2328 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2332 cat >>confdefs.h
<<_ACEOF
2333 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2337 cat >>confdefs.h
<<_ACEOF
2338 #define PACKAGE_STRING "$PACKAGE_STRING"
2342 cat >>confdefs.h
<<_ACEOF
2343 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2347 # Let the site file select an alternate cache file if it wants to.
2348 # Prefer explicitly selected file to automatically selected ones.
2349 if test -n "$CONFIG_SITE"; then
2350 set x
"$CONFIG_SITE"
2351 elif test "x$prefix" != xNONE
; then
2352 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2354 set x
"$ac_default_prefix/share/config.site" \
2355 "$ac_default_prefix/etc/config.site"
2360 if test -r "$ac_site_file"; then
2361 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2362 echo "$as_me: loading site script $ac_site_file" >&6;}
2363 sed 's/^/| /' "$ac_site_file" >&5
2368 if test -r "$cache_file"; then
2369 # Some versions of bash will fail to source /dev/null (special
2370 # files actually), so we avoid doing that.
2371 if test -f "$cache_file"; then
2372 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2373 echo "$as_me: loading cache $cache_file" >&6;}
2375 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2376 *) .
"./$cache_file";;
2380 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2381 echo "$as_me: creating cache $cache_file" >&6;}
2385 # Check that the precious variables saved in the cache have kept the same
2387 ac_cache_corrupted
=false
2388 for ac_var
in $ac_precious_vars; do
2389 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2390 eval ac_new_set
=\
$ac_env_${ac_var}_set
2391 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2392 eval ac_new_val
=\
$ac_env_${ac_var}_value
2393 case $ac_old_set,$ac_new_set in
2395 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2396 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2397 ac_cache_corrupted
=: ;;
2399 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2400 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2401 ac_cache_corrupted
=: ;;
2404 if test "x$ac_old_val" != "x$ac_new_val"; then
2405 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2406 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2407 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2408 echo "$as_me: former value: $ac_old_val" >&2;}
2409 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2410 echo "$as_me: current value: $ac_new_val" >&2;}
2411 ac_cache_corrupted
=:
2414 # Pass precious variables to config.status.
2415 if test "$ac_new_set" = set; then
2417 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2418 *) ac_arg
=$ac_var=$ac_new_val ;;
2420 case " $ac_configure_args " in
2421 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2422 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2426 if $ac_cache_corrupted; then
2427 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2428 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2429 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2430 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2431 { (exit 1); exit 1; }; }
2459 ac_cpp
='$CPP $CPPFLAGS'
2460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2469 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2470 if test -f "$ac_dir/install-sh"; then
2472 ac_install_sh
="$ac_aux_dir/install-sh -c"
2474 elif test -f "$ac_dir/install.sh"; then
2476 ac_install_sh
="$ac_aux_dir/install.sh -c"
2478 elif test -f "$ac_dir/shtool"; then
2480 ac_install_sh
="$ac_aux_dir/shtool install -c"
2484 if test -z "$ac_aux_dir"; then
2485 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2486 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2487 { (exit 1); exit 1; }; }
2490 # These three variables are undocumented and unsupported,
2491 # and are intended to be withdrawn in a future Autoconf release.
2492 # They can cause serious problems if a builder's source tree is in a directory
2493 # whose full name contains unusual characters.
2494 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2495 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2496 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2499 # Make sure we can run config.sub.
2500 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2501 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2502 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2503 { (exit 1); exit 1; }; }
2505 { echo "$as_me:$LINENO: checking build system type" >&5
2506 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2507 if test "${ac_cv_build+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 ac_build_alias
=$build_alias
2511 test "x$ac_build_alias" = x
&&
2512 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2513 test "x$ac_build_alias" = x
&&
2514 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2515 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2516 { (exit 1); exit 1; }; }
2517 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2518 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2519 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2520 { (exit 1); exit 1; }; }
2523 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2524 echo "${ECHO_T}$ac_cv_build" >&6; }
2525 case $ac_cv_build in
2527 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2528 echo "$as_me: error: invalid value of canonical build" >&2;}
2529 { (exit 1); exit 1; }; };;
2532 ac_save_IFS
=$IFS; IFS
='-'
2538 # Remember, the first character of IFS is used to create $*,
2539 # except with old shells:
2542 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2545 { echo "$as_me:$LINENO: checking host system type" >&5
2546 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2547 if test "${ac_cv_host+set}" = set; then
2548 echo $ECHO_N "(cached) $ECHO_C" >&6
2550 if test "x$host_alias" = x
; then
2551 ac_cv_host
=$ac_cv_build
2553 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2554 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2555 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2556 { (exit 1); exit 1; }; }
2560 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2561 echo "${ECHO_T}$ac_cv_host" >&6; }
2564 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2565 echo "$as_me: error: invalid value of canonical host" >&2;}
2566 { (exit 1); exit 1; }; };;
2569 ac_save_IFS
=$IFS; IFS
='-'
2575 # Remember, the first character of IFS is used to create $*,
2576 # except with old shells:
2579 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2583 if test "$cross_compiling" != "no"; then
2584 HOST_PREFIX
="${host_alias}-"
2585 HOST_SUFFIX
="-$host_alias"
2592 wx_major_version_number
=2
2593 wx_minor_version_number
=9
2595 wx_subrelease_number
=0
2597 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2598 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2599 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2601 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2604 wx_top_builddir
="`pwd`"
2617 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2623 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2629 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2631 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2633 DEFAULT_wxUSE_OLD_COCOA
=0
2635 DEFAULT_wxUSE_OSX_CARBON
=0
2636 DEFAULT_wxUSE_OSX_COCOA
=0
2637 DEFAULT_wxUSE_OSX_IPHONE
=0
2639 DEFAULT_wxUSE_MICROWIN
=0
2640 DEFAULT_wxUSE_MOTIF
=0
2646 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2647 DEFAULT_DEFAULT_wxUSE_GTK
=0
2648 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2649 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2650 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2651 DEFAULT_DEFAULT_wxUSE_MGL
=0
2652 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2653 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2654 DEFAULT_DEFAULT_wxUSE_MSW
=0
2655 DEFAULT_DEFAULT_wxUSE_PM
=0
2656 DEFAULT_DEFAULT_wxUSE_X11
=0
2657 DEFAULT_DEFAULT_wxUSE_DFB
=0
2661 DYLIB_RPATH_INSTALL
=
2662 DYLIB_RPATH_POSTLINK
=
2664 DEFAULT_STD_FLAG
=yes
2669 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2670 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2671 cat >>confdefs.h
<<\_ACEOF
2676 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2680 cat >>confdefs.h
<<\_ACEOF
2685 if test "x$TMP" = "xalpha"; then
2687 cat >>confdefs.h
<<\_ACEOF
2692 DEFAULT_DEFAULT_wxUSE_GTK
=1
2694 *-*-gnu* | *-*-k*bsd
*-gnu )
2697 if test "x$TMP" = "xalpha"; then
2699 cat >>confdefs.h
<<\_ACEOF
2704 DEFAULT_DEFAULT_wxUSE_GTK
=1
2706 *-*-irix5* | *-*-irix6* )
2709 cat >>confdefs.h
<<\_ACEOF
2713 cat >>confdefs.h
<<\_ACEOF
2717 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2721 cat >>confdefs.h
<<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_X11
=1
2731 cat >>confdefs.h
<<\_ACEOF
2735 cat >>confdefs.h
<<\_ACEOF
2736 #define __SOLARIS__ 1
2739 cat >>confdefs.h
<<\_ACEOF
2743 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2744 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2750 cat >>confdefs.h
<<\_ACEOF
2754 cat >>confdefs.h
<<\_ACEOF
2758 cat >>confdefs.h
<<\_ACEOF
2762 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2767 cat >>confdefs.h
<<\_ACEOF
2768 #define __FREEBSD__ 1
2771 cat >>confdefs.h
<<\_ACEOF
2775 DEFAULT_DEFAULT_wxUSE_GTK
=1
2777 *-*-openbsd*|*-*-mirbsd*)
2780 cat >>confdefs.h
<<\_ACEOF
2781 #define __OPENBSD__ 1
2784 cat >>confdefs.h
<<\_ACEOF
2788 DEFAULT_DEFAULT_wxUSE_GTK
=1
2793 cat >>confdefs.h
<<\_ACEOF
2794 #define __NETBSD__ 1
2797 cat >>confdefs.h
<<\_ACEOF
2801 DEFAULT_DEFAULT_wxUSE_GTK
=1
2802 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2804 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2809 cat >>confdefs.h
<<\_ACEOF
2813 cat >>confdefs.h
<<\_ACEOF
2817 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2818 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2823 cat >>confdefs.h
<<\_ACEOF
2827 cat >>confdefs.h
<<\_ACEOF
2831 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2836 cat >>confdefs.h
<<\_ACEOF
2840 cat >>confdefs.h
<<\_ACEOF
2844 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2850 cat >>confdefs.h
<<\_ACEOF
2854 cat >>confdefs.h
<<\_ACEOF
2858 cat >>confdefs.h
<<\_ACEOF
2862 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2869 cat >>confdefs.h
<<\_ACEOF
2870 #define __UNIXWARE__ 1
2875 *-*-cygwin* | *-*-mingw32* )
2877 DEFAULT_DEFAULT_wxUSE_MSW
=1
2883 cat >>confdefs.h
<<\_ACEOF
2888 DEFAULT_DEFAULT_wxUSE_MGL
=1
2891 *-pc-os2_emx | *-pc-os2-emx )
2892 cat >>confdefs.h
<<\_ACEOF
2897 cat >>confdefs.h
<<\_ACEOF
2902 DEFAULT_DEFAULT_wxUSE_PM
=1
2904 LDFLAGS
="$LDFLAGS -Zcrtdll"
2905 ac_executable_extensions
=".exe"
2906 export ac_executable_extensions
2910 for ac_dir
in $PATH; do
2912 if test -z "$ac_TEMP_PATH"; then
2913 ac_TEMP_PATH
="$ac_dir"
2915 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2918 export PATH
="$ac_TEMP_PATH"
2926 cat >>confdefs.h
<<\_ACEOF
2930 cat >>confdefs.h
<<\_ACEOF
2931 #define __DARWIN__ 1
2934 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2940 cat >>confdefs.h
<<\_ACEOF
2944 cat >>confdefs.h
<<\_ACEOF
2945 #define __DARWIN__ 1
2948 cat >>confdefs.h
<<\_ACEOF
2949 #define TARGET_CARBON 1
2952 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2957 cat >>confdefs.h
<<\_ACEOF
2964 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2965 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2966 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2967 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2969 DEFAULT_DEFAULT_wxUSE_X11
=1
2970 DEFAULT_wxUSE_SHARED
=no
2975 DEFAULT_wxUSE_ALL_FEATURES
=yes
2977 DEFAULT_wxUSE_STD_CONTAINERS
=$DEFAULT_STD_FLAG
2978 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2979 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2981 DEFAULT_wxUSE_DMALLOC
=no
2982 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2983 DEFAULT_wxUSE_LIBHILDON
=no
2984 DEFAULT_wxUSE_LIBHILDON2
=no
2985 DEFAULT_wxUSE_LIBMSPACK
=no
2986 DEFAULT_wxUSE_LIBSDL
=no
2988 DEFAULT_wxUSE_ACCESSIBILITY
=no
2989 DEFAULT_wxUSE_IPV6
=no
2990 DEFAULT_wxUSE_GSTREAMER8
=no
2992 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
2993 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2994 DEFAULT_wxUSE_OPENGL
=auto
2995 DEFAULT_wxUSE_MEDIACTRL
=auto
2996 DEFAULT_wxUSE_COMPILER_TLS
=auto
2998 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
3000 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
3001 DEFAULT_wxUSE_MAC_ARCH
=no
3003 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3005 DEFAULT_wxUSE_GTK2
=yes
3007 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3013 enablestring
=disable
3015 if test -z "$defaultval"; then
3016 if test x
"$enablestring" = xdisable
; then
3023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3024 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3025 # Check whether --enable-gui was given.
3026 if test "${enable_gui+set}" = set; then
3027 enableval
=$enable_gui;
3028 if test "$enableval" = yes; then
3029 wx_cv_use_gui
='wxUSE_GUI=yes'
3031 wx_cv_use_gui
='wxUSE_GUI=no'
3036 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3041 eval "$wx_cv_use_gui"
3043 if test x"$enablestring" = xdisable; then
3044 if test $wxUSE_GUI = no; then
3053 { echo "$as_me:$LINENO: result: $result" >&5
3054 echo "${ECHO_T}$result" >&6; }
3059 if test -z "$defaultval"; then
3060 if test x"$enablestring" = xdisable; then
3067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3068 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3069 # Check whether --enable-monolithic was given.
3070 if test "${enable_monolithic+set}" = set; then
3071 enableval=$enable_monolithic;
3072 if test "$enableval" = yes; then
3073 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3075 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3080 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3085 eval "$wx_cv_use_monolithic"
3087 if test x"$enablestring" = xdisable; then
3088 if test $wxUSE_MONOLITHIC = no; then
3094 result=$wxUSE_MONOLITHIC
3097 { echo "$as_me:$LINENO: result
: $result" >&5
3098 echo "${ECHO_T}$result" >&6; }
3103 if test -z "$defaultval"; then
3104 if test x"$enablestring" = xdisable; then
3111 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3112 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3113 # Check whether --enable-plugins was given.
3114 if test "${enable_plugins+set}" = set; then
3115 enableval=$enable_plugins;
3116 if test "$enableval" = yes; then
3117 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3119 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3124 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3129 eval "$wx_cv_use_plugins"
3131 if test x
"$enablestring" = xdisable
; then
3132 if test $wxUSE_PLUGINS = no
; then
3138 result
=$wxUSE_PLUGINS
3141 { echo "$as_me:$LINENO: result: $result" >&5
3142 echo "${ECHO_T}$result" >&6; }
3146 defaultval
=$wxUSE_ALL_FEATURES
3147 if test -z "$defaultval"; then
3148 if test x
"$withstring" = xwithout
; then
3154 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3155 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3157 # Check whether --with-subdirs was given.
3158 if test "${with_subdirs+set}" = set; then
3159 withval
=$with_subdirs;
3160 if test "$withval" = yes; then
3161 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3163 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3168 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3173 eval "$wx_cv_use_subdirs"
3175 if test x"$withstring" = xwithout; then
3176 if test $wxWITH_SUBDIRS = yes; then
3182 result=$wxWITH_SUBDIRS
3185 { echo "$as_me:$LINENO: result: $result" >&5
3186 echo "${ECHO_T}$result" >&6; }
3189 # Check whether --with-flavour was given.
3190 if test "${with_flavour+set}" = set; then
3191 withval=$with_flavour; WX_FLAVOUR="$withval"
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3206 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3207 # Check whether --enable-official_build was given.
3208 if test "${enable_official_build+set}" = set; then
3209 enableval=$enable_official_build;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3213 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3218 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3223 eval "$wx_cv_use_official_build"
3225 if test x"$enablestring" = xdisable; then
3226 if test $wxUSE_OFFICIAL_BUILD = no; then
3232 result=$wxUSE_OFFICIAL_BUILD
3235 { echo "$as_me:$LINENO: result
: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3238 # Check whether --enable-vendor was given.
3239 if test "${enable_vendor+set}" = set; then
3240 enableval=$enable_vendor; VENDOR="$enableval"
3243 if test "x
$VENDOR" = "x
"; then
3248 enablestring=disable
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3258 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3259 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3260 # Check whether --enable-all-features was given.
3261 if test "${enable_all_features+set}" = set; then
3262 enableval=$enable_all_features;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3266 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3271 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3276 eval "$wx_cv_use_all_features"
3278 if test x
"$enablestring" = xdisable
; then
3279 if test $wxUSE_ALL_FEATURES = no
; then
3285 result
=$wxUSE_ALL_FEATURES
3288 { echo "$as_me:$LINENO: result: $result" >&5
3289 echo "${ECHO_T}$result" >&6; }
3292 if test "$wxUSE_ALL_FEATURES" = "no"; then
3293 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
3294 DEFAULT_wxUSE_MEDIACTRL
=no
3298 if test "$wxUSE_GUI" = "yes"; then
3303 if test -z "$defaultval"; then
3304 if test x
"$enablestring" = xdisable
; then
3311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3312 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3313 # Check whether --enable-universal was given.
3314 if test "${enable_universal+set}" = set; then
3315 enableval
=$enable_universal;
3316 if test "$enableval" = yes; then
3317 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3319 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3324 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3329 eval "$wx_cv_use_universal"
3331 if test x"$enablestring" = xdisable; then
3332 if test $wxUSE_UNIVERSAL = no; then
3338 result=$wxUSE_UNIVERSAL
3341 { echo "$as_me:$LINENO: result: $result" >&5
3342 echo "${ECHO_T}$result" >&6; }
3344 if test "$wxUSE_UNIVERSAL" = "yes"; then
3346 # Check whether --with-themes was given.
3347 if test "${with_themes+set}" = set; then
3348 withval=$with_themes; wxUNIV_THEMES="$withval"
3354 # Check whether --with-gtk was given.
3355 if test "${with_gtk+set}" = set; then
3356 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3360 # Check whether --with-motif was given.
3361 if test "${with_motif+set}" = set; then
3362 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3366 # Check whether --with-osx_carbon was given.
3367 if test "${with_osx_carbon+set}" = set; then
3368 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-osx_cocoa was given.
3373 if test "${with_osx_cocoa+set}" = set; then
3374 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3378 # Check whether --with-osx_iphone was given.
3379 if test "${with_osx_iphone+set}" = set; then
3380 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3384 # Check whether --with-osx was given.
3385 if test "${with_osx+set}" = set; then
3386 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3390 # Check whether --with-carbon was given.
3391 if test "${with_carbon+set}" = set; then
3392 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3396 # Check whether --with-cocoa was given.
3397 if test "${with_cocoa+set}" = set; then
3398 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3402 # Check whether --with-iphone was given.
3403 if test "${with_iphone+set}" = set; then
3404 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3408 # Check whether --with-mac was given.
3409 if test "${with_mac+set}" = set; then
3410 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3414 # Check whether --with-old_cocoa was given.
3415 if test "${with_old_cocoa+set}" = set; then
3416 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3420 # Check whether --with-wine was given.
3421 if test "${with_wine+set}" = set; then
3422 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3426 # Check whether --with-msw was given.
3427 if test "${with_msw+set}" = set; then
3428 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3432 # Check whether --with-pm was given.
3433 if test "${with_pm+set}" = set; then
3434 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3438 # Check whether --with-mgl was given.
3439 if test "${with_mgl+set}" = set; then
3440 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3444 # Check whether --with-directfb was given.
3445 if test "${with_directfb+set}" = set; then
3446 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3450 # Check whether --with-microwin was given.
3451 if test "${with_microwin+set}" = set; then
3452 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3456 # Check whether --with-x11 was given.
3457 if test "${with_x11+set}" = set; then
3458 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3464 if test -z "$defaultval"; then
3465 if test x"$enablestring" = xdisable; then
3472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3473 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3474 # Check whether --enable-nanox was given.
3475 if test "${enable_nanox+set}" = set; then
3476 enableval=$enable_nanox;
3477 if test "$enableval" = yes; then
3478 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3480 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3485 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3490 eval "$wx_cv_use_nanox"
3492 if test x"$enablestring" = xdisable; then
3493 if test $wxUSE_NANOX = no; then
3502 { echo "$as_me:$LINENO: result
: $result" >&5
3503 echo "${ECHO_T}$result" >&6; }
3506 # Check whether --enable-gtk2 was given.
3507 if test "${enable_gtk2+set}" = set; then
3508 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3514 if test -z "$defaultval"; then
3515 if test x"$enablestring" = xdisable; then
3522 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3523 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3524 # Check whether --enable-gpe was given.
3525 if test "${enable_gpe+set}" = set; then
3526 enableval=$enable_gpe;
3527 if test "$enableval" = yes; then
3528 wx_cv_use_gpe='wxUSE_GPE=yes'
3530 wx_cv_use_gpe='wxUSE_GPE=no'
3535 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3540 eval "$wx_cv_use_gpe"
3542 if test x
"$enablestring" = xdisable
; then
3543 if test $wxUSE_GPE = no
; then
3552 { echo "$as_me:$LINENO: result: $result" >&5
3553 echo "${ECHO_T}$result" >&6; }
3557 { echo "$as_me:$LINENO: checking for toolkit" >&5
3558 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3562 # In Wine, we need to default to MSW, not GTK or MOTIF
3563 if test "$wxUSE_WINE" = "yes"; then
3564 DEFAULT_DEFAULT_wxUSE_GTK
=0
3565 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3566 DEFAULT_DEFAULT_wxUSE_MSW
=1
3573 if test "$wxUSE_GUI" = "yes"; then
3575 if test "$USE_BEOS" = 1; then
3576 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3577 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3578 { (exit 1); exit 1; }; }
3581 if test "$TOOLKIT_GIVEN" = 1; then
3582 for toolkit
in $ALL_TOOLKITS; do
3584 eval "value=\$${var}"
3585 if test "x$value" = "xno"; then
3587 elif test "x$value" != "x"; then
3591 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3592 eval "wx${toolkit}_VERSION=$value"
3596 for toolkit
in $ALL_TOOLKITS; do
3597 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3598 eval "wxUSE_$toolkit=\$${var}"
3602 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3603 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3604 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3607 *-pc-os2_emx | *-pc-os2-emx )
3608 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3611 case "$NUM_TOOLKITS" in
3615 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3616 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3617 { (exit 1); exit 1; }; }
3620 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3621 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3622 { (exit 1); exit 1; }; }
3625 # to be removed when --disable-gtk2 isn't needed
3626 if test "x$wxUSE_GTK2" = "xyes"; then
3629 elif test "x$wxUSE_GTK2" = "xno"; then
3634 for toolkit
in $ALL_TOOLKITS; do
3636 eval "value=\$${var}"
3637 if test "$value" = 1; then
3638 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3639 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3640 echo "${ECHO_T}$toolkit_echo" >&6; }
3644 if test "x$host_alias" != "x"; then
3645 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3646 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3648 { echo "$as_me:$LINENO: result: base only" >&5
3649 echo "${ECHO_T}base only" >&6; }
3654 if test "$wxUSE_OSX_CARBON" = 1 \
3655 -o "$wxUSE_OSX_COCOA" = 1 \
3656 -o "$wxUSE_OSX_IPHONE" = 1; then
3662 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3663 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3665 # Check whether --with-libpng was given.
3666 if test "${with_libpng+set}" = set; then
3667 withval
=$with_libpng;
3668 if test "$withval" = yes; then
3669 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3670 elif test "$withval" = no
; then
3671 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3672 elif test "$withval" = sys
; then
3673 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3674 elif test "$withval" = builtin; then
3675 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3677 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3678 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3679 { (exit 1); exit 1; }; }
3684 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3689 eval "$wx_cv_use_libpng"
3691 if test "$wxUSE_LIBPNG" = yes; then
3692 { echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6; }
3694 elif test "$wxUSE_LIBPNG" = no; then
3695 { echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6; }
3697 elif test "$wxUSE_LIBPNG" = sys; then
3698 { echo "$as_me:$LINENO: result: system version" >&5
3699 echo "${ECHO_T}system version" >&6; }
3700 elif test "$wxUSE_LIBPNG" = builtin; then
3701 { echo "$as_me:$LINENO: result: builtin version" >&5
3702 echo "${ECHO_T}builtin version" >&6; }
3704 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3705 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3706 { (exit 1); exit 1; }; }
3710 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3711 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3713 # Check whether --with-libjpeg was given.
3714 if test "${with_libjpeg+set}" = set; then
3715 withval=$with_libjpeg;
3716 if test "$withval" = yes; then
3717 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3718 elif test "$withval" = no; then
3719 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3720 elif test "$withval" = sys; then
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3722 elif test "$withval" = builtin; then
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3732 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3737 eval "$wx_cv_use_libjpeg"
3739 if test "$wxUSE_LIBJPEG" = yes; then
3740 { echo "$as_me:$LINENO: result
: yes" >&5
3741 echo "${ECHO_T}yes" >&6; }
3742 elif test "$wxUSE_LIBJPEG" = no; then
3743 { echo "$as_me:$LINENO: result
: no
" >&5
3744 echo "${ECHO_T}no
" >&6; }
3745 elif test "$wxUSE_LIBJPEG" = sys; then
3746 { echo "$as_me:$LINENO: result
: system version
" >&5
3747 echo "${ECHO_T}system version
" >&6; }
3748 elif test "$wxUSE_LIBJPEG" = builtin; then
3749 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3750 echo "${ECHO_T}builtin version
" >&6; }
3752 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3753 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3754 { (exit 1); exit 1; }; }
3758 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3759 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3761 # Check whether --with-libtiff was given.
3762 if test "${with_libtiff+set}" = set; then
3763 withval=$with_libtiff;
3764 if test "$withval" = yes; then
3765 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3766 elif test "$withval" = no; then
3767 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3768 elif test "$withval" = sys; then
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3770 elif test "$withval" = builtin; then
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3773 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3774 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3775 { (exit 1); exit 1; }; }
3780 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3785 eval "$wx_cv_use_libtiff"
3787 if test "$wxUSE_LIBTIFF" = yes; then
3788 { echo "$as_me:$LINENO: result: yes" >&5
3789 echo "${ECHO_T}yes" >&6; }
3790 elif test "$wxUSE_LIBTIFF" = no
; then
3791 { echo "$as_me:$LINENO: result: no" >&5
3792 echo "${ECHO_T}no" >&6; }
3793 elif test "$wxUSE_LIBTIFF" = sys
; then
3794 { echo "$as_me:$LINENO: result: system version" >&5
3795 echo "${ECHO_T}system version" >&6; }
3796 elif test "$wxUSE_LIBTIFF" = builtin; then
3797 { echo "$as_me:$LINENO: result: builtin version" >&5
3798 echo "${ECHO_T}builtin version" >&6; }
3800 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3801 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3802 { (exit 1); exit 1; }; }
3806 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3807 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3809 # Check whether --with-libxpm was given.
3810 if test "${with_libxpm+set}" = set; then
3811 withval
=$with_libxpm;
3812 if test "$withval" = yes; then
3813 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3814 elif test "$withval" = no
; then
3815 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3816 elif test "$withval" = sys
; then
3817 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3818 elif test "$withval" = builtin; then
3819 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3822 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3823 { (exit 1); exit 1; }; }
3828 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3833 eval "$wx_cv_use_libxpm"
3835 if test "$wxUSE_LIBXPM" = yes; then
3836 { echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6; }
3838 elif test "$wxUSE_LIBXPM" = no; then
3839 { echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6; }
3841 elif test "$wxUSE_LIBXPM" = sys; then
3842 { echo "$as_me:$LINENO: result: system version" >&5
3843 echo "${ECHO_T}system version" >&6; }
3844 elif test "$wxUSE_LIBXPM" = builtin; then
3845 { echo "$as_me:$LINENO: result: builtin version" >&5
3846 echo "${ECHO_T}builtin version" >&6; }
3848 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3849 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3850 { (exit 1); exit 1; }; }
3855 defaultval=$wxUSE_ALL_FEATURES
3856 if test -z "$defaultval"; then
3857 if test x"$withstring" = xwithout; then
3863 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3864 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3866 # Check whether --with-libiconv was given.
3867 if test "${with_libiconv+set}" = set; then
3868 withval=$with_libiconv;
3869 if test "$withval" = yes; then
3870 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3872 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3877 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3882 eval "$wx_cv_use_libiconv"
3884 if test x"$withstring" = xwithout; then
3885 if test $wxUSE_LIBICONV = yes; then
3891 result=$wxUSE_LIBICONV
3894 { echo "$as_me:$LINENO: result
: $result" >&5
3895 echo "${ECHO_T}$result" >&6; }
3899 defaultval=$wxUSE_ALL_FEATURES
3900 if test -z "$defaultval"; then
3901 if test x"$withstring" = xwithout; then
3907 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3908 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3910 # Check whether --with-libmspack was given.
3911 if test "${with_libmspack+set}" = set; then
3912 withval=$with_libmspack;
3913 if test "$withval" = yes; then
3914 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3916 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3921 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3926 eval "$wx_cv_use_libmspack"
3928 if test x
"$withstring" = xwithout
; then
3929 if test $wxUSE_LIBMSPACK = yes; then
3935 result
=$wxUSE_LIBMSPACK
3938 { echo "$as_me:$LINENO: result: $result" >&5
3939 echo "${ECHO_T}$result" >&6; }
3943 defaultval
=$wxUSE_ALL_FEATURES
3944 if test -z "$defaultval"; then
3945 if test x
"$withstring" = xwithout
; then
3951 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3952 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3954 # Check whether --with-gtkprint was given.
3955 if test "${with_gtkprint+set}" = set; then
3956 withval
=$with_gtkprint;
3957 if test "$withval" = yes; then
3958 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3960 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3965 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3970 eval "$wx_cv_use_gtkprint"
3972 if test x"$withstring" = xwithout; then
3973 if test $wxUSE_GTKPRINT = yes; then
3979 result=$wxUSE_GTKPRINT
3982 { echo "$as_me:$LINENO: result: $result" >&5
3983 echo "${ECHO_T}$result" >&6; }
3987 defaultval=$wxUSE_ALL_FEATURES
3988 if test -z "$defaultval"; then
3989 if test x"$withstring" = xwithout; then
3995 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3996 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3998 # Check whether --with-gnomeprint was given.
3999 if test "${with_gnomeprint+set}" = set; then
4000 withval=$with_gnomeprint;
4001 if test "$withval" = yes; then
4002 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
4004 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4009 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4014 eval "$wx_cv_use_gnomeprint"
4016 if test x"$withstring" = xwithout; then
4017 if test $wxUSE_LIBGNOMEPRINT = yes; then
4023 result=$wxUSE_LIBGNOMEPRINT
4026 { echo "$as_me:$LINENO: result
: $result" >&5
4027 echo "${ECHO_T}$result" >&6; }
4031 defaultval=$wxUSE_ALL_FEATURES
4032 if test -z "$defaultval"; then
4033 if test x"$withstring" = xwithout; then
4039 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4040 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4042 # Check whether --with-gnomevfs was given.
4043 if test "${with_gnomevfs+set}" = set; then
4044 withval=$with_gnomevfs;
4045 if test "$withval" = yes; then
4046 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4048 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4053 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4058 eval "$wx_cv_use_gnomevfs"
4060 if test x
"$withstring" = xwithout
; then
4061 if test $wxUSE_LIBGNOMEVFS = yes; then
4067 result
=$wxUSE_LIBGNOMEVFS
4070 { echo "$as_me:$LINENO: result: $result" >&5
4071 echo "${ECHO_T}$result" >&6; }
4075 defaultval
=$wxUSE_ALL_FEATURES
4076 if test -z "$defaultval"; then
4077 if test x
"$withstring" = xwithout
; then
4083 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4084 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4086 # Check whether --with-hildon was given.
4087 if test "${with_hildon+set}" = set; then
4088 withval
=$with_hildon;
4089 if test "$withval" = yes; then
4090 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4092 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4097 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4102 eval "$wx_cv_use_hildon"
4104 if test x"$withstring" = xwithout; then
4105 if test $wxUSE_LIBHILDON = yes; then
4111 result=$wxUSE_LIBHILDON
4114 { echo "$as_me:$LINENO: result: $result" >&5
4115 echo "${ECHO_T}$result" >&6; }
4119 defaultval=$wxUSE_ALL_FEATURES
4120 if test -z "$defaultval"; then
4121 if test x"$withstring" = xwithout; then
4127 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4128 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4130 # Check whether --with-opengl was given.
4131 if test "${with_opengl+set}" = set; then
4132 withval=$with_opengl;
4133 if test "$withval" = yes; then
4134 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4136 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4141 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4146 eval "$wx_cv_use_opengl"
4148 if test x"$withstring" = xwithout; then
4149 if test $wxUSE_OPENGL = yes; then
4155 result=$wxUSE_OPENGL
4158 { echo "$as_me:$LINENO: result
: $result" >&5
4159 echo "${ECHO_T}$result" >&6; }
4166 defaultval=$wxUSE_ALL_FEATURES
4167 if test -z "$defaultval"; then
4168 if test x"$withstring" = xwithout; then
4174 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4175 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4177 # Check whether --with-dmalloc was given.
4178 if test "${with_dmalloc+set}" = set; then
4179 withval=$with_dmalloc;
4180 if test "$withval" = yes; then
4181 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4183 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4188 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4193 eval "$wx_cv_use_dmalloc"
4195 if test x
"$withstring" = xwithout
; then
4196 if test $wxUSE_DMALLOC = yes; then
4202 result
=$wxUSE_DMALLOC
4205 { echo "$as_me:$LINENO: result: $result" >&5
4206 echo "${ECHO_T}$result" >&6; }
4210 defaultval
=$wxUSE_ALL_FEATURES
4211 if test -z "$defaultval"; then
4212 if test x
"$withstring" = xwithout
; then
4218 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4219 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4221 # Check whether --with-sdl was given.
4222 if test "${with_sdl+set}" = set; then
4224 if test "$withval" = yes; then
4225 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4227 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4232 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4237 eval "$wx_cv_use_sdl"
4239 if test x"$withstring" = xwithout; then
4240 if test $wxUSE_LIBSDL = yes; then
4246 result=$wxUSE_LIBSDL
4249 { echo "$as_me:$LINENO: result: $result" >&5
4250 echo "${ECHO_T}$result" >&6; }
4253 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4254 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4256 # Check whether --with-regex was given.
4257 if test "${with_regex+set}" = set; then
4258 withval=$with_regex;
4259 if test "$withval" = yes; then
4260 wx_cv_use_regex='wxUSE_REGEX
=yes'
4261 elif test "$withval" = no; then
4262 wx_cv_use_regex='wxUSE_REGEX
=no
'
4263 elif test "$withval" = sys; then
4264 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4265 elif test "$withval" = builtin; then
4266 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4268 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4269 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4270 { (exit 1); exit 1; }; }
4275 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4280 eval "$wx_cv_use_regex"
4282 if test "$wxUSE_REGEX" = yes; then
4283 { echo "$as_me:$LINENO: result
: yes" >&5
4284 echo "${ECHO_T}yes" >&6; }
4285 elif test "$wxUSE_REGEX" = no; then
4286 { echo "$as_me:$LINENO: result
: no
" >&5
4287 echo "${ECHO_T}no
" >&6; }
4288 elif test "$wxUSE_REGEX" = sys; then
4289 { echo "$as_me:$LINENO: result
: system version
" >&5
4290 echo "${ECHO_T}system version
" >&6; }
4291 elif test "$wxUSE_REGEX" = builtin; then
4292 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4293 echo "${ECHO_T}builtin version
" >&6; }
4295 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4296 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4297 { (exit 1); exit 1; }; }
4301 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4302 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4304 # Check whether --with-zlib was given.
4305 if test "${with_zlib+set}" = set; then
4307 if test "$withval" = yes; then
4308 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4309 elif test "$withval" = no; then
4310 wx_cv_use_zlib='wxUSE_ZLIB=no'
4311 elif test "$withval" = sys; then
4312 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4313 elif test "$withval" = builtin; then
4314 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4316 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4317 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4318 { (exit 1); exit 1; }; }
4323 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4328 eval "$wx_cv_use_zlib"
4330 if test "$wxUSE_ZLIB" = yes; then
4331 { echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6; }
4333 elif test "$wxUSE_ZLIB" = no
; then
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4336 elif test "$wxUSE_ZLIB" = sys
; then
4337 { echo "$as_me:$LINENO: result: system version" >&5
4338 echo "${ECHO_T}system version" >&6; }
4339 elif test "$wxUSE_ZLIB" = builtin; then
4340 { echo "$as_me:$LINENO: result: builtin version" >&5
4341 echo "${ECHO_T}builtin version" >&6; }
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4349 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4350 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4352 # Check whether --with-expat was given.
4353 if test "${with_expat+set}" = set; then
4354 withval
=$with_expat;
4355 if test "$withval" = yes; then
4356 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4357 elif test "$withval" = no
; then
4358 wx_cv_use_expat
='wxUSE_EXPAT=no'
4359 elif test "$withval" = sys
; then
4360 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4361 elif test "$withval" = builtin; then
4362 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4364 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4365 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4366 { (exit 1); exit 1; }; }
4371 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4376 eval "$wx_cv_use_expat"
4378 if test "$wxUSE_EXPAT" = yes; then
4379 { echo "$as_me:$LINENO: result: yes" >&5
4380 echo "${ECHO_T}yes" >&6; }
4381 elif test "$wxUSE_EXPAT" = no; then
4382 { echo "$as_me:$LINENO: result: no" >&5
4383 echo "${ECHO_T}no" >&6; }
4384 elif test "$wxUSE_EXPAT" = sys; then
4385 { echo "$as_me:$LINENO: result: system version" >&5
4386 echo "${ECHO_T}system version" >&6; }
4387 elif test "$wxUSE_EXPAT" = builtin; then
4388 { echo "$as_me:$LINENO: result: builtin version" >&5
4389 echo "${ECHO_T}builtin version" >&6; }
4391 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4392 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4393 { (exit 1); exit 1; }; }
4397 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4398 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4400 # Check whether --with-macosx-sdk was given.
4401 if test "${with_macosx_sdk+set}" = set; then
4402 withval=$with_macosx_sdk;
4403 wxUSE_MACOSX_SDK=$withval
4404 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4408 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4409 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4411 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4412 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4414 # Check whether --with-macosx-version-min was given.
4415 if test "${with_macosx_version_min+set}" = set; then
4416 withval=$with_macosx_version_min;
4417 wxUSE_MACOSX_VERSION_MIN=$withval
4418 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4422 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4423 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4426 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4427 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4428 # Check whether --enable-debug was given.
4429 if test "${enable_debug+set}" = set; then
4430 enableval=$enable_debug;
4431 if test "$enableval" = yes; then
4433 elif test "$enableval" = no; then
4435 elif test "$enableval" = max; then
4437 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4439 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4440 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4441 { (exit 1); exit 1; }; }
4450 case "$wxUSE_DEBUG" in
4452 DEFAULT_wxUSE_DEBUG_FLAG=yes
4453 DEFAULT_wxUSE_DEBUG_INFO=yes
4455 DEFAULT_wxUSE_OPTIMISE=no
4459 DEFAULT_wxUSE_DEBUG_FLAG=no
4460 DEFAULT_wxUSE_DEBUG_INFO=no
4464 DEFAULT_wxUSE_DEBUG_FLAG=yes
4465 DEFAULT_wxUSE_DEBUG_INFO=no
4470 enablestring=disable
4472 if test -z "$defaultval"; then
4473 if test x"$enablestring" = xdisable; then
4480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4482 # Check whether --enable-debug_flag was given.
4483 if test "${enable_debug_flag+set}" = set; then
4484 enableval=$enable_debug_flag;
4485 if test "$enableval" = yes; then
4486 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4488 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4493 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4498 eval "$wx_cv_use_debug_flag"
4500 if test x"$enablestring" = xdisable; then
4501 if test $wxUSE_DEBUG_FLAG = no; then
4507 result=$wxUSE_DEBUG_FLAG
4510 { echo "$as_me:$LINENO: result
: $result" >&5
4511 echo "${ECHO_T}$result" >&6; }
4516 if test -z "$defaultval"; then
4517 if test x"$enablestring" = xdisable; then
4524 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4525 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4526 # Check whether --enable-debug_info was given.
4527 if test "${enable_debug_info+set}" = set; then
4528 enableval=$enable_debug_info;
4529 if test "$enableval" = yes; then
4530 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4532 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4537 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4542 eval "$wx_cv_use_debug_info"
4544 if test x
"$enablestring" = xdisable
; then
4545 if test $wxUSE_DEBUG_INFO = no
; then
4551 result
=$wxUSE_DEBUG_INFO
4554 { echo "$as_me:$LINENO: result: $result" >&5
4555 echo "${ECHO_T}$result" >&6; }
4562 if test -z "$defaultval"; then
4563 if test x
"$enablestring" = xdisable
; then
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4572 # Check whether --enable-debug_gdb was given.
4573 if test "${enable_debug_gdb+set}" = set; then
4574 enableval
=$enable_debug_gdb;
4575 if test "$enableval" = yes; then
4576 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4578 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4583 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4588 eval "$wx_cv_use_debug_gdb"
4590 if test x"$enablestring" = xdisable; then
4591 if test $wxUSE_DEBUG_GDB = no; then
4597 result=$wxUSE_DEBUG_GDB
4600 { echo "$as_me:$LINENO: result: $result" >&5
4601 echo "${ECHO_T}$result" >&6; }
4606 if test -z "$defaultval"; then
4607 if test x"$enablestring" = xdisable; then
4614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4616 # Check whether --enable-debug_cntxt was given.
4617 if test "${enable_debug_cntxt+set}" = set; then
4618 enableval=$enable_debug_cntxt;
4619 if test "$enableval" = yes; then
4620 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4622 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4627 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4632 eval "$wx_cv_use_debug_cntxt"
4634 if test x"$enablestring" = xdisable; then
4635 if test $wxUSE_DEBUG_CONTEXT = no; then
4641 result=$wxUSE_DEBUG_CONTEXT
4644 { echo "$as_me:$LINENO: result
: $result" >&5
4645 echo "${ECHO_T}$result" >&6; }
4650 if test -z "$defaultval"; then
4651 if test x"$enablestring" = xdisable; then
4658 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4659 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4660 # Check whether --enable-mem_tracing was given.
4661 if test "${enable_mem_tracing+set}" = set; then
4662 enableval=$enable_mem_tracing;
4663 if test "$enableval" = yes; then
4664 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4666 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4671 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4676 eval "$wx_cv_use_mem_tracing"
4678 if test x
"$enablestring" = xdisable
; then
4679 if test $wxUSE_MEM_TRACING = no
; then
4685 result
=$wxUSE_MEM_TRACING
4688 { echo "$as_me:$LINENO: result: $result" >&5
4689 echo "${ECHO_T}$result" >&6; }
4694 enablestring
=disable
4696 if test -z "$defaultval"; then
4697 if test x
"$enablestring" = xdisable
; then
4704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4705 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4706 # Check whether --enable-shared was given.
4707 if test "${enable_shared+set}" = set; then
4708 enableval
=$enable_shared;
4709 if test "$enableval" = yes; then
4710 wx_cv_use_shared
='wxUSE_SHARED=yes'
4712 wx_cv_use_shared
='wxUSE_SHARED=no'
4717 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4722 eval "$wx_cv_use_shared"
4724 if test x"$enablestring" = xdisable; then
4725 if test $wxUSE_SHARED = no; then
4731 result=$wxUSE_SHARED
4734 { echo "$as_me:$LINENO: result: $result" >&5
4735 echo "${ECHO_T}$result" >&6; }
4740 if test -z "$defaultval"; then
4741 if test x"$enablestring" = xdisable; then
4748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4749 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4750 # Check whether --enable-stl was given.
4751 if test "${enable_stl+set}" = set; then
4752 enableval=$enable_stl;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_stl='wxUSE_STL
=yes'
4756 wx_cv_use_stl='wxUSE_STL
=no
'
4761 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4766 eval "$wx_cv_use_stl"
4768 if test x"$enablestring" = xdisable; then
4769 if test $wxUSE_STL = no; then
4778 { echo "$as_me:$LINENO: result
: $result" >&5
4779 echo "${ECHO_T}$result" >&6; }
4784 if test -z "$defaultval"; then
4785 if test x"$enablestring" = xdisable; then
4792 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_containers" >&5
4793 echo $ECHO_N "checking
for --${enablestring:-enable}-std_containers...
$ECHO_C" >&6; }
4794 # Check whether --enable-std_containers was given.
4795 if test "${enable_std_containers+set}" = set; then
4796 enableval=$enable_std_containers;
4797 if test "$enableval" = yes; then
4798 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4800 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4805 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4810 eval "$wx_cv_use_std_containers"
4812 if test x
"$enablestring" = xdisable
; then
4813 if test $wxUSE_STD_CONTAINERS = no
; then
4819 result
=$wxUSE_STD_CONTAINERS
4822 { echo "$as_me:$LINENO: result: $result" >&5
4823 echo "${ECHO_T}$result" >&6; }
4828 if test -z "$defaultval"; then
4829 if test x
"$enablestring" = xdisable
; then
4836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4837 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4838 # Check whether --enable-std_iostreams was given.
4839 if test "${enable_std_iostreams+set}" = set; then
4840 enableval
=$enable_std_iostreams;
4841 if test "$enableval" = yes; then
4842 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4844 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4849 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4854 eval "$wx_cv_use_std_iostreams"
4856 if test x"$enablestring" = xdisable; then
4857 if test $wxUSE_STD_IOSTREAM = no; then
4863 result=$wxUSE_STD_IOSTREAM
4866 { echo "$as_me:$LINENO: result: $result" >&5
4867 echo "${ECHO_T}$result" >&6; }
4872 if test -z "$defaultval"; then
4873 if test x"$enablestring" = xdisable; then
4880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4881 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4882 # Check whether --enable-std_string was given.
4883 if test "${enable_std_string+set}" = set; then
4884 enableval=$enable_std_string;
4885 if test "$enableval" = yes; then
4886 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
4888 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
4893 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4898 eval "$wx_cv_use_std_string"
4900 if test x"$enablestring" = xdisable; then
4901 if test $wxUSE_STD_STRING = no; then
4907 result=$wxUSE_STD_STRING
4910 { echo "$as_me:$LINENO: result
: $result" >&5
4911 echo "${ECHO_T}$result" >&6; }
4916 if test -z "$defaultval"; then
4917 if test x"$enablestring" = xdisable; then
4924 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4925 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
$ECHO_C" >&6; }
4926 # Check whether --enable-std_string_conv_in_wxstring was given.
4927 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4928 enableval=$enable_std_string_conv_in_wxstring;
4929 if test "$enableval" = yes; then
4930 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4932 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4937 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4942 eval "$wx_cv_use_std_string_conv_in_wxstring"
4944 if test x
"$enablestring" = xdisable
; then
4945 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
4951 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4954 { echo "$as_me:$LINENO: result: $result" >&5
4955 echo "${ECHO_T}$result" >&6; }
4958 enablestring
=disable
4960 if test -z "$defaultval"; then
4961 if test x
"$enablestring" = xdisable
; then
4968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4970 # Check whether --enable-unicode was given.
4971 if test "${enable_unicode+set}" = set; then
4972 enableval
=$enable_unicode;
4973 if test "$enableval" = yes; then
4974 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4976 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4981 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4986 eval "$wx_cv_use_unicode"
4988 if test x"$enablestring" = xdisable; then
4989 if test $wxUSE_UNICODE = no; then
4995 result=$wxUSE_UNICODE
4998 { echo "$as_me:$LINENO: result: $result" >&5
4999 echo "${ECHO_T}$result" >&6; }
5004 if test -z "$defaultval"; then
5005 if test x"$enablestring" = xdisable; then
5012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5013 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5014 # Check whether --enable-mslu was given.
5015 if test "${enable_mslu+set}" = set; then
5016 enableval=$enable_mslu;
5017 if test "$enableval" = yes; then
5018 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5020 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5025 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5030 eval "$wx_cv_use_mslu"
5032 if test x"$enablestring" = xdisable; then
5033 if test $wxUSE_UNICODE_MSLU = no; then
5039 result=$wxUSE_UNICODE_MSLU
5042 { echo "$as_me:$LINENO: result
: $result" >&5
5043 echo "${ECHO_T}$result" >&6; }
5047 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5048 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5049 # Check whether --enable-utf8 was given.
5050 if test "${enable_utf8+set}" = set; then
5051 enableval=$enable_utf8;
5052 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5056 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5061 eval "$wx_cv_use_utf8"
5063 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5064 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5069 if test -z "$defaultval"; then
5070 if test x"$enablestring" = xdisable; then
5077 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5078 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5079 # Check whether --enable-utf8only was given.
5080 if test "${enable_utf8only+set}" = set; then
5081 enableval=$enable_utf8only;
5082 if test "$enableval" = yes; then
5083 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5085 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5090 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5095 eval "$wx_cv_use_utf8only"
5097 if test x
"$enablestring" = xdisable
; then
5098 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
5104 result
=$wxUSE_UNICODE_UTF8_LOCALE
5107 { echo "$as_me:$LINENO: result: $result" >&5
5108 echo "${ECHO_T}$result" >&6; }
5113 if test -z "$defaultval"; then
5114 if test x
"$enablestring" = xdisable
; then
5121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5123 # Check whether --enable-extended_rtti was given.
5124 if test "${enable_extended_rtti+set}" = set; then
5125 enableval
=$enable_extended_rtti;
5126 if test "$enableval" = yes; then
5127 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5129 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5134 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5139 eval "$wx_cv_use_extended_rtti"
5141 if test x"$enablestring" = xdisable; then
5142 if test $wxUSE_EXTENDED_RTTI = no; then
5148 result=$wxUSE_EXTENDED_RTTI
5151 { echo "$as_me:$LINENO: result: $result" >&5
5152 echo "${ECHO_T}$result" >&6; }
5154 if test "$USE_OS2" = 1; then
5155 DEFAULT_wxUSE_OMF=no
5159 if test -z "$defaultval"; then
5160 if test x"$enablestring" = xdisable; then
5167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5168 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5169 # Check whether --enable-omf was given.
5170 if test "${enable_omf+set}" = set; then
5171 enableval=$enable_omf;
5172 if test "$enableval" = yes; then
5173 wx_cv_use_omf='wxUSE_OMF
=yes'
5175 wx_cv_use_omf='wxUSE_OMF
=no
'
5180 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5185 eval "$wx_cv_use_omf"
5187 if test x"$enablestring" = xdisable; then
5188 if test $wxUSE_OMF = no; then
5197 { echo "$as_me:$LINENO: result
: $result" >&5
5198 echo "${ECHO_T}$result" >&6; }
5203 enablestring=disable
5205 if test -z "$defaultval"; then
5206 if test x"$enablestring" = xdisable; then
5213 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
5214 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
5215 # Check whether --enable-optimise was given.
5216 if test "${enable_optimise+set}" = set; then
5217 enableval=$enable_optimise;
5218 if test "$enableval" = yes; then
5219 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5221 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5226 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5231 eval "$wx_cv_use_optimise"
5233 if test x
"$enablestring" = xdisable
; then
5234 if test $wxUSE_OPTIMISE = no
; then
5240 result
=$wxUSE_OPTIMISE
5243 { echo "$as_me:$LINENO: result: $result" >&5
5244 echo "${ECHO_T}$result" >&6; }
5250 if test -z "$defaultval"; then
5251 if test x
"$enablestring" = xdisable
; then
5258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5259 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5260 # Check whether --enable-profile was given.
5261 if test "${enable_profile+set}" = set; then
5262 enableval
=$enable_profile;
5263 if test "$enableval" = yes; then
5264 wx_cv_use_profile
='wxUSE_PROFILE=yes'
5266 wx_cv_use_profile
='wxUSE_PROFILE=no'
5271 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5276 eval "$wx_cv_use_profile"
5278 if test x"$enablestring" = xdisable; then
5279 if test $wxUSE_PROFILE = no; then
5285 result=$wxUSE_PROFILE
5288 { echo "$as_me:$LINENO: result: $result" >&5
5289 echo "${ECHO_T}$result" >&6; }
5294 if test -z "$defaultval"; then
5295 if test x"$enablestring" = xdisable; then
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5304 # Check whether --enable-no_rtti was given.
5305 if test "${enable_no_rtti+set}" = set; then
5306 enableval=$enable_no_rtti;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
5310 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
5315 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5320 eval "$wx_cv_use_no_rtti"
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_NO_RTTI = no; then
5329 result=$wxUSE_NO_RTTI
5332 { echo "$as_me:$LINENO: result
: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5338 if test -z "$defaultval"; then
5339 if test x"$enablestring" = xdisable; then
5346 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_exceptions" >&5
5347 echo $ECHO_N "checking
for --${enablestring:-enable}-no_exceptions...
$ECHO_C" >&6; }
5348 # Check whether --enable-no_exceptions was given.
5349 if test "${enable_no_exceptions+set}" = set; then
5350 enableval=$enable_no_exceptions;
5351 if test "$enableval" = yes; then
5352 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5354 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5359 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5364 eval "$wx_cv_use_no_exceptions"
5366 if test x
"$enablestring" = xdisable
; then
5367 if test $wxUSE_NO_EXCEPTIONS = no
; then
5373 result
=$wxUSE_NO_EXCEPTIONS
5376 { echo "$as_me:$LINENO: result: $result" >&5
5377 echo "${ECHO_T}$result" >&6; }
5382 if test -z "$defaultval"; then
5383 if test x
"$enablestring" = xdisable
; then
5390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5391 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5392 # Check whether --enable-permissive was given.
5393 if test "${enable_permissive+set}" = set; then
5394 enableval
=$enable_permissive;
5395 if test "$enableval" = yes; then
5396 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
5398 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
5403 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5408 eval "$wx_cv_use_permissive"
5410 if test x"$enablestring" = xdisable; then
5411 if test $wxUSE_PERMISSIVE = no; then
5417 result=$wxUSE_PERMISSIVE
5420 { echo "$as_me:$LINENO: result: $result" >&5
5421 echo "${ECHO_T}$result" >&6; }
5426 if test -z "$defaultval"; then
5427 if test x"$enablestring" = xdisable; then
5434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5436 # Check whether --enable-no_deps was given.
5437 if test "${enable_no_deps+set}" = set; then
5438 enableval=$enable_no_deps;
5439 if test "$enableval" = yes; then
5440 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
5442 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
5447 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5452 eval "$wx_cv_use_no_deps"
5454 if test x"$enablestring" = xdisable; then
5455 if test $wxUSE_NO_DEPS = no; then
5461 result=$wxUSE_NO_DEPS
5464 { echo "$as_me:$LINENO: result
: $result" >&5
5465 echo "${ECHO_T}$result" >&6; }
5468 enablestring=disable
5470 if test -z "$defaultval"; then
5471 if test x"$enablestring" = xdisable; then
5478 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-vararg_macros" >&5
5479 echo $ECHO_N "checking
for --${enablestring:-enable}-vararg_macros...
$ECHO_C" >&6; }
5480 # Check whether --enable-vararg_macros was given.
5481 if test "${enable_vararg_macros+set}" = set; then
5482 enableval=$enable_vararg_macros;
5483 if test "$enableval" = yes; then
5484 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5486 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5491 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5496 eval "$wx_cv_use_vararg_macros"
5498 if test x
"$enablestring" = xdisable
; then
5499 if test $wxUSE_VARARG_MACROS = no
; then
5505 result
=$wxUSE_VARARG_MACROS
5508 { echo "$as_me:$LINENO: result: $result" >&5
5509 echo "${ECHO_T}$result" >&6; }
5514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5516 # Check whether --enable-universal_binary was given.
5517 if test "${enable_universal_binary+set}" = set; then
5518 enableval
=$enable_universal_binary;
5519 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
5523 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5528 eval "$wx_cv_use_universal_binary"
5530 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5531 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5536 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5537 # Check whether --enable-macosx_arch was given.
5538 if test "${enable_macosx_arch+set}" = set; then
5539 enableval
=$enable_macosx_arch;
5540 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
5544 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5549 eval "$wx_cv_use_macosx_arch"
5551 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5552 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5558 if test -z "$defaultval"; then
5559 if test x
"$enablestring" = xdisable
; then
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5568 # Check whether --enable-compat26 was given.
5569 if test "${enable_compat26+set}" = set; then
5570 enableval
=$enable_compat26;
5571 if test "$enableval" = yes; then
5572 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
5574 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
5579 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5584 eval "$wx_cv_use_compat26"
5586 if test x"$enablestring" = xdisable; then
5587 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5593 result=$WXWIN_COMPATIBILITY_2_6
5596 { echo "$as_me:$LINENO: result: $result" >&5
5597 echo "${ECHO_T}$result" >&6; }
5600 enablestring=disable
5602 if test -z "$defaultval"; then
5603 if test x"$enablestring" = xdisable; then
5610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5612 # Check whether --enable-compat28 was given.
5613 if test "${enable_compat28+set}" = set; then
5614 enableval=$enable_compat28;
5615 if test "$enableval" = yes; then
5616 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
5618 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
5623 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5628 eval "$wx_cv_use_compat28"
5630 if test x"$enablestring" = xdisable; then
5631 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5637 result=$WXWIN_COMPATIBILITY_2_8
5640 { echo "$as_me:$LINENO: result
: $result" >&5
5641 echo "${ECHO_T}$result" >&6; }
5645 enablestring=disable
5647 if test -z "$defaultval"; then
5648 if test x"$enablestring" = xdisable; then
5655 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rpath" >&5
5656 echo $ECHO_N "checking
for --${enablestring:-enable}-rpath...
$ECHO_C" >&6; }
5657 # Check whether --enable-rpath was given.
5658 if test "${enable_rpath+set}" = set; then
5659 enableval=$enable_rpath;
5660 if test "$enableval" = yes; then
5661 wx_cv_use_rpath='wxUSE_RPATH=yes'
5663 wx_cv_use_rpath='wxUSE_RPATH=no'
5668 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5673 eval "$wx_cv_use_rpath"
5675 if test x
"$enablestring" = xdisable
; then
5676 if test $wxUSE_RPATH = no
; then
5685 { echo "$as_me:$LINENO: result: $result" >&5
5686 echo "${ECHO_T}$result" >&6; }
5692 if test -z "$defaultval"; then
5693 if test x
"$enablestring" = xdisable
; then
5700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5701 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5702 # Check whether --enable-objc_uniquifying was given.
5703 if test "${enable_objc_uniquifying+set}" = set; then
5704 enableval
=$enable_objc_uniquifying;
5705 if test "$enableval" = yes; then
5706 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
5708 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
5713 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5718 eval "$wx_cv_use_objc_uniquifying"
5720 if test x"$enablestring" = xdisable; then
5721 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5727 result=$wxUSE_OBJC_UNIQUIFYING
5730 { echo "$as_me:$LINENO: result: $result" >&5
5731 echo "${ECHO_T}$result" >&6; }
5735 enablestring=disable
5737 if test -z "$defaultval"; then
5738 if test x"$enablestring" = xdisable; then
5745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5747 # Check whether --enable-visibility was given.
5748 if test "${enable_visibility+set}" = set; then
5749 enableval=$enable_visibility;
5750 if test "$enableval" = yes; then
5751 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
5753 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
5758 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5763 eval "$wx_cv_use_visibility"
5765 if test x"$enablestring" = xdisable; then
5766 if test $wxUSE_VISIBILITY = no; then
5772 result=$wxUSE_VISIBILITY
5775 { echo "$as_me:$LINENO: result
: $result" >&5
5776 echo "${ECHO_T}$result" >&6; }
5779 enablestring=disable
5781 if test -z "$defaultval"; then
5782 if test x"$enablestring" = xdisable; then
5789 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tls" >&5
5790 echo $ECHO_N "checking
for --${enablestring:-enable}-tls...
$ECHO_C" >&6; }
5791 # Check whether --enable-tls was given.
5792 if test "${enable_tls+set}" = set; then
5793 enableval=$enable_tls;
5794 if test "$enableval" = yes; then
5795 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5797 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5802 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5807 eval "$wx_cv_use_tls"
5809 if test x
"$enablestring" = xdisable
; then
5810 if test $wxUSE_COMPILER_TLS = no
; then
5816 result
=$wxUSE_COMPILER_TLS
5819 { echo "$as_me:$LINENO: result: $result" >&5
5820 echo "${ECHO_T}$result" >&6; }
5826 defaultval
=$wxUSE_ALL_FEATURES
5827 if test -z "$defaultval"; then
5828 if test x
"$enablestring" = xdisable
; then
5835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5836 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5837 # Check whether --enable-intl was given.
5838 if test "${enable_intl+set}" = set; then
5839 enableval
=$enable_intl;
5840 if test "$enableval" = yes; then
5841 wx_cv_use_intl
='wxUSE_INTL=yes'
5843 wx_cv_use_intl
='wxUSE_INTL=no'
5848 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5853 eval "$wx_cv_use_intl"
5855 if test x"$enablestring" = xdisable; then
5856 if test $wxUSE_INTL = no; then
5865 { echo "$as_me:$LINENO: result: $result" >&5
5866 echo "${ECHO_T}$result" >&6; }
5870 defaultval=$wxUSE_ALL_FEATURES
5871 if test -z "$defaultval"; then
5872 if test x"$enablestring" = xdisable; then
5879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5880 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5881 # Check whether --enable-xlocale was given.
5882 if test "${enable_xlocale+set}" = set; then
5883 enableval=$enable_xlocale;
5884 if test "$enableval" = yes; then
5885 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
5887 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
5892 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5897 eval "$wx_cv_use_xlocale"
5899 if test x"$enablestring" = xdisable; then
5900 if test $wxUSE_XLOCALE = no; then
5906 result=$wxUSE_XLOCALE
5909 { echo "$as_me:$LINENO: result
: $result" >&5
5910 echo "${ECHO_T}$result" >&6; }
5914 defaultval=$wxUSE_ALL_FEATURES
5915 if test -z "$defaultval"; then
5916 if test x"$enablestring" = xdisable; then
5923 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-config" >&5
5924 echo $ECHO_N "checking
for --${enablestring:-enable}-config...
$ECHO_C" >&6; }
5925 # Check whether --enable-config was given.
5926 if test "${enable_config+set}" = set; then
5927 enableval=$enable_config;
5928 if test "$enableval" = yes; then
5929 wx_cv_use_config='wxUSE_CONFIG=yes'
5931 wx_cv_use_config='wxUSE_CONFIG=no'
5936 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5941 eval "$wx_cv_use_config"
5943 if test x
"$enablestring" = xdisable
; then
5944 if test $wxUSE_CONFIG = no
; then
5950 result
=$wxUSE_CONFIG
5953 { echo "$as_me:$LINENO: result: $result" >&5
5954 echo "${ECHO_T}$result" >&6; }
5959 defaultval
=$wxUSE_ALL_FEATURES
5960 if test -z "$defaultval"; then
5961 if test x
"$enablestring" = xdisable
; then
5968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5970 # Check whether --enable-protocols was given.
5971 if test "${enable_protocols+set}" = set; then
5972 enableval
=$enable_protocols;
5973 if test "$enableval" = yes; then
5974 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
5976 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
5981 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5986 eval "$wx_cv_use_protocols"
5988 if test x"$enablestring" = xdisable; then
5989 if test $wxUSE_PROTOCOL = no; then
5995 result=$wxUSE_PROTOCOL
5998 { echo "$as_me:$LINENO: result: $result" >&5
5999 echo "${ECHO_T}$result" >&6; }
6003 defaultval=$wxUSE_ALL_FEATURES
6004 if test -z "$defaultval"; then
6005 if test x"$enablestring" = xdisable; then
6012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6014 # Check whether --enable-ftp was given.
6015 if test "${enable_ftp+set}" = set; then
6016 enableval=$enable_ftp;
6017 if test "$enableval" = yes; then
6018 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
6020 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
6025 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6030 eval "$wx_cv_use_ftp"
6032 if test x"$enablestring" = xdisable; then
6033 if test $wxUSE_PROTOCOL_FTP = no; then
6039 result=$wxUSE_PROTOCOL_FTP
6042 { echo "$as_me:$LINENO: result
: $result" >&5
6043 echo "${ECHO_T}$result" >&6; }
6047 defaultval=$wxUSE_ALL_FEATURES
6048 if test -z "$defaultval"; then
6049 if test x"$enablestring" = xdisable; then
6056 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-http" >&5
6057 echo $ECHO_N "checking
for --${enablestring:-enable}-http...
$ECHO_C" >&6; }
6058 # Check whether --enable-http was given.
6059 if test "${enable_http+set}" = set; then
6060 enableval=$enable_http;
6061 if test "$enableval" = yes; then
6062 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6064 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6069 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6074 eval "$wx_cv_use_http"
6076 if test x
"$enablestring" = xdisable
; then
6077 if test $wxUSE_PROTOCOL_HTTP = no
; then
6083 result
=$wxUSE_PROTOCOL_HTTP
6086 { echo "$as_me:$LINENO: result: $result" >&5
6087 echo "${ECHO_T}$result" >&6; }
6091 defaultval
=$wxUSE_ALL_FEATURES
6092 if test -z "$defaultval"; then
6093 if test x
"$enablestring" = xdisable
; then
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6102 # Check whether --enable-fileproto was given.
6103 if test "${enable_fileproto+set}" = set; then
6104 enableval
=$enable_fileproto;
6105 if test "$enableval" = yes; then
6106 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
6108 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
6113 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6118 eval "$wx_cv_use_fileproto"
6120 if test x"$enablestring" = xdisable; then
6121 if test $wxUSE_PROTOCOL_FILE = no; then
6127 result=$wxUSE_PROTOCOL_FILE
6130 { echo "$as_me:$LINENO: result: $result" >&5
6131 echo "${ECHO_T}$result" >&6; }
6135 defaultval=$wxUSE_ALL_FEATURES
6136 if test -z "$defaultval"; then
6137 if test x"$enablestring" = xdisable; then
6144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6146 # Check whether --enable-sockets was given.
6147 if test "${enable_sockets+set}" = set; then
6148 enableval=$enable_sockets;
6149 if test "$enableval" = yes; then
6150 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
6152 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
6157 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6162 eval "$wx_cv_use_sockets"
6164 if test x"$enablestring" = xdisable; then
6165 if test $wxUSE_SOCKETS = no; then
6171 result=$wxUSE_SOCKETS
6174 { echo "$as_me:$LINENO: result
: $result" >&5
6175 echo "${ECHO_T}$result" >&6; }
6179 defaultval=$wxUSE_ALL_FEATURES
6180 if test -z "$defaultval"; then
6181 if test x"$enablestring" = xdisable; then
6188 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipv6" >&5
6189 echo $ECHO_N "checking
for --${enablestring:-enable}-ipv6...
$ECHO_C" >&6; }
6190 # Check whether --enable-ipv6 was given.
6191 if test "${enable_ipv6+set}" = set; then
6192 enableval=$enable_ipv6;
6193 if test "$enableval" = yes; then
6194 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6196 wx_cv_use_ipv6='wxUSE_IPV6=no'
6201 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6206 eval "$wx_cv_use_ipv6"
6208 if test x
"$enablestring" = xdisable
; then
6209 if test $wxUSE_IPV6 = no
; then
6218 { echo "$as_me:$LINENO: result: $result" >&5
6219 echo "${ECHO_T}$result" >&6; }
6223 defaultval
=$wxUSE_ALL_FEATURES
6224 if test -z "$defaultval"; then
6225 if test x
"$enablestring" = xdisable
; then
6232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6233 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6234 # Check whether --enable-ole was given.
6235 if test "${enable_ole+set}" = set; then
6236 enableval
=$enable_ole;
6237 if test "$enableval" = yes; then
6238 wx_cv_use_ole
='wxUSE_OLE=yes'
6240 wx_cv_use_ole
='wxUSE_OLE=no'
6245 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6250 eval "$wx_cv_use_ole"
6252 if test x"$enablestring" = xdisable; then
6253 if test $wxUSE_OLE = no; then
6262 { echo "$as_me:$LINENO: result: $result" >&5
6263 echo "${ECHO_T}$result" >&6; }
6267 defaultval=$wxUSE_ALL_FEATURES
6268 if test -z "$defaultval"; then
6269 if test x"$enablestring" = xdisable; then
6276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6277 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6278 # Check whether --enable-dataobj was given.
6279 if test "${enable_dataobj+set}" = set; then
6280 enableval=$enable_dataobj;
6281 if test "$enableval" = yes; then
6282 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
6284 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
6289 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6294 eval "$wx_cv_use_dataobj"
6296 if test x"$enablestring" = xdisable; then
6297 if test $wxUSE_DATAOBJ = no; then
6303 result=$wxUSE_DATAOBJ
6306 { echo "$as_me:$LINENO: result
: $result" >&5
6307 echo "${ECHO_T}$result" >&6; }
6312 defaultval=$wxUSE_ALL_FEATURES
6313 if test -z "$defaultval"; then
6314 if test x"$enablestring" = xdisable; then
6321 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipc" >&5
6322 echo $ECHO_N "checking
for --${enablestring:-enable}-ipc...
$ECHO_C" >&6; }
6323 # Check whether --enable-ipc was given.
6324 if test "${enable_ipc+set}" = set; then
6325 enableval=$enable_ipc;
6326 if test "$enableval" = yes; then
6327 wx_cv_use_ipc='wxUSE_IPC=yes'
6329 wx_cv_use_ipc='wxUSE_IPC=no'
6334 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6339 eval "$wx_cv_use_ipc"
6341 if test x
"$enablestring" = xdisable
; then
6342 if test $wxUSE_IPC = no
; then
6351 { echo "$as_me:$LINENO: result: $result" >&5
6352 echo "${ECHO_T}$result" >&6; }
6357 defaultval
=$wxUSE_ALL_FEATURES
6358 if test -z "$defaultval"; then
6359 if test x
"$enablestring" = xdisable
; then
6366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6367 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6368 # Check whether --enable-baseevtloop was given.
6369 if test "${enable_baseevtloop+set}" = set; then
6370 enableval
=$enable_baseevtloop;
6371 if test "$enableval" = yes; then
6372 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
6374 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
6379 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6384 eval "$wx_cv_use_baseevtloop"
6386 if test x"$enablestring" = xdisable; then
6387 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6393 result=$wxUSE_CONSOLE_EVENTLOOP
6396 { echo "$as_me:$LINENO: result: $result" >&5
6397 echo "${ECHO_T}$result" >&6; }
6401 defaultval=$wxUSE_ALL_FEATURES
6402 if test -z "$defaultval"; then
6403 if test x"$enablestring" = xdisable; then
6410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6411 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6412 # Check whether --enable-epollloop was given.
6413 if test "${enable_epollloop+set}" = set; then
6414 enableval=$enable_epollloop;
6415 if test "$enableval" = yes; then
6416 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
6418 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
6423 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6428 eval "$wx_cv_use_epollloop"
6430 if test x"$enablestring" = xdisable; then
6431 if test $wxUSE_EPOLL_DISPATCHER = no; then
6437 result=$wxUSE_EPOLL_DISPATCHER
6440 { echo "$as_me:$LINENO: result
: $result" >&5
6441 echo "${ECHO_T}$result" >&6; }
6445 defaultval=$wxUSE_ALL_FEATURES
6446 if test -z "$defaultval"; then
6447 if test x"$enablestring" = xdisable; then
6454 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-selectloop" >&5
6455 echo $ECHO_N "checking
for --${enablestring:-enable}-selectloop...
$ECHO_C" >&6; }
6456 # Check whether --enable-selectloop was given.
6457 if test "${enable_selectloop+set}" = set; then
6458 enableval=$enable_selectloop;
6459 if test "$enableval" = yes; then
6460 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6462 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6467 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6472 eval "$wx_cv_use_selectloop"
6474 if test x
"$enablestring" = xdisable
; then
6475 if test $wxUSE_SELECT_DISPATCHER = no
; then
6481 result
=$wxUSE_SELECT_DISPATCHER
6484 { echo "$as_me:$LINENO: result: $result" >&5
6485 echo "${ECHO_T}$result" >&6; }
6490 defaultval
=$wxUSE_ALL_FEATURES
6491 if test -z "$defaultval"; then
6492 if test x
"$enablestring" = xdisable
; then
6499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6501 # Check whether --enable-any was given.
6502 if test "${enable_any+set}" = set; then
6503 enableval
=$enable_any;
6504 if test "$enableval" = yes; then
6505 wx_cv_use_any
='wxUSE_ANY=yes'
6507 wx_cv_use_any
='wxUSE_ANY=no'
6512 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6517 eval "$wx_cv_use_any"
6519 if test x"$enablestring" = xdisable; then
6520 if test $wxUSE_ANY = no; then
6529 { echo "$as_me:$LINENO: result: $result" >&5
6530 echo "${ECHO_T}$result" >&6; }
6534 defaultval=$wxUSE_ALL_FEATURES
6535 if test -z "$defaultval"; then
6536 if test x"$enablestring" = xdisable; then
6543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6544 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6545 # Check whether --enable-apple_ieee was given.
6546 if test "${enable_apple_ieee+set}" = set; then
6547 enableval=$enable_apple_ieee;
6548 if test "$enableval" = yes; then
6549 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6551 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6556 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6561 eval "$wx_cv_use_apple_ieee"
6563 if test x"$enablestring" = xdisable; then
6564 if test $wxUSE_APPLE_IEEE = no; then
6570 result=$wxUSE_APPLE_IEEE
6573 { echo "$as_me:$LINENO: result
: $result" >&5
6574 echo "${ECHO_T}$result" >&6; }
6578 defaultval=$wxUSE_ALL_FEATURES
6579 if test -z "$defaultval"; then
6580 if test x"$enablestring" = xdisable; then
6587 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6588 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6589 # Check whether --enable-arcstream was given.
6590 if test "${enable_arcstream+set}" = set; then
6591 enableval=$enable_arcstream;
6592 if test "$enableval" = yes; then
6593 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6595 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6600 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6605 eval "$wx_cv_use_arcstream"
6607 if test x
"$enablestring" = xdisable
; then
6608 if test $wxUSE_ARCHIVE_STREAMS = no
; then
6614 result
=$wxUSE_ARCHIVE_STREAMS
6617 { echo "$as_me:$LINENO: result: $result" >&5
6618 echo "${ECHO_T}$result" >&6; }
6622 defaultval
=$wxUSE_ALL_FEATURES
6623 if test -z "$defaultval"; then
6624 if test x
"$enablestring" = xdisable
; then
6631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6633 # Check whether --enable-base64 was given.
6634 if test "${enable_base64+set}" = set; then
6635 enableval
=$enable_base64;
6636 if test "$enableval" = yes; then
6637 wx_cv_use_base64
='wxUSE_BASE64=yes'
6639 wx_cv_use_base64
='wxUSE_BASE64=no'
6644 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6649 eval "$wx_cv_use_base64"
6651 if test x"$enablestring" = xdisable; then
6652 if test $wxUSE_BASE64 = no; then
6658 result=$wxUSE_BASE64
6661 { echo "$as_me:$LINENO: result: $result" >&5
6662 echo "${ECHO_T}$result" >&6; }
6666 defaultval=$wxUSE_ALL_FEATURES
6667 if test -z "$defaultval"; then
6668 if test x"$enablestring" = xdisable; then
6675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6676 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6677 # Check whether --enable-backtrace was given.
6678 if test "${enable_backtrace+set}" = set; then
6679 enableval=$enable_backtrace;
6680 if test "$enableval" = yes; then
6681 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6683 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6688 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6693 eval "$wx_cv_use_backtrace"
6695 if test x"$enablestring" = xdisable; then
6696 if test $wxUSE_STACKWALKER = no; then
6702 result=$wxUSE_STACKWALKER
6705 { echo "$as_me:$LINENO: result
: $result" >&5
6706 echo "${ECHO_T}$result" >&6; }
6710 defaultval=$wxUSE_ALL_FEATURES
6711 if test -z "$defaultval"; then
6712 if test x"$enablestring" = xdisable; then
6719 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6720 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6721 # Check whether --enable-catch_segvs was given.
6722 if test "${enable_catch_segvs+set}" = set; then
6723 enableval=$enable_catch_segvs;
6724 if test "$enableval" = yes; then
6725 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6727 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6732 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6737 eval "$wx_cv_use_catch_segvs"
6739 if test x
"$enablestring" = xdisable
; then
6740 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
6746 result
=$wxUSE_ON_FATAL_EXCEPTION
6749 { echo "$as_me:$LINENO: result: $result" >&5
6750 echo "${ECHO_T}$result" >&6; }
6754 defaultval
=$wxUSE_ALL_FEATURES
6755 if test -z "$defaultval"; then
6756 if test x
"$enablestring" = xdisable
; then
6763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6764 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6765 # Check whether --enable-cmdline was given.
6766 if test "${enable_cmdline+set}" = set; then
6767 enableval
=$enable_cmdline;
6768 if test "$enableval" = yes; then
6769 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6771 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6776 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6781 eval "$wx_cv_use_cmdline"
6783 if test x"$enablestring" = xdisable; then
6784 if test $wxUSE_CMDLINE_PARSER = no; then
6790 result=$wxUSE_CMDLINE_PARSER
6793 { echo "$as_me:$LINENO: result: $result" >&5
6794 echo "${ECHO_T}$result" >&6; }
6798 defaultval=$wxUSE_ALL_FEATURES
6799 if test -z "$defaultval"; then
6800 if test x"$enablestring" = xdisable; then
6807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6808 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6809 # Check whether --enable-datetime was given.
6810 if test "${enable_datetime+set}" = set; then
6811 enableval=$enable_datetime;
6812 if test "$enableval" = yes; then
6813 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6815 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6820 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6825 eval "$wx_cv_use_datetime"
6827 if test x"$enablestring" = xdisable; then
6828 if test $wxUSE_DATETIME = no; then
6834 result=$wxUSE_DATETIME
6837 { echo "$as_me:$LINENO: result
: $result" >&5
6838 echo "${ECHO_T}$result" >&6; }
6842 defaultval=$wxUSE_ALL_FEATURES
6843 if test -z "$defaultval"; then
6844 if test x"$enablestring" = xdisable; then
6851 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6852 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6853 # Check whether --enable-debugreport was given.
6854 if test "${enable_debugreport+set}" = set; then
6855 enableval=$enable_debugreport;
6856 if test "$enableval" = yes; then
6857 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6859 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6864 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6869 eval "$wx_cv_use_debugreport"
6871 if test x
"$enablestring" = xdisable
; then
6872 if test $wxUSE_DEBUGREPORT = no
; then
6878 result
=$wxUSE_DEBUGREPORT
6881 { echo "$as_me:$LINENO: result: $result" >&5
6882 echo "${ECHO_T}$result" >&6; }
6886 defaultval
=$wxUSE_ALL_FEATURES
6887 if test -z "$defaultval"; then
6888 if test x
"$enablestring" = xdisable
; then
6895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6897 # Check whether --enable-dialupman was given.
6898 if test "${enable_dialupman+set}" = set; then
6899 enableval
=$enable_dialupman;
6900 if test "$enableval" = yes; then
6901 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6903 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6908 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6913 eval "$wx_cv_use_dialupman"
6915 if test x"$enablestring" = xdisable; then
6916 if test $wxUSE_DIALUP_MANAGER = no; then
6922 result=$wxUSE_DIALUP_MANAGER
6925 { echo "$as_me:$LINENO: result: $result" >&5
6926 echo "${ECHO_T}$result" >&6; }
6930 defaultval=$wxUSE_ALL_FEATURES
6931 if test -z "$defaultval"; then
6932 if test x"$enablestring" = xdisable; then
6939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6941 # Check whether --enable-dynlib was given.
6942 if test "${enable_dynlib+set}" = set; then
6943 enableval=$enable_dynlib;
6944 if test "$enableval" = yes; then
6945 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6947 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6952 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6957 eval "$wx_cv_use_dynlib"
6959 if test x"$enablestring" = xdisable; then
6960 if test $wxUSE_DYNLIB_CLASS = no; then
6966 result=$wxUSE_DYNLIB_CLASS
6969 { echo "$as_me:$LINENO: result
: $result" >&5
6970 echo "${ECHO_T}$result" >&6; }
6974 defaultval=$wxUSE_ALL_FEATURES
6975 if test -z "$defaultval"; then
6976 if test x"$enablestring" = xdisable; then
6983 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6984 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6985 # Check whether --enable-dynamicloader was given.
6986 if test "${enable_dynamicloader+set}" = set; then
6987 enableval=$enable_dynamicloader;
6988 if test "$enableval" = yes; then
6989 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6991 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6996 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7001 eval "$wx_cv_use_dynamicloader"
7003 if test x
"$enablestring" = xdisable
; then
7004 if test $wxUSE_DYNAMIC_LOADER = no
; then
7010 result
=$wxUSE_DYNAMIC_LOADER
7013 { echo "$as_me:$LINENO: result: $result" >&5
7014 echo "${ECHO_T}$result" >&6; }
7018 defaultval
=$wxUSE_ALL_FEATURES
7019 if test -z "$defaultval"; then
7020 if test x
"$enablestring" = xdisable
; then
7027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7029 # Check whether --enable-exceptions was given.
7030 if test "${enable_exceptions+set}" = set; then
7031 enableval
=$enable_exceptions;
7032 if test "$enableval" = yes; then
7033 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7035 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7040 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7045 eval "$wx_cv_use_exceptions"
7047 if test x"$enablestring" = xdisable; then
7048 if test $wxUSE_EXCEPTIONS = no; then
7054 result=$wxUSE_EXCEPTIONS
7057 { echo "$as_me:$LINENO: result: $result" >&5
7058 echo "${ECHO_T}$result" >&6; }
7062 defaultval=$wxUSE_ALL_FEATURES
7063 if test -z "$defaultval"; then
7064 if test x"$enablestring" = xdisable; then
7071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7072 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7073 # Check whether --enable-ffile was given.
7074 if test "${enable_ffile+set}" = set; then
7075 enableval=$enable_ffile;
7076 if test "$enableval" = yes; then
7077 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7079 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7084 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7089 eval "$wx_cv_use_ffile"
7091 if test x"$enablestring" = xdisable; then
7092 if test $wxUSE_FFILE = no; then
7101 { echo "$as_me:$LINENO: result
: $result" >&5
7102 echo "${ECHO_T}$result" >&6; }
7106 defaultval=$wxUSE_ALL_FEATURES
7107 if test -z "$defaultval"; then
7108 if test x"$enablestring" = xdisable; then
7115 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7116 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7117 # Check whether --enable-file was given.
7118 if test "${enable_file+set}" = set; then
7119 enableval=$enable_file;
7120 if test "$enableval" = yes; then
7121 wx_cv_use_file='wxUSE_FILE=yes'
7123 wx_cv_use_file='wxUSE_FILE=no'
7128 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7133 eval "$wx_cv_use_file"
7135 if test x
"$enablestring" = xdisable
; then
7136 if test $wxUSE_FILE = no
; then
7145 { echo "$as_me:$LINENO: result: $result" >&5
7146 echo "${ECHO_T}$result" >&6; }
7150 defaultval
=$wxUSE_ALL_FEATURES
7151 if test -z "$defaultval"; then
7152 if test x
"$enablestring" = xdisable
; then
7159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7160 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7161 # Check whether --enable-filehistory was given.
7162 if test "${enable_filehistory+set}" = set; then
7163 enableval
=$enable_filehistory;
7164 if test "$enableval" = yes; then
7165 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
7167 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
7172 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7177 eval "$wx_cv_use_filehistory"
7179 if test x"$enablestring" = xdisable; then
7180 if test $wxUSE_FILE_HISTORY = no; then
7186 result=$wxUSE_FILE_HISTORY
7189 { echo "$as_me:$LINENO: result: $result" >&5
7190 echo "${ECHO_T}$result" >&6; }
7194 defaultval=$wxUSE_ALL_FEATURES
7195 if test -z "$defaultval"; then
7196 if test x"$enablestring" = xdisable; then
7203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7204 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7205 # Check whether --enable-filesystem was given.
7206 if test "${enable_filesystem+set}" = set; then
7207 enableval=$enable_filesystem;
7208 if test "$enableval" = yes; then
7209 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7211 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7216 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7221 eval "$wx_cv_use_filesystem"
7223 if test x"$enablestring" = xdisable; then
7224 if test $wxUSE_FILESYSTEM = no; then
7230 result=$wxUSE_FILESYSTEM
7233 { echo "$as_me:$LINENO: result
: $result" >&5
7234 echo "${ECHO_T}$result" >&6; }
7238 defaultval=$wxUSE_ALL_FEATURES
7239 if test -z "$defaultval"; then
7240 if test x"$enablestring" = xdisable; then
7247 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7248 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7249 # Check whether --enable-fontenum was given.
7250 if test "${enable_fontenum+set}" = set; then
7251 enableval=$enable_fontenum;
7252 if test "$enableval" = yes; then
7253 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7255 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7260 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7265 eval "$wx_cv_use_fontenum"
7267 if test x
"$enablestring" = xdisable
; then
7268 if test $wxUSE_FONTENUM = no
; then
7274 result
=$wxUSE_FONTENUM
7277 { echo "$as_me:$LINENO: result: $result" >&5
7278 echo "${ECHO_T}$result" >&6; }
7282 defaultval
=$wxUSE_ALL_FEATURES
7283 if test -z "$defaultval"; then
7284 if test x
"$enablestring" = xdisable
; then
7291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7293 # Check whether --enable-fontmap was given.
7294 if test "${enable_fontmap+set}" = set; then
7295 enableval
=$enable_fontmap;
7296 if test "$enableval" = yes; then
7297 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7299 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7304 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7309 eval "$wx_cv_use_fontmap"
7311 if test x"$enablestring" = xdisable; then
7312 if test $wxUSE_FONTMAP = no; then
7318 result=$wxUSE_FONTMAP
7321 { echo "$as_me:$LINENO: result: $result" >&5
7322 echo "${ECHO_T}$result" >&6; }
7326 defaultval=$wxUSE_ALL_FEATURES
7327 if test -z "$defaultval"; then
7328 if test x"$enablestring" = xdisable; then
7335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7337 # Check whether --enable-fs_archive was given.
7338 if test "${enable_fs_archive+set}" = set; then
7339 enableval=$enable_fs_archive;
7340 if test "$enableval" = yes; then
7341 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7343 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7348 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7353 eval "$wx_cv_use_fs_archive"
7355 if test x"$enablestring" = xdisable; then
7356 if test $wxUSE_FS_ARCHIVE = no; then
7362 result=$wxUSE_FS_ARCHIVE
7365 { echo "$as_me:$LINENO: result
: $result" >&5
7366 echo "${ECHO_T}$result" >&6; }
7370 defaultval=$wxUSE_ALL_FEATURES
7371 if test -z "$defaultval"; then
7372 if test x"$enablestring" = xdisable; then
7379 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7380 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7381 # Check whether --enable-fs_inet was given.
7382 if test "${enable_fs_inet+set}" = set; then
7383 enableval=$enable_fs_inet;
7384 if test "$enableval" = yes; then
7385 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7387 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7392 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7397 eval "$wx_cv_use_fs_inet"
7399 if test x
"$enablestring" = xdisable
; then
7400 if test $wxUSE_FS_INET = no
; then
7406 result
=$wxUSE_FS_INET
7409 { echo "$as_me:$LINENO: result: $result" >&5
7410 echo "${ECHO_T}$result" >&6; }
7414 defaultval
=$wxUSE_ALL_FEATURES
7415 if test -z "$defaultval"; then
7416 if test x
"$enablestring" = xdisable
; then
7423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7425 # Check whether --enable-fs_zip was given.
7426 if test "${enable_fs_zip+set}" = set; then
7427 enableval
=$enable_fs_zip;
7428 if test "$enableval" = yes; then
7429 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7431 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7436 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7441 eval "$wx_cv_use_fs_zip"
7443 if test x"$enablestring" = xdisable; then
7444 if test $wxUSE_FS_ZIP = no; then
7450 result=$wxUSE_FS_ZIP
7453 { echo "$as_me:$LINENO: result: $result" >&5
7454 echo "${ECHO_T}$result" >&6; }
7458 defaultval=$wxUSE_ALL_FEATURES
7459 if test -z "$defaultval"; then
7460 if test x"$enablestring" = xdisable; then
7467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7469 # Check whether --enable-fswatcher was given.
7470 if test "${enable_fswatcher+set}" = set; then
7471 enableval=$enable_fswatcher;
7472 if test "$enableval" = yes; then
7473 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7475 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7480 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7485 eval "$wx_cv_use_fswatcher"
7487 if test x"$enablestring" = xdisable; then
7488 if test $wxUSE_FSWATCHER = no; then
7494 result=$wxUSE_FSWATCHER
7497 { echo "$as_me:$LINENO: result
: $result" >&5
7498 echo "${ECHO_T}$result" >&6; }
7502 defaultval=$wxUSE_ALL_FEATURES
7503 if test -z "$defaultval"; then
7504 if test x"$enablestring" = xdisable; then
7511 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7512 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7513 # Check whether --enable-geometry was given.
7514 if test "${enable_geometry+set}" = set; then
7515 enableval=$enable_geometry;
7516 if test "$enableval" = yes; then
7517 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7519 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7524 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7529 eval "$wx_cv_use_geometry"
7531 if test x
"$enablestring" = xdisable
; then
7532 if test $wxUSE_GEOMETRY = no
; then
7538 result
=$wxUSE_GEOMETRY
7541 { echo "$as_me:$LINENO: result: $result" >&5
7542 echo "${ECHO_T}$result" >&6; }
7546 defaultval
=$wxUSE_ALL_FEATURES
7547 if test -z "$defaultval"; then
7548 if test x
"$enablestring" = xdisable
; then
7555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7556 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7557 # Check whether --enable-log was given.
7558 if test "${enable_log+set}" = set; then
7559 enableval
=$enable_log;
7560 if test "$enableval" = yes; then
7561 wx_cv_use_log
='wxUSE_LOG=yes'
7563 wx_cv_use_log
='wxUSE_LOG=no'
7568 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7573 eval "$wx_cv_use_log"
7575 if test x"$enablestring" = xdisable; then
7576 if test $wxUSE_LOG = no; then
7585 { echo "$as_me:$LINENO: result: $result" >&5
7586 echo "${ECHO_T}$result" >&6; }
7590 defaultval=$wxUSE_ALL_FEATURES
7591 if test -z "$defaultval"; then
7592 if test x"$enablestring" = xdisable; then
7599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7600 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7601 # Check whether --enable-longlong was given.
7602 if test "${enable_longlong+set}" = set; then
7603 enableval=$enable_longlong;
7604 if test "$enableval" = yes; then
7605 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7607 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7612 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7617 eval "$wx_cv_use_longlong"
7619 if test x"$enablestring" = xdisable; then
7620 if test $wxUSE_LONGLONG = no; then
7626 result=$wxUSE_LONGLONG
7629 { echo "$as_me:$LINENO: result
: $result" >&5
7630 echo "${ECHO_T}$result" >&6; }
7634 defaultval=$wxUSE_ALL_FEATURES
7635 if test -z "$defaultval"; then
7636 if test x"$enablestring" = xdisable; then
7643 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7644 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7645 # Check whether --enable-mimetype was given.
7646 if test "${enable_mimetype+set}" = set; then
7647 enableval=$enable_mimetype;
7648 if test "$enableval" = yes; then
7649 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7651 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7656 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7661 eval "$wx_cv_use_mimetype"
7663 if test x
"$enablestring" = xdisable
; then
7664 if test $wxUSE_MIMETYPE = no
; then
7670 result
=$wxUSE_MIMETYPE
7673 { echo "$as_me:$LINENO: result: $result" >&5
7674 echo "${ECHO_T}$result" >&6; }
7678 defaultval
=$wxUSE_ALL_FEATURES
7679 if test -z "$defaultval"; then
7680 if test x
"$enablestring" = xdisable
; then
7687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7688 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7689 # Check whether --enable-printfposparam was given.
7690 if test "${enable_printfposparam+set}" = set; then
7691 enableval
=$enable_printfposparam;
7692 if test "$enableval" = yes; then
7693 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7695 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7700 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7705 eval "$wx_cv_use_printfposparam"
7707 if test x"$enablestring" = xdisable; then
7708 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7714 result=$wxUSE_PRINTF_POS_PARAMS
7717 { echo "$as_me:$LINENO: result: $result" >&5
7718 echo "${ECHO_T}$result" >&6; }
7722 defaultval=$wxUSE_ALL_FEATURES
7723 if test -z "$defaultval"; then
7724 if test x"$enablestring" = xdisable; then
7731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7732 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7733 # Check whether --enable-snglinst was given.
7734 if test "${enable_snglinst+set}" = set; then
7735 enableval=$enable_snglinst;
7736 if test "$enableval" = yes; then
7737 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7739 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7744 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7749 eval "$wx_cv_use_snglinst"
7751 if test x"$enablestring" = xdisable; then
7752 if test $wxUSE_SNGLINST_CHECKER = no; then
7758 result=$wxUSE_SNGLINST_CHECKER
7761 { echo "$as_me:$LINENO: result
: $result" >&5
7762 echo "${ECHO_T}$result" >&6; }
7766 defaultval=$wxUSE_ALL_FEATURES
7767 if test -z "$defaultval"; then
7768 if test x"$enablestring" = xdisable; then
7775 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7776 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7777 # Check whether --enable-sound was given.
7778 if test "${enable_sound+set}" = set; then
7779 enableval=$enable_sound;
7780 if test "$enableval" = yes; then
7781 wx_cv_use_sound='wxUSE_SOUND=yes'
7783 wx_cv_use_sound='wxUSE_SOUND=no'
7788 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7793 eval "$wx_cv_use_sound"
7795 if test x
"$enablestring" = xdisable
; then
7796 if test $wxUSE_SOUND = no
; then
7805 { echo "$as_me:$LINENO: result: $result" >&5
7806 echo "${ECHO_T}$result" >&6; }
7810 defaultval
=$wxUSE_ALL_FEATURES
7811 if test -z "$defaultval"; then
7812 if test x
"$enablestring" = xdisable
; then
7819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7820 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7821 # Check whether --enable-stdpaths was given.
7822 if test "${enable_stdpaths+set}" = set; then
7823 enableval
=$enable_stdpaths;
7824 if test "$enableval" = yes; then
7825 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7827 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7832 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7837 eval "$wx_cv_use_stdpaths"
7839 if test x"$enablestring" = xdisable; then
7840 if test $wxUSE_STDPATHS = no; then
7846 result=$wxUSE_STDPATHS
7849 { echo "$as_me:$LINENO: result: $result" >&5
7850 echo "${ECHO_T}$result" >&6; }
7854 defaultval=$wxUSE_ALL_FEATURES
7855 if test -z "$defaultval"; then
7856 if test x"$enablestring" = xdisable; then
7863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7864 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7865 # Check whether --enable-stopwatch was given.
7866 if test "${enable_stopwatch+set}" = set; then
7867 enableval=$enable_stopwatch;
7868 if test "$enableval" = yes; then
7869 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7871 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7876 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7881 eval "$wx_cv_use_stopwatch"
7883 if test x"$enablestring" = xdisable; then
7884 if test $wxUSE_STOPWATCH = no; then
7890 result=$wxUSE_STOPWATCH
7893 { echo "$as_me:$LINENO: result
: $result" >&5
7894 echo "${ECHO_T}$result" >&6; }
7898 defaultval=$wxUSE_ALL_FEATURES
7899 if test -z "$defaultval"; then
7900 if test x"$enablestring" = xdisable; then
7907 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7908 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7909 # Check whether --enable-streams was given.
7910 if test "${enable_streams+set}" = set; then
7911 enableval=$enable_streams;
7912 if test "$enableval" = yes; then
7913 wx_cv_use_streams='wxUSE_STREAMS=yes'
7915 wx_cv_use_streams='wxUSE_STREAMS=no'
7920 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7925 eval "$wx_cv_use_streams"
7927 if test x
"$enablestring" = xdisable
; then
7928 if test $wxUSE_STREAMS = no
; then
7934 result
=$wxUSE_STREAMS
7937 { echo "$as_me:$LINENO: result: $result" >&5
7938 echo "${ECHO_T}$result" >&6; }
7942 defaultval
=$wxUSE_ALL_FEATURES
7943 if test -z "$defaultval"; then
7944 if test x
"$enablestring" = xdisable
; then
7951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7952 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7953 # Check whether --enable-sysoptions was given.
7954 if test "${enable_sysoptions+set}" = set; then
7955 enableval
=$enable_sysoptions;
7956 if test "$enableval" = yes; then
7957 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
7959 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
7964 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7969 eval "$wx_cv_use_sysoptions"
7971 if test x"$enablestring" = xdisable; then
7972 if test $wxUSE_SYSTEM_OPTIONS = no; then
7978 result=$wxUSE_SYSTEM_OPTIONS
7981 { echo "$as_me:$LINENO: result: $result" >&5
7982 echo "${ECHO_T}$result" >&6; }
7986 defaultval=$wxUSE_ALL_FEATURES
7987 if test -z "$defaultval"; then
7988 if test x"$enablestring" = xdisable; then
7995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7996 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7997 # Check whether --enable-tarstream was given.
7998 if test "${enable_tarstream+set}" = set; then
7999 enableval=$enable_tarstream;
8000 if test "$enableval" = yes; then
8001 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
8003 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
8008 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8013 eval "$wx_cv_use_tarstream"
8015 if test x"$enablestring" = xdisable; then
8016 if test $wxUSE_TARSTREAM = no; then
8022 result=$wxUSE_TARSTREAM
8025 { echo "$as_me:$LINENO: result
: $result" >&5
8026 echo "${ECHO_T}$result" >&6; }
8030 defaultval=$wxUSE_ALL_FEATURES
8031 if test -z "$defaultval"; then
8032 if test x"$enablestring" = xdisable; then
8039 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
8040 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
8041 # Check whether --enable-textbuf was given.
8042 if test "${enable_textbuf+set}" = set; then
8043 enableval=$enable_textbuf;
8044 if test "$enableval" = yes; then
8045 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8047 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8052 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8057 eval "$wx_cv_use_textbuf"
8059 if test x
"$enablestring" = xdisable
; then
8060 if test $wxUSE_TEXTBUFFER = no
; then
8066 result
=$wxUSE_TEXTBUFFER
8069 { echo "$as_me:$LINENO: result: $result" >&5
8070 echo "${ECHO_T}$result" >&6; }
8074 defaultval
=$wxUSE_ALL_FEATURES
8075 if test -z "$defaultval"; then
8076 if test x
"$enablestring" = xdisable
; then
8083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8085 # Check whether --enable-textfile was given.
8086 if test "${enable_textfile+set}" = set; then
8087 enableval
=$enable_textfile;
8088 if test "$enableval" = yes; then
8089 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
8091 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
8096 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8101 eval "$wx_cv_use_textfile"
8103 if test x"$enablestring" = xdisable; then
8104 if test $wxUSE_TEXTFILE = no; then
8110 result=$wxUSE_TEXTFILE
8113 { echo "$as_me:$LINENO: result: $result" >&5
8114 echo "${ECHO_T}$result" >&6; }
8118 defaultval=$wxUSE_ALL_FEATURES
8119 if test -z "$defaultval"; then
8120 if test x"$enablestring" = xdisable; then
8127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8128 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8129 # Check whether --enable-timer was given.
8130 if test "${enable_timer+set}" = set; then
8131 enableval=$enable_timer;
8132 if test "$enableval" = yes; then
8133 wx_cv_use_timer='wxUSE_TIMER
=yes'
8135 wx_cv_use_timer='wxUSE_TIMER
=no
'
8140 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8145 eval "$wx_cv_use_timer"
8147 if test x"$enablestring" = xdisable; then
8148 if test $wxUSE_TIMER = no; then
8157 { echo "$as_me:$LINENO: result
: $result" >&5
8158 echo "${ECHO_T}$result" >&6; }
8162 defaultval=$wxUSE_ALL_FEATURES
8163 if test -z "$defaultval"; then
8164 if test x"$enablestring" = xdisable; then
8171 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
8172 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
8173 # Check whether --enable-variant was given.
8174 if test "${enable_variant+set}" = set; then
8175 enableval=$enable_variant;
8176 if test "$enableval" = yes; then
8177 wx_cv_use_variant='wxUSE_VARIANT=yes'
8179 wx_cv_use_variant='wxUSE_VARIANT=no'
8184 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8189 eval "$wx_cv_use_variant"
8191 if test x
"$enablestring" = xdisable
; then
8192 if test $wxUSE_VARIANT = no
; then
8198 result
=$wxUSE_VARIANT
8201 { echo "$as_me:$LINENO: result: $result" >&5
8202 echo "${ECHO_T}$result" >&6; }
8206 defaultval
=$wxUSE_ALL_FEATURES
8207 if test -z "$defaultval"; then
8208 if test x
"$enablestring" = xdisable
; then
8215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8216 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8217 # Check whether --enable-zipstream was given.
8218 if test "${enable_zipstream+set}" = set; then
8219 enableval
=$enable_zipstream;
8220 if test "$enableval" = yes; then
8221 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8223 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8228 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8233 eval "$wx_cv_use_zipstream"
8235 if test x"$enablestring" = xdisable; then
8236 if test $wxUSE_ZIPSTREAM = no; then
8242 result=$wxUSE_ZIPSTREAM
8245 { echo "$as_me:$LINENO: result: $result" >&5
8246 echo "${ECHO_T}$result" >&6; }
8251 defaultval=$wxUSE_ALL_FEATURES
8252 if test -z "$defaultval"; then
8253 if test x"$enablestring" = xdisable; then
8260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8261 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8262 # Check whether --enable-url was given.
8263 if test "${enable_url+set}" = set; then
8264 enableval=$enable_url;
8265 if test "$enableval" = yes; then
8266 wx_cv_use_url='wxUSE_URL
=yes'
8268 wx_cv_use_url='wxUSE_URL
=no
'
8273 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8278 eval "$wx_cv_use_url"
8280 if test x"$enablestring" = xdisable; then
8281 if test $wxUSE_URL = no; then
8290 { echo "$as_me:$LINENO: result
: $result" >&5
8291 echo "${ECHO_T}$result" >&6; }
8295 defaultval=$wxUSE_ALL_FEATURES
8296 if test -z "$defaultval"; then
8297 if test x"$enablestring" = xdisable; then
8304 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8305 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8306 # Check whether --enable-protocol was given.
8307 if test "${enable_protocol+set}" = set; then
8308 enableval=$enable_protocol;
8309 if test "$enableval" = yes; then
8310 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8312 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8317 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8322 eval "$wx_cv_use_protocol"
8324 if test x
"$enablestring" = xdisable
; then
8325 if test $wxUSE_PROTOCOL = no
; then
8331 result
=$wxUSE_PROTOCOL
8334 { echo "$as_me:$LINENO: result: $result" >&5
8335 echo "${ECHO_T}$result" >&6; }
8339 defaultval
=$wxUSE_ALL_FEATURES
8340 if test -z "$defaultval"; then
8341 if test x
"$enablestring" = xdisable
; then
8348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8350 # Check whether --enable-protocol_http was given.
8351 if test "${enable_protocol_http+set}" = set; then
8352 enableval
=$enable_protocol_http;
8353 if test "$enableval" = yes; then
8354 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8356 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8361 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8366 eval "$wx_cv_use_protocol_http"
8368 if test x"$enablestring" = xdisable; then
8369 if test $wxUSE_PROTOCOL_HTTP = no; then
8375 result=$wxUSE_PROTOCOL_HTTP
8378 { echo "$as_me:$LINENO: result: $result" >&5
8379 echo "${ECHO_T}$result" >&6; }
8383 defaultval=$wxUSE_ALL_FEATURES
8384 if test -z "$defaultval"; then
8385 if test x"$enablestring" = xdisable; then
8392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8393 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8394 # Check whether --enable-protocol_ftp was given.
8395 if test "${enable_protocol_ftp+set}" = set; then
8396 enableval=$enable_protocol_ftp;
8397 if test "$enableval" = yes; then
8398 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8400 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8405 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8410 eval "$wx_cv_use_protocol_ftp"
8412 if test x"$enablestring" = xdisable; then
8413 if test $wxUSE_PROTOCOL_FTP = no; then
8419 result=$wxUSE_PROTOCOL_FTP
8422 { echo "$as_me:$LINENO: result
: $result" >&5
8423 echo "${ECHO_T}$result" >&6; }
8427 defaultval=$wxUSE_ALL_FEATURES
8428 if test -z "$defaultval"; then
8429 if test x"$enablestring" = xdisable; then
8436 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8437 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8438 # Check whether --enable-protocol_file was given.
8439 if test "${enable_protocol_file+set}" = set; then
8440 enableval=$enable_protocol_file;
8441 if test "$enableval" = yes; then
8442 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8444 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8449 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8454 eval "$wx_cv_use_protocol_file"
8456 if test x
"$enablestring" = xdisable
; then
8457 if test $wxUSE_PROTOCOL_FILE = no
; then
8463 result
=$wxUSE_PROTOCOL_FILE
8466 { echo "$as_me:$LINENO: result: $result" >&5
8467 echo "${ECHO_T}$result" >&6; }
8472 defaultval
=$wxUSE_ALL_FEATURES
8473 if test -z "$defaultval"; then
8474 if test x
"$enablestring" = xdisable
; then
8481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8483 # Check whether --enable-threads was given.
8484 if test "${enable_threads+set}" = set; then
8485 enableval
=$enable_threads;
8486 if test "$enableval" = yes; then
8487 wx_cv_use_threads
='wxUSE_THREADS=yes'
8489 wx_cv_use_threads
='wxUSE_THREADS=no'
8494 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8499 eval "$wx_cv_use_threads"
8501 if test x"$enablestring" = xdisable; then
8502 if test $wxUSE_THREADS = no; then
8508 result=$wxUSE_THREADS
8511 { echo "$as_me:$LINENO: result: $result" >&5
8512 echo "${ECHO_T}$result" >&6; }
8518 if test -z "$defaultval"; then
8519 if test x"$enablestring" = xdisable; then
8526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8528 # Check whether --enable-iniconf was given.
8529 if test "${enable_iniconf+set}" = set; then
8530 enableval=$enable_iniconf;
8531 if test "$enableval" = yes; then
8532 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8534 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8539 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8544 eval "$wx_cv_use_iniconf"
8546 if test x"$enablestring" = xdisable; then
8547 if test $wxUSE_INICONF = no; then
8553 result=$wxUSE_INICONF
8556 { echo "$as_me:$LINENO: result
: $result" >&5
8557 echo "${ECHO_T}$result" >&6; }
8561 defaultval=$wxUSE_ALL_FEATURES
8562 if test -z "$defaultval"; then
8563 if test x"$enablestring" = xdisable; then
8570 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8571 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8572 # Check whether --enable-regkey was given.
8573 if test "${enable_regkey+set}" = set; then
8574 enableval=$enable_regkey;
8575 if test "$enableval" = yes; then
8576 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8578 wx_cv_use_regkey='wxUSE_REGKEY=no'
8583 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8588 eval "$wx_cv_use_regkey"
8590 if test x
"$enablestring" = xdisable
; then
8591 if test $wxUSE_REGKEY = no
; then
8597 result
=$wxUSE_REGKEY
8600 { echo "$as_me:$LINENO: result: $result" >&5
8601 echo "${ECHO_T}$result" >&6; }
8604 if test "$wxUSE_GUI" = "yes"; then
8609 defaultval
=$wxUSE_ALL_FEATURES
8610 if test -z "$defaultval"; then
8611 if test x
"$enablestring" = xdisable
; then
8618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8619 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8620 # Check whether --enable-docview was given.
8621 if test "${enable_docview+set}" = set; then
8622 enableval
=$enable_docview;
8623 if test "$enableval" = yes; then
8624 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8626 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8631 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8636 eval "$wx_cv_use_docview"
8638 if test x"$enablestring" = xdisable; then
8639 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8645 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8648 { echo "$as_me:$LINENO: result: $result" >&5
8649 echo "${ECHO_T}$result" >&6; }
8653 defaultval=$wxUSE_ALL_FEATURES
8654 if test -z "$defaultval"; then
8655 if test x"$enablestring" = xdisable; then
8662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8664 # Check whether --enable-help was given.
8665 if test "${enable_help+set}" = set; then
8666 enableval=$enable_help;
8667 if test "$enableval" = yes; then
8668 wx_cv_use_help='wxUSE_HELP
=yes'
8670 wx_cv_use_help='wxUSE_HELP
=no
'
8675 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8680 eval "$wx_cv_use_help"
8682 if test x"$enablestring" = xdisable; then
8683 if test $wxUSE_HELP = no; then
8692 { echo "$as_me:$LINENO: result
: $result" >&5
8693 echo "${ECHO_T}$result" >&6; }
8697 defaultval=$wxUSE_ALL_FEATURES
8698 if test -z "$defaultval"; then
8699 if test x"$enablestring" = xdisable; then
8706 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8707 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8708 # Check whether --enable-mshtmlhelp was given.
8709 if test "${enable_mshtmlhelp+set}" = set; then
8710 enableval=$enable_mshtmlhelp;
8711 if test "$enableval" = yes; then
8712 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8714 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8719 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8724 eval "$wx_cv_use_mshtmlhelp"
8726 if test x
"$enablestring" = xdisable
; then
8727 if test $wxUSE_MS_HTML_HELP = no
; then
8733 result
=$wxUSE_MS_HTML_HELP
8736 { echo "$as_me:$LINENO: result: $result" >&5
8737 echo "${ECHO_T}$result" >&6; }
8741 defaultval
=$wxUSE_ALL_FEATURES
8742 if test -z "$defaultval"; then
8743 if test x
"$enablestring" = xdisable
; then
8750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8751 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8752 # Check whether --enable-html was given.
8753 if test "${enable_html+set}" = set; then
8754 enableval
=$enable_html;
8755 if test "$enableval" = yes; then
8756 wx_cv_use_html
='wxUSE_HTML=yes'
8758 wx_cv_use_html
='wxUSE_HTML=no'
8763 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8768 eval "$wx_cv_use_html"
8770 if test x"$enablestring" = xdisable; then
8771 if test $wxUSE_HTML = no; then
8780 { echo "$as_me:$LINENO: result: $result" >&5
8781 echo "${ECHO_T}$result" >&6; }
8785 defaultval=$wxUSE_ALL_FEATURES
8786 if test -z "$defaultval"; then
8787 if test x"$enablestring" = xdisable; then
8794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8795 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8796 # Check whether --enable-htmlhelp was given.
8797 if test "${enable_htmlhelp+set}" = set; then
8798 enableval=$enable_htmlhelp;
8799 if test "$enableval" = yes; then
8800 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8802 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8807 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8812 eval "$wx_cv_use_htmlhelp"
8814 if test x"$enablestring" = xdisable; then
8815 if test $wxUSE_WXHTML_HELP = no; then
8821 result=$wxUSE_WXHTML_HELP
8824 { echo "$as_me:$LINENO: result
: $result" >&5
8825 echo "${ECHO_T}$result" >&6; }
8829 defaultval=$wxUSE_ALL_FEATURES
8830 if test -z "$defaultval"; then
8831 if test x"$enablestring" = xdisable; then
8838 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8839 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8840 # Check whether --enable-xrc was given.
8841 if test "${enable_xrc+set}" = set; then
8842 enableval=$enable_xrc;
8843 if test "$enableval" = yes; then
8844 wx_cv_use_xrc='wxUSE_XRC=yes'
8846 wx_cv_use_xrc='wxUSE_XRC=no'
8851 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8856 eval "$wx_cv_use_xrc"
8858 if test x
"$enablestring" = xdisable
; then
8859 if test $wxUSE_XRC = no
; then
8868 { echo "$as_me:$LINENO: result: $result" >&5
8869 echo "${ECHO_T}$result" >&6; }
8873 defaultval
=$wxUSE_ALL_FEATURES
8874 if test -z "$defaultval"; then
8875 if test x
"$enablestring" = xdisable
; then
8882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8883 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8884 # Check whether --enable-aui was given.
8885 if test "${enable_aui+set}" = set; then
8886 enableval
=$enable_aui;
8887 if test "$enableval" = yes; then
8888 wx_cv_use_aui
='wxUSE_AUI=yes'
8890 wx_cv_use_aui
='wxUSE_AUI=no'
8895 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8900 eval "$wx_cv_use_aui"
8902 if test x"$enablestring" = xdisable; then
8903 if test $wxUSE_AUI = no; then
8912 { echo "$as_me:$LINENO: result: $result" >&5
8913 echo "${ECHO_T}$result" >&6; }
8917 defaultval=$wxUSE_ALL_FEATURES
8918 if test -z "$defaultval"; then
8919 if test x"$enablestring" = xdisable; then
8926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8927 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8928 # Check whether --enable-propgrid was given.
8929 if test "${enable_propgrid+set}" = set; then
8930 enableval=$enable_propgrid;
8931 if test "$enableval" = yes; then
8932 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8934 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8939 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8944 eval "$wx_cv_use_propgrid"
8946 if test x"$enablestring" = xdisable; then
8947 if test $wxUSE_PROPGRID = no; then
8953 result=$wxUSE_PROPGRID
8956 { echo "$as_me:$LINENO: result
: $result" >&5
8957 echo "${ECHO_T}$result" >&6; }
8961 defaultval=$wxUSE_ALL_FEATURES
8962 if test -z "$defaultval"; then
8963 if test x"$enablestring" = xdisable; then
8970 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
8971 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
8972 # Check whether --enable-ribbon was given.
8973 if test "${enable_ribbon+set}" = set; then
8974 enableval=$enable_ribbon;
8975 if test "$enableval" = yes; then
8976 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8978 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8983 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8988 eval "$wx_cv_use_ribbon"
8990 if test x
"$enablestring" = xdisable
; then
8991 if test $wxUSE_RIBBON = no
; then
8997 result
=$wxUSE_RIBBON
9000 { echo "$as_me:$LINENO: result: $result" >&5
9001 echo "${ECHO_T}$result" >&6; }
9005 defaultval
=$wxUSE_ALL_FEATURES
9006 if test -z "$defaultval"; then
9007 if test x
"$enablestring" = xdisable
; then
9014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9016 # Check whether --enable-stc was given.
9017 if test "${enable_stc+set}" = set; then
9018 enableval
=$enable_stc;
9019 if test "$enableval" = yes; then
9020 wx_cv_use_stc
='wxUSE_STC=yes'
9022 wx_cv_use_stc
='wxUSE_STC=no'
9027 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9032 eval "$wx_cv_use_stc"
9034 if test x"$enablestring" = xdisable; then
9035 if test $wxUSE_STC = no; then
9044 { echo "$as_me:$LINENO: result: $result" >&5
9045 echo "${ECHO_T}$result" >&6; }
9049 defaultval=$wxUSE_ALL_FEATURES
9050 if test -z "$defaultval"; then
9051 if test x"$enablestring" = xdisable; then
9058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9060 # Check whether --enable-constraints was given.
9061 if test "${enable_constraints+set}" = set; then
9062 enableval=$enable_constraints;
9063 if test "$enableval" = yes; then
9064 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
9066 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
9071 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9076 eval "$wx_cv_use_constraints"
9078 if test x"$enablestring" = xdisable; then
9079 if test $wxUSE_CONSTRAINTS = no; then
9085 result=$wxUSE_CONSTRAINTS
9088 { echo "$as_me:$LINENO: result
: $result" >&5
9089 echo "${ECHO_T}$result" >&6; }
9093 defaultval=$wxUSE_ALL_FEATURES
9094 if test -z "$defaultval"; then
9095 if test x"$enablestring" = xdisable; then
9102 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
9103 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
9104 # Check whether --enable-loggui was given.
9105 if test "${enable_loggui+set}" = set; then
9106 enableval=$enable_loggui;
9107 if test "$enableval" = yes; then
9108 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9110 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9115 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9120 eval "$wx_cv_use_loggui"
9122 if test x
"$enablestring" = xdisable
; then
9123 if test $wxUSE_LOGGUI = no
; then
9129 result
=$wxUSE_LOGGUI
9132 { echo "$as_me:$LINENO: result: $result" >&5
9133 echo "${ECHO_T}$result" >&6; }
9137 defaultval
=$wxUSE_ALL_FEATURES
9138 if test -z "$defaultval"; then
9139 if test x
"$enablestring" = xdisable
; then
9146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9147 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9148 # Check whether --enable-logwin was given.
9149 if test "${enable_logwin+set}" = set; then
9150 enableval
=$enable_logwin;
9151 if test "$enableval" = yes; then
9152 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
9154 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
9159 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9164 eval "$wx_cv_use_logwin"
9166 if test x"$enablestring" = xdisable; then
9167 if test $wxUSE_LOGWINDOW = no; then
9173 result=$wxUSE_LOGWINDOW
9176 { echo "$as_me:$LINENO: result: $result" >&5
9177 echo "${ECHO_T}$result" >&6; }
9181 defaultval=$wxUSE_ALL_FEATURES
9182 if test -z "$defaultval"; then
9183 if test x"$enablestring" = xdisable; then
9190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9191 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9192 # Check whether --enable-logdialog was given.
9193 if test "${enable_logdialog+set}" = set; then
9194 enableval=$enable_logdialog;
9195 if test "$enableval" = yes; then
9196 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9198 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9203 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9208 eval "$wx_cv_use_logdialog"
9210 if test x"$enablestring" = xdisable; then
9211 if test $wxUSE_LOGDIALOG = no; then
9217 result=$wxUSE_LOGDIALOG
9220 { echo "$as_me:$LINENO: result
: $result" >&5
9221 echo "${ECHO_T}$result" >&6; }
9225 defaultval=$wxUSE_ALL_FEATURES
9226 if test -z "$defaultval"; then
9227 if test x"$enablestring" = xdisable; then
9234 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9235 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9236 # Check whether --enable-mdi was given.
9237 if test "${enable_mdi+set}" = set; then
9238 enableval=$enable_mdi;
9239 if test "$enableval" = yes; then
9240 wx_cv_use_mdi='wxUSE_MDI=yes'
9242 wx_cv_use_mdi='wxUSE_MDI=no'
9247 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9252 eval "$wx_cv_use_mdi"
9254 if test x
"$enablestring" = xdisable
; then
9255 if test $wxUSE_MDI = no
; then
9264 { echo "$as_me:$LINENO: result: $result" >&5
9265 echo "${ECHO_T}$result" >&6; }
9269 defaultval
=$wxUSE_ALL_FEATURES
9270 if test -z "$defaultval"; then
9271 if test x
"$enablestring" = xdisable
; then
9278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9279 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9280 # Check whether --enable-mdidoc was given.
9281 if test "${enable_mdidoc+set}" = set; then
9282 enableval
=$enable_mdidoc;
9283 if test "$enableval" = yes; then
9284 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9286 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9291 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9296 eval "$wx_cv_use_mdidoc"
9298 if test x"$enablestring" = xdisable; then
9299 if test $wxUSE_MDI_ARCHITECTURE = no; then
9305 result=$wxUSE_MDI_ARCHITECTURE
9308 { echo "$as_me:$LINENO: result: $result" >&5
9309 echo "${ECHO_T}$result" >&6; }
9313 defaultval=$wxUSE_ALL_FEATURES
9314 if test -z "$defaultval"; then
9315 if test x"$enablestring" = xdisable; then
9322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9323 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9324 # Check whether --enable-mediactrl was given.
9325 if test "${enable_mediactrl+set}" = set; then
9326 enableval=$enable_mediactrl;
9327 if test "$enableval" = yes; then
9328 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9330 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9335 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9340 eval "$wx_cv_use_mediactrl"
9342 if test x"$enablestring" = xdisable; then
9343 if test $wxUSE_MEDIACTRL = no; then
9349 result=$wxUSE_MEDIACTRL
9352 { echo "$as_me:$LINENO: result
: $result" >&5
9353 echo "${ECHO_T}$result" >&6; }
9357 defaultval=$wxUSE_ALL_FEATURES
9358 if test -z "$defaultval"; then
9359 if test x"$enablestring" = xdisable; then
9366 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9367 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9368 # Check whether --enable-gstreamer8 was given.
9369 if test "${enable_gstreamer8+set}" = set; then
9370 enableval=$enable_gstreamer8;
9371 if test "$enableval" = yes; then
9372 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9374 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9379 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9384 eval "$wx_cv_use_gstreamer8"
9386 if test x
"$enablestring" = xdisable
; then
9387 if test $wxUSE_GSTREAMER8 = no
; then
9393 result
=$wxUSE_GSTREAMER8
9396 { echo "$as_me:$LINENO: result: $result" >&5
9397 echo "${ECHO_T}$result" >&6; }
9401 defaultval
=$wxUSE_ALL_FEATURES
9402 if test -z "$defaultval"; then
9403 if test x
"$enablestring" = xdisable
; then
9410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9411 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9412 # Check whether --enable-webkit was given.
9413 if test "${enable_webkit+set}" = set; then
9414 enableval
=$enable_webkit;
9415 if test "$enableval" = yes; then
9416 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9418 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9423 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9428 eval "$wx_cv_use_webkit"
9430 if test x"$enablestring" = xdisable; then
9431 if test $wxUSE_WEBKIT = no; then
9437 result=$wxUSE_WEBKIT
9440 { echo "$as_me:$LINENO: result: $result" >&5
9441 echo "${ECHO_T}$result" >&6; }
9445 defaultval=$wxUSE_ALL_FEATURES
9446 if test -z "$defaultval"; then
9447 if test x"$enablestring" = xdisable; then
9454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9456 # Check whether --enable-richtext was given.
9457 if test "${enable_richtext+set}" = set; then
9458 enableval=$enable_richtext;
9459 if test "$enableval" = yes; then
9460 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9462 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9467 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9472 eval "$wx_cv_use_richtext"
9474 if test x"$enablestring" = xdisable; then
9475 if test $wxUSE_RICHTEXT = no; then
9481 result=$wxUSE_RICHTEXT
9484 { echo "$as_me:$LINENO: result
: $result" >&5
9485 echo "${ECHO_T}$result" >&6; }
9489 defaultval=$wxUSE_ALL_FEATURES
9490 if test -z "$defaultval"; then
9491 if test x"$enablestring" = xdisable; then
9498 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9499 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9500 # Check whether --enable-postscript was given.
9501 if test "${enable_postscript+set}" = set; then
9502 enableval=$enable_postscript;
9503 if test "$enableval" = yes; then
9504 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9506 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9511 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9516 eval "$wx_cv_use_postscript"
9518 if test x
"$enablestring" = xdisable
; then
9519 if test $wxUSE_POSTSCRIPT = no
; then
9525 result
=$wxUSE_POSTSCRIPT
9528 { echo "$as_me:$LINENO: result: $result" >&5
9529 echo "${ECHO_T}$result" >&6; }
9533 defaultval
=$wxUSE_ALL_FEATURES
9534 if test -z "$defaultval"; then
9535 if test x
"$enablestring" = xdisable
; then
9542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9543 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9544 # Check whether --enable-printarch was given.
9545 if test "${enable_printarch+set}" = set; then
9546 enableval
=$enable_printarch;
9547 if test "$enableval" = yes; then
9548 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9550 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9555 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9560 eval "$wx_cv_use_printarch"
9562 if test x"$enablestring" = xdisable; then
9563 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9569 result=$wxUSE_PRINTING_ARCHITECTURE
9572 { echo "$as_me:$LINENO: result: $result" >&5
9573 echo "${ECHO_T}$result" >&6; }
9577 defaultval=$wxUSE_ALL_FEATURES
9578 if test -z "$defaultval"; then
9579 if test x"$enablestring" = xdisable; then
9586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9587 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9588 # Check whether --enable-svg was given.
9589 if test "${enable_svg+set}" = set; then
9590 enableval=$enable_svg;
9591 if test "$enableval" = yes; then
9592 wx_cv_use_svg='wxUSE_SVG
=yes'
9594 wx_cv_use_svg='wxUSE_SVG
=no
'
9599 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9604 eval "$wx_cv_use_svg"
9606 if test x"$enablestring" = xdisable; then
9607 if test $wxUSE_SVG = no; then
9616 { echo "$as_me:$LINENO: result
: $result" >&5
9617 echo "${ECHO_T}$result" >&6; }
9620 if test "$wxUSE_MAC" != 1; then
9623 defaultval=$wxUSE_ALL_FEATURES
9624 if test -z "$defaultval"; then
9625 if test x"$enablestring" = xdisable; then
9632 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9633 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9634 # Check whether --enable-graphics_ctx was given.
9635 if test "${enable_graphics_ctx+set}" = set; then
9636 enableval=$enable_graphics_ctx;
9637 if test "$enableval" = yes; then
9638 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9640 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9645 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9650 eval "$wx_cv_use_graphics_ctx"
9652 if test x
"$enablestring" = xdisable
; then
9653 if test $wxUSE_GRAPHICS_CONTEXT = no
; then
9659 result
=$wxUSE_GRAPHICS_CONTEXT
9662 { echo "$as_me:$LINENO: result: $result" >&5
9663 echo "${ECHO_T}$result" >&6; }
9670 defaultval
=$wxUSE_ALL_FEATURES
9671 if test -z "$defaultval"; then
9672 if test x
"$enablestring" = xdisable
; then
9679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9681 # Check whether --enable-clipboard was given.
9682 if test "${enable_clipboard+set}" = set; then
9683 enableval
=$enable_clipboard;
9684 if test "$enableval" = yes; then
9685 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9687 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9692 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9697 eval "$wx_cv_use_clipboard"
9699 if test x"$enablestring" = xdisable; then
9700 if test $wxUSE_CLIPBOARD = no; then
9706 result=$wxUSE_CLIPBOARD
9709 { echo "$as_me:$LINENO: result: $result" >&5
9710 echo "${ECHO_T}$result" >&6; }
9714 defaultval=$wxUSE_ALL_FEATURES
9715 if test -z "$defaultval"; then
9716 if test x"$enablestring" = xdisable; then
9723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9725 # Check whether --enable-dnd was given.
9726 if test "${enable_dnd+set}" = set; then
9727 enableval=$enable_dnd;
9728 if test "$enableval" = yes; then
9729 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9731 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9736 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9741 eval "$wx_cv_use_dnd"
9743 if test x"$enablestring" = xdisable; then
9744 if test $wxUSE_DRAG_AND_DROP = no; then
9750 result=$wxUSE_DRAG_AND_DROP
9753 { echo "$as_me:$LINENO: result
: $result" >&5
9754 echo "${ECHO_T}$result" >&6; }
9758 defaultval=$wxUSE_ALL_FEATURES
9759 if test -z "$defaultval"; then
9760 if test x"$enablestring" = xdisable; then
9767 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9768 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9769 # Check whether --enable-metafile was given.
9770 if test "${enable_metafile+set}" = set; then
9771 enableval=$enable_metafile;
9772 if test "$enableval" = yes; then
9773 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9775 wx_cv_use_metafile='wxUSE_METAFILE=no'
9780 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9785 eval "$wx_cv_use_metafile"
9787 if test x
"$enablestring" = xdisable
; then
9788 if test $wxUSE_METAFILE = no
; then
9794 result
=$wxUSE_METAFILE
9797 { echo "$as_me:$LINENO: result: $result" >&5
9798 echo "${ECHO_T}$result" >&6; }
9802 DEFAULT_wxUSE_CONTROLS
=none
9804 enablestring
=disable
9806 if test -z "$defaultval"; then
9807 if test x
"$enablestring" = xdisable
; then
9814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9815 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9816 # Check whether --enable-controls was given.
9817 if test "${enable_controls+set}" = set; then
9818 enableval
=$enable_controls;
9819 if test "$enableval" = yes; then
9820 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9822 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9827 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9832 eval "$wx_cv_use_controls"
9834 if test x"$enablestring" = xdisable; then
9835 if test $wxUSE_CONTROLS = no; then
9841 result=$wxUSE_CONTROLS
9844 { echo "$as_me:$LINENO: result: $result" >&5
9845 echo "${ECHO_T}$result" >&6; }
9848 if test "$wxUSE_CONTROLS" = "no"; then
9849 DEFAULT_wxUSE_ACCEL=no
9850 DEFAULT_wxUSE_ANIMATIONCTRL=no
9851 DEFAULT_wxUSE_BMPBUTTON=no
9852 DEFAULT_wxUSE_BUTTON=no
9853 DEFAULT_wxUSE_CALCTRL=no
9854 DEFAULT_wxUSE_CARET=no
9855 DEFAULT_wxUSE_CHECKBOX=no
9856 DEFAULT_wxUSE_CHECKLISTBOX=no
9857 DEFAULT_wxUSE_CHOICE=no
9858 DEFAULT_wxUSE_CHOICEBOOK=no
9859 DEFAULT_wxUSE_COLLPANE=no
9860 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9861 DEFAULT_wxUSE_COMBOBOX=no
9862 DEFAULT_wxUSE_COMBOBOX=no
9863 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9864 DEFAULT_wxUSE_DATAVIEWCTRL=no
9865 DEFAULT_wxUSE_DATEPICKCTRL=no
9866 DEFAULT_wxUSE_DETECT_SM=no
9867 DEFAULT_wxUSE_DIRPICKERCTRL=no
9868 DEFAULT_wxUSE_DISPLAY=no
9869 DEFAULT_wxUSE_FILECTRL=no
9870 DEFAULT_wxUSE_FILEPICKERCTRL=no
9871 DEFAULT_wxUSE_FONTPICKERCTRL=no
9872 DEFAULT_wxUSE_GAUGE=no
9873 DEFAULT_wxUSE_GRID=no
9874 DEFAULT_wxUSE_HEADERCTRL=no
9875 DEFAULT_wxUSE_HYPERLINKCTRL=no
9876 DEFAULT_wxUSE_IMAGLIST=no
9877 DEFAULT_wxUSE_LISTBOOK=no
9878 DEFAULT_wxUSE_LISTBOX=no
9879 DEFAULT_wxUSE_LISTCTRL=no
9880 DEFAULT_wxUSE_MARKUP=no
9881 DEFAULT_wxUSE_NOTEBOOK=no
9882 DEFAULT_wxUSE_POPUPWIN=no
9883 DEFAULT_wxUSE_RADIOBOX=no
9884 DEFAULT_wxUSE_RADIOBTN=no
9885 DEFAULT_wxUSE_RICHMSGDLG=no
9886 DEFAULT_wxUSE_REARRANGECTRL=no
9887 DEFAULT_wxUSE_SASH=no
9888 DEFAULT_wxUSE_SCROLLBAR=no
9889 DEFAULT_wxUSE_SEARCHCTRL=no
9890 DEFAULT_wxUSE_SLIDER=no
9891 DEFAULT_wxUSE_SPINBTN=no
9892 DEFAULT_wxUSE_SPINCTRL=no
9893 DEFAULT_wxUSE_SPLITTER=no
9894 DEFAULT_wxUSE_STATBMP=no
9895 DEFAULT_wxUSE_STATBOX=no
9896 DEFAULT_wxUSE_STATLINE=no
9897 DEFAULT_wxUSE_STATUSBAR=no
9898 DEFAULT_wxUSE_TIPWINDOW=no
9899 DEFAULT_wxUSE_TOGGLEBTN=no
9900 DEFAULT_wxUSE_TOOLBAR=no
9901 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9902 DEFAULT_wxUSE_TOOLBOOK=no
9903 DEFAULT_wxUSE_TOOLTIPS=no
9904 DEFAULT_wxUSE_TREEBOOK=no
9905 DEFAULT_wxUSE_TREECTRL=no
9910 defaultval=$wxUSE_ALL_FEATURES
9911 if test -z "$defaultval"; then
9912 if test x"$enablestring" = xdisable; then
9919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9921 # Check whether --enable-markup was given.
9922 if test "${enable_markup+set}" = set; then
9923 enableval=$enable_markup;
9924 if test "$enableval" = yes; then
9925 wx_cv_use_markup='wxUSE_MARKUP
=yes'
9927 wx_cv_use_markup='wxUSE_MARKUP
=no
'
9932 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9937 eval "$wx_cv_use_markup"
9939 if test x"$enablestring" = xdisable; then
9940 if test $wxUSE_MARKUP = no; then
9946 result=$wxUSE_MARKUP
9949 { echo "$as_me:$LINENO: result
: $result" >&5
9950 echo "${ECHO_T}$result" >&6; }
9955 defaultval=$wxUSE_ALL_FEATURES
9956 if test -z "$defaultval"; then
9957 if test x"$enablestring" = xdisable; then
9964 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9965 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9966 # Check whether --enable-accel was given.
9967 if test "${enable_accel+set}" = set; then
9968 enableval=$enable_accel;
9969 if test "$enableval" = yes; then
9970 wx_cv_use_accel='wxUSE_ACCEL=yes'
9972 wx_cv_use_accel='wxUSE_ACCEL=no'
9977 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9982 eval "$wx_cv_use_accel"
9984 if test x
"$enablestring" = xdisable
; then
9985 if test $wxUSE_ACCEL = no
; then
9994 { echo "$as_me:$LINENO: result: $result" >&5
9995 echo "${ECHO_T}$result" >&6; }
9999 defaultval
=$wxUSE_ALL_FEATURES
10000 if test -z "$defaultval"; then
10001 if test x
"$enablestring" = xdisable
; then
10008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10010 # Check whether --enable-animatectrl was given.
10011 if test "${enable_animatectrl+set}" = set; then
10012 enableval
=$enable_animatectrl;
10013 if test "$enableval" = yes; then
10014 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
10016 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
10021 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10026 eval "$wx_cv_use_animatectrl"
10028 if test x"$enablestring" = xdisable; then
10029 if test $wxUSE_ANIMATIONCTRL = no; then
10035 result=$wxUSE_ANIMATIONCTRL
10038 { echo "$as_me:$LINENO: result: $result" >&5
10039 echo "${ECHO_T}$result" >&6; }
10043 defaultval=$wxUSE_ALL_FEATURES
10044 if test -z "$defaultval"; then
10045 if test x"$enablestring" = xdisable; then
10052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10053 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10054 # Check whether --enable-artstd was given.
10055 if test "${enable_artstd+set}" = set; then
10056 enableval=$enable_artstd;
10057 if test "$enableval" = yes; then
10058 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=yes'
10060 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=no
'
10065 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10070 eval "$wx_cv_use_artstd"
10072 if test x"$enablestring" = xdisable; then
10073 if test $wxUSE_ARTPROVIDER_STD = no; then
10079 result=$wxUSE_ARTPROVIDER_STD
10082 { echo "$as_me:$LINENO: result
: $result" >&5
10083 echo "${ECHO_T}$result" >&6; }
10087 defaultval=$wxUSE_ALL_FEATURES
10088 if test -z "$defaultval"; then
10089 if test x"$enablestring" = xdisable; then
10096 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arttango" >&5
10097 echo $ECHO_N "checking
for --${enablestring:-enable}-arttango...
$ECHO_C" >&6; }
10098 # Check whether --enable-arttango was given.
10099 if test "${enable_arttango+set}" = set; then
10100 enableval=$enable_arttango;
10101 if test "$enableval" = yes; then
10102 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10104 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10109 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10114 eval "$wx_cv_use_arttango"
10116 if test x
"$enablestring" = xdisable
; then
10117 if test $wxUSE_ARTPROVIDER_TANGO = no
; then
10123 result
=$wxUSE_ARTPROVIDER_TANGO
10126 { echo "$as_me:$LINENO: result: $result" >&5
10127 echo "${ECHO_T}$result" >&6; }
10131 defaultval
=$wxUSE_ALL_FEATURES
10132 if test -z "$defaultval"; then
10133 if test x
"$enablestring" = xdisable
; then
10140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10141 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10142 # Check whether --enable-bmpbutton was given.
10143 if test "${enable_bmpbutton+set}" = set; then
10144 enableval
=$enable_bmpbutton;
10145 if test "$enableval" = yes; then
10146 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
10148 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
10153 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10158 eval "$wx_cv_use_bmpbutton"
10160 if test x"$enablestring" = xdisable; then
10161 if test $wxUSE_BMPBUTTON = no; then
10167 result=$wxUSE_BMPBUTTON
10170 { echo "$as_me:$LINENO: result: $result" >&5
10171 echo "${ECHO_T}$result" >&6; }
10175 defaultval=$wxUSE_ALL_FEATURES
10176 if test -z "$defaultval"; then
10177 if test x"$enablestring" = xdisable; then
10184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10185 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10186 # Check whether --enable-bmpcombobox was given.
10187 if test "${enable_bmpcombobox+set}" = set; then
10188 enableval=$enable_bmpcombobox;
10189 if test "$enableval" = yes; then
10190 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
10192 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
10197 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10202 eval "$wx_cv_use_bmpcombobox"
10204 if test x"$enablestring" = xdisable; then
10205 if test $wxUSE_BITMAPCOMBOBOX = no; then
10211 result=$wxUSE_BITMAPCOMBOBOX
10214 { echo "$as_me:$LINENO: result
: $result" >&5
10215 echo "${ECHO_T}$result" >&6; }
10219 defaultval=$wxUSE_ALL_FEATURES
10220 if test -z "$defaultval"; then
10221 if test x"$enablestring" = xdisable; then
10228 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
10229 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
10230 # Check whether --enable-button was given.
10231 if test "${enable_button+set}" = set; then
10232 enableval=$enable_button;
10233 if test "$enableval" = yes; then
10234 wx_cv_use_button='wxUSE_BUTTON=yes'
10236 wx_cv_use_button='wxUSE_BUTTON=no'
10241 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10246 eval "$wx_cv_use_button"
10248 if test x
"$enablestring" = xdisable
; then
10249 if test $wxUSE_BUTTON = no
; then
10255 result
=$wxUSE_BUTTON
10258 { echo "$as_me:$LINENO: result: $result" >&5
10259 echo "${ECHO_T}$result" >&6; }
10263 defaultval
=$wxUSE_ALL_FEATURES
10264 if test -z "$defaultval"; then
10265 if test x
"$enablestring" = xdisable
; then
10272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10273 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10274 # Check whether --enable-calendar was given.
10275 if test "${enable_calendar+set}" = set; then
10276 enableval
=$enable_calendar;
10277 if test "$enableval" = yes; then
10278 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
10280 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
10285 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10290 eval "$wx_cv_use_calendar"
10292 if test x"$enablestring" = xdisable; then
10293 if test $wxUSE_CALCTRL = no; then
10299 result=$wxUSE_CALCTRL
10302 { echo "$as_me:$LINENO: result: $result" >&5
10303 echo "${ECHO_T}$result" >&6; }
10307 defaultval=$wxUSE_ALL_FEATURES
10308 if test -z "$defaultval"; then
10309 if test x"$enablestring" = xdisable; then
10316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10317 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10318 # Check whether --enable-caret was given.
10319 if test "${enable_caret+set}" = set; then
10320 enableval=$enable_caret;
10321 if test "$enableval" = yes; then
10322 wx_cv_use_caret='wxUSE_CARET
=yes'
10324 wx_cv_use_caret='wxUSE_CARET
=no
'
10329 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10334 eval "$wx_cv_use_caret"
10336 if test x"$enablestring" = xdisable; then
10337 if test $wxUSE_CARET = no; then
10343 result=$wxUSE_CARET
10346 { echo "$as_me:$LINENO: result
: $result" >&5
10347 echo "${ECHO_T}$result" >&6; }
10351 defaultval=$wxUSE_ALL_FEATURES
10352 if test -z "$defaultval"; then
10353 if test x"$enablestring" = xdisable; then
10360 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
10361 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
10362 # Check whether --enable-checkbox was given.
10363 if test "${enable_checkbox+set}" = set; then
10364 enableval=$enable_checkbox;
10365 if test "$enableval" = yes; then
10366 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10368 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10373 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10378 eval "$wx_cv_use_checkbox"
10380 if test x
"$enablestring" = xdisable
; then
10381 if test $wxUSE_CHECKBOX = no
; then
10387 result
=$wxUSE_CHECKBOX
10390 { echo "$as_me:$LINENO: result: $result" >&5
10391 echo "${ECHO_T}$result" >&6; }
10395 defaultval
=$wxUSE_ALL_FEATURES
10396 if test -z "$defaultval"; then
10397 if test x
"$enablestring" = xdisable
; then
10404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10405 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10406 # Check whether --enable-checklst was given.
10407 if test "${enable_checklst+set}" = set; then
10408 enableval
=$enable_checklst;
10409 if test "$enableval" = yes; then
10410 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
10412 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
10417 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10422 eval "$wx_cv_use_checklst"
10424 if test x"$enablestring" = xdisable; then
10425 if test $wxUSE_CHECKLST = no; then
10431 result=$wxUSE_CHECKLST
10434 { echo "$as_me:$LINENO: result: $result" >&5
10435 echo "${ECHO_T}$result" >&6; }
10439 defaultval=$wxUSE_ALL_FEATURES
10440 if test -z "$defaultval"; then
10441 if test x"$enablestring" = xdisable; then
10448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10449 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10450 # Check whether --enable-choice was given.
10451 if test "${enable_choice+set}" = set; then
10452 enableval=$enable_choice;
10453 if test "$enableval" = yes; then
10454 wx_cv_use_choice='wxUSE_CHOICE
=yes'
10456 wx_cv_use_choice='wxUSE_CHOICE
=no
'
10461 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10466 eval "$wx_cv_use_choice"
10468 if test x"$enablestring" = xdisable; then
10469 if test $wxUSE_CHOICE = no; then
10475 result=$wxUSE_CHOICE
10478 { echo "$as_me:$LINENO: result
: $result" >&5
10479 echo "${ECHO_T}$result" >&6; }
10483 defaultval=$wxUSE_ALL_FEATURES
10484 if test -z "$defaultval"; then
10485 if test x"$enablestring" = xdisable; then
10492 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10493 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10494 # Check whether --enable-choicebook was given.
10495 if test "${enable_choicebook+set}" = set; then
10496 enableval=$enable_choicebook;
10497 if test "$enableval" = yes; then
10498 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10500 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10505 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10510 eval "$wx_cv_use_choicebook"
10512 if test x
"$enablestring" = xdisable
; then
10513 if test $wxUSE_CHOICEBOOK = no
; then
10519 result
=$wxUSE_CHOICEBOOK
10522 { echo "$as_me:$LINENO: result: $result" >&5
10523 echo "${ECHO_T}$result" >&6; }
10527 defaultval
=$wxUSE_ALL_FEATURES
10528 if test -z "$defaultval"; then
10529 if test x
"$enablestring" = xdisable
; then
10536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10537 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10538 # Check whether --enable-collpane was given.
10539 if test "${enable_collpane+set}" = set; then
10540 enableval
=$enable_collpane;
10541 if test "$enableval" = yes; then
10542 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10544 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10549 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10554 eval "$wx_cv_use_collpane"
10556 if test x"$enablestring" = xdisable; then
10557 if test $wxUSE_COLLPANE = no; then
10563 result=$wxUSE_COLLPANE
10566 { echo "$as_me:$LINENO: result: $result" >&5
10567 echo "${ECHO_T}$result" >&6; }
10571 defaultval=$wxUSE_ALL_FEATURES
10572 if test -z "$defaultval"; then
10573 if test x"$enablestring" = xdisable; then
10580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10581 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10582 # Check whether --enable-colourpicker was given.
10583 if test "${enable_colourpicker+set}" = set; then
10584 enableval=$enable_colourpicker;
10585 if test "$enableval" = yes; then
10586 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10588 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10593 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10598 eval "$wx_cv_use_colourpicker"
10600 if test x"$enablestring" = xdisable; then
10601 if test $wxUSE_COLOURPICKERCTRL = no; then
10607 result=$wxUSE_COLOURPICKERCTRL
10610 { echo "$as_me:$LINENO: result
: $result" >&5
10611 echo "${ECHO_T}$result" >&6; }
10615 defaultval=$wxUSE_ALL_FEATURES
10616 if test -z "$defaultval"; then
10617 if test x"$enablestring" = xdisable; then
10624 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10625 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10626 # Check whether --enable-combobox was given.
10627 if test "${enable_combobox+set}" = set; then
10628 enableval=$enable_combobox;
10629 if test "$enableval" = yes; then
10630 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10632 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10637 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10642 eval "$wx_cv_use_combobox"
10644 if test x
"$enablestring" = xdisable
; then
10645 if test $wxUSE_COMBOBOX = no
; then
10651 result
=$wxUSE_COMBOBOX
10654 { echo "$as_me:$LINENO: result: $result" >&5
10655 echo "${ECHO_T}$result" >&6; }
10659 defaultval
=$wxUSE_ALL_FEATURES
10660 if test -z "$defaultval"; then
10661 if test x
"$enablestring" = xdisable
; then
10668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10670 # Check whether --enable-comboctrl was given.
10671 if test "${enable_comboctrl+set}" = set; then
10672 enableval
=$enable_comboctrl;
10673 if test "$enableval" = yes; then
10674 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10676 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10681 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10686 eval "$wx_cv_use_comboctrl"
10688 if test x"$enablestring" = xdisable; then
10689 if test $wxUSE_COMBOCTRL = no; then
10695 result=$wxUSE_COMBOCTRL
10698 { echo "$as_me:$LINENO: result: $result" >&5
10699 echo "${ECHO_T}$result" >&6; }
10703 defaultval=$wxUSE_ALL_FEATURES
10704 if test -z "$defaultval"; then
10705 if test x"$enablestring" = xdisable; then
10712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10713 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10714 # Check whether --enable-commandlinkbutton was given.
10715 if test "${enable_commandlinkbutton+set}" = set; then
10716 enableval=$enable_commandlinkbutton;
10717 if test "$enableval" = yes; then
10718 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=yes'
10720 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=no
'
10725 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10730 eval "$wx_cv_use_commandlinkbutton"
10732 if test x"$enablestring" = xdisable; then
10733 if test $wxUSE_COMMANDLINKBUTTON = no; then
10739 result=$wxUSE_COMMANDLINKBUTTON
10742 { echo "$as_me:$LINENO: result
: $result" >&5
10743 echo "${ECHO_T}$result" >&6; }
10747 defaultval=$wxUSE_ALL_FEATURES
10748 if test -z "$defaultval"; then
10749 if test x"$enablestring" = xdisable; then
10756 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10757 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10758 # Check whether --enable-dataviewctrl was given.
10759 if test "${enable_dataviewctrl+set}" = set; then
10760 enableval=$enable_dataviewctrl;
10761 if test "$enableval" = yes; then
10762 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10764 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10769 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10774 eval "$wx_cv_use_dataviewctrl"
10776 if test x
"$enablestring" = xdisable
; then
10777 if test $wxUSE_DATAVIEWCTRL = no
; then
10783 result
=$wxUSE_DATAVIEWCTRL
10786 { echo "$as_me:$LINENO: result: $result" >&5
10787 echo "${ECHO_T}$result" >&6; }
10791 defaultval
=$wxUSE_ALL_FEATURES
10792 if test -z "$defaultval"; then
10793 if test x
"$enablestring" = xdisable
; then
10800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10801 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10802 # Check whether --enable-datepick was given.
10803 if test "${enable_datepick+set}" = set; then
10804 enableval
=$enable_datepick;
10805 if test "$enableval" = yes; then
10806 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10808 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10813 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10818 eval "$wx_cv_use_datepick"
10820 if test x"$enablestring" = xdisable; then
10821 if test $wxUSE_DATEPICKCTRL = no; then
10827 result=$wxUSE_DATEPICKCTRL
10830 { echo "$as_me:$LINENO: result: $result" >&5
10831 echo "${ECHO_T}$result" >&6; }
10835 defaultval=$wxUSE_ALL_FEATURES
10836 if test -z "$defaultval"; then
10837 if test x"$enablestring" = xdisable; then
10844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10845 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10846 # Check whether --enable-detect_sm was given.
10847 if test "${enable_detect_sm+set}" = set; then
10848 enableval=$enable_detect_sm;
10849 if test "$enableval" = yes; then
10850 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10852 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10857 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10862 eval "$wx_cv_use_detect_sm"
10864 if test x"$enablestring" = xdisable; then
10865 if test $wxUSE_DETECT_SM = no; then
10871 result=$wxUSE_DETECT_SM
10874 { echo "$as_me:$LINENO: result
: $result" >&5
10875 echo "${ECHO_T}$result" >&6; }
10879 defaultval=$wxUSE_ALL_FEATURES
10880 if test -z "$defaultval"; then
10881 if test x"$enablestring" = xdisable; then
10888 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10889 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10890 # Check whether --enable-dirpicker was given.
10891 if test "${enable_dirpicker+set}" = set; then
10892 enableval=$enable_dirpicker;
10893 if test "$enableval" = yes; then
10894 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10896 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10901 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10906 eval "$wx_cv_use_dirpicker"
10908 if test x
"$enablestring" = xdisable
; then
10909 if test $wxUSE_DIRPICKERCTRL = no
; then
10915 result
=$wxUSE_DIRPICKERCTRL
10918 { echo "$as_me:$LINENO: result: $result" >&5
10919 echo "${ECHO_T}$result" >&6; }
10923 defaultval
=$wxUSE_ALL_FEATURES
10924 if test -z "$defaultval"; then
10925 if test x
"$enablestring" = xdisable
; then
10932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10933 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10934 # Check whether --enable-display was given.
10935 if test "${enable_display+set}" = set; then
10936 enableval
=$enable_display;
10937 if test "$enableval" = yes; then
10938 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10940 wx_cv_use_display
='wxUSE_DISPLAY=no'
10945 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10950 eval "$wx_cv_use_display"
10952 if test x"$enablestring" = xdisable; then
10953 if test $wxUSE_DISPLAY = no; then
10959 result=$wxUSE_DISPLAY
10962 { echo "$as_me:$LINENO: result: $result" >&5
10963 echo "${ECHO_T}$result" >&6; }
10967 defaultval=$wxUSE_ALL_FEATURES
10968 if test -z "$defaultval"; then
10969 if test x"$enablestring" = xdisable; then
10976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10977 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10978 # Check whether --enable-editablebox was given.
10979 if test "${enable_editablebox+set}" = set; then
10980 enableval=$enable_editablebox;
10981 if test "$enableval" = yes; then
10982 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10984 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10989 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10994 eval "$wx_cv_use_editablebox"
10996 if test x"$enablestring" = xdisable; then
10997 if test $wxUSE_EDITABLELISTBOX = no; then
11003 result=$wxUSE_EDITABLELISTBOX
11006 { echo "$as_me:$LINENO: result
: $result" >&5
11007 echo "${ECHO_T}$result" >&6; }
11011 defaultval=$wxUSE_ALL_FEATURES
11012 if test -z "$defaultval"; then
11013 if test x"$enablestring" = xdisable; then
11020 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
11021 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
11022 # Check whether --enable-filectrl was given.
11023 if test "${enable_filectrl+set}" = set; then
11024 enableval=$enable_filectrl;
11025 if test "$enableval" = yes; then
11026 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11028 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11033 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11038 eval "$wx_cv_use_filectrl"
11040 if test x
"$enablestring" = xdisable
; then
11041 if test $wxUSE_FILECTRL = no
; then
11047 result
=$wxUSE_FILECTRL
11050 { echo "$as_me:$LINENO: result: $result" >&5
11051 echo "${ECHO_T}$result" >&6; }
11055 defaultval
=$wxUSE_ALL_FEATURES
11056 if test -z "$defaultval"; then
11057 if test x
"$enablestring" = xdisable
; then
11064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11065 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11066 # Check whether --enable-filepicker was given.
11067 if test "${enable_filepicker+set}" = set; then
11068 enableval
=$enable_filepicker;
11069 if test "$enableval" = yes; then
11070 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
11072 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
11077 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11082 eval "$wx_cv_use_filepicker"
11084 if test x"$enablestring" = xdisable; then
11085 if test $wxUSE_FILEPICKERCTRL = no; then
11091 result=$wxUSE_FILEPICKERCTRL
11094 { echo "$as_me:$LINENO: result: $result" >&5
11095 echo "${ECHO_T}$result" >&6; }
11099 defaultval=$wxUSE_ALL_FEATURES
11100 if test -z "$defaultval"; then
11101 if test x"$enablestring" = xdisable; then
11108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11109 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11110 # Check whether --enable-fontpicker was given.
11111 if test "${enable_fontpicker+set}" = set; then
11112 enableval=$enable_fontpicker;
11113 if test "$enableval" = yes; then
11114 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
11116 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
11121 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11126 eval "$wx_cv_use_fontpicker"
11128 if test x"$enablestring" = xdisable; then
11129 if test $wxUSE_FONTPICKERCTRL = no; then
11135 result=$wxUSE_FONTPICKERCTRL
11138 { echo "$as_me:$LINENO: result
: $result" >&5
11139 echo "${ECHO_T}$result" >&6; }
11143 defaultval=$wxUSE_ALL_FEATURES
11144 if test -z "$defaultval"; then
11145 if test x"$enablestring" = xdisable; then
11152 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
11153 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
11154 # Check whether --enable-gauge was given.
11155 if test "${enable_gauge+set}" = set; then
11156 enableval=$enable_gauge;
11157 if test "$enableval" = yes; then
11158 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11160 wx_cv_use_gauge='wxUSE_GAUGE=no'
11165 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11170 eval "$wx_cv_use_gauge"
11172 if test x
"$enablestring" = xdisable
; then
11173 if test $wxUSE_GAUGE = no
; then
11179 result
=$wxUSE_GAUGE
11182 { echo "$as_me:$LINENO: result: $result" >&5
11183 echo "${ECHO_T}$result" >&6; }
11187 defaultval
=$wxUSE_ALL_FEATURES
11188 if test -z "$defaultval"; then
11189 if test x
"$enablestring" = xdisable
; then
11196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11197 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11198 # Check whether --enable-grid was given.
11199 if test "${enable_grid+set}" = set; then
11200 enableval
=$enable_grid;
11201 if test "$enableval" = yes; then
11202 wx_cv_use_grid
='wxUSE_GRID=yes'
11204 wx_cv_use_grid
='wxUSE_GRID=no'
11209 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11214 eval "$wx_cv_use_grid"
11216 if test x"$enablestring" = xdisable; then
11217 if test $wxUSE_GRID = no; then
11226 { echo "$as_me:$LINENO: result: $result" >&5
11227 echo "${ECHO_T}$result" >&6; }
11231 defaultval=$wxUSE_ALL_FEATURES
11232 if test -z "$defaultval"; then
11233 if test x"$enablestring" = xdisable; then
11240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11241 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11242 # Check whether --enable-headerctrl was given.
11243 if test "${enable_headerctrl+set}" = set; then
11244 enableval=$enable_headerctrl;
11245 if test "$enableval" = yes; then
11246 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
11248 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
11253 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11258 eval "$wx_cv_use_headerctrl"
11260 if test x"$enablestring" = xdisable; then
11261 if test $wxUSE_HEADERCTRL = no; then
11267 result=$wxUSE_HEADERCTRL
11270 { echo "$as_me:$LINENO: result
: $result" >&5
11271 echo "${ECHO_T}$result" >&6; }
11275 defaultval=$wxUSE_ALL_FEATURES
11276 if test -z "$defaultval"; then
11277 if test x"$enablestring" = xdisable; then
11284 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
11285 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
11286 # Check whether --enable-hyperlink was given.
11287 if test "${enable_hyperlink+set}" = set; then
11288 enableval=$enable_hyperlink;
11289 if test "$enableval" = yes; then
11290 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11292 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11297 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11302 eval "$wx_cv_use_hyperlink"
11304 if test x
"$enablestring" = xdisable
; then
11305 if test $wxUSE_HYPERLINKCTRL = no
; then
11311 result
=$wxUSE_HYPERLINKCTRL
11314 { echo "$as_me:$LINENO: result: $result" >&5
11315 echo "${ECHO_T}$result" >&6; }
11319 defaultval
=$wxUSE_ALL_FEATURES
11320 if test -z "$defaultval"; then
11321 if test x
"$enablestring" = xdisable
; then
11328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11329 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11330 # Check whether --enable-imaglist was given.
11331 if test "${enable_imaglist+set}" = set; then
11332 enableval
=$enable_imaglist;
11333 if test "$enableval" = yes; then
11334 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
11336 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
11341 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11346 eval "$wx_cv_use_imaglist"
11348 if test x"$enablestring" = xdisable; then
11349 if test $wxUSE_IMAGLIST = no; then
11355 result=$wxUSE_IMAGLIST
11358 { echo "$as_me:$LINENO: result: $result" >&5
11359 echo "${ECHO_T}$result" >&6; }
11363 defaultval=$wxUSE_ALL_FEATURES
11364 if test -z "$defaultval"; then
11365 if test x"$enablestring" = xdisable; then
11372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11373 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11374 # Check whether --enable-infobar was given.
11375 if test "${enable_infobar+set}" = set; then
11376 enableval=$enable_infobar;
11377 if test "$enableval" = yes; then
11378 wx_cv_use_infobar='wxUSE_INFOBAR
=yes'
11380 wx_cv_use_infobar='wxUSE_INFOBAR
=no
'
11385 wx_cv_use_infobar='wxUSE_INFOBAR
=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11390 eval "$wx_cv_use_infobar"
11392 if test x"$enablestring" = xdisable; then
11393 if test $wxUSE_INFOBAR = no; then
11399 result=$wxUSE_INFOBAR
11402 { echo "$as_me:$LINENO: result
: $result" >&5
11403 echo "${ECHO_T}$result" >&6; }
11407 defaultval=$wxUSE_ALL_FEATURES
11408 if test -z "$defaultval"; then
11409 if test x"$enablestring" = xdisable; then
11416 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
11417 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
11418 # Check whether --enable-listbook was given.
11419 if test "${enable_listbook+set}" = set; then
11420 enableval=$enable_listbook;
11421 if test "$enableval" = yes; then
11422 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11424 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11429 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11434 eval "$wx_cv_use_listbook"
11436 if test x
"$enablestring" = xdisable
; then
11437 if test $wxUSE_LISTBOOK = no
; then
11443 result
=$wxUSE_LISTBOOK
11446 { echo "$as_me:$LINENO: result: $result" >&5
11447 echo "${ECHO_T}$result" >&6; }
11451 defaultval
=$wxUSE_ALL_FEATURES
11452 if test -z "$defaultval"; then
11453 if test x
"$enablestring" = xdisable
; then
11460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11461 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11462 # Check whether --enable-listbox was given.
11463 if test "${enable_listbox+set}" = set; then
11464 enableval
=$enable_listbox;
11465 if test "$enableval" = yes; then
11466 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
11468 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
11473 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11478 eval "$wx_cv_use_listbox"
11480 if test x"$enablestring" = xdisable; then
11481 if test $wxUSE_LISTBOX = no; then
11487 result=$wxUSE_LISTBOX
11490 { echo "$as_me:$LINENO: result: $result" >&5
11491 echo "${ECHO_T}$result" >&6; }
11495 defaultval=$wxUSE_ALL_FEATURES
11496 if test -z "$defaultval"; then
11497 if test x"$enablestring" = xdisable; then
11504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11505 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11506 # Check whether --enable-listctrl was given.
11507 if test "${enable_listctrl+set}" = set; then
11508 enableval=$enable_listctrl;
11509 if test "$enableval" = yes; then
11510 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
11512 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
11517 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11522 eval "$wx_cv_use_listctrl"
11524 if test x"$enablestring" = xdisable; then
11525 if test $wxUSE_LISTCTRL = no; then
11531 result=$wxUSE_LISTCTRL
11534 { echo "$as_me:$LINENO: result
: $result" >&5
11535 echo "${ECHO_T}$result" >&6; }
11539 defaultval=$wxUSE_ALL_FEATURES
11540 if test -z "$defaultval"; then
11541 if test x"$enablestring" = xdisable; then
11548 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
11549 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
11550 # Check whether --enable-notebook was given.
11551 if test "${enable_notebook+set}" = set; then
11552 enableval=$enable_notebook;
11553 if test "$enableval" = yes; then
11554 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11556 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11561 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11566 eval "$wx_cv_use_notebook"
11568 if test x
"$enablestring" = xdisable
; then
11569 if test $wxUSE_NOTEBOOK = no
; then
11575 result
=$wxUSE_NOTEBOOK
11578 { echo "$as_me:$LINENO: result: $result" >&5
11579 echo "${ECHO_T}$result" >&6; }
11583 defaultval
=$wxUSE_ALL_FEATURES
11584 if test -z "$defaultval"; then
11585 if test x
"$enablestring" = xdisable
; then
11592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11593 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11594 # Check whether --enable-notifmsg was given.
11595 if test "${enable_notifmsg+set}" = set; then
11596 enableval
=$enable_notifmsg;
11597 if test "$enableval" = yes; then
11598 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
11600 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11605 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11610 eval "$wx_cv_use_notifmsg"
11612 if test x"$enablestring" = xdisable; then
11613 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11619 result=$wxUSE_NOTIFICATION_MESSAGE
11622 { echo "$as_me:$LINENO: result: $result" >&5
11623 echo "${ECHO_T}$result" >&6; }
11627 defaultval=$wxUSE_ALL_FEATURES
11628 if test -z "$defaultval"; then
11629 if test x"$enablestring" = xdisable; then
11636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11637 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11638 # Check whether --enable-odcombobox was given.
11639 if test "${enable_odcombobox+set}" = set; then
11640 enableval=$enable_odcombobox;
11641 if test "$enableval" = yes; then
11642 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11644 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11649 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11654 eval "$wx_cv_use_odcombobox"
11656 if test x"$enablestring" = xdisable; then
11657 if test $wxUSE_ODCOMBOBOX = no; then
11663 result=$wxUSE_ODCOMBOBOX
11666 { echo "$as_me:$LINENO: result
: $result" >&5
11667 echo "${ECHO_T}$result" >&6; }
11671 defaultval=$wxUSE_ALL_FEATURES
11672 if test -z "$defaultval"; then
11673 if test x"$enablestring" = xdisable; then
11680 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
11681 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
11682 # Check whether --enable-popupwin was given.
11683 if test "${enable_popupwin+set}" = set; then
11684 enableval=$enable_popupwin;
11685 if test "$enableval" = yes; then
11686 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11688 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11693 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11698 eval "$wx_cv_use_popupwin"
11700 if test x
"$enablestring" = xdisable
; then
11701 if test $wxUSE_POPUPWIN = no
; then
11707 result
=$wxUSE_POPUPWIN
11710 { echo "$as_me:$LINENO: result: $result" >&5
11711 echo "${ECHO_T}$result" >&6; }
11715 defaultval
=$wxUSE_ALL_FEATURES
11716 if test -z "$defaultval"; then
11717 if test x
"$enablestring" = xdisable
; then
11724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11725 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11726 # Check whether --enable-radiobox was given.
11727 if test "${enable_radiobox+set}" = set; then
11728 enableval
=$enable_radiobox;
11729 if test "$enableval" = yes; then
11730 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
11732 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
11737 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11742 eval "$wx_cv_use_radiobox"
11744 if test x"$enablestring" = xdisable; then
11745 if test $wxUSE_RADIOBOX = no; then
11751 result=$wxUSE_RADIOBOX
11754 { echo "$as_me:$LINENO: result: $result" >&5
11755 echo "${ECHO_T}$result" >&6; }
11759 defaultval=$wxUSE_ALL_FEATURES
11760 if test -z "$defaultval"; then
11761 if test x"$enablestring" = xdisable; then
11768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11769 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11770 # Check whether --enable-radiobtn was given.
11771 if test "${enable_radiobtn+set}" = set; then
11772 enableval=$enable_radiobtn;
11773 if test "$enableval" = yes; then
11774 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
11776 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
11781 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11786 eval "$wx_cv_use_radiobtn"
11788 if test x"$enablestring" = xdisable; then
11789 if test $wxUSE_RADIOBTN = no; then
11795 result=$wxUSE_RADIOBTN
11798 { echo "$as_me:$LINENO: result
: $result" >&5
11799 echo "${ECHO_T}$result" >&6; }
11803 defaultval=$wxUSE_ALL_FEATURES
11804 if test -z "$defaultval"; then
11805 if test x"$enablestring" = xdisable; then
11812 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richmsgdlg" >&5
11813 echo $ECHO_N "checking
for --${enablestring:-enable}-richmsgdlg...
$ECHO_C" >&6; }
11814 # Check whether --enable-richmsgdlg was given.
11815 if test "${enable_richmsgdlg+set}" = set; then
11816 enableval=$enable_richmsgdlg;
11817 if test "$enableval" = yes; then
11818 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11820 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11825 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11830 eval "$wx_cv_use_richmsgdlg"
11832 if test x
"$enablestring" = xdisable
; then
11833 if test $wxUSE_RICHMSGDLG = no
; then
11839 result
=$wxUSE_RICHMSGDLG
11842 { echo "$as_me:$LINENO: result: $result" >&5
11843 echo "${ECHO_T}$result" >&6; }
11847 defaultval
=$wxUSE_ALL_FEATURES
11848 if test -z "$defaultval"; then
11849 if test x
"$enablestring" = xdisable
; then
11856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11857 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11858 # Check whether --enable-rearrangectrl was given.
11859 if test "${enable_rearrangectrl+set}" = set; then
11860 enableval
=$enable_rearrangectrl;
11861 if test "$enableval" = yes; then
11862 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
11864 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
11869 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11874 eval "$wx_cv_use_rearrangectrl"
11876 if test x"$enablestring" = xdisable; then
11877 if test $wxUSE_REARRANGECTRL = no; then
11883 result=$wxUSE_REARRANGECTRL
11886 { echo "$as_me:$LINENO: result: $result" >&5
11887 echo "${ECHO_T}$result" >&6; }
11891 defaultval=$wxUSE_ALL_FEATURES
11892 if test -z "$defaultval"; then
11893 if test x"$enablestring" = xdisable; then
11900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11901 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11902 # Check whether --enable-sash was given.
11903 if test "${enable_sash+set}" = set; then
11904 enableval=$enable_sash;
11905 if test "$enableval" = yes; then
11906 wx_cv_use_sash='wxUSE_SASH
=yes'
11908 wx_cv_use_sash='wxUSE_SASH
=no
'
11913 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11918 eval "$wx_cv_use_sash"
11920 if test x"$enablestring" = xdisable; then
11921 if test $wxUSE_SASH = no; then
11930 { echo "$as_me:$LINENO: result
: $result" >&5
11931 echo "${ECHO_T}$result" >&6; }
11935 defaultval=$wxUSE_ALL_FEATURES
11936 if test -z "$defaultval"; then
11937 if test x"$enablestring" = xdisable; then
11944 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11945 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11946 # Check whether --enable-scrollbar was given.
11947 if test "${enable_scrollbar+set}" = set; then
11948 enableval=$enable_scrollbar;
11949 if test "$enableval" = yes; then
11950 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11952 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11957 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11962 eval "$wx_cv_use_scrollbar"
11964 if test x
"$enablestring" = xdisable
; then
11965 if test $wxUSE_SCROLLBAR = no
; then
11971 result
=$wxUSE_SCROLLBAR
11974 { echo "$as_me:$LINENO: result: $result" >&5
11975 echo "${ECHO_T}$result" >&6; }
11979 defaultval
=$wxUSE_ALL_FEATURES
11980 if test -z "$defaultval"; then
11981 if test x
"$enablestring" = xdisable
; then
11988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11989 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11990 # Check whether --enable-searchctrl was given.
11991 if test "${enable_searchctrl+set}" = set; then
11992 enableval
=$enable_searchctrl;
11993 if test "$enableval" = yes; then
11994 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11996 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
12001 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12006 eval "$wx_cv_use_searchctrl"
12008 if test x"$enablestring" = xdisable; then
12009 if test $wxUSE_SEARCHCTRL = no; then
12015 result=$wxUSE_SEARCHCTRL
12018 { echo "$as_me:$LINENO: result: $result" >&5
12019 echo "${ECHO_T}$result" >&6; }
12023 defaultval=$wxUSE_ALL_FEATURES
12024 if test -z "$defaultval"; then
12025 if test x"$enablestring" = xdisable; then
12032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12033 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12034 # Check whether --enable-slider was given.
12035 if test "${enable_slider+set}" = set; then
12036 enableval=$enable_slider;
12037 if test "$enableval" = yes; then
12038 wx_cv_use_slider='wxUSE_SLIDER
=yes'
12040 wx_cv_use_slider='wxUSE_SLIDER
=no
'
12045 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12050 eval "$wx_cv_use_slider"
12052 if test x"$enablestring" = xdisable; then
12053 if test $wxUSE_SLIDER = no; then
12059 result=$wxUSE_SLIDER
12062 { echo "$as_me:$LINENO: result
: $result" >&5
12063 echo "${ECHO_T}$result" >&6; }
12067 defaultval=$wxUSE_ALL_FEATURES
12068 if test -z "$defaultval"; then
12069 if test x"$enablestring" = xdisable; then
12076 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
12077 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
12078 # Check whether --enable-spinbtn was given.
12079 if test "${enable_spinbtn+set}" = set; then
12080 enableval=$enable_spinbtn;
12081 if test "$enableval" = yes; then
12082 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12084 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12089 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12094 eval "$wx_cv_use_spinbtn"
12096 if test x
"$enablestring" = xdisable
; then
12097 if test $wxUSE_SPINBTN = no
; then
12103 result
=$wxUSE_SPINBTN
12106 { echo "$as_me:$LINENO: result: $result" >&5
12107 echo "${ECHO_T}$result" >&6; }
12111 defaultval
=$wxUSE_ALL_FEATURES
12112 if test -z "$defaultval"; then
12113 if test x
"$enablestring" = xdisable
; then
12120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12121 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12122 # Check whether --enable-spinctrl was given.
12123 if test "${enable_spinctrl+set}" = set; then
12124 enableval
=$enable_spinctrl;
12125 if test "$enableval" = yes; then
12126 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
12128 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
12133 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12138 eval "$wx_cv_use_spinctrl"
12140 if test x"$enablestring" = xdisable; then
12141 if test $wxUSE_SPINCTRL = no; then
12147 result=$wxUSE_SPINCTRL
12150 { echo "$as_me:$LINENO: result: $result" >&5
12151 echo "${ECHO_T}$result" >&6; }
12155 defaultval=$wxUSE_ALL_FEATURES
12156 if test -z "$defaultval"; then
12157 if test x"$enablestring" = xdisable; then
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12166 # Check whether --enable-splitter was given.
12167 if test "${enable_splitter+set}" = set; then
12168 enableval=$enable_splitter;
12169 if test "$enableval" = yes; then
12170 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
12172 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
12177 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12182 eval "$wx_cv_use_splitter"
12184 if test x"$enablestring" = xdisable; then
12185 if test $wxUSE_SPLITTER = no; then
12191 result=$wxUSE_SPLITTER
12194 { echo "$as_me:$LINENO: result
: $result" >&5
12195 echo "${ECHO_T}$result" >&6; }
12199 defaultval=$wxUSE_ALL_FEATURES
12200 if test -z "$defaultval"; then
12201 if test x"$enablestring" = xdisable; then
12208 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
12209 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
12210 # Check whether --enable-statbmp was given.
12211 if test "${enable_statbmp+set}" = set; then
12212 enableval=$enable_statbmp;
12213 if test "$enableval" = yes; then
12214 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12216 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12221 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12226 eval "$wx_cv_use_statbmp"
12228 if test x
"$enablestring" = xdisable
; then
12229 if test $wxUSE_STATBMP = no
; then
12235 result
=$wxUSE_STATBMP
12238 { echo "$as_me:$LINENO: result: $result" >&5
12239 echo "${ECHO_T}$result" >&6; }
12243 defaultval
=$wxUSE_ALL_FEATURES
12244 if test -z "$defaultval"; then
12245 if test x
"$enablestring" = xdisable
; then
12252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12253 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12254 # Check whether --enable-statbox was given.
12255 if test "${enable_statbox+set}" = set; then
12256 enableval
=$enable_statbox;
12257 if test "$enableval" = yes; then
12258 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
12260 wx_cv_use_statbox
='wxUSE_STATBOX=no'
12265 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12270 eval "$wx_cv_use_statbox"
12272 if test x"$enablestring" = xdisable; then
12273 if test $wxUSE_STATBOX = no; then
12279 result=$wxUSE_STATBOX
12282 { echo "$as_me:$LINENO: result: $result" >&5
12283 echo "${ECHO_T}$result" >&6; }
12287 defaultval=$wxUSE_ALL_FEATURES
12288 if test -z "$defaultval"; then
12289 if test x"$enablestring" = xdisable; then
12296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12297 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12298 # Check whether --enable-statline was given.
12299 if test "${enable_statline+set}" = set; then
12300 enableval=$enable_statline;
12301 if test "$enableval" = yes; then
12302 wx_cv_use_statline='wxUSE_STATLINE
=yes'
12304 wx_cv_use_statline='wxUSE_STATLINE
=no
'
12309 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12314 eval "$wx_cv_use_statline"
12316 if test x"$enablestring" = xdisable; then
12317 if test $wxUSE_STATLINE = no; then
12323 result=$wxUSE_STATLINE
12326 { echo "$as_me:$LINENO: result
: $result" >&5
12327 echo "${ECHO_T}$result" >&6; }
12331 defaultval=$wxUSE_ALL_FEATURES
12332 if test -z "$defaultval"; then
12333 if test x"$enablestring" = xdisable; then
12340 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
12341 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
12342 # Check whether --enable-stattext was given.
12343 if test "${enable_stattext+set}" = set; then
12344 enableval=$enable_stattext;
12345 if test "$enableval" = yes; then
12346 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12348 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12353 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12358 eval "$wx_cv_use_stattext"
12360 if test x
"$enablestring" = xdisable
; then
12361 if test $wxUSE_STATTEXT = no
; then
12367 result
=$wxUSE_STATTEXT
12370 { echo "$as_me:$LINENO: result: $result" >&5
12371 echo "${ECHO_T}$result" >&6; }
12375 defaultval
=$wxUSE_ALL_FEATURES
12376 if test -z "$defaultval"; then
12377 if test x
"$enablestring" = xdisable
; then
12384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12385 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12386 # Check whether --enable-statusbar was given.
12387 if test "${enable_statusbar+set}" = set; then
12388 enableval
=$enable_statusbar;
12389 if test "$enableval" = yes; then
12390 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
12392 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
12397 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12402 eval "$wx_cv_use_statusbar"
12404 if test x"$enablestring" = xdisable; then
12405 if test $wxUSE_STATUSBAR = no; then
12411 result=$wxUSE_STATUSBAR
12414 { echo "$as_me:$LINENO: result: $result" >&5
12415 echo "${ECHO_T}$result" >&6; }
12419 defaultval=$wxUSE_ALL_FEATURES
12420 if test -z "$defaultval"; then
12421 if test x"$enablestring" = xdisable; then
12428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12429 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12430 # Check whether --enable-taskbaricon was given.
12431 if test "${enable_taskbaricon+set}" = set; then
12432 enableval=$enable_taskbaricon;
12433 if test "$enableval" = yes; then
12434 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
12436 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
12441 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12446 eval "$wx_cv_use_taskbaricon"
12448 if test x"$enablestring" = xdisable; then
12449 if test $wxUSE_TASKBARICON = no; then
12455 result=$wxUSE_TASKBARICON
12458 { echo "$as_me:$LINENO: result
: $result" >&5
12459 echo "${ECHO_T}$result" >&6; }
12463 defaultval=$wxUSE_ALL_FEATURES
12464 if test -z "$defaultval"; then
12465 if test x"$enablestring" = xdisable; then
12472 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
12473 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
12474 # Check whether --enable-tbarnative was given.
12475 if test "${enable_tbarnative+set}" = set; then
12476 enableval=$enable_tbarnative;
12477 if test "$enableval" = yes; then
12478 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12480 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12485 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12490 eval "$wx_cv_use_tbarnative"
12492 if test x
"$enablestring" = xdisable
; then
12493 if test $wxUSE_TOOLBAR_NATIVE = no
; then
12499 result
=$wxUSE_TOOLBAR_NATIVE
12502 { echo "$as_me:$LINENO: result: $result" >&5
12503 echo "${ECHO_T}$result" >&6; }
12507 defaultval
=$wxUSE_ALL_FEATURES
12508 if test -z "$defaultval"; then
12509 if test x
"$enablestring" = xdisable
; then
12516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12517 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12518 # Check whether --enable-textctrl was given.
12519 if test "${enable_textctrl+set}" = set; then
12520 enableval
=$enable_textctrl;
12521 if test "$enableval" = yes; then
12522 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
12524 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
12529 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12534 eval "$wx_cv_use_textctrl"
12536 if test x"$enablestring" = xdisable; then
12537 if test $wxUSE_TEXTCTRL = no; then
12543 result=$wxUSE_TEXTCTRL
12546 { echo "$as_me:$LINENO: result: $result" >&5
12547 echo "${ECHO_T}$result" >&6; }
12551 defaultval=$wxUSE_ALL_FEATURES
12552 if test -z "$defaultval"; then
12553 if test x"$enablestring" = xdisable; then
12560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12561 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12562 # Check whether --enable-tipwindow was given.
12563 if test "${enable_tipwindow+set}" = set; then
12564 enableval=$enable_tipwindow;
12565 if test "$enableval" = yes; then
12566 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12568 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12573 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12578 eval "$wx_cv_use_tipwindow"
12580 if test x"$enablestring" = xdisable; then
12581 if test $wxUSE_TIPWINDOW = no; then
12587 result=$wxUSE_TIPWINDOW
12590 { echo "$as_me:$LINENO: result
: $result" >&5
12591 echo "${ECHO_T}$result" >&6; }
12595 defaultval=$wxUSE_ALL_FEATURES
12596 if test -z "$defaultval"; then
12597 if test x"$enablestring" = xdisable; then
12604 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
12605 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
12606 # Check whether --enable-togglebtn was given.
12607 if test "${enable_togglebtn+set}" = set; then
12608 enableval=$enable_togglebtn;
12609 if test "$enableval" = yes; then
12610 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12612 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12617 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12622 eval "$wx_cv_use_togglebtn"
12624 if test x
"$enablestring" = xdisable
; then
12625 if test $wxUSE_TOGGLEBTN = no
; then
12631 result
=$wxUSE_TOGGLEBTN
12634 { echo "$as_me:$LINENO: result: $result" >&5
12635 echo "${ECHO_T}$result" >&6; }
12639 defaultval
=$wxUSE_ALL_FEATURES
12640 if test -z "$defaultval"; then
12641 if test x
"$enablestring" = xdisable
; then
12648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12649 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12650 # Check whether --enable-toolbar was given.
12651 if test "${enable_toolbar+set}" = set; then
12652 enableval
=$enable_toolbar;
12653 if test "$enableval" = yes; then
12654 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
12656 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
12661 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12666 eval "$wx_cv_use_toolbar"
12668 if test x"$enablestring" = xdisable; then
12669 if test $wxUSE_TOOLBAR = no; then
12675 result=$wxUSE_TOOLBAR
12678 { echo "$as_me:$LINENO: result: $result" >&5
12679 echo "${ECHO_T}$result" >&6; }
12683 defaultval=$wxUSE_ALL_FEATURES
12684 if test -z "$defaultval"; then
12685 if test x"$enablestring" = xdisable; then
12692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12693 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12694 # Check whether --enable-toolbook was given.
12695 if test "${enable_toolbook+set}" = set; then
12696 enableval=$enable_toolbook;
12697 if test "$enableval" = yes; then
12698 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12700 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12705 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12710 eval "$wx_cv_use_toolbook"
12712 if test x"$enablestring" = xdisable; then
12713 if test $wxUSE_TOOLBOOK = no; then
12719 result=$wxUSE_TOOLBOOK
12722 { echo "$as_me:$LINENO: result
: $result" >&5
12723 echo "${ECHO_T}$result" >&6; }
12727 defaultval=$wxUSE_ALL_FEATURES
12728 if test -z "$defaultval"; then
12729 if test x"$enablestring" = xdisable; then
12736 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12737 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12738 # Check whether --enable-treebook was given.
12739 if test "${enable_treebook+set}" = set; then
12740 enableval=$enable_treebook;
12741 if test "$enableval" = yes; then
12742 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12744 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12749 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12754 eval "$wx_cv_use_treebook"
12756 if test x
"$enablestring" = xdisable
; then
12757 if test $wxUSE_TREEBOOK = no
; then
12763 result
=$wxUSE_TREEBOOK
12766 { echo "$as_me:$LINENO: result: $result" >&5
12767 echo "${ECHO_T}$result" >&6; }
12771 defaultval
=$wxUSE_ALL_FEATURES
12772 if test -z "$defaultval"; then
12773 if test x
"$enablestring" = xdisable
; then
12780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12781 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12782 # Check whether --enable-treectrl was given.
12783 if test "${enable_treectrl+set}" = set; then
12784 enableval
=$enable_treectrl;
12785 if test "$enableval" = yes; then
12786 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12788 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12793 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12798 eval "$wx_cv_use_treectrl"
12800 if test x"$enablestring" = xdisable; then
12801 if test $wxUSE_TREECTRL = no; then
12807 result=$wxUSE_TREECTRL
12810 { echo "$as_me:$LINENO: result: $result" >&5
12811 echo "${ECHO_T}$result" >&6; }
12817 defaultval=$wxUSE_ALL_FEATURES
12818 if test -z "$defaultval"; then
12819 if test x"$enablestring" = xdisable; then
12826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12827 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12828 # Check whether --enable-commondlg was given.
12829 if test "${enable_commondlg+set}" = set; then
12830 enableval=$enable_commondlg;
12831 if test "$enableval" = yes; then
12832 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12834 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12839 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12844 eval "$wx_cv_use_commondlg"
12846 if test x"$enablestring" = xdisable; then
12847 if test $wxUSE_COMMONDLGS = no; then
12853 result=$wxUSE_COMMONDLGS
12856 { echo "$as_me:$LINENO: result
: $result" >&5
12857 echo "${ECHO_T}$result" >&6; }
12861 defaultval=$wxUSE_ALL_FEATURES
12862 if test -z "$defaultval"; then
12863 if test x"$enablestring" = xdisable; then
12870 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12871 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
12872 # Check whether --enable-aboutdlg was given.
12873 if test "${enable_aboutdlg+set}" = set; then
12874 enableval=$enable_aboutdlg;
12875 if test "$enableval" = yes; then
12876 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12878 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12883 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12888 eval "$wx_cv_use_aboutdlg"
12890 if test x
"$enablestring" = xdisable
; then
12891 if test $wxUSE_ABOUTDLG = no
; then
12897 result
=$wxUSE_ABOUTDLG
12900 { echo "$as_me:$LINENO: result: $result" >&5
12901 echo "${ECHO_T}$result" >&6; }
12905 defaultval
=$wxUSE_ALL_FEATURES
12906 if test -z "$defaultval"; then
12907 if test x
"$enablestring" = xdisable
; then
12914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12915 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12916 # Check whether --enable-choicedlg was given.
12917 if test "${enable_choicedlg+set}" = set; then
12918 enableval
=$enable_choicedlg;
12919 if test "$enableval" = yes; then
12920 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12922 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12927 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12932 eval "$wx_cv_use_choicedlg"
12934 if test x"$enablestring" = xdisable; then
12935 if test $wxUSE_CHOICEDLG = no; then
12941 result=$wxUSE_CHOICEDLG
12944 { echo "$as_me:$LINENO: result: $result" >&5
12945 echo "${ECHO_T}$result" >&6; }
12949 defaultval=$wxUSE_ALL_FEATURES
12950 if test -z "$defaultval"; then
12951 if test x"$enablestring" = xdisable; then
12958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12959 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12960 # Check whether --enable-coldlg was given.
12961 if test "${enable_coldlg+set}" = set; then
12962 enableval=$enable_coldlg;
12963 if test "$enableval" = yes; then
12964 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12966 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12971 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12976 eval "$wx_cv_use_coldlg"
12978 if test x"$enablestring" = xdisable; then
12979 if test $wxUSE_COLOURDLG = no; then
12985 result=$wxUSE_COLOURDLG
12988 { echo "$as_me:$LINENO: result
: $result" >&5
12989 echo "${ECHO_T}$result" >&6; }
12993 defaultval=$wxUSE_ALL_FEATURES
12994 if test -z "$defaultval"; then
12995 if test x"$enablestring" = xdisable; then
13002 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
13003 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
13004 # Check whether --enable-filedlg was given.
13005 if test "${enable_filedlg+set}" = set; then
13006 enableval=$enable_filedlg;
13007 if test "$enableval" = yes; then
13008 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13010 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13015 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13020 eval "$wx_cv_use_filedlg"
13022 if test x
"$enablestring" = xdisable
; then
13023 if test $wxUSE_FILEDLG = no
; then
13029 result
=$wxUSE_FILEDLG
13032 { echo "$as_me:$LINENO: result: $result" >&5
13033 echo "${ECHO_T}$result" >&6; }
13037 defaultval
=$wxUSE_ALL_FEATURES
13038 if test -z "$defaultval"; then
13039 if test x
"$enablestring" = xdisable
; then
13046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13047 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13048 # Check whether --enable-finddlg was given.
13049 if test "${enable_finddlg+set}" = set; then
13050 enableval
=$enable_finddlg;
13051 if test "$enableval" = yes; then
13052 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
13054 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
13059 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13064 eval "$wx_cv_use_finddlg"
13066 if test x"$enablestring" = xdisable; then
13067 if test $wxUSE_FINDREPLDLG = no; then
13073 result=$wxUSE_FINDREPLDLG
13076 { echo "$as_me:$LINENO: result: $result" >&5
13077 echo "${ECHO_T}$result" >&6; }
13081 defaultval=$wxUSE_ALL_FEATURES
13082 if test -z "$defaultval"; then
13083 if test x"$enablestring" = xdisable; then
13090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13091 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13092 # Check whether --enable-fontdlg was given.
13093 if test "${enable_fontdlg+set}" = set; then
13094 enableval=$enable_fontdlg;
13095 if test "$enableval" = yes; then
13096 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
13098 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
13103 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13108 eval "$wx_cv_use_fontdlg"
13110 if test x"$enablestring" = xdisable; then
13111 if test $wxUSE_FONTDLG = no; then
13117 result=$wxUSE_FONTDLG
13120 { echo "$as_me:$LINENO: result
: $result" >&5
13121 echo "${ECHO_T}$result" >&6; }
13125 defaultval=$wxUSE_ALL_FEATURES
13126 if test -z "$defaultval"; then
13127 if test x"$enablestring" = xdisable; then
13134 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
13135 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
13136 # Check whether --enable-dirdlg was given.
13137 if test "${enable_dirdlg+set}" = set; then
13138 enableval=$enable_dirdlg;
13139 if test "$enableval" = yes; then
13140 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13142 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13147 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13152 eval "$wx_cv_use_dirdlg"
13154 if test x
"$enablestring" = xdisable
; then
13155 if test $wxUSE_DIRDLG = no
; then
13161 result
=$wxUSE_DIRDLG
13164 { echo "$as_me:$LINENO: result: $result" >&5
13165 echo "${ECHO_T}$result" >&6; }
13169 defaultval
=$wxUSE_ALL_FEATURES
13170 if test -z "$defaultval"; then
13171 if test x
"$enablestring" = xdisable
; then
13178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13179 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13180 # Check whether --enable-msgdlg was given.
13181 if test "${enable_msgdlg+set}" = set; then
13182 enableval
=$enable_msgdlg;
13183 if test "$enableval" = yes; then
13184 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
13186 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
13191 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13196 eval "$wx_cv_use_msgdlg"
13198 if test x"$enablestring" = xdisable; then
13199 if test $wxUSE_MSGDLG = no; then
13205 result=$wxUSE_MSGDLG
13208 { echo "$as_me:$LINENO: result: $result" >&5
13209 echo "${ECHO_T}$result" >&6; }
13213 defaultval=$wxUSE_ALL_FEATURES
13214 if test -z "$defaultval"; then
13215 if test x"$enablestring" = xdisable; then
13222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13223 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13224 # Check whether --enable-numberdlg was given.
13225 if test "${enable_numberdlg+set}" = set; then
13226 enableval=$enable_numberdlg;
13227 if test "$enableval" = yes; then
13228 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
13230 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
13235 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13240 eval "$wx_cv_use_numberdlg"
13242 if test x"$enablestring" = xdisable; then
13243 if test $wxUSE_NUMBERDLG = no; then
13249 result=$wxUSE_NUMBERDLG
13252 { echo "$as_me:$LINENO: result
: $result" >&5
13253 echo "${ECHO_T}$result" >&6; }
13257 defaultval=$wxUSE_ALL_FEATURES
13258 if test -z "$defaultval"; then
13259 if test x"$enablestring" = xdisable; then
13266 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
13267 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
13268 # Check whether --enable-splash was given.
13269 if test "${enable_splash+set}" = set; then
13270 enableval=$enable_splash;
13271 if test "$enableval" = yes; then
13272 wx_cv_use_splash='wxUSE_SPLASH=yes'
13274 wx_cv_use_splash='wxUSE_SPLASH=no'
13279 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13284 eval "$wx_cv_use_splash"
13286 if test x
"$enablestring" = xdisable
; then
13287 if test $wxUSE_SPLASH = no
; then
13293 result
=$wxUSE_SPLASH
13296 { echo "$as_me:$LINENO: result: $result" >&5
13297 echo "${ECHO_T}$result" >&6; }
13301 defaultval
=$wxUSE_ALL_FEATURES
13302 if test -z "$defaultval"; then
13303 if test x
"$enablestring" = xdisable
; then
13310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13311 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13312 # Check whether --enable-textdlg was given.
13313 if test "${enable_textdlg+set}" = set; then
13314 enableval
=$enable_textdlg;
13315 if test "$enableval" = yes; then
13316 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
13318 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
13323 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13328 eval "$wx_cv_use_textdlg"
13330 if test x"$enablestring" = xdisable; then
13331 if test $wxUSE_TEXTDLG = no; then
13337 result=$wxUSE_TEXTDLG
13340 { echo "$as_me:$LINENO: result: $result" >&5
13341 echo "${ECHO_T}$result" >&6; }
13345 defaultval=$wxUSE_ALL_FEATURES
13346 if test -z "$defaultval"; then
13347 if test x"$enablestring" = xdisable; then
13354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13355 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13356 # Check whether --enable-tipdlg was given.
13357 if test "${enable_tipdlg+set}" = set; then
13358 enableval=$enable_tipdlg;
13359 if test "$enableval" = yes; then
13360 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
13362 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
13367 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13372 eval "$wx_cv_use_tipdlg"
13374 if test x"$enablestring" = xdisable; then
13375 if test $wxUSE_STARTUP_TIPS = no; then
13381 result=$wxUSE_STARTUP_TIPS
13384 { echo "$as_me:$LINENO: result
: $result" >&5
13385 echo "${ECHO_T}$result" >&6; }
13389 defaultval=$wxUSE_ALL_FEATURES
13390 if test -z "$defaultval"; then
13391 if test x"$enablestring" = xdisable; then
13398 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
13399 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
13400 # Check whether --enable-progressdlg was given.
13401 if test "${enable_progressdlg+set}" = set; then
13402 enableval=$enable_progressdlg;
13403 if test "$enableval" = yes; then
13404 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13406 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13411 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13416 eval "$wx_cv_use_progressdlg"
13418 if test x
"$enablestring" = xdisable
; then
13419 if test $wxUSE_PROGRESSDLG = no
; then
13425 result
=$wxUSE_PROGRESSDLG
13428 { echo "$as_me:$LINENO: result: $result" >&5
13429 echo "${ECHO_T}$result" >&6; }
13433 defaultval
=$wxUSE_ALL_FEATURES
13434 if test -z "$defaultval"; then
13435 if test x
"$enablestring" = xdisable
; then
13442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13443 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13444 # Check whether --enable-wizarddlg was given.
13445 if test "${enable_wizarddlg+set}" = set; then
13446 enableval
=$enable_wizarddlg;
13447 if test "$enableval" = yes; then
13448 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
13450 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
13455 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13460 eval "$wx_cv_use_wizarddlg"
13462 if test x"$enablestring" = xdisable; then
13463 if test $wxUSE_WIZARDDLG = no; then
13469 result=$wxUSE_WIZARDDLG
13472 { echo "$as_me:$LINENO: result: $result" >&5
13473 echo "${ECHO_T}$result" >&6; }
13479 defaultval=$wxUSE_ALL_FEATURES
13480 if test -z "$defaultval"; then
13481 if test x"$enablestring" = xdisable; then
13488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13489 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13490 # Check whether --enable-menus was given.
13491 if test "${enable_menus+set}" = set; then
13492 enableval=$enable_menus;
13493 if test "$enableval" = yes; then
13494 wx_cv_use_menus='wxUSE_MENUS
=yes'
13496 wx_cv_use_menus='wxUSE_MENUS
=no
'
13501 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13506 eval "$wx_cv_use_menus"
13508 if test x"$enablestring" = xdisable; then
13509 if test $wxUSE_MENUS = no; then
13515 result=$wxUSE_MENUS
13518 { echo "$as_me:$LINENO: result
: $result" >&5
13519 echo "${ECHO_T}$result" >&6; }
13523 defaultval=$wxUSE_ALL_FEATURES
13524 if test -z "$defaultval"; then
13525 if test x"$enablestring" = xdisable; then
13532 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
13533 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
13534 # Check whether --enable-miniframe was given.
13535 if test "${enable_miniframe+set}" = set; then
13536 enableval=$enable_miniframe;
13537 if test "$enableval" = yes; then
13538 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13540 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13545 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13550 eval "$wx_cv_use_miniframe"
13552 if test x
"$enablestring" = xdisable
; then
13553 if test $wxUSE_MINIFRAME = no
; then
13559 result
=$wxUSE_MINIFRAME
13562 { echo "$as_me:$LINENO: result: $result" >&5
13563 echo "${ECHO_T}$result" >&6; }
13567 defaultval
=$wxUSE_ALL_FEATURES
13568 if test -z "$defaultval"; then
13569 if test x
"$enablestring" = xdisable
; then
13576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13577 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13578 # Check whether --enable-tooltips was given.
13579 if test "${enable_tooltips+set}" = set; then
13580 enableval
=$enable_tooltips;
13581 if test "$enableval" = yes; then
13582 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
13584 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
13589 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13594 eval "$wx_cv_use_tooltips"
13596 if test x"$enablestring" = xdisable; then
13597 if test $wxUSE_TOOLTIPS = no; then
13603 result=$wxUSE_TOOLTIPS
13606 { echo "$as_me:$LINENO: result: $result" >&5
13607 echo "${ECHO_T}$result" >&6; }
13611 defaultval=$wxUSE_ALL_FEATURES
13612 if test -z "$defaultval"; then
13613 if test x"$enablestring" = xdisable; then
13620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13621 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13622 # Check whether --enable-splines was given.
13623 if test "${enable_splines+set}" = set; then
13624 enableval=$enable_splines;
13625 if test "$enableval" = yes; then
13626 wx_cv_use_splines='wxUSE_SPLINES
=yes'
13628 wx_cv_use_splines='wxUSE_SPLINES
=no
'
13633 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13638 eval "$wx_cv_use_splines"
13640 if test x"$enablestring" = xdisable; then
13641 if test $wxUSE_SPLINES = no; then
13647 result=$wxUSE_SPLINES
13650 { echo "$as_me:$LINENO: result
: $result" >&5
13651 echo "${ECHO_T}$result" >&6; }
13655 defaultval=$wxUSE_ALL_FEATURES
13656 if test -z "$defaultval"; then
13657 if test x"$enablestring" = xdisable; then
13664 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
13665 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
13666 # Check whether --enable-mousewheel was given.
13667 if test "${enable_mousewheel+set}" = set; then
13668 enableval=$enable_mousewheel;
13669 if test "$enableval" = yes; then
13670 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13672 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13677 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13682 eval "$wx_cv_use_mousewheel"
13684 if test x
"$enablestring" = xdisable
; then
13685 if test $wxUSE_MOUSEWHEEL = no
; then
13691 result
=$wxUSE_MOUSEWHEEL
13694 { echo "$as_me:$LINENO: result: $result" >&5
13695 echo "${ECHO_T}$result" >&6; }
13699 defaultval
=$wxUSE_ALL_FEATURES
13700 if test -z "$defaultval"; then
13701 if test x
"$enablestring" = xdisable
; then
13708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13709 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13710 # Check whether --enable-validators was given.
13711 if test "${enable_validators+set}" = set; then
13712 enableval
=$enable_validators;
13713 if test "$enableval" = yes; then
13714 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
13716 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
13721 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13726 eval "$wx_cv_use_validators"
13728 if test x"$enablestring" = xdisable; then
13729 if test $wxUSE_VALIDATORS = no; then
13735 result=$wxUSE_VALIDATORS
13738 { echo "$as_me:$LINENO: result: $result" >&5
13739 echo "${ECHO_T}$result" >&6; }
13743 defaultval=$wxUSE_ALL_FEATURES
13744 if test -z "$defaultval"; then
13745 if test x"$enablestring" = xdisable; then
13752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13753 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13754 # Check whether --enable-busyinfo was given.
13755 if test "${enable_busyinfo+set}" = set; then
13756 enableval=$enable_busyinfo;
13757 if test "$enableval" = yes; then
13758 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
13760 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
13765 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13770 eval "$wx_cv_use_busyinfo"
13772 if test x"$enablestring" = xdisable; then
13773 if test $wxUSE_BUSYINFO = no; then
13779 result=$wxUSE_BUSYINFO
13782 { echo "$as_me:$LINENO: result
: $result" >&5
13783 echo "${ECHO_T}$result" >&6; }
13787 defaultval=$wxUSE_ALL_FEATURES
13788 if test -z "$defaultval"; then
13789 if test x"$enablestring" = xdisable; then
13796 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13797 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13798 # Check whether --enable-joystick was given.
13799 if test "${enable_joystick+set}" = set; then
13800 enableval=$enable_joystick;
13801 if test "$enableval" = yes; then
13802 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13804 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13809 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13814 eval "$wx_cv_use_joystick"
13816 if test x
"$enablestring" = xdisable
; then
13817 if test $wxUSE_JOYSTICK = no
; then
13823 result
=$wxUSE_JOYSTICK
13826 { echo "$as_me:$LINENO: result: $result" >&5
13827 echo "${ECHO_T}$result" >&6; }
13831 defaultval
=$wxUSE_ALL_FEATURES
13832 if test -z "$defaultval"; then
13833 if test x
"$enablestring" = xdisable
; then
13840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13841 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13842 # Check whether --enable-metafile was given.
13843 if test "${enable_metafile+set}" = set; then
13844 enableval
=$enable_metafile;
13845 if test "$enableval" = yes; then
13846 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13848 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13853 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13858 eval "$wx_cv_use_metafile"
13860 if test x"$enablestring" = xdisable; then
13861 if test $wxUSE_METAFILE = no; then
13867 result=$wxUSE_METAFILE
13870 { echo "$as_me:$LINENO: result: $result" >&5
13871 echo "${ECHO_T}$result" >&6; }
13875 defaultval=$wxUSE_ALL_FEATURES
13876 if test -z "$defaultval"; then
13877 if test x"$enablestring" = xdisable; then
13884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13885 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13886 # Check whether --enable-dragimage was given.
13887 if test "${enable_dragimage+set}" = set; then
13888 enableval=$enable_dragimage;
13889 if test "$enableval" = yes; then
13890 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13892 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13897 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13902 eval "$wx_cv_use_dragimage"
13904 if test x"$enablestring" = xdisable; then
13905 if test $wxUSE_DRAGIMAGE = no; then
13911 result=$wxUSE_DRAGIMAGE
13914 { echo "$as_me:$LINENO: result
: $result" >&5
13915 echo "${ECHO_T}$result" >&6; }
13919 defaultval=$wxUSE_ALL_FEATURES
13920 if test -z "$defaultval"; then
13921 if test x"$enablestring" = xdisable; then
13928 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13929 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
13930 # Check whether --enable-accessibility was given.
13931 if test "${enable_accessibility+set}" = set; then
13932 enableval=$enable_accessibility;
13933 if test "$enableval" = yes; then
13934 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13936 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13941 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13946 eval "$wx_cv_use_accessibility"
13948 if test x
"$enablestring" = xdisable
; then
13949 if test $wxUSE_ACCESSIBILITY = no
; then
13955 result
=$wxUSE_ACCESSIBILITY
13958 { echo "$as_me:$LINENO: result: $result" >&5
13959 echo "${ECHO_T}$result" >&6; }
13963 defaultval
=$wxUSE_ALL_FEATURES
13964 if test -z "$defaultval"; then
13965 if test x
"$enablestring" = xdisable
; then
13972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13973 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13974 # Check whether --enable-uiactionsim was given.
13975 if test "${enable_uiactionsim+set}" = set; then
13976 enableval
=$enable_uiactionsim;
13977 if test "$enableval" = yes; then
13978 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=yes'
13980 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=no'
13985 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13990 eval "$wx_cv_use_uiactionsim"
13992 if test x"$enablestring" = xdisable; then
13993 if test $wxUSE_UIACTIONSIMULATOR = no; then
13999 result=$wxUSE_UIACTIONSIMULATOR
14002 { echo "$as_me:$LINENO: result: $result" >&5
14003 echo "${ECHO_T}$result" >&6; }
14007 defaultval=$wxUSE_ALL_FEATURES
14008 if test -z "$defaultval"; then
14009 if test x"$enablestring" = xdisable; then
14016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14017 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14018 # Check whether --enable-dctransform was given.
14019 if test "${enable_dctransform+set}" = set; then
14020 enableval=$enable_dctransform;
14021 if test "$enableval" = yes; then
14022 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=yes'
14024 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=no
'
14029 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14034 eval "$wx_cv_use_dctransform"
14036 if test x"$enablestring" = xdisable; then
14037 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14043 result=$wxUSE_DC_TRANSFORM_MATRIX
14046 { echo "$as_me:$LINENO: result
: $result" >&5
14047 echo "${ECHO_T}$result" >&6; }
14053 defaultval=$wxUSE_ALL_FEATURES
14054 if test -z "$defaultval"; then
14055 if test x"$enablestring" = xdisable; then
14062 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
14063 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
14064 # Check whether --enable-palette was given.
14065 if test "${enable_palette+set}" = set; then
14066 enableval=$enable_palette;
14067 if test "$enableval" = yes; then
14068 wx_cv_use_palette='wxUSE_PALETTE=yes'
14070 wx_cv_use_palette='wxUSE_PALETTE=no'
14075 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14080 eval "$wx_cv_use_palette"
14082 if test x
"$enablestring" = xdisable
; then
14083 if test $wxUSE_PALETTE = no
; then
14089 result
=$wxUSE_PALETTE
14092 { echo "$as_me:$LINENO: result: $result" >&5
14093 echo "${ECHO_T}$result" >&6; }
14097 defaultval
=$wxUSE_ALL_FEATURES
14098 if test -z "$defaultval"; then
14099 if test x
"$enablestring" = xdisable
; then
14106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14107 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14108 # Check whether --enable-image was given.
14109 if test "${enable_image+set}" = set; then
14110 enableval
=$enable_image;
14111 if test "$enableval" = yes; then
14112 wx_cv_use_image
='wxUSE_IMAGE=yes'
14114 wx_cv_use_image
='wxUSE_IMAGE=no'
14119 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14124 eval "$wx_cv_use_image"
14126 if test x"$enablestring" = xdisable; then
14127 if test $wxUSE_IMAGE = no; then
14133 result=$wxUSE_IMAGE
14136 { echo "$as_me:$LINENO: result: $result" >&5
14137 echo "${ECHO_T}$result" >&6; }
14141 defaultval=$wxUSE_ALL_FEATURES
14142 if test -z "$defaultval"; then
14143 if test x"$enablestring" = xdisable; then
14150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14151 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14152 # Check whether --enable-gif was given.
14153 if test "${enable_gif+set}" = set; then
14154 enableval=$enable_gif;
14155 if test "$enableval" = yes; then
14156 wx_cv_use_gif='wxUSE_GIF
=yes'
14158 wx_cv_use_gif='wxUSE_GIF
=no
'
14163 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14168 eval "$wx_cv_use_gif"
14170 if test x"$enablestring" = xdisable; then
14171 if test $wxUSE_GIF = no; then
14180 { echo "$as_me:$LINENO: result
: $result" >&5
14181 echo "${ECHO_T}$result" >&6; }
14185 defaultval=$wxUSE_ALL_FEATURES
14186 if test -z "$defaultval"; then
14187 if test x"$enablestring" = xdisable; then
14194 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
14195 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
14196 # Check whether --enable-pcx was given.
14197 if test "${enable_pcx+set}" = set; then
14198 enableval=$enable_pcx;
14199 if test "$enableval" = yes; then
14200 wx_cv_use_pcx='wxUSE_PCX=yes'
14202 wx_cv_use_pcx='wxUSE_PCX=no'
14207 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14212 eval "$wx_cv_use_pcx"
14214 if test x
"$enablestring" = xdisable
; then
14215 if test $wxUSE_PCX = no
; then
14224 { echo "$as_me:$LINENO: result: $result" >&5
14225 echo "${ECHO_T}$result" >&6; }
14229 defaultval
=$wxUSE_ALL_FEATURES
14230 if test -z "$defaultval"; then
14231 if test x
"$enablestring" = xdisable
; then
14238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14239 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14240 # Check whether --enable-tga was given.
14241 if test "${enable_tga+set}" = set; then
14242 enableval
=$enable_tga;
14243 if test "$enableval" = yes; then
14244 wx_cv_use_tga
='wxUSE_TGA=yes'
14246 wx_cv_use_tga
='wxUSE_TGA=no'
14251 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14256 eval "$wx_cv_use_tga"
14258 if test x"$enablestring" = xdisable; then
14259 if test $wxUSE_TGA = no; then
14268 { echo "$as_me:$LINENO: result: $result" >&5
14269 echo "${ECHO_T}$result" >&6; }
14273 defaultval=$wxUSE_ALL_FEATURES
14274 if test -z "$defaultval"; then
14275 if test x"$enablestring" = xdisable; then
14282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14283 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14284 # Check whether --enable-iff was given.
14285 if test "${enable_iff+set}" = set; then
14286 enableval=$enable_iff;
14287 if test "$enableval" = yes; then
14288 wx_cv_use_iff='wxUSE_IFF
=yes'
14290 wx_cv_use_iff='wxUSE_IFF
=no
'
14295 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14300 eval "$wx_cv_use_iff"
14302 if test x"$enablestring" = xdisable; then
14303 if test $wxUSE_IFF = no; then
14312 { echo "$as_me:$LINENO: result
: $result" >&5
14313 echo "${ECHO_T}$result" >&6; }
14317 defaultval=$wxUSE_ALL_FEATURES
14318 if test -z "$defaultval"; then
14319 if test x"$enablestring" = xdisable; then
14326 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
14327 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
14328 # Check whether --enable-pnm was given.
14329 if test "${enable_pnm+set}" = set; then
14330 enableval=$enable_pnm;
14331 if test "$enableval" = yes; then
14332 wx_cv_use_pnm='wxUSE_PNM=yes'
14334 wx_cv_use_pnm='wxUSE_PNM=no'
14339 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14344 eval "$wx_cv_use_pnm"
14346 if test x
"$enablestring" = xdisable
; then
14347 if test $wxUSE_PNM = no
; then
14356 { echo "$as_me:$LINENO: result: $result" >&5
14357 echo "${ECHO_T}$result" >&6; }
14361 defaultval
=$wxUSE_ALL_FEATURES
14362 if test -z "$defaultval"; then
14363 if test x
"$enablestring" = xdisable
; then
14370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14371 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14372 # Check whether --enable-xpm was given.
14373 if test "${enable_xpm+set}" = set; then
14374 enableval
=$enable_xpm;
14375 if test "$enableval" = yes; then
14376 wx_cv_use_xpm
='wxUSE_XPM=yes'
14378 wx_cv_use_xpm
='wxUSE_XPM=no'
14383 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14388 eval "$wx_cv_use_xpm"
14390 if test x"$enablestring" = xdisable; then
14391 if test $wxUSE_XPM = no; then
14400 { echo "$as_me:$LINENO: result: $result" >&5
14401 echo "${ECHO_T}$result" >&6; }
14405 defaultval=$wxUSE_ALL_FEATURES
14406 if test -z "$defaultval"; then
14407 if test x"$enablestring" = xdisable; then
14414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14415 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14416 # Check whether --enable-ico_cur was given.
14417 if test "${enable_ico_cur+set}" = set; then
14418 enableval=$enable_ico_cur;
14419 if test "$enableval" = yes; then
14420 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
14422 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
14427 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14432 eval "$wx_cv_use_ico_cur"
14434 if test x"$enablestring" = xdisable; then
14435 if test $wxUSE_ICO_CUR = no; then
14441 result=$wxUSE_ICO_CUR
14444 { echo "$as_me:$LINENO: result
: $result" >&5
14445 echo "${ECHO_T}$result" >&6; }
14451 defaultval=$wxUSE_ALL_FEATURES
14452 if test -z "$defaultval"; then
14453 if test x"$enablestring" = xdisable; then
14460 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
14461 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
14462 # Check whether --enable-dccache was given.
14463 if test "${enable_dccache+set}" = set; then
14464 enableval=$enable_dccache;
14465 if test "$enableval" = yes; then
14466 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14468 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14473 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14478 eval "$wx_cv_use_dccache"
14480 if test x
"$enablestring" = xdisable
; then
14481 if test $wxUSE_DC_CACHEING = no
; then
14487 result
=$wxUSE_DC_CACHEING
14490 { echo "$as_me:$LINENO: result: $result" >&5
14491 echo "${ECHO_T}$result" >&6; }
14495 defaultval
=$wxUSE_ALL_FEATURES
14496 if test -z "$defaultval"; then
14497 if test x
"$enablestring" = xdisable
; then
14504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14505 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14506 # Check whether --enable-ps-in-msw was given.
14507 if test "${enable_ps_in_msw+set}" = set; then
14508 enableval
=$enable_ps_in_msw;
14509 if test "$enableval" = yes; then
14510 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14512 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14517 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14522 eval "$wx_cv_use_ps_in_msw"
14524 if test x"$enablestring" = xdisable; then
14525 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14531 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14534 { echo "$as_me:$LINENO: result: $result" >&5
14535 echo "${ECHO_T}$result" >&6; }
14539 defaultval=$wxUSE_ALL_FEATURES
14540 if test -z "$defaultval"; then
14541 if test x"$enablestring" = xdisable; then
14548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14549 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14550 # Check whether --enable-ownerdrawn was given.
14551 if test "${enable_ownerdrawn+set}" = set; then
14552 enableval=$enable_ownerdrawn;
14553 if test "$enableval" = yes; then
14554 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
14556 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
14561 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14566 eval "$wx_cv_use_ownerdrawn"
14568 if test x"$enablestring" = xdisable; then
14569 if test $wxUSE_OWNER_DRAWN = no; then
14575 result=$wxUSE_OWNER_DRAWN
14578 { echo "$as_me:$LINENO: result
: $result" >&5
14579 echo "${ECHO_T}$result" >&6; }
14583 defaultval=$wxUSE_ALL_FEATURES
14584 if test -z "$defaultval"; then
14585 if test x"$enablestring" = xdisable; then
14592 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
14593 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
14594 # Check whether --enable-uxtheme was given.
14595 if test "${enable_uxtheme+set}" = set; then
14596 enableval=$enable_uxtheme;
14597 if test "$enableval" = yes; then
14598 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14600 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14605 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14610 eval "$wx_cv_use_uxtheme"
14612 if test x
"$enablestring" = xdisable
; then
14613 if test $wxUSE_UXTHEME = no
; then
14619 result
=$wxUSE_UXTHEME
14622 { echo "$as_me:$LINENO: result: $result" >&5
14623 echo "${ECHO_T}$result" >&6; }
14627 defaultval
=$wxUSE_ALL_FEATURES
14628 if test -z "$defaultval"; then
14629 if test x
"$enablestring" = xdisable
; then
14636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14637 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14638 # Check whether --enable-wxdib was given.
14639 if test "${enable_wxdib+set}" = set; then
14640 enableval
=$enable_wxdib;
14641 if test "$enableval" = yes; then
14642 wx_cv_use_wxdib
='wxUSE_DIB=yes'
14644 wx_cv_use_wxdib
='wxUSE_DIB=no'
14649 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14654 eval "$wx_cv_use_wxdib"
14656 if test x"$enablestring" = xdisable; then
14657 if test $wxUSE_DIB = no; then
14666 { echo "$as_me:$LINENO: result: $result" >&5
14667 echo "${ECHO_T}$result" >&6; }
14670 if test "$wxUSE_MSW" != 1; then
14671 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14676 defaultval=$wxUSE_ALL_FEATURES
14677 if test -z "$defaultval"; then
14678 if test x"$enablestring" = xdisable; then
14685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14686 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14687 # Check whether --enable-autoidman was given.
14688 if test "${enable_autoidman+set}" = set; then
14689 enableval=$enable_autoidman;
14690 if test "$enableval" = yes; then
14691 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
14693 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
14698 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14703 eval "$wx_cv_use_autoidman"
14705 if test x"$enablestring" = xdisable; then
14706 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14712 result=$wxUSE_AUTOID_MANAGEMENT
14715 { echo "$as_me:$LINENO: result
: $result" >&5
14716 echo "${ECHO_T}$result" >&6; }
14722 cat >confcache <<\_ACEOF
14723 # This file is a shell script that caches the results of configure
14724 # tests run on this system so they can be shared between configure
14725 # scripts and configure runs, see configure's option --config-cache.
14726 # It is not useful on other systems. If it contains results you don't
14727 # want to keep, you may remove or edit it.
14729 # config.status only pays attention to the cache file if you give it
14730 # the --recheck option to rerun configure.
14732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14734 # following values.
14738 # The following way of writing the cache mishandles newlines in values,
14739 # but we know of no workaround that is simple, portable, and efficient.
14740 # So, we kill variables containing newlines.
14741 # Ultrix sh set writes to stderr and can't be redirected directly,
14742 # and sets the high bit in the cache file unless we assign to the vars.
14744 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14745 eval ac_val=\$$ac_var
14749 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
14750 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
14753 _ | IFS | as_nl) ;; #(
14754 *) $as_unset $ac_var ;;
14760 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14761 *${as_nl}ac_space=\ *)
14762 # `set' does not quote correctly, so add quotes (double-quote
14763 # substitution turns \\\\ into \\, and sed turns \\ into \).
14766 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14769 # `set' quotes correctly as required by POSIX, so do not add quotes.
14770 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14779 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14781 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14783 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14784 if test -w "$cache_file"; then
14785 test "x
$cache_file" != "x
/dev
/null
" &&
14786 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
14787 echo "$as_me: updating cache
$cache_file" >&6;}
14788 cat confcache >$cache_file
14790 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
14791 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14798 ac_cpp='$CPP $CPPFLAGS'
14799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14802 if test -n "$ac_tool_prefix"; then
14803 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
14804 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14805 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14806 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14807 if test "${ac_cv_prog_CC+set}" = set; then
14808 echo $ECHO_N "(cached
) $ECHO_C" >&6
14810 if test -n "$CC"; then
14811 ac_cv_prog_CC="$CC" # Let the user override the test.
14813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14814 for as_dir in $PATH
14817 test -z "$as_dir" && as_dir=.
14818 for ac_exec_ext in '' $ac_executable_extensions; do
14819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14820 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
14821 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14831 if test -n "$CC"; then
14832 { echo "$as_me:$LINENO: result
: $CC" >&5
14833 echo "${ECHO_T}$CC" >&6; }
14835 { echo "$as_me:$LINENO: result
: no
" >&5
14836 echo "${ECHO_T}no
" >&6; }
14841 if test -z "$ac_cv_prog_CC"; then
14843 # Extract the first word of "gcc
", so it can be a program name with args.
14844 set dummy gcc; ac_word=$2
14845 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14846 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14848 echo $ECHO_N "(cached
) $ECHO_C" >&6
14850 if test -n "$ac_ct_CC"; then
14851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14854 for as_dir in $PATH
14857 test -z "$as_dir" && as_dir=.
14858 for ac_exec_ext in '' $ac_executable_extensions; do
14859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14860 ac_cv_prog_ac_ct_CC="gcc
"
14861 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14871 if test -n "$ac_ct_CC"; then
14872 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14873 echo "${ECHO_T}$ac_ct_CC" >&6; }
14875 { echo "$as_me:$LINENO: result
: no
" >&5
14876 echo "${ECHO_T}no
" >&6; }
14879 if test "x
$ac_ct_CC" = x; then
14882 case $cross_compiling:$ac_tool_warned in
14884 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14885 whose name does not start with the
host triplet. If you think this
14886 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14887 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14888 whose name does not start with the
host triplet. If you think this
14889 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14890 ac_tool_warned=yes ;;
14895 CC="$ac_cv_prog_CC"
14898 if test -z "$CC"; then
14899 if test -n "$ac_tool_prefix"; then
14900 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
14901 set dummy ${ac_tool_prefix}cc; ac_word=$2
14902 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14903 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14904 if test "${ac_cv_prog_CC+set}" = set; then
14905 echo $ECHO_N "(cached
) $ECHO_C" >&6
14907 if test -n "$CC"; then
14908 ac_cv_prog_CC="$CC" # Let the user override the test.
14910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14911 for as_dir in $PATH
14914 test -z "$as_dir" && as_dir=.
14915 for ac_exec_ext in '' $ac_executable_extensions; do
14916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14917 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14918 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14928 if test -n "$CC"; then
14929 { echo "$as_me:$LINENO: result
: $CC" >&5
14930 echo "${ECHO_T}$CC" >&6; }
14932 { echo "$as_me:$LINENO: result
: no
" >&5
14933 echo "${ECHO_T}no
" >&6; }
14939 if test -z "$CC"; then
14940 # Extract the first word of "cc
", so it can be a program name with args.
14941 set dummy cc; ac_word=$2
14942 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14943 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14944 if test "${ac_cv_prog_CC+set}" = set; then
14945 echo $ECHO_N "(cached
) $ECHO_C" >&6
14947 if test -n "$CC"; then
14948 ac_cv_prog_CC="$CC" # Let the user override the test.
14950 ac_prog_rejected=no
14951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14952 for as_dir in $PATH
14955 test -z "$as_dir" && as_dir=.
14956 for ac_exec_ext in '' $ac_executable_extensions; do
14957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14959 ac_prog_rejected=yes
14963 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14970 if test $ac_prog_rejected = yes; then
14971 # We found a bogon in the path, so make sure we never use it.
14972 set dummy $ac_cv_prog_CC
14974 if test $# != 0; then
14975 # We chose a different compiler from the bogus one.
14976 # However, it has the same basename, so the bogon will be chosen
14977 # first if we set CC to just the basename; use the full file name.
14979 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
14985 if test -n "$CC"; then
14986 { echo "$as_me:$LINENO: result
: $CC" >&5
14987 echo "${ECHO_T}$CC" >&6; }
14989 { echo "$as_me:$LINENO: result
: no
" >&5
14990 echo "${ECHO_T}no
" >&6; }
14995 if test -z "$CC"; then
14996 if test -n "$ac_tool_prefix"; then
14997 for ac_prog in cl.exe
14999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15001 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15002 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15003 if test "${ac_cv_prog_CC+set}" = set; then
15004 echo $ECHO_N "(cached
) $ECHO_C" >&6
15006 if test -n "$CC"; then
15007 ac_cv_prog_CC="$CC" # Let the user override the test.
15009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15010 for as_dir in $PATH
15013 test -z "$as_dir" && as_dir=.
15014 for ac_exec_ext in '' $ac_executable_extensions; do
15015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15016 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15017 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15027 if test -n "$CC"; then
15028 { echo "$as_me:$LINENO: result
: $CC" >&5
15029 echo "${ECHO_T}$CC" >&6; }
15031 { echo "$as_me:$LINENO: result
: no
" >&5
15032 echo "${ECHO_T}no
" >&6; }
15036 test -n "$CC" && break
15039 if test -z "$CC"; then
15041 for ac_prog in cl.exe
15043 # Extract the first word of "$ac_prog", so it can be a program name with args.
15044 set dummy $ac_prog; ac_word=$2
15045 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15046 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15048 echo $ECHO_N "(cached
) $ECHO_C" >&6
15050 if test -n "$ac_ct_CC"; then
15051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15054 for as_dir in $PATH
15057 test -z "$as_dir" && as_dir=.
15058 for ac_exec_ext in '' $ac_executable_extensions; do
15059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15060 ac_cv_prog_ac_ct_CC="$ac_prog"
15061 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15071 if test -n "$ac_ct_CC"; then
15072 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
15073 echo "${ECHO_T}$ac_ct_CC" >&6; }
15075 { echo "$as_me:$LINENO: result
: no
" >&5
15076 echo "${ECHO_T}no
" >&6; }
15080 test -n "$ac_ct_CC" && break
15083 if test "x
$ac_ct_CC" = x; then
15086 case $cross_compiling:$ac_tool_warned in
15088 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
15089 whose name does not start with the
host triplet. If you think this
15090 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
15091 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
15092 whose name does not start with the
host triplet. If you think this
15093 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
15094 ac_tool_warned=yes ;;
15103 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
15104 See \
`config.log' for more details." >&5
15105 echo "$as_me: error: no acceptable C compiler found in \$PATH
15106 See \`config.log
' for more details." >&2;}
15107 { (exit 1); exit 1; }; }
15109 # Provide some information about the compiler.
15110 echo "$as_me:$LINENO: checking for C compiler version" >&5
15111 ac_compiler=`set X $ac_compile; echo $2`
15112 { (ac_try="$ac_compiler --version >&5"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15115 *) ac_try_echo=$ac_try;;
15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compiler --version >&5") 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }
15122 { (ac_try="$ac_compiler -v >&5"
15123 case "(($ac_try" in
15124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15125 *) ac_try_echo=$ac_try;;
15127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15128 (eval "$ac_compiler -v >&5") 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }
15132 { (ac_try="$ac_compiler -V >&5"
15133 case "(($ac_try" in
15134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15135 *) ac_try_echo=$ac_try;;
15137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15138 (eval "$ac_compiler -V >&5") 2>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); }
15143 cat >conftest.$ac_ext <<_ACEOF
15146 cat confdefs.h >>conftest.$ac_ext
15147 cat >>conftest.$ac_ext <<_ACEOF
15148 /* end confdefs.h. */
15158 ac_clean_files_save=$ac_clean_files
15159 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15160 # Try to create an executable without -o first, disregard a.out.
15161 # It will help us diagnose broken compilers, and finding out an intuition
15163 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15164 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15165 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
15167 # List of possible output files, starting from the most likely.
15168 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
15169 # only as a last resort. b.out is created by i960 compilers.
15170 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15172 # The IRIX 6 linker writes into existing files which may not be
15173 # executable, retaining their permissions. Remove them first so a
15174 # subsequent execution test works.
15176 for ac_file
in $ac_files
15179 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15180 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
15185 if { (ac_try
="$ac_link_default"
15186 case "(($ac_try" in
15187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15188 *) ac_try_echo=$ac_try;;
15190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15191 (eval "$ac_link_default") 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; then
15195 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
15196 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
15197 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15198 # so that the user can short-circuit this test for compilers unknown to
15200 for ac_file in $ac_files ''
15202 test -f "$ac_file" || continue
15204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15207 # We found the default executable, but exeext='' is most
15211 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15213 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15215 # We set ac_cv_exeext here because the later test for it is not
15216 # safe: cross compilers may not add the suffix if given an `-o'
15217 # argument, so we may need to know it at that point already.
15218 # Even if this section looks crufty: it has the advantage of
15219 # actually working.
15225 test "$ac_cv_exeext" = no && ac_cv_exeext=
15231 { echo "$as_me:$LINENO: result: $ac_file" >&5
15232 echo "${ECHO_T}$ac_file" >&6; }
15233 if test -z "$ac_file"; then
15234 echo "$as_me: failed program was:" >&5
15235 sed 's
/^
/| /' conftest.$ac_ext >&5
15237 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15238 See \`config.log' for more details.
" >&5
15239 echo "$as_me: error
: C compiler cannot create executables
15240 See \
`config.log' for more details." >&2;}
15241 { (exit 77); exit 77; }; }
15244 ac_exeext=$ac_cv_exeext
15246 # Check that the compiler produces executables we can run. If not, either
15247 # the compiler is broken, or we cross compile.
15248 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15249 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15250 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15251 # If not cross compiling, check that we can run a simple program.
15252 if test "$cross_compiling" != yes; then
15253 if { ac_try='./$ac_file'
15254 { (case "(($ac_try" in
15255 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15256 *) ac_try_echo
=$ac_try;;
15258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15259 (eval "$ac_try") 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15265 if test "$cross_compiling" = maybe
; then
15266 cross_compiling
=yes
15268 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15269 If you meant to cross compile, use \`--host'.
15270 See \`config.log' for more details." >&5
15271 echo "$as_me: error: cannot run C compiled programs.
15272 If you meant to cross compile, use \`--host'.
15273 See \`config.log' for more details." >&2;}
15274 { (exit 1); exit 1; }; }
15278 { echo "$as_me:$LINENO: result: yes" >&5
15279 echo "${ECHO_T}yes" >&6; }
15281 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
15282 ac_clean_files
=$ac_clean_files_save
15283 # Check that the compiler produces executables we can run. If not, either
15284 # the compiler is broken, or we cross compile.
15285 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15286 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15287 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15288 echo "${ECHO_T}$cross_compiling" >&6; }
15290 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15291 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15292 if { (ac_try
="$ac_link"
15293 case "(($ac_try" in
15294 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15295 *) ac_try_echo=$ac_try;;
15297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15298 (eval "$ac_link") 2>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; then
15302 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
15303 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
15304 # work properly (i.e., refer to `conftest.exe'), while it won't with
15306 for ac_file
in conftest.exe conftest conftest.
*; do
15307 test -f "$ac_file" || continue
15309 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15310 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15316 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15317 See \`config.log' for more details." >&5
15318 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15319 See \`config.log' for more details." >&2;}
15320 { (exit 1); exit 1; }; }
15323 rm -f conftest
$ac_cv_exeext
15324 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15325 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15327 rm -f conftest.
$ac_ext
15328 EXEEXT
=$ac_cv_exeext
15330 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15331 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15332 if test "${ac_cv_objext+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 cat >conftest.
$ac_ext <<_ACEOF
15338 cat confdefs.h
>>conftest.
$ac_ext
15339 cat >>conftest.
$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15350 rm -f conftest.o conftest.obj
15351 if { (ac_try
="$ac_compile"
15352 case "(($ac_try" in
15353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15354 *) ac_try_echo=$ac_try;;
15356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15357 (eval "$ac_compile") 2>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; then
15361 for ac_file in conftest.o conftest.obj conftest.*; do
15362 test -f "$ac_file" || continue;
15364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15365 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15373 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15374 See \`config.log
' for more details." >&5
15375 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15376 See \`config.log' for more details.
" >&2;}
15377 { (exit 1); exit 1; }; }
15380 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15382 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15383 echo "${ECHO_T}$ac_cv_objext" >&6; }
15384 OBJEXT=$ac_cv_objext
15386 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15387 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15388 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15389 echo $ECHO_N "(cached
) $ECHO_C" >&6
15391 cat >conftest.$ac_ext <<_ACEOF
15394 cat confdefs.h >>conftest.$ac_ext
15395 cat >>conftest.$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15409 rm -f conftest.$ac_objext
15410 if { (ac_try="$ac_compile"
15411 case "(($ac_try" in
15412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15413 *) ac_try_echo=$ac_try;;
15415 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15416 (eval "$ac_compile") 2>conftest.er1
15418 grep -v '^ *+' conftest.er1 >conftest.err
15420 cat conftest.err >&5
15421 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15422 (exit $ac_status); } && {
15423 test -z "$ac_c_werror_flag" ||
15424 test ! -s conftest.err
15425 } && test -s conftest.$ac_objext; then
15426 ac_compiler_gnu=yes
15428 echo "$as_me: failed program was
:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15435 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15438 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15439 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15440 GCC=`test $ac_compiler_gnu = yes && echo yes`
15441 ac_test_CFLAGS=${CFLAGS+set}
15442 ac_save_CFLAGS=$CFLAGS
15443 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15444 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15445 if test "${ac_cv_prog_cc_g+set}" = set; then
15446 echo $ECHO_N "(cached
) $ECHO_C" >&6
15448 ac_save_c_werror_flag=$ac_c_werror_flag
15449 ac_c_werror_flag=yes
15452 cat >conftest.$ac_ext <<_ACEOF
15455 cat confdefs.h >>conftest.$ac_ext
15456 cat >>conftest.$ac_ext <<_ACEOF
15457 /* end confdefs.h. */
15467 rm -f conftest.$ac_objext
15468 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15476 grep -v '^ *+' conftest.er1 >conftest.err
15478 cat conftest.err >&5
15479 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15480 (exit $ac_status); } && {
15481 test -z "$ac_c_werror_flag" ||
15482 test ! -s conftest.err
15483 } && test -s conftest.$ac_objext; then
15484 ac_cv_prog_cc_g=yes
15486 echo "$as_me: failed program was
:" >&5
15487 sed 's/^/| /' conftest.$ac_ext >&5
15490 cat >conftest.$ac_ext <<_ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15505 rm -f conftest.$ac_objext
15506 if { (ac_try="$ac_compile"
15507 case "(($ac_try" in
15508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15509 *) ac_try_echo=$ac_try;;
15511 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15512 (eval "$ac_compile") 2>conftest.er1
15514 grep -v '^ *+' conftest.er1 >conftest.err
15516 cat conftest.err >&5
15517 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15518 (exit $ac_status); } && {
15519 test -z "$ac_c_werror_flag" ||
15520 test ! -s conftest.err
15521 } && test -s conftest.$ac_objext; then
15524 echo "$as_me: failed program was
:" >&5
15525 sed 's/^/| /' conftest.$ac_ext >&5
15527 ac_c_werror_flag=$ac_save_c_werror_flag
15529 cat >conftest.$ac_ext <<_ACEOF
15532 cat confdefs.h >>conftest.$ac_ext
15533 cat >>conftest.$ac_ext <<_ACEOF
15534 /* end confdefs.h. */
15544 rm -f conftest.$ac_objext
15545 if { (ac_try="$ac_compile"
15546 case "(($ac_try" in
15547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15548 *) ac_try_echo=$ac_try;;
15550 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15551 (eval "$ac_compile") 2>conftest.er1
15553 grep -v '^ *+' conftest.er1 >conftest.err
15555 cat conftest.err >&5
15556 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15557 (exit $ac_status); } && {
15558 test -z "$ac_c_werror_flag" ||
15559 test ! -s conftest.err
15560 } && test -s conftest.$ac_objext; then
15561 ac_cv_prog_cc_g=yes
15563 echo "$as_me: failed program was
:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15576 ac_c_werror_flag=$ac_save_c_werror_flag
15578 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15579 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15580 if test "$ac_test_CFLAGS" = set; then
15581 CFLAGS=$ac_save_CFLAGS
15582 elif test $ac_cv_prog_cc_g = yes; then
15583 if test "$GCC" = yes; then
15589 if test "$GCC" = yes; then
15595 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15596 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15597 if test "${ac_cv_prog_cc_c89+set}" = set; then
15598 echo $ECHO_N "(cached
) $ECHO_C" >&6
15600 ac_cv_prog_cc_c89=no
15602 cat >conftest.$ac_ext <<_ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 #include <stdarg.h>
15610 #include <sys/types.h>
15611 #include <sys/stat.h>
15612 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15613 struct buf { int x; };
15614 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15615 static char *e (p, i)
15621 static char *f (char * (*g) (char **, int), char **p, ...)
15626 s = g (p, va_arg (v,int));
15631 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15632 function prototypes and stuff, but not '\xHH' hex character constants.
15633 These don't provoke an error unfortunately, instead are silently treated
15634 as 'x'. The following induces an error, until -std is added to get
15635 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15636 array size at least. It's necessary to write '\x00'==0 to get something
15637 that's true only with -std. */
15638 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15640 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15641 inside strings and character constants. */
15643 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15645 int test (int i, double x);
15646 struct s1 {int (*f) (int a);};
15647 struct s2 {int (*f) (double a);};
15648 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15654 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15659 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15660 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15662 CC="$ac_save_CC $ac_arg"
15663 rm -f conftest.$ac_objext
15664 if { (ac_try="$ac_compile"
15665 case "(($ac_try" in
15666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15667 *) ac_try_echo=$ac_try;;
15669 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15670 (eval "$ac_compile") 2>conftest.er1
15672 grep -v '^ *+' conftest.er1 >conftest.err
15674 cat conftest.err >&5
15675 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15676 (exit $ac_status); } && {
15677 test -z "$ac_c_werror_flag" ||
15678 test ! -s conftest.err
15679 } && test -s conftest.$ac_objext; then
15680 ac_cv_prog_cc_c89=$ac_arg
15682 echo "$as_me: failed program was
:" >&5
15683 sed 's/^/| /' conftest.$ac_ext >&5
15688 rm -f core conftest.err conftest.$ac_objext
15689 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15691 rm -f conftest.$ac_ext
15696 case "x
$ac_cv_prog_cc_c89" in
15698 { echo "$as_me:$LINENO: result
: none needed
" >&5
15699 echo "${ECHO_T}none needed
" >&6; } ;;
15701 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15702 echo "${ECHO_T}unsupported
" >&6; } ;;
15704 CC="$CC $ac_cv_prog_cc_c89"
15705 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15706 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15711 ac_cpp='$CPP $CPPFLAGS'
15712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15724 ac_cpp='$CPP $CPPFLAGS'
15725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15729 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15730 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15731 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15732 echo $ECHO_N "(cached
) $ECHO_C" >&6
15734 cat >conftest.$ac_ext <<_ACEOF
15737 cat confdefs.h >>conftest.$ac_ext
15738 cat >>conftest.$ac_ext <<_ACEOF
15739 /* end confdefs.h. */
15745 #ifndef __INTEL_COMPILER
15753 rm -f conftest.$ac_objext
15754 if { (ac_try="$ac_compile"
15755 case "(($ac_try" in
15756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15757 *) ac_try_echo=$ac_try;;
15759 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15760 (eval "$ac_compile") 2>conftest.er1
15762 grep -v '^ *+' conftest.er1 >conftest.err
15764 cat conftest.err >&5
15765 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15766 (exit $ac_status); } && {
15767 test -z "$ac_c_werror_flag" ||
15768 test ! -s conftest.err
15769 } && test -s conftest.$ac_objext; then
15770 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15772 echo "$as_me: failed program was
:" >&5
15773 sed 's/^/| /' conftest.$ac_ext >&5
15775 bakefile_cv_c_compiler___INTEL_COMPILER=no
15779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15783 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15784 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15785 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15791 ac_cpp='$CPP $CPPFLAGS'
15792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15799 if test "$INTELCC" = "yes"; then
15803 ac_cpp='$CPP $CPPFLAGS'
15804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15808 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15809 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15810 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15811 echo $ECHO_N "(cached
) $ECHO_C" >&6
15813 cat >conftest.$ac_ext <<_ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15824 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15832 rm -f conftest.$ac_objext
15833 if { (ac_try="$ac_compile"
15834 case "(($ac_try" in
15835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15836 *) ac_try_echo=$ac_try;;
15838 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_compile") 2>conftest.er1
15841 grep -v '^ *+' conftest.er1 >conftest.err
15843 cat conftest.err >&5
15844 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15845 (exit $ac_status); } && {
15846 test -z "$ac_c_werror_flag" ||
15847 test ! -s conftest.err
15848 } && test -s conftest.$ac_objext; then
15849 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15851 echo "$as_me: failed program was
:" >&5
15852 sed 's/^/| /' conftest.$ac_ext >&5
15854 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15862 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15863 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15864 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15870 ac_cpp='$CPP $CPPFLAGS'
15871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15880 ac_cpp='$CPP $CPPFLAGS'
15881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15885 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15886 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15887 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15888 echo $ECHO_N "(cached
) $ECHO_C" >&6
15890 cat >conftest.$ac_ext <<_ACEOF
15893 cat confdefs.h >>conftest.$ac_ext
15894 cat >>conftest.$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15901 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15909 rm -f conftest.$ac_objext
15910 if { (ac_try="$ac_compile"
15911 case "(($ac_try" in
15912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15913 *) ac_try_echo=$ac_try;;
15915 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15916 (eval "$ac_compile") 2>conftest.er1
15918 grep -v '^ *+' conftest.er1 >conftest.err
15920 cat conftest.err >&5
15921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15922 (exit $ac_status); } && {
15923 test -z "$ac_c_werror_flag" ||
15924 test ! -s conftest.err
15925 } && test -s conftest.$ac_objext; then
15926 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15928 echo "$as_me: failed program was
:" >&5
15929 sed 's/^/| /' conftest.$ac_ext >&5
15931 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15939 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15940 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15941 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15947 ac_cpp='$CPP $CPPFLAGS'
15948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15956 if test "x
$GCC" != "xyes
"; then
15957 if test "xCC
" = "xC
"; then
15958 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15959 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15960 if test "${bakefile_cv_c_exto+set}" = set; then
15961 echo $ECHO_N "(cached
) $ECHO_C" >&6
15963 cat >conftest.$ac_ext <<_ACEOF
15966 cat confdefs.h >>conftest.$ac_ext
15967 cat >>conftest.$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15978 rm -f conftest.$ac_objext conftest.$ac_ext.o
15979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15980 (eval $ac_compile) 2>&5
15982 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15983 (exit $ac_status); }; then
15984 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15986 conftest.$ac_ext.o)
15987 bakefile_cv_c_exto="-ext o
"
15994 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15995 See \
`config.log' for more details." >&5
15996 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15997 See \`config.log
' for more details." >&2;}
15998 { (exit 1); exit 1; }; }
16002 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16005 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16006 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16007 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16008 if test "c" = "c"; then
16009 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16011 if test "c" = "cxx"; then
16012 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16016 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16017 unset ac_cv_prog_cc_g
16018 ac_test_CFLAGS=${CFLAGS+set}
16019 ac_save_CFLAGS=$CFLAGS
16020 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16021 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16022 if test "${ac_cv_prog_cc_g+set}" = set; then
16023 echo $ECHO_N "(cached) $ECHO_C" >&6
16025 ac_save_c_werror_flag=$ac_c_werror_flag
16026 ac_c_werror_flag=yes
16029 cat >conftest.$ac_ext <<_ACEOF
16032 cat confdefs.h >>conftest.$ac_ext
16033 cat >>conftest.$ac_ext <<_ACEOF
16034 /* end confdefs.h. */
16044 rm -f conftest.$ac_objext
16045 if { (ac_try="$ac_compile"
16046 case "(($ac_try" in
16047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16048 *) ac_try_echo=$ac_try;;
16050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16051 (eval "$ac_compile") 2>conftest.er1
16053 grep -v '^
*+' conftest.er1 >conftest.err
16055 cat conftest.err >&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); } && {
16058 test -z "$ac_c_werror_flag" ||
16059 test ! -s conftest.err
16060 } && test -s conftest.$ac_objext; then
16061 ac_cv_prog_cc_g=yes
16063 echo "$as_me: failed program was:" >&5
16064 sed 's
/^
/| /' conftest.$ac_ext >&5
16067 cat >conftest.$ac_ext <<_ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16082 rm -f conftest.$ac_objext
16083 if { (ac_try="$ac_compile"
16084 case "(($ac_try" in
16085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16086 *) ac_try_echo=$ac_try;;
16088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16089 (eval "$ac_compile") 2>conftest.er1
16091 grep -v '^
*+' conftest.er1 >conftest.err
16093 cat conftest.err >&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } && {
16096 test -z "$ac_c_werror_flag" ||
16097 test ! -s conftest.err
16098 } && test -s conftest.$ac_objext; then
16101 echo "$as_me: failed program was:" >&5
16102 sed 's
/^
/| /' conftest.$ac_ext >&5
16104 ac_c_werror_flag=$ac_save_c_werror_flag
16106 cat >conftest.$ac_ext <<_ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16121 rm -f conftest.$ac_objext
16122 if { (ac_try="$ac_compile"
16123 case "(($ac_try" in
16124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16125 *) ac_try_echo=$ac_try;;
16127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16128 (eval "$ac_compile") 2>conftest.er1
16130 grep -v '^
*+' conftest.er1 >conftest.err
16132 cat conftest.err >&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); } && {
16135 test -z "$ac_c_werror_flag" ||
16136 test ! -s conftest.err
16137 } && test -s conftest.$ac_objext; then
16138 ac_cv_prog_cc_g=yes
16140 echo "$as_me: failed program was:" >&5
16141 sed 's
/^
/| /' conftest.$ac_ext >&5
16146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16153 ac_c_werror_flag=$ac_save_c_werror_flag
16155 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16156 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16157 if test "$ac_test_CFLAGS" = set; then
16158 CFLAGS=$ac_save_CFLAGS
16159 elif test $ac_cv_prog_cc_g = yes; then
16160 if test "$GCC" = yes; then
16166 if test "$GCC" = yes; then
16180 ac_cpp='$CPP $CPPFLAGS'
16181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16182 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16185 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16186 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16187 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 cat >conftest.$ac_ext <<_ACEOF
16193 cat confdefs.h >>conftest.$ac_ext
16194 cat >>conftest.$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16209 rm -f conftest.$ac_objext
16210 if { (ac_try="$ac_compile"
16211 case "(($ac_try" in
16212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16213 *) ac_try_echo=$ac_try;;
16215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16216 (eval "$ac_compile") 2>conftest.er1
16218 grep -v '^
*+' conftest.er1 >conftest.err
16220 cat conftest.err >&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } && {
16223 test -z "$ac_c_werror_flag" ||
16224 test ! -s conftest.err
16225 } && test -s conftest.$ac_objext; then
16226 bakefile_cv_c_compiler___xlC__=yes
16228 echo "$as_me: failed program was:" >&5
16229 sed 's
/^
/| /' conftest.$ac_ext >&5
16231 bakefile_cv_c_compiler___xlC__=no
16235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16239 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16240 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16241 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16247 ac_cpp='$CPP $CPPFLAGS'
16248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16249 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16260 ac_cpp='$CPP $CPPFLAGS'
16261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16262 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16265 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16266 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16267 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16268 echo $ECHO_N "(cached) $ECHO_C" >&6
16270 cat >conftest.$ac_ext <<_ACEOF
16273 cat confdefs.h >>conftest.$ac_ext
16274 cat >>conftest.$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16289 rm -f conftest.$ac_objext
16290 if { (ac_try="$ac_compile"
16291 case "(($ac_try" in
16292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16293 *) ac_try_echo=$ac_try;;
16295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16296 (eval "$ac_compile") 2>conftest.er1
16298 grep -v '^
*+' conftest.er1 >conftest.err
16300 cat conftest.err >&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); } && {
16303 test -z "$ac_c_werror_flag" ||
16304 test ! -s conftest.err
16305 } && test -s conftest.$ac_objext; then
16306 bakefile_cv_c_compiler___MWERKS__=yes
16308 echo "$as_me: failed program was:" >&5
16309 sed 's
/^
/| /' conftest.$ac_ext >&5
16311 bakefile_cv_c_compiler___MWERKS__=no
16315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16319 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16320 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16321 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16327 ac_cpp='$CPP $CPPFLAGS'
16328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16329 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16334 if test "$MWCC" != "yes"; then
16338 ac_cpp='$CPP $CPPFLAGS'
16339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16340 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16343 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16344 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16345 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16348 cat >conftest.$ac_ext <<_ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16367 rm -f conftest.$ac_objext
16368 if { (ac_try="$ac_compile"
16369 case "(($ac_try" in
16370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16371 *) ac_try_echo=$ac_try;;
16373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16374 (eval "$ac_compile") 2>conftest.er1
16376 grep -v '^
*+' conftest.er1 >conftest.err
16378 cat conftest.err >&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); } && {
16381 test -z "$ac_c_werror_flag" ||
16382 test ! -s conftest.err
16383 } && test -s conftest.$ac_objext; then
16384 bakefile_cv_c_compiler___xlC__=yes
16386 echo "$as_me: failed program was:" >&5
16387 sed 's
/^
/| /' conftest.$ac_ext >&5
16389 bakefile_cv_c_compiler___xlC__=no
16393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16397 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16398 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16399 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16405 ac_cpp='$CPP $CPPFLAGS'
16406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16407 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16419 ac_cpp='$CPP $CPPFLAGS'
16420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16421 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16424 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16425 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16426 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16427 echo $ECHO_N "(cached) $ECHO_C" >&6
16429 cat >conftest.$ac_ext <<_ACEOF
16432 cat confdefs.h >>conftest.$ac_ext
16433 cat >>conftest.$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16440 #ifndef _SGI_COMPILER_VERSION
16448 rm -f conftest.$ac_objext
16449 if { (ac_try="$ac_compile"
16450 case "(($ac_try" in
16451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16452 *) ac_try_echo=$ac_try;;
16454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16455 (eval "$ac_compile") 2>conftest.er1
16457 grep -v '^
*+' conftest.er1 >conftest.err
16459 cat conftest.err >&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); } && {
16462 test -z "$ac_c_werror_flag" ||
16463 test ! -s conftest.err
16464 } && test -s conftest.$ac_objext; then
16465 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16467 echo "$as_me: failed program was:" >&5
16468 sed 's
/^
/| /' conftest.$ac_ext >&5
16470 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16478 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16479 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16480 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16486 ac_cpp='$CPP $CPPFLAGS'
16487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16488 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16496 if test "$INTELCC" != "yes"; then
16500 ac_cpp='$CPP $CPPFLAGS'
16501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16502 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16505 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16506 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16507 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 cat >conftest.$ac_ext <<_ACEOF
16513 cat confdefs.h >>conftest.$ac_ext
16514 cat >>conftest.$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16529 rm -f conftest.$ac_objext
16530 if { (ac_try="$ac_compile"
16531 case "(($ac_try" in
16532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16533 *) ac_try_echo=$ac_try;;
16535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16536 (eval "$ac_compile") 2>conftest.er1
16538 grep -v '^
*+' conftest.er1 >conftest.err
16540 cat conftest.err >&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } && {
16543 test -z "$ac_c_werror_flag" ||
16544 test ! -s conftest.err
16545 } && test -s conftest.$ac_objext; then
16546 bakefile_cv_c_compiler___SUNPRO_C=yes
16548 echo "$as_me: failed program was:" >&5
16549 sed 's
/^
/| /' conftest.$ac_ext >&5
16551 bakefile_cv_c_compiler___SUNPRO_C=no
16555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16559 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16560 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16561 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16567 ac_cpp='$CPP $CPPFLAGS'
16568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16569 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16581 ac_cpp='$CPP $CPPFLAGS'
16582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16583 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16586 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16587 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16588 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16591 cat >conftest.$ac_ext <<_ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16610 rm -f conftest.$ac_objext
16611 if { (ac_try="$ac_compile"
16612 case "(($ac_try" in
16613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617 (eval "$ac_compile") 2>conftest.er1
16619 grep -v '^
*+' conftest.er1 >conftest.err
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && {
16624 test -z "$ac_c_werror_flag" ||
16625 test ! -s conftest.err
16626 } && test -s conftest.$ac_objext; then
16627 bakefile_cv_c_compiler___HP_cc=yes
16629 echo "$as_me: failed program was:" >&5
16630 sed 's
/^
/| /' conftest.$ac_ext >&5
16632 bakefile_cv_c_compiler___HP_cc=no
16636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16640 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16641 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16642 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16648 ac_cpp='$CPP $CPPFLAGS'
16649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16650 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16661 ac_cpp='$CPP $CPPFLAGS'
16662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16663 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16666 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16667 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16668 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16669 echo $ECHO_N "(cached) $ECHO_C" >&6
16671 cat >conftest.$ac_ext <<_ACEOF
16674 cat confdefs.h >>conftest.$ac_ext
16675 cat >>conftest.$ac_ext <<_ACEOF
16676 /* end confdefs.h. */
16690 rm -f conftest.$ac_objext
16691 if { (ac_try="$ac_compile"
16692 case "(($ac_try" in
16693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16694 *) ac_try_echo=$ac_try;;
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_compile") 2>conftest.er1
16699 grep -v '^
*+' conftest.er1 >conftest.err
16701 cat conftest.err >&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } && {
16704 test -z "$ac_c_werror_flag" ||
16705 test ! -s conftest.err
16706 } && test -s conftest.$ac_objext; then
16707 bakefile_cv_c_compiler___DECC=yes
16709 echo "$as_me: failed program was:" >&5
16710 sed 's
/^
/| /' conftest.$ac_ext >&5
16712 bakefile_cv_c_compiler___DECC=no
16716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16720 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16721 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16722 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16728 ac_cpp='$CPP $CPPFLAGS'
16729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16730 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16741 ac_cpp='$CPP $CPPFLAGS'
16742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16743 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16746 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16747 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16748 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16751 cat >conftest.$ac_ext <<_ACEOF
16754 cat confdefs.h >>conftest.$ac_ext
16755 cat >>conftest.$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16770 rm -f conftest.$ac_objext
16771 if { (ac_try="$ac_compile"
16772 case "(($ac_try" in
16773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16774 *) ac_try_echo=$ac_try;;
16776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16777 (eval "$ac_compile") 2>conftest.er1
16779 grep -v '^
*+' conftest.er1 >conftest.err
16781 cat conftest.err >&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } && {
16784 test -z "$ac_c_werror_flag" ||
16785 test ! -s conftest.err
16786 } && test -s conftest.$ac_objext; then
16787 bakefile_cv_c_compiler___SUNPRO_C=yes
16789 echo "$as_me: failed program was:" >&5
16790 sed 's
/^
/| /' conftest.$ac_ext >&5
16792 bakefile_cv_c_compiler___SUNPRO_C=no
16796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16800 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16801 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16802 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16808 ac_cpp='$CPP $CPPFLAGS'
16809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16810 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16822 ac_cpp='$CPP $CPPFLAGS'
16823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16824 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16826 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16827 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16828 # On Suns, sometimes $CPP names a directory.
16829 if test -n "$CPP" && test -d "$CPP"; then
16832 if test -z "$CPP"; then
16833 if test "${ac_cv_prog_CPP+set}" = set; then
16834 echo $ECHO_N "(cached) $ECHO_C" >&6
16836 # Double quotes because CPP needs to be expanded
16837 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16839 ac_preproc_ok=false
16840 for ac_c_preproc_warn_flag in '' yes
16842 # Use a header file that comes with gcc, so configuring glibc
16843 # with a fresh cross-compiler works.
16844 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16845 # <limits.h> exists even on freestanding compilers.
16846 # On the NeXT, cc -E runs the code through the compiler's parser
,
16847 # not just through cpp. "Syntax error" is here to catch this case.
16848 cat >conftest.
$ac_ext <<_ACEOF
16851 cat confdefs.h
>>conftest.
$ac_ext
16852 cat >>conftest.
$ac_ext <<_ACEOF
16853 /* end confdefs.h. */
16855 # include <limits.h>
16857 # include <assert.h>
16861 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16862 case "(($ac_try" in
16863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16864 *) ac_try_echo=$ac_try;;
16866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16867 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16869 grep -v '^ *+' conftest.er1 >conftest.err
16871 cat conftest.err >&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); } >/dev/null && {
16874 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16875 test ! -s conftest.err
16879 echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.$ac_ext >&5
16882 # Broken: fails on valid input.
16886 rm -f conftest.err conftest.$ac_ext
16888 # OK, works on sane cases. Now check whether nonexistent headers
16889 # can be detected and how.
16890 cat >conftest.$ac_ext <<_ACEOF
16893 cat confdefs.h >>conftest.$ac_ext
16894 cat >>conftest.$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896 #include <ac_nonexistent.h>
16898 if { (ac_try="$ac_cpp conftest.$ac_ext"
16899 case "(($ac_try" in
16900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16901 *) ac_try_echo
=$ac_try;;
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16906 grep -v '^ *+' conftest.er1
>conftest.err
16908 cat conftest.err
>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } >/dev
/null
&& {
16911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16912 test ! -s conftest.err
16914 # Broken: success on invalid input.
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.
$ac_ext >&5
16920 # Passes both tests.
16925 rm -f conftest.err conftest.
$ac_ext
16928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16929 rm -f conftest.err conftest.
$ac_ext
16930 if $ac_preproc_ok; then
16935 ac_cv_prog_CPP
=$CPP
16938 CPP
=$ac_cv_prog_CPP
16940 ac_cv_prog_CPP
=$CPP
16942 { echo "$as_me:$LINENO: result: $CPP" >&5
16943 echo "${ECHO_T}$CPP" >&6; }
16944 ac_preproc_ok
=false
16945 for ac_c_preproc_warn_flag
in '' yes
16947 # Use a header file that comes with gcc, so configuring glibc
16948 # with a fresh cross-compiler works.
16949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16950 # <limits.h> exists even on freestanding compilers.
16951 # On the NeXT, cc -E runs the code through the compiler's parser,
16952 # not just through cpp. "Syntax error" is here to catch this case.
16953 cat >conftest.
$ac_ext <<_ACEOF
16956 cat confdefs.h
>>conftest.
$ac_ext
16957 cat >>conftest.
$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16960 # include <limits.h>
16962 # include <assert.h>
16966 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16967 case "(($ac_try" in
16968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16969 *) ac_try_echo=$ac_try;;
16971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16974 grep -v '^ *+' conftest.er1 >conftest.err
16976 cat conftest.err >&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } >/dev/null && {
16979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16980 test ! -s conftest.err
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.$ac_ext >&5
16987 # Broken: fails on valid input.
16991 rm -f conftest.err conftest.$ac_ext
16993 # OK, works on sane cases. Now check whether nonexistent headers
16994 # can be detected and how.
16995 cat >conftest.$ac_ext <<_ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 #include <ac_nonexistent.h>
17003 if { (ac_try="$ac_cpp conftest.$ac_ext"
17004 case "(($ac_try" in
17005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17006 *) ac_try_echo
=$ac_try;;
17008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17011 grep -v '^ *+' conftest.er1
>conftest.err
17013 cat conftest.err
>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } >/dev
/null
&& {
17016 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17017 test ! -s conftest.err
17019 # Broken: success on invalid input.
17022 echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.
$ac_ext >&5
17025 # Passes both tests.
17030 rm -f conftest.err conftest.
$ac_ext
17033 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17034 rm -f conftest.err conftest.
$ac_ext
17035 if $ac_preproc_ok; then
17038 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17039 See \`config.log' for more details." >&5
17040 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17041 See \`config.log' for more details." >&2;}
17042 { (exit 1); exit 1; }; }
17046 ac_cpp
='$CPP $CPPFLAGS'
17047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17052 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17053 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17054 if test "${ac_cv_path_GREP+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17057 # Extract the first word of "grep ggrep" to use in msg output
17058 if test -z "$GREP"; then
17059 set dummy
grep ggrep
; ac_prog_name
=$2
17060 if test "${ac_cv_path_GREP+set}" = set; then
17061 echo $ECHO_N "(cached) $ECHO_C" >&6
17063 ac_path_GREP_found
=false
17064 # Loop through the user's path and test for each of PROGNAME-LIST
17065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17066 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17069 test -z "$as_dir" && as_dir
=.
17070 for ac_prog
in grep ggrep
; do
17071 for ac_exec_ext
in '' $ac_executable_extensions; do
17072 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17073 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17074 # Check for GNU ac_path_GREP and select it if it is found.
17075 # Check for GNU $ac_path_GREP
17076 case `"$ac_path_GREP" --version 2>&1` in
17078 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17081 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17084 cat "conftest.in" "conftest.in" >"conftest.tmp"
17085 mv "conftest.tmp" "conftest.in"
17086 cp "conftest.in" "conftest.nl"
17087 echo 'GREP' >> "conftest.nl"
17088 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17089 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17090 ac_count
=`expr $ac_count + 1`
17091 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17092 # Best one so far, save it but keep looking for a better one
17093 ac_cv_path_GREP
="$ac_path_GREP"
17094 ac_path_GREP_max
=$ac_count
17096 # 10*(2^10) chars as input seems more than enough
17097 test $ac_count -gt 10 && break
17099 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17103 $ac_path_GREP_found && break 3
17113 GREP
="$ac_cv_path_GREP"
17114 if test -z "$GREP"; then
17115 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17116 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17117 { (exit 1); exit 1; }; }
17121 ac_cv_path_GREP
=$GREP
17126 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17127 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17128 GREP
="$ac_cv_path_GREP"
17131 { echo "$as_me:$LINENO: checking for egrep" >&5
17132 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17133 if test "${ac_cv_path_EGREP+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17136 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17137 then ac_cv_path_EGREP
="$GREP -E"
17139 # Extract the first word of "egrep" to use in msg output
17140 if test -z "$EGREP"; then
17141 set dummy
egrep; ac_prog_name
=$2
17142 if test "${ac_cv_path_EGREP+set}" = set; then
17143 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 ac_path_EGREP_found
=false
17146 # Loop through the user's path and test for each of PROGNAME-LIST
17147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17148 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17151 test -z "$as_dir" && as_dir
=.
17152 for ac_prog
in egrep; do
17153 for ac_exec_ext
in '' $ac_executable_extensions; do
17154 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17155 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17156 # Check for GNU ac_path_EGREP and select it if it is found.
17157 # Check for GNU $ac_path_EGREP
17158 case `"$ac_path_EGREP" --version 2>&1` in
17160 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17163 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17166 cat "conftest.in" "conftest.in" >"conftest.tmp"
17167 mv "conftest.tmp" "conftest.in"
17168 cp "conftest.in" "conftest.nl"
17169 echo 'EGREP' >> "conftest.nl"
17170 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17171 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17172 ac_count
=`expr $ac_count + 1`
17173 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17174 # Best one so far, save it but keep looking for a better one
17175 ac_cv_path_EGREP
="$ac_path_EGREP"
17176 ac_path_EGREP_max
=$ac_count
17178 # 10*(2^10) chars as input seems more than enough
17179 test $ac_count -gt 10 && break
17181 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17185 $ac_path_EGREP_found && break 3
17195 EGREP
="$ac_cv_path_EGREP"
17196 if test -z "$EGREP"; then
17197 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17198 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17199 { (exit 1); exit 1; }; }
17203 ac_cv_path_EGREP
=$EGREP
17209 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17210 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17211 EGREP
="$ac_cv_path_EGREP"
17214 if test $ac_cv_c_compiler_gnu = yes; then
17215 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17216 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17217 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6
17220 ac_pattern
="Autoconf.*'x'"
17221 cat >conftest.
$ac_ext <<_ACEOF
17224 cat confdefs.h
>>conftest.
$ac_ext
17225 cat >>conftest.
$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17231 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17232 ac_cv_prog_gcc_traditional
=yes
17234 ac_cv_prog_gcc_traditional
=no
17239 if test $ac_cv_prog_gcc_traditional = no
; then
17240 cat >conftest.
$ac_ext <<_ACEOF
17243 cat confdefs.h
>>conftest.
$ac_ext
17244 cat >>conftest.
$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246 #include <termio.h>
17249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17250 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17251 ac_cv_prog_gcc_traditional
=yes
17257 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17258 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17259 if test $ac_cv_prog_gcc_traditional = yes; then
17260 CC
="$CC -traditional"
17265 CXXFLAGS
=${CXXFLAGS:=}
17267 ac_cpp
='$CXXCPP $CPPFLAGS'
17268 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17269 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17270 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17271 if test -z "$CXX"; then
17272 if test -n "$CCC"; then
17275 if test -n "$ac_tool_prefix"; then
17276 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17279 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17282 if test "${ac_cv_prog_CXX+set}" = set; then
17283 echo $ECHO_N "(cached) $ECHO_C" >&6
17285 if test -n "$CXX"; then
17286 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17289 for as_dir
in $PATH
17292 test -z "$as_dir" && as_dir
=.
17293 for ac_exec_ext
in '' $ac_executable_extensions; do
17294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17295 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17305 CXX
=$ac_cv_prog_CXX
17306 if test -n "$CXX"; then
17307 { echo "$as_me:$LINENO: result: $CXX" >&5
17308 echo "${ECHO_T}$CXX" >&6; }
17310 { echo "$as_me:$LINENO: result: no" >&5
17311 echo "${ECHO_T}no" >&6; }
17315 test -n "$CXX" && break
17318 if test -z "$CXX"; then
17320 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17322 # Extract the first word of "$ac_prog", so it can be a program name with args.
17323 set dummy
$ac_prog; ac_word
=$2
17324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17326 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17327 echo $ECHO_N "(cached) $ECHO_C" >&6
17329 if test -n "$ac_ct_CXX"; then
17330 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17333 for as_dir
in $PATH
17336 test -z "$as_dir" && as_dir
=.
17337 for ac_exec_ext
in '' $ac_executable_extensions; do
17338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17339 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17349 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17350 if test -n "$ac_ct_CXX"; then
17351 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17352 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17354 { echo "$as_me:$LINENO: result: no" >&5
17355 echo "${ECHO_T}no" >&6; }
17359 test -n "$ac_ct_CXX" && break
17362 if test "x$ac_ct_CXX" = x
; then
17365 case $cross_compiling:$ac_tool_warned in
17367 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17368 whose name does not start with the host triplet. If you think this
17369 configuration is useful to you, please write to autoconf@gnu.org." >&5
17370 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17371 whose name does not start with the host triplet. If you think this
17372 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17373 ac_tool_warned
=yes ;;
17381 # Provide some information about the compiler.
17382 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17383 ac_compiler
=`set X $ac_compile; echo $2`
17384 { (ac_try
="$ac_compiler --version >&5"
17385 case "(($ac_try" in
17386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17387 *) ac_try_echo=$ac_try;;
17389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17390 (eval "$ac_compiler --version >&5") 2>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }
17394 { (ac_try="$ac_compiler -v >&5"
17395 case "(($ac_try" in
17396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17397 *) ac_try_echo
=$ac_try;;
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_compiler -v >&5") 2>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }
17404 { (ac_try
="$ac_compiler -V >&5"
17405 case "(($ac_try" in
17406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17407 *) ac_try_echo=$ac_try;;
17409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17410 (eval "$ac_compiler -V >&5") 2>&5
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); }
17415 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17416 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17417 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17418 echo $ECHO_N "(cached) $ECHO_C" >&6
17420 cat >conftest.$ac_ext <<_ACEOF
17423 cat confdefs.h >>conftest.$ac_ext
17424 cat >>conftest.$ac_ext <<_ACEOF
17425 /* end confdefs.h. */
17438 rm -f conftest.$ac_objext
17439 if { (ac_try="$ac_compile"
17440 case "(($ac_try" in
17441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17442 *) ac_try_echo
=$ac_try;;
17444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17445 (eval "$ac_compile") 2>conftest.er1
17447 grep -v '^ *+' conftest.er1
>conftest.err
17449 cat conftest.err
>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); } && {
17452 test -z "$ac_cxx_werror_flag" ||
17453 test ! -s conftest.err
17454 } && test -s conftest.
$ac_objext; then
17455 ac_compiler_gnu
=yes
17457 echo "$as_me: failed program was:" >&5
17458 sed 's/^/| /' conftest.
$ac_ext >&5
17463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17464 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17467 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17468 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17469 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17470 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17471 ac_save_CXXFLAGS
=$CXXFLAGS
17472 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17473 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17474 if test "${ac_cv_prog_cxx_g+set}" = set; then
17475 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17478 ac_cxx_werror_flag
=yes
17479 ac_cv_prog_cxx_g
=no
17481 cat >conftest.
$ac_ext <<_ACEOF
17484 cat confdefs.h
>>conftest.
$ac_ext
17485 cat >>conftest.
$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17496 rm -f conftest.
$ac_objext
17497 if { (ac_try
="$ac_compile"
17498 case "(($ac_try" in
17499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17500 *) ac_try_echo=$ac_try;;
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_compile") 2>conftest.er1
17505 grep -v '^ *+' conftest.er1 >conftest.err
17507 cat conftest.err >&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); } && {
17510 test -z "$ac_cxx_werror_flag" ||
17511 test ! -s conftest.err
17512 } && test -s conftest.$ac_objext; then
17513 ac_cv_prog_cxx_g=yes
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17519 cat >conftest.$ac_ext <<_ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17534 rm -f conftest.$ac_objext
17535 if { (ac_try="$ac_compile"
17536 case "(($ac_try" in
17537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17538 *) ac_try_echo
=$ac_try;;
17540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17541 (eval "$ac_compile") 2>conftest.er1
17543 grep -v '^ *+' conftest.er1
>conftest.err
17545 cat conftest.err
>&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } && {
17548 test -z "$ac_cxx_werror_flag" ||
17549 test ! -s conftest.err
17550 } && test -s conftest.
$ac_objext; then
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.
$ac_ext >&5
17556 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17558 cat >conftest.
$ac_ext <<_ACEOF
17561 cat confdefs.h
>>conftest.
$ac_ext
17562 cat >>conftest.
$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17573 rm -f conftest.
$ac_objext
17574 if { (ac_try
="$ac_compile"
17575 case "(($ac_try" in
17576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17577 *) ac_try_echo=$ac_try;;
17579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580 (eval "$ac_compile") 2>conftest.er1
17582 grep -v '^ *+' conftest.er1 >conftest.err
17584 cat conftest.err >&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } && {
17587 test -z "$ac_cxx_werror_flag" ||
17588 test ! -s conftest.err
17589 } && test -s conftest.$ac_objext; then
17590 ac_cv_prog_cxx_g=yes
17592 echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.$ac_ext >&5
17598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17605 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17607 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17608 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17609 if test "$ac_test_CXXFLAGS" = set; then
17610 CXXFLAGS=$ac_save_CXXFLAGS
17611 elif test $ac_cv_prog_cxx_g = yes; then
17612 if test "$GXX" = yes; then
17618 if test "$GXX" = yes; then
17625 ac_cpp='$CPP $CPPFLAGS'
17626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17638 ac_cpp='$CXXCPP $CPPFLAGS'
17639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17643 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17644 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17645 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 cat >conftest.$ac_ext <<_ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17659 #ifndef __INTEL_COMPILER
17667 rm -f conftest.$ac_objext
17668 if { (ac_try="$ac_compile"
17669 case "(($ac_try" in
17670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17671 *) ac_try_echo
=$ac_try;;
17673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17674 (eval "$ac_compile") 2>conftest.er1
17676 grep -v '^ *+' conftest.er1
>conftest.err
17678 cat conftest.err
>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } && {
17681 test -z "$ac_cxx_werror_flag" ||
17682 test ! -s conftest.err
17683 } && test -s conftest.
$ac_objext; then
17684 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17686 echo "$as_me: failed program was:" >&5
17687 sed 's/^/| /' conftest.
$ac_ext >&5
17689 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17697 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17698 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17699 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17705 ac_cpp
='$CPP $CPPFLAGS'
17706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17713 if test "$INTELCXX" = "yes"; then
17717 ac_cpp
='$CXXCPP $CPPFLAGS'
17718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17722 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17723 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17724 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 cat >conftest.
$ac_ext <<_ACEOF
17730 cat confdefs.h
>>conftest.
$ac_ext
17731 cat >>conftest.
$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17738 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17746 rm -f conftest.
$ac_objext
17747 if { (ac_try
="$ac_compile"
17748 case "(($ac_try" in
17749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_compile") 2>conftest.er1
17755 grep -v '^ *+' conftest.er1 >conftest.err
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest.$ac_objext; then
17763 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.$ac_ext >&5
17768 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17776 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17777 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17778 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17784 ac_cpp='$CPP $CPPFLAGS'
17785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17794 ac_cpp='$CXXCPP $CPPFLAGS'
17795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17799 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17800 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17801 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17802 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 cat >conftest.$ac_ext <<_ACEOF
17807 cat confdefs.h >>conftest.$ac_ext
17808 cat >>conftest.$ac_ext <<_ACEOF
17809 /* end confdefs.h. */
17815 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17823 rm -f conftest.$ac_objext
17824 if { (ac_try="$ac_compile"
17825 case "(($ac_try" in
17826 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17827 *) ac_try_echo
=$ac_try;;
17829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17830 (eval "$ac_compile") 2>conftest.er1
17832 grep -v '^ *+' conftest.er1
>conftest.err
17834 cat conftest.err
>&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } && {
17837 test -z "$ac_cxx_werror_flag" ||
17838 test ! -s conftest.err
17839 } && test -s conftest.
$ac_objext; then
17840 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17842 echo "$as_me: failed program was:" >&5
17843 sed 's/^/| /' conftest.
$ac_ext >&5
17845 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17853 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17854 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17855 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17861 ac_cpp
='$CPP $CPPFLAGS'
17862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17870 if test "x$GCXX" != "xyes"; then
17871 if test "xCXX" = "xC"; then
17872 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17873 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17874 if test "${bakefile_cv_c_exto+set}" = set; then
17875 echo $ECHO_N "(cached) $ECHO_C" >&6
17877 cat >conftest.
$ac_ext <<_ACEOF
17880 cat confdefs.h
>>conftest.
$ac_ext
17881 cat >>conftest.
$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17892 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17894 (eval $ac_compile) 2>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; then
17898 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17900 conftest.
$ac_ext.o
)
17901 bakefile_cv_c_exto
="-ext o"
17908 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17909 See \`config.log' for more details." >&5
17910 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17911 See \`config.log' for more details." >&2;}
17912 { (exit 1); exit 1; }; }
17916 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17919 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17920 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17921 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17922 if test "c" = "c"; then
17923 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17925 if test "c" = "cxx"; then
17926 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17930 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17931 unset ac_cv_prog_cc_g
17932 ac_test_CFLAGS
=${CFLAGS+set}
17933 ac_save_CFLAGS
=$CFLAGS
17934 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17935 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17936 if test "${ac_cv_prog_cc_g+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17939 ac_save_c_werror_flag
=$ac_c_werror_flag
17940 ac_c_werror_flag
=yes
17943 cat >conftest.
$ac_ext <<_ACEOF
17946 cat confdefs.h
>>conftest.
$ac_ext
17947 cat >>conftest.
$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17958 rm -f conftest.
$ac_objext
17959 if { (ac_try
="$ac_compile"
17960 case "(($ac_try" in
17961 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17962 *) ac_try_echo=$ac_try;;
17964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17965 (eval "$ac_compile") 2>conftest.er1
17967 grep -v '^ *+' conftest.er1 >conftest.err
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } && {
17972 test -z "$ac_c_werror_flag" ||
17973 test ! -s conftest.err
17974 } && test -s conftest.$ac_objext; then
17975 ac_cv_prog_cc_g=yes
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.$ac_ext >&5
17981 cat >conftest.$ac_ext <<_ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17996 rm -f conftest.$ac_objext
17997 if { (ac_try="$ac_compile"
17998 case "(($ac_try" in
17999 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18000 *) ac_try_echo
=$ac_try;;
18002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18003 (eval "$ac_compile") 2>conftest.er1
18005 grep -v '^ *+' conftest.er1
>conftest.err
18007 cat conftest.err
>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); } && {
18010 test -z "$ac_c_werror_flag" ||
18011 test ! -s conftest.err
18012 } && test -s conftest.
$ac_objext; then
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.
$ac_ext >&5
18018 ac_c_werror_flag
=$ac_save_c_werror_flag
18020 cat >conftest.
$ac_ext <<_ACEOF
18023 cat confdefs.h
>>conftest.
$ac_ext
18024 cat >>conftest.
$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18035 rm -f conftest.
$ac_objext
18036 if { (ac_try
="$ac_compile"
18037 case "(($ac_try" in
18038 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18039 *) ac_try_echo=$ac_try;;
18041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18042 (eval "$ac_compile") 2>conftest.er1
18044 grep -v '^ *+' conftest.er1 >conftest.err
18046 cat conftest.err >&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } && {
18049 test -z "$ac_c_werror_flag" ||
18050 test ! -s conftest.err
18051 } && test -s conftest.$ac_objext; then
18052 ac_cv_prog_cc_g=yes
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18067 ac_c_werror_flag=$ac_save_c_werror_flag
18069 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18070 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18071 if test "$ac_test_CFLAGS" = set; then
18072 CFLAGS=$ac_save_CFLAGS
18073 elif test $ac_cv_prog_cc_g = yes; then
18074 if test "$GCC" = yes; then
18080 if test "$GCC" = yes; then
18094 ac_cpp='$CXXCPP $CPPFLAGS'
18095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18099 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18100 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18101 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18102 echo $ECHO_N "(cached) $ECHO_C" >&6
18104 cat >conftest.$ac_ext <<_ACEOF
18107 cat confdefs.h >>conftest.$ac_ext
18108 cat >>conftest.$ac_ext <<_ACEOF
18109 /* end confdefs.h. */
18123 rm -f conftest.$ac_objext
18124 if { (ac_try="$ac_compile"
18125 case "(($ac_try" in
18126 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18127 *) ac_try_echo
=$ac_try;;
18129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18130 (eval "$ac_compile") 2>conftest.er1
18132 grep -v '^ *+' conftest.er1
>conftest.err
18134 cat conftest.err
>&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); } && {
18137 test -z "$ac_cxx_werror_flag" ||
18138 test ! -s conftest.err
18139 } && test -s conftest.
$ac_objext; then
18140 bakefile_cv_cxx_compiler___xlC__
=yes
18142 echo "$as_me: failed program was:" >&5
18143 sed 's/^/| /' conftest.
$ac_ext >&5
18145 bakefile_cv_cxx_compiler___xlC__
=no
18149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18153 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18154 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18155 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18161 ac_cpp
='$CPP $CPPFLAGS'
18162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18174 ac_cpp
='$CXXCPP $CPPFLAGS'
18175 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18176 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18177 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18179 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18180 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18181 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18182 echo $ECHO_N "(cached) $ECHO_C" >&6
18184 cat >conftest.
$ac_ext <<_ACEOF
18187 cat confdefs.h
>>conftest.
$ac_ext
18188 cat >>conftest.
$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18203 rm -f conftest.
$ac_objext
18204 if { (ac_try
="$ac_compile"
18205 case "(($ac_try" in
18206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18207 *) ac_try_echo=$ac_try;;
18209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18210 (eval "$ac_compile") 2>conftest.er1
18212 grep -v '^ *+' conftest.er1 >conftest.err
18214 cat conftest.err >&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } && {
18217 test -z "$ac_cxx_werror_flag" ||
18218 test ! -s conftest.err
18219 } && test -s conftest.$ac_objext; then
18220 bakefile_cv_cxx_compiler___MWERKS__=yes
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18225 bakefile_cv_cxx_compiler___MWERKS__=no
18229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18233 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18234 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18235 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18248 if test "$MWCXX" != "yes"; then
18252 ac_cpp='$CXXCPP $CPPFLAGS'
18253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18257 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18258 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18259 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18262 cat >conftest.$ac_ext <<_ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18281 rm -f conftest.$ac_objext
18282 if { (ac_try="$ac_compile"
18283 case "(($ac_try" in
18284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18285 *) ac_try_echo
=$ac_try;;
18287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18288 (eval "$ac_compile") 2>conftest.er1
18290 grep -v '^ *+' conftest.er1
>conftest.err
18292 cat conftest.err
>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } && {
18295 test -z "$ac_cxx_werror_flag" ||
18296 test ! -s conftest.err
18297 } && test -s conftest.
$ac_objext; then
18298 bakefile_cv_cxx_compiler___xlC__
=yes
18300 echo "$as_me: failed program was:" >&5
18301 sed 's/^/| /' conftest.
$ac_ext >&5
18303 bakefile_cv_cxx_compiler___xlC__
=no
18307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18311 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18312 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18313 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18319 ac_cpp
='$CPP $CPPFLAGS'
18320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18333 ac_cpp
='$CXXCPP $CPPFLAGS'
18334 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18335 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18336 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18338 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18339 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18340 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6
18343 cat >conftest.
$ac_ext <<_ACEOF
18346 cat confdefs.h
>>conftest.
$ac_ext
18347 cat >>conftest.
$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18354 #ifndef _SGI_COMPILER_VERSION
18362 rm -f conftest.
$ac_objext
18363 if { (ac_try
="$ac_compile"
18364 case "(($ac_try" in
18365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18366 *) ac_try_echo=$ac_try;;
18368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18369 (eval "$ac_compile") 2>conftest.er1
18371 grep -v '^ *+' conftest.er1 >conftest.err
18373 cat conftest.err >&5
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); } && {
18376 test -z "$ac_cxx_werror_flag" ||
18377 test ! -s conftest.err
18378 } && test -s conftest.$ac_objext; then
18379 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18381 echo "$as_me: failed program was:" >&5
18382 sed 's/^/| /' conftest.$ac_ext >&5
18384 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18392 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18393 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18394 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18400 ac_cpp='$CPP $CPPFLAGS'
18401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18410 if test "$INTELCXX" != "yes"; then
18414 ac_cpp='$CXXCPP $CPPFLAGS'
18415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18419 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18420 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18421 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18422 echo $ECHO_N "(cached) $ECHO_C" >&6
18424 cat >conftest.$ac_ext <<_ACEOF
18427 cat confdefs.h >>conftest.$ac_ext
18428 cat >>conftest.$ac_ext <<_ACEOF
18429 /* end confdefs.h. */
18435 #ifndef __SUNPRO_CC
18443 rm -f conftest.$ac_objext
18444 if { (ac_try="$ac_compile"
18445 case "(($ac_try" in
18446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18447 *) ac_try_echo
=$ac_try;;
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_compile") 2>conftest.er1
18452 grep -v '^ *+' conftest.er1
>conftest.err
18454 cat conftest.err
>&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_cxx_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest.
$ac_objext; then
18460 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.
$ac_ext >&5
18465 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18473 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18474 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18475 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18481 ac_cpp
='$CPP $CPPFLAGS'
18482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18495 ac_cpp
='$CXXCPP $CPPFLAGS'
18496 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18497 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18498 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18500 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18501 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18502 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18503 echo $ECHO_N "(cached) $ECHO_C" >&6
18505 cat >conftest.
$ac_ext <<_ACEOF
18508 cat confdefs.h
>>conftest.
$ac_ext
18509 cat >>conftest.
$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18524 rm -f conftest.
$ac_objext
18525 if { (ac_try
="$ac_compile"
18526 case "(($ac_try" in
18527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18528 *) ac_try_echo=$ac_try;;
18530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18531 (eval "$ac_compile") 2>conftest.er1
18533 grep -v '^ *+' conftest.er1 >conftest.err
18535 cat conftest.err >&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); } && {
18538 test -z "$ac_cxx_werror_flag" ||
18539 test ! -s conftest.err
18540 } && test -s conftest.$ac_objext; then
18541 bakefile_cv_cxx_compiler___HP_aCC=yes
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18546 bakefile_cv_cxx_compiler___HP_aCC=no
18550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18554 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18555 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18556 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18562 ac_cpp='$CPP $CPPFLAGS'
18563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18575 ac_cpp='$CXXCPP $CPPFLAGS'
18576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18580 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18581 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18582 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 cat >conftest.$ac_ext <<_ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18604 rm -f conftest.$ac_objext
18605 if { (ac_try="$ac_compile"
18606 case "(($ac_try" in
18607 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18608 *) ac_try_echo
=$ac_try;;
18610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18611 (eval "$ac_compile") 2>conftest.er1
18613 grep -v '^ *+' conftest.er1
>conftest.err
18615 cat conftest.err
>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && {
18618 test -z "$ac_cxx_werror_flag" ||
18619 test ! -s conftest.err
18620 } && test -s conftest.
$ac_objext; then
18621 bakefile_cv_cxx_compiler___DECCXX
=yes
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.
$ac_ext >&5
18626 bakefile_cv_cxx_compiler___DECCXX
=no
18630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18634 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18635 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18636 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18642 ac_cpp
='$CPP $CPPFLAGS'
18643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18655 ac_cpp
='$CXXCPP $CPPFLAGS'
18656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18660 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18661 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18662 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18665 cat >conftest.
$ac_ext <<_ACEOF
18668 cat confdefs.h
>>conftest.
$ac_ext
18669 cat >>conftest.
$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18676 #ifndef __SUNPRO_CC
18684 rm -f conftest.
$ac_objext
18685 if { (ac_try
="$ac_compile"
18686 case "(($ac_try" in
18687 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18688 *) ac_try_echo=$ac_try;;
18690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18691 (eval "$ac_compile") 2>conftest.er1
18693 grep -v '^ *+' conftest.er1 >conftest.err
18695 cat conftest.err >&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } && {
18698 test -z "$ac_cxx_werror_flag" ||
18699 test ! -s conftest.err
18700 } && test -s conftest.$ac_objext; then
18701 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18706 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18715 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18716 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18722 ac_cpp='$CPP $CPPFLAGS'
18723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18735 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18736 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18737 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18738 { (exit 1); exit 1; }; }
18741 if test "x$SUNCXX" != xyes; then
18742 if test -n "$ac_tool_prefix"; then
18743 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18744 set dummy ${ac_tool_prefix}ar; ac_word=$2
18745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18747 if test "${ac_cv_prog_AR+set}" = set; then
18748 echo $ECHO_N "(cached) $ECHO_C" >&6
18750 if test -n "$AR"; then
18751 ac_cv_prog_AR="$AR" # Let the user override the test.
18753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18754 for as_dir in $PATH
18757 test -z "$as_dir" && as_dir=.
18758 for ac_exec_ext in '' $ac_executable_extensions; do
18759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18760 ac_cv_prog_AR="${ac_tool_prefix}ar"
18761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18771 if test -n "$AR"; then
18772 { echo "$as_me:$LINENO: result: $AR" >&5
18773 echo "${ECHO_T}$AR" >&6; }
18775 { echo "$as_me:$LINENO: result: no" >&5
18776 echo "${ECHO_T}no" >&6; }
18781 if test -z "$ac_cv_prog_AR"; then
18783 # Extract the first word of "ar", so it can be a program name with args.
18784 set dummy ar; ac_word=$2
18785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18787 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18788 echo $ECHO_N "(cached) $ECHO_C" >&6
18790 if test -n "$ac_ct_AR"; then
18791 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18794 for as_dir in $PATH
18797 test -z "$as_dir" && as_dir=.
18798 for ac_exec_ext in '' $ac_executable_extensions; do
18799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18800 ac_cv_prog_ac_ct_AR="ar"
18801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18810 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18811 if test -n "$ac_ct_AR"; then
18812 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18813 echo "${ECHO_T}$ac_ct_AR" >&6; }
18815 { echo "$as_me:$LINENO: result: no" >&5
18816 echo "${ECHO_T}no" >&6; }
18819 if test "x$ac_ct_AR" = x; then
18822 case $cross_compiling:$ac_tool_warned in
18824 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18825 whose name does not start with the host triplet. If you think this
18826 configuration is useful to you, please write to autoconf@gnu.org." >&5
18827 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18828 whose name does not start with the host triplet. If you think this
18829 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18830 ac_tool_warned=yes ;;
18835 AR="$ac_cv_prog_AR"
18838 if test "x$AR" = "x" ; then
18839 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18840 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18841 { (exit 1); exit 1; }; }
18846 if test "$wxUSE_MAC" = 1; then
18848 retest_macosx_linking=no
18851 if test "x$wxUSE_MAC_ARCH" != xno; then
18852 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18855 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18856 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18857 # Implicitly turn on the new --with-macosx-sdk using the default
18858 # SDK which provides the behaviour this option has always had.
18859 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18860 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18861 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18862 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18863 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18864 wxUSE_MACOSX_SDK=yes
18867 # Complain to user if he specified an argument to --enable-universal_binary
18868 # and also 1) specified --with-macosx-sdk using the default (yes) or
18869 # 2) specified --with-macosx-sdk using a path or 3) specified
18870 # --without-macosx-sdk (no).
18871 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18872 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18873 See \`config.log
' for more details." >&5
18874 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18875 See \`config.log' for more details.
" >&2;}
18876 { (exit 1); exit 1; }; }
18878 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18879 # special-case the empty string because the below test simply
18880 # converts "no
" to the empty string anyway.
18881 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18882 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18883 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18886 OSX_ARCH_OPTS="-arch ppc
-arch i386
"
18887 if test "$wxUSE_OSX_COCOA" = 1; then
18888 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64
"
18890 { echo "$as_me:$LINENO: checking
for universal binary architectures
" >&5
18891 echo $ECHO_N "checking
for universal binary architectures...
$ECHO_C" >&6; }
18892 { echo "$as_me:$LINENO: result
: $OSX_ARCH_OPTS" >&5
18893 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18895 retest_macosx_linking=yes
18897 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18898 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18902 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18903 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18904 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18905 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18906 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18908 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18910 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18911 # TODO: Search for most recent SDK and use it.
18912 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18916 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18917 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18918 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18919 if ! test -d "$wxUSE_MACOSX_SDK"; then
18920 { { echo "$as_me:$LINENO: error
: not found
18921 See \
`config.log' for more details." >&5
18922 echo "$as_me: error: not found
18923 See \`config.log
' for more details." >&2;}
18924 { (exit 1); exit 1; }; }
18926 { echo "$as_me:$LINENO: result: exists" >&5
18927 echo "${ECHO_T}exists" >&6; }
18929 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18930 retest_macosx_linking=yes
18933 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18934 wxUSE_MACOSX_VERSION_MIN=
18935 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18936 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18937 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18938 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18940 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/'`
18942 # If that failed, try again with the new key
18943 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18945 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/'`
18949 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18950 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18951 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18952 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18954 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18955 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18956 wxUSE_MACOSX_VERSION_MIN=
18959 wxUSE_MACOSX_VERSION_MIN=
18961 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18962 for ac_prog in sw_vers
18964 # Extract the first word of "$ac_prog", so it can be a program name with args.
18965 set dummy $ac_prog; ac_word=$2
18966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18968 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18969 echo $ECHO_N "(cached) $ECHO_C" >&6
18971 if test -n "$OSX_SW_VERS"; then
18972 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18975 for as_dir in $PATH
18978 test -z "$as_dir" && as_dir=.
18979 for ac_exec_ext in '' $ac_executable_extensions; do
18980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18981 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18991 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18992 if test -n "$OSX_SW_VERS"; then
18993 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18994 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18996 { echo "$as_me:$LINENO: result: no" >&5
18997 echo "${ECHO_T}no" >&6; }
19001 test -n "$OSX_SW_VERS" && break
19004 if test "$OSX_SW_VERS" != ""; then
19005 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19007 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19008 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19012 case "$OSX_VERSION" in
19014 wxUSE_MACOSX_VERSION_MIN=10.4
19018 if test "$wxUSE_OSX_CARBON" = 1; then
19019 # otherwise configure stops on leopard for universal_binary
19020 wxUSE_MACOSX_VERSION_MIN=10.4
19022 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19023 wxUSE_MACOSX_VERSION_MIN=10.5
19030 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19034 if test "$wxUSE_OSX_CARBON" = 1; then
19038 if test "x$NEEDS_GCC40" == "xyes"; then
19039 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19040 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
19041 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19042 if test "x$CC" = "xgcc"; then
19043 CCVERSION=`$CC --version | grep 4.[2-9].`
19044 if test "x$CCVERSION" != "x"; then
19045 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19050 if test "x$CXX" = "xg++"; then
19051 CCVERSION=`$CXX --version | grep 4.[2-9].`
19052 if test "x$CCVERSION" != "x"; then
19058 if test "x$MACOSX_SDK_OPTS" != "x"; then
19059 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19060 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19061 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19064 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19065 if test "$wxUSE_OSX_IPHONE" = 1; then
19066 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19068 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19070 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19071 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19072 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19073 retest_macosx_linking=yes
19076 if test "x$retest_macosx_linking" = "xyes"; then
19078 ac_cpp='$CPP $CPPFLAGS'
19079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19080 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19083 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19084 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19085 cat >conftest.$ac_ext <<_ACEOF
19088 cat confdefs.h >>conftest.$ac_ext
19089 cat >>conftest.$ac_ext <<_ACEOF
19090 /* end confdefs.h. */
19100 rm -f conftest.$ac_objext conftest$ac_exeext
19101 if { (ac_try="$ac_link"
19102 case "(($ac_try" in
19103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19104 *) ac_try_echo=$ac_try;;
19106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19107 (eval "$ac_link") 2>conftest.er1
19109 grep -v '^
*+' conftest.er1 >conftest.err
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } && {
19114 test -z "$ac_c_werror_flag" ||
19115 test ! -s conftest.err
19116 } && test -s conftest$ac_exeext &&
19117 $as_test_x conftest$ac_exeext; then
19118 { echo "$as_me:$LINENO: result: yes" >&5
19119 echo "${ECHO_T}yes" >&6; }
19121 echo "$as_me: failed program was:" >&5
19122 sed 's
/^
/| /' conftest.$ac_ext >&5
19124 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19125 See \`config.log' for more details.
" >&5
19126 echo "$as_me: error
: no. Try a different SDK
19127 See \
`config.log' for more details." >&2;}
19128 { (exit 1); exit 1; }; }; exit 1
19131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19132 conftest$ac_exeext conftest.$ac_ext
19134 ac_cpp='$CPP $CPPFLAGS'
19135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19141 ac_cpp='$CXXCPP $CPPFLAGS'
19142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19146 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19147 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19148 cat >conftest.$ac_ext <<_ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19163 rm -f conftest.$ac_objext conftest$ac_exeext
19164 if { (ac_try="$ac_link"
19165 case "(($ac_try" in
19166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19167 *) ac_try_echo
=$ac_try;;
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_link") 2>conftest.er1
19172 grep -v '^ *+' conftest.er1
>conftest.err
19174 cat conftest.err
>&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } && {
19177 test -z "$ac_cxx_werror_flag" ||
19178 test ! -s conftest.err
19179 } && test -s conftest
$ac_exeext &&
19180 $as_test_x conftest
$ac_exeext; then
19181 { echo "$as_me:$LINENO: result: yes" >&5
19182 echo "${ECHO_T}yes" >&6; }
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.
$ac_ext >&5
19187 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19188 See \`config.log' for more details." >&5
19189 echo "$as_me: error: no. Try a different SDK
19190 See \`config.log' for more details." >&2;}
19191 { (exit 1); exit 1; }; }; exit 1
19194 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19195 conftest
$ac_exeext conftest.
$ac_ext
19197 ac_cpp
='$CPP $CPPFLAGS'
19198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19208 INSTALL_PROGRAM
="cp -fp"
19209 INSTALL_DATA
="cp -fp"
19216 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19217 CXXFLAGS
="-qunique $CXXFLAGS"
19221 powerpc
-*-darwin* )
19222 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19223 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19224 cat >conftest.
$ac_ext <<_ACEOF
19227 cat confdefs.h
>>conftest.
$ac_ext
19228 cat >>conftest.
$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19234 #ifndef __POWERPC__
19235 choke me for lack of PowerPC
19242 rm -f conftest.
$ac_objext
19243 if { (ac_try
="$ac_compile"
19244 case "(($ac_try" in
19245 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19246 *) ac_try_echo=$ac_try;;
19248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19249 (eval "$ac_compile") 2>conftest.er1
19251 grep -v '^ *+' conftest.er1 >conftest.err
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } && {
19256 test -z "$ac_c_werror_flag" ||
19257 test ! -s conftest.err
19258 } && test -s conftest.$ac_objext; then
19259 { echo "$as_me:$LINENO: result: yes" >&5
19260 echo "${ECHO_T}yes" >&6; }
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19265 { echo "$as_me:$LINENO: result: no" >&5
19266 echo "${ECHO_T}no" >&6; }
19267 cat >>confdefs.h <<\_ACEOF
19268 #define __POWERPC__ 1
19274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19280 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19281 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19282 cat >conftest.$ac_ext <<_ACEOF
19285 cat confdefs.h >>conftest.$ac_ext
19286 cat >>conftest.$ac_ext <<_ACEOF
19287 /* end confdefs.h. */
19288 #include <CoreFoundation/CFBase.h>
19298 rm -f conftest.$ac_objext
19299 if { (ac_try="$ac_compile"
19300 case "(($ac_try" in
19301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19302 *) ac_try_echo
=$ac_try;;
19304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19305 (eval "$ac_compile") 2>conftest.er1
19307 grep -v '^ *+' conftest.er1
>conftest.err
19309 cat conftest.err
>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); } && {
19312 test -z "$ac_c_werror_flag" ||
19313 test ! -s conftest.err
19314 } && test -s conftest.
$ac_objext; then
19315 { echo "$as_me:$LINENO: result: yes" >&5
19316 echo "${ECHO_T}yes" >&6; }
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.
$ac_ext >&5
19321 { echo "$as_me:$LINENO: result: no" >&5
19322 echo "${ECHO_T}no" >&6; }
19323 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19324 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19325 cat >conftest.
$ac_ext <<_ACEOF
19328 cat confdefs.h
>>conftest.
$ac_ext
19329 cat >>conftest.
$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19331 #define __CF_USE_FRAMEWORK_INCLUDES__
19332 #include <CoreFoundation/CFBase.h>
19342 rm -f conftest.
$ac_objext
19343 if { (ac_try
="$ac_compile"
19344 case "(($ac_try" in
19345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19346 *) ac_try_echo=$ac_try;;
19348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19349 (eval "$ac_compile") 2>conftest.er1
19351 grep -v '^ *+' conftest.er1 >conftest.err
19353 cat conftest.err >&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } && {
19356 test -z "$ac_c_werror_flag" ||
19357 test ! -s conftest.err
19358 } && test -s conftest.$ac_objext; then
19359 { echo "$as_me:$LINENO: result: yes" >&5
19360 echo "${ECHO_T}yes" >&6; }
19361 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19363 echo "$as_me: failed program was:" >&5
19364 sed 's/^/| /' conftest.$ac_ext >&5
19366 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19367 See \`config.log
' for more details." >&5
19368 echo "$as_me: error: no. CoreFoundation not available.
19369 See \`config.log' for more details.
" >&2;}
19370 { (exit 1); exit 1; }; }
19374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19384 doesnt_want_win32=0
19387 if test "$wxUSE_MSW" = 1 ; then
19390 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
19391 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
19392 if test "${wx_cv_nocygwin+set}" = set; then
19393 echo $ECHO_N "(cached
) $ECHO_C" >&6
19396 cat >conftest.$ac_ext <<_ACEOF
19399 cat confdefs.h >>conftest.$ac_ext
19400 cat >>conftest.$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19415 rm -f conftest.$ac_objext
19416 if { (ac_try="$ac_compile"
19417 case "(($ac_try" in
19418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19419 *) ac_try_echo=$ac_try;;
19421 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_compile") 2>conftest.er1
19424 grep -v '^ *+' conftest.er1 >conftest.err
19426 cat conftest.err >&5
19427 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19428 (exit $ac_status); } && {
19429 test -z "$ac_c_werror_flag" ||
19430 test ! -s conftest.err
19431 } && test -s conftest.$ac_objext; then
19434 echo "$as_me: failed program was
:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19445 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19446 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19448 if test "$wx_cv_nocygwin" = "yes"; then
19451 doesnt_want_win32=1
19454 if test "$wants_win32" = 1 ; then
19455 BAKEFILE_FORCE_PLATFORM=win32
19463 if test "$wxUSE_WINE" = "yes"; then
19465 LDFLAGS_GUI="-mwindows"
19468 if test "$wants_win32" = 1 ; then
19471 cat >>confdefs.h <<\_ACEOF
19472 #define __WIN32__ 1
19475 cat >>confdefs.h <<\_ACEOF
19476 #define __WIN95__ 1
19479 cat >>confdefs.h <<\_ACEOF
19480 #define __WINDOWS__ 1
19483 cat >>confdefs.h <<\_ACEOF
19484 #define __GNUWIN32__ 1
19487 cat >>confdefs.h <<\_ACEOF
19492 if test "$doesnt_want_win32" = 1 ; then
19497 if test "$USE_UNIX" = 1 ; then
19499 cat >>confdefs.h <<\_ACEOF
19506 *-pc-os2_emx | *-pc-os2-emx )
19507 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19508 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19509 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19510 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19511 echo $ECHO_N "(cached
) $ECHO_C" >&6
19513 ac_check_lib_save_LIBS=$LIBS
19514 LIBS="-lcExt $LIBS"
19515 cat >conftest.$ac_ext <<_ACEOF
19518 cat confdefs.h >>conftest.$ac_ext
19519 cat >>conftest.$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19522 /* Override any GCC internal prototype to avoid an error.
19523 Use char because int might match the return type of a GCC
19524 builtin and then its argument prototype would still apply. */
19537 rm -f conftest.$ac_objext conftest$ac_exeext
19538 if { (ac_try="$ac_link"
19539 case "(($ac_try" in
19540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19541 *) ac_try_echo=$ac_try;;
19543 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19544 (eval "$ac_link") 2>conftest.er1
19546 grep -v '^ *+' conftest.er1 >conftest.err
19548 cat conftest.err >&5
19549 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19550 (exit $ac_status); } && {
19551 test -z "$ac_c_werror_flag" ||
19552 test ! -s conftest.err
19553 } && test -s conftest$ac_exeext &&
19554 $as_test_x conftest$ac_exeext; then
19555 ac_cv_lib_cExt_drand48=yes
19557 echo "$as_me: failed program was
:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19560 ac_cv_lib_cExt_drand48=no
19563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19564 conftest$ac_exeext conftest.$ac_ext
19565 LIBS=$ac_check_lib_save_LIBS
19567 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19568 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19569 if test $ac_cv_lib_cExt_drand48 = yes; then
19570 LIBS="$LIBS -lcExt"
19574 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19576 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19577 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19578 if test "${wx_cv_gccversion+set}" = set; then
19579 echo $ECHO_N "(cached
) $ECHO_C" >&6
19582 if test "$cross_compiling" = yes; then
19583 wx_cv_gccversion="EMX2
"
19586 cat >conftest.$ac_ext <<_ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19597 FILE *f=fopen("conftestval
", "w
");
19602 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19604 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19614 rm -f conftest$ac_exeext
19615 if { (ac_try="$ac_link"
19616 case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_link") 2>&5
19623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19625 { (case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19629 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_try") 2>&5
19632 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 wx_cv_gccversion=`cat conftestval`
19636 echo "$as_me: program exited with status
$ac_status" >&5
19637 echo "$as_me: failed program was
:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19640 ( exit $ac_status )
19641 wx_cv_gccversion="EMX2
"
19643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19649 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19650 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19651 if test "$wx_cv_gccversion" = "EMX2
"; then
19652 LIBS="$LIBS -lstdcpp"
19653 LDFLAGS="$LDFLAGS -Zsysv-signals"
19655 if test "$wx_cv_gccversion" = "EMX3
"; then
19656 LIBS="$LIBS -lstdcxx -lgcc"
19657 LDFLAGS="$LDFLAGS -Zsysv-signals"
19659 LIBS="$LIBS -lstdc++"
19662 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19663 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19664 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19671 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19672 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19673 if test "${ac_cv_string_strcasecmp+set}" = set; then
19674 echo $ECHO_N "(cached
) $ECHO_C" >&6
19677 cat >conftest.$ac_ext <<_ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19684 #include <string.h>
19690 strcasecmp("foo
", "bar
");
19696 rm -f conftest.$ac_objext conftest$ac_exeext
19697 if { (ac_try="$ac_link"
19698 case "(($ac_try" in
19699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19700 *) ac_try_echo=$ac_try;;
19702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_link") 2>conftest.er1
19705 grep -v '^ *+' conftest.er1 >conftest.err
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19709 (exit $ac_status); } && {
19710 test -z "$ac_c_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest$ac_exeext &&
19713 $as_test_x conftest$ac_exeext; then
19714 ac_cv_string_strcasecmp=yes
19716 echo "$as_me: failed program was
:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19719 ac_cv_string_strcasecmp=no
19723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19724 conftest$ac_exeext conftest.$ac_ext
19727 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19728 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19730 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19731 cat >>confdefs.h <<\_ACEOF
19732 #define HAVE_STRCASECMP_IN_STRING_H 1
19736 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19737 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19738 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19739 echo $ECHO_N "(cached
) $ECHO_C" >&6
19742 cat >conftest.$ac_ext <<_ACEOF
19745 cat confdefs.h >>conftest.$ac_ext
19746 cat >>conftest.$ac_ext <<_ACEOF
19747 /* end confdefs.h. */
19749 #include <strings.h>
19755 strcasecmp("foo
", "bar
");
19761 rm -f conftest.$ac_objext conftest$ac_exeext
19762 if { (ac_try="$ac_link"
19763 case "(($ac_try" in
19764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19765 *) ac_try_echo=$ac_try;;
19767 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19768 (eval "$ac_link") 2>conftest.er1
19770 grep -v '^ *+' conftest.er1 >conftest.err
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19774 (exit $ac_status); } && {
19775 test -z "$ac_c_werror_flag" ||
19776 test ! -s conftest.err
19777 } && test -s conftest$ac_exeext &&
19778 $as_test_x conftest$ac_exeext; then
19779 ac_cv_strings_strcasecmp=yes
19781 echo "$as_me: failed program was
:" >&5
19782 sed 's/^/| /' conftest.$ac_ext >&5
19784 ac_cv_strings_strcasecmp=no
19788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19789 conftest$ac_exeext conftest.$ac_ext
19792 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19793 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19795 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19796 cat >>confdefs.h <<\_ACEOF
19797 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19801 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19802 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19803 { (exit 1); exit 1; }; }
19811 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19812 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19813 if test "${ac_cv_header_stdc+set}" = set; then
19814 echo $ECHO_N "(cached
) $ECHO_C" >&6
19816 cat >conftest.$ac_ext <<_ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 #include <stdlib.h>
19823 #include <stdarg.h>
19824 #include <string.h>
19835 rm -f conftest.$ac_objext
19836 if { (ac_try="$ac_compile"
19837 case "(($ac_try" in
19838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19839 *) ac_try_echo=$ac_try;;
19841 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19842 (eval "$ac_compile") 2>conftest.er1
19844 grep -v '^ *+' conftest.er1 >conftest.err
19846 cat conftest.err >&5
19847 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19848 (exit $ac_status); } && {
19849 test -z "$ac_c_werror_flag" ||
19850 test ! -s conftest.err
19851 } && test -s conftest.$ac_objext; then
19852 ac_cv_header_stdc=yes
19854 echo "$as_me: failed program was
:" >&5
19855 sed 's/^/| /' conftest.$ac_ext >&5
19857 ac_cv_header_stdc=no
19860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19862 if test $ac_cv_header_stdc = yes; then
19863 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19864 cat >conftest.$ac_ext <<_ACEOF
19867 cat confdefs.h >>conftest.$ac_ext
19868 cat >>conftest.$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19870 #include <string.h>
19873 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19874 $EGREP "memchr
" >/dev/null 2>&1; then
19877 ac_cv_header_stdc=no
19883 if test $ac_cv_header_stdc = yes; then
19884 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19885 cat >conftest.$ac_ext <<_ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 #include <stdlib.h>
19894 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19895 $EGREP "free
" >/dev/null 2>&1; then
19898 ac_cv_header_stdc=no
19904 if test $ac_cv_header_stdc = yes; then
19905 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19906 if test "$cross_compiling" = yes; then
19909 cat >conftest.$ac_ext <<_ACEOF
19912 cat confdefs.h >>conftest.$ac_ext
19913 cat >>conftest.$ac_ext <<_ACEOF
19914 /* end confdefs.h. */
19916 #include <stdlib.h>
19917 #if ((' ' & 0x0FF) == 0x020)
19918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19921 # define ISLOWER(c) \
19922 (('a' <= (c) && (c) <= 'i') \
19923 || ('j' <= (c) && (c) <= 'r') \
19924 || ('s' <= (c) && (c) <= 'z'))
19925 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19928 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19933 for (i = 0; i < 256; i++)
19934 if (XOR (islower (i), ISLOWER (i))
19935 || toupper (i) != TOUPPER (i))
19940 rm -f conftest$ac_exeext
19941 if { (ac_try="$ac_link"
19942 case "(($ac_try" in
19943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_link") 2>&5
19949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19951 { (case "(($ac_try" in
19952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19953 *) ac_try_echo=$ac_try;;
19955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19956 (eval "$ac_try") 2>&5
19958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19959 (exit $ac_status); }; }; then
19962 echo "$as_me: program exited with status
$ac_status" >&5
19963 echo "$as_me: failed program was
:" >&5
19964 sed 's/^/| /' conftest.$ac_ext >&5
19966 ( exit $ac_status )
19967 ac_cv_header_stdc=no
19969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19975 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19976 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19977 if test $ac_cv_header_stdc = yes; then
19979 cat >>confdefs.h <<\_ACEOF
19980 #define STDC_HEADERS 1
19985 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19996 inttypes.h stdint.h unistd.h
19998 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19999 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20000 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20001 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20002 echo $ECHO_N "(cached
) $ECHO_C" >&6
20004 cat >conftest.$ac_ext <<_ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 $ac_includes_default
20012 #include <$ac_header>
20014 rm -f conftest.$ac_objext
20015 if { (ac_try="$ac_compile"
20016 case "(($ac_try" in
20017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20018 *) ac_try_echo=$ac_try;;
20020 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20021 (eval "$ac_compile") 2>conftest.er1
20023 grep -v '^ *+' conftest.er1 >conftest.err
20025 cat conftest.err >&5
20026 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20027 (exit $ac_status); } && {
20028 test -z "$ac_c_werror_flag" ||
20029 test ! -s conftest.err
20030 } && test -s conftest.$ac_objext; then
20031 eval "$as_ac_Header=yes"
20033 echo "$as_me: failed program was
:" >&5
20034 sed 's/^/| /' conftest.$ac_ext >&5
20036 eval "$as_ac_Header=no
"
20039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20041 ac_res=`eval echo '${'$as_ac_Header'}'`
20042 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20043 echo "${ECHO_T}$ac_res" >&6; }
20044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20045 cat >>confdefs.h <<_ACEOF
20046 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20056 for ac_header in langinfo.h wchar.h
20058 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20059 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20060 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20061 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20062 echo $ECHO_N "(cached
) $ECHO_C" >&6
20064 cat >conftest.$ac_ext <<_ACEOF
20067 cat confdefs.h >>conftest.$ac_ext
20068 cat >>conftest.$ac_ext <<_ACEOF
20069 /* end confdefs.h. */
20070 $ac_includes_default
20072 #include <$ac_header>
20074 rm -f conftest.$ac_objext
20075 if { (ac_try="$ac_compile"
20076 case "(($ac_try" in
20077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20078 *) ac_try_echo=$ac_try;;
20080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20081 (eval "$ac_compile") 2>conftest.er1
20083 grep -v '^ *+' conftest.er1 >conftest.err
20085 cat conftest.err >&5
20086 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20087 (exit $ac_status); } && {
20088 test -z "$ac_c_werror_flag" ||
20089 test ! -s conftest.err
20090 } && test -s conftest.$ac_objext; then
20091 eval "$as_ac_Header=yes"
20093 echo "$as_me: failed program was
:" >&5
20094 sed 's/^/| /' conftest.$ac_ext >&5
20096 eval "$as_ac_Header=no
"
20099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20101 ac_res=`eval echo '${'$as_ac_Header'}'`
20102 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20103 echo "${ECHO_T}$ac_res" >&6; }
20104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20105 cat >>confdefs.h <<_ACEOF
20106 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20114 if test "$ac_cv_header_wchar_h" != "yes"; then
20116 for ac_header in wcstr.h
20118 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20119 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20120 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20121 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20122 echo $ECHO_N "(cached
) $ECHO_C" >&6
20124 cat >conftest.$ac_ext <<_ACEOF
20127 cat confdefs.h >>conftest.$ac_ext
20128 cat >>conftest.$ac_ext <<_ACEOF
20129 /* end confdefs.h. */
20130 $ac_includes_default
20132 #include <$ac_header>
20134 rm -f conftest.$ac_objext
20135 if { (ac_try="$ac_compile"
20136 case "(($ac_try" in
20137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20138 *) ac_try_echo=$ac_try;;
20140 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20141 (eval "$ac_compile") 2>conftest.er1
20143 grep -v '^ *+' conftest.er1 >conftest.err
20145 cat conftest.err >&5
20146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20147 (exit $ac_status); } && {
20148 test -z "$ac_c_werror_flag" ||
20149 test ! -s conftest.err
20150 } && test -s conftest.$ac_objext; then
20151 eval "$as_ac_Header=yes"
20153 echo "$as_me: failed program was
:" >&5
20154 sed 's/^/| /' conftest.$ac_ext >&5
20156 eval "$as_ac_Header=no
"
20159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20161 ac_res=`eval echo '${'$as_ac_Header'}'`
20162 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20163 echo "${ECHO_T}$ac_res" >&6; }
20164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20165 cat >>confdefs.h <<_ACEOF
20166 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20176 *-pc-os2_emx | *-pc-os2-emx )
20177 if test $ac_cv_header_langinfo_h = "yes" \
20178 -a \( "$wx_cv_gccversion" = "EMX2
" \
20179 -o "$wx_cv_gccversion" = "EMX3
" \
20180 -o "$wx_cv_gccversion" = "Innotek5
" \); then
20181 LIBS="$LIBS -lintl"
20186 if test "$USE_UNIX" = 1 ; then
20188 for ac_header in sys/select.h
20190 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20191 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20192 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20193 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20194 echo $ECHO_N "(cached
) $ECHO_C" >&6
20196 cat >conftest.$ac_ext <<_ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 $ac_includes_default
20204 #include <$ac_header>
20206 rm -f conftest.$ac_objext
20207 if { (ac_try="$ac_compile"
20208 case "(($ac_try" in
20209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20210 *) ac_try_echo=$ac_try;;
20212 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20213 (eval "$ac_compile") 2>conftest.er1
20215 grep -v '^ *+' conftest.er1 >conftest.err
20217 cat conftest.err >&5
20218 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20219 (exit $ac_status); } && {
20220 test -z "$ac_c_werror_flag" ||
20221 test ! -s conftest.err
20222 } && test -s conftest.$ac_objext; then
20223 eval "$as_ac_Header=yes"
20225 echo "$as_me: failed program was
:" >&5
20226 sed 's/^/| /' conftest.$ac_ext >&5
20228 eval "$as_ac_Header=no
"
20231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20233 ac_res=`eval echo '${'$as_ac_Header'}'`
20234 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20235 echo "${ECHO_T}$ac_res" >&6; }
20236 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20237 cat >>confdefs.h <<_ACEOF
20238 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20248 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
20249 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
20250 if test "${ac_cv_c_const+set}" = set; then
20251 echo $ECHO_N "(cached
) $ECHO_C" >&6
20253 cat >conftest.$ac_ext <<_ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20263 /* FIXME: Include the comments suggested by Paul. */
20264 #ifndef __cplusplus
20265 /* Ultrix mips cc rejects this. */
20266 typedef int charset[2];
20268 /* SunOS 4.1.1 cc rejects this. */
20269 char const *const *pcpcc;
20271 /* NEC SVR4.0.2 mips cc rejects this. */
20272 struct point {int x, y;};
20273 static struct point const zero = {0,0};
20274 /* AIX XL C 1.02.0.0 rejects this.
20275 It does not let you subtract one const X* pointer from another in
20276 an arm of an if-expression whose if-part is not a constant
20278 const char *g = "string
";
20279 pcpcc = &g + (g ? g-g : 0);
20280 /* HPUX 7.0 cc rejects these. */
20282 ppc = (char**) pcpcc;
20283 pcpcc = (char const *const *) ppc;
20284 { /* SCO 3.2v4 cc rejects this. */
20286 char const *s = 0 ? (char *) 0 : (char const *) 0;
20291 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20292 int x[] = {25, 17};
20293 const int *foo = &x[0];
20296 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20297 typedef const int *iptr;
20301 { /* AIX XL C 1.02.0.0 rejects this saying
20302 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20303 struct s { int j; const int *ap[3]; };
20304 struct s *b; b->j = 5;
20306 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20307 const int foo = 10;
20308 if (!foo) return 0;
20310 return !cs[0] && !zero.x;
20317 rm -f conftest.$ac_objext
20318 if { (ac_try="$ac_compile"
20319 case "(($ac_try" in
20320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20321 *) ac_try_echo=$ac_try;;
20323 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20324 (eval "$ac_compile") 2>conftest.er1
20326 grep -v '^ *+' conftest.er1 >conftest.err
20328 cat conftest.err >&5
20329 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20330 (exit $ac_status); } && {
20331 test -z "$ac_c_werror_flag" ||
20332 test ! -s conftest.err
20333 } && test -s conftest.$ac_objext; then
20336 echo "$as_me: failed program was
:" >&5
20337 sed 's/^/| /' conftest.$ac_ext >&5
20342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20344 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20345 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20346 if test $ac_cv_c_const = no; then
20348 cat >>confdefs.h <<\_ACEOF
20354 { echo "$as_me:$LINENO: checking
for inline
" >&5
20355 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
20356 if test "${ac_cv_c_inline+set}" = set; then
20357 echo $ECHO_N "(cached
) $ECHO_C" >&6
20360 for ac_kw in inline __inline__ __inline; do
20361 cat >conftest.$ac_ext <<_ACEOF
20364 cat confdefs.h >>conftest.$ac_ext
20365 cat >>conftest.$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 #ifndef __cplusplus
20369 static $ac_kw foo_t static_foo () {return 0; }
20370 $ac_kw foo_t foo () {return 0; }
20374 rm -f conftest.$ac_objext
20375 if { (ac_try="$ac_compile"
20376 case "(($ac_try" in
20377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20378 *) ac_try_echo=$ac_try;;
20380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20381 (eval "$ac_compile") 2>conftest.er1
20383 grep -v '^ *+' conftest.er1 >conftest.err
20385 cat conftest.err >&5
20386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20387 (exit $ac_status); } && {
20388 test -z "$ac_c_werror_flag" ||
20389 test ! -s conftest.err
20390 } && test -s conftest.$ac_objext; then
20391 ac_cv_c_inline=$ac_kw
20393 echo "$as_me: failed program was
:" >&5
20394 sed 's/^/| /' conftest.$ac_ext >&5
20399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20400 test "$ac_cv_c_inline" != no && break
20404 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
20405 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20408 case $ac_cv_c_inline in
20411 case $ac_cv_c_inline in
20413 *) ac_val=$ac_cv_c_inline;;
20415 cat >>confdefs.h <<_ACEOF
20416 #ifndef __cplusplus
20417 #define inline $ac_val
20424 { echo "$as_me:$LINENO: checking
for short
" >&5
20425 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20426 if test "${ac_cv_type_short+set}" = set; then
20427 echo $ECHO_N "(cached
) $ECHO_C" >&6
20429 cat >conftest.$ac_ext <<_ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20435 $ac_includes_default
20436 typedef short ac__type_new_;
20440 if ((ac__type_new_ *) 0)
20442 if (sizeof (ac__type_new_))
20448 rm -f conftest.$ac_objext
20449 if { (ac_try="$ac_compile"
20450 case "(($ac_try" in
20451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20452 *) ac_try_echo=$ac_try;;
20454 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20455 (eval "$ac_compile") 2>conftest.er1
20457 grep -v '^ *+' conftest.er1 >conftest.err
20459 cat conftest.err >&5
20460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20461 (exit $ac_status); } && {
20462 test -z "$ac_c_werror_flag" ||
20463 test ! -s conftest.err
20464 } && test -s conftest.$ac_objext; then
20465 ac_cv_type_short=yes
20467 echo "$as_me: failed program was
:" >&5
20468 sed 's/^/| /' conftest.$ac_ext >&5
20470 ac_cv_type_short=no
20473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20475 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20476 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20478 # The cast to long int works around a bug in the HP C Compiler
20479 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20480 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20481 # This bug is HP SR number 8606223364.
20482 { echo "$as_me:$LINENO: checking size of short
" >&5
20483 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20484 if test "${ac_cv_sizeof_short+set}" = set; then
20485 echo $ECHO_N "(cached
) $ECHO_C" >&6
20487 if test "$cross_compiling" = yes; then
20488 # Depending upon the size, compute the lo and hi bounds.
20489 cat >conftest.$ac_ext <<_ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20496 typedef short ac__type_sizeof_;
20500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20507 rm -f conftest.$ac_objext
20508 if { (ac_try="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20511 *) ac_try_echo=$ac_try;;
20513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20514 (eval "$ac_compile") 2>conftest.er1
20516 grep -v '^ *+' conftest.er1 >conftest.err
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20520 (exit $ac_status); } && {
20521 test -z "$ac_c_werror_flag" ||
20522 test ! -s conftest.err
20523 } && test -s conftest.$ac_objext; then
20526 cat >conftest.$ac_ext <<_ACEOF
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20532 $ac_includes_default
20533 typedef short ac__type_sizeof_;
20537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20544 rm -f conftest.$ac_objext
20545 if { (ac_try="$ac_compile"
20546 case "(($ac_try" in
20547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20548 *) ac_try_echo=$ac_try;;
20550 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20551 (eval "$ac_compile") 2>conftest.er1
20553 grep -v '^ *+' conftest.er1 >conftest.err
20555 cat conftest.err >&5
20556 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20557 (exit $ac_status); } && {
20558 test -z "$ac_c_werror_flag" ||
20559 test ! -s conftest.err
20560 } && test -s conftest.$ac_objext; then
20561 ac_hi=$ac_mid; break
20563 echo "$as_me: failed program was
:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20566 ac_lo=`expr $ac_mid + 1`
20567 if test $ac_lo -le $ac_mid; then
20571 ac_mid=`expr 2 '*' $ac_mid + 1`
20574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20577 echo "$as_me: failed program was
:" >&5
20578 sed 's/^/| /' conftest.$ac_ext >&5
20580 cat >conftest.$ac_ext <<_ACEOF
20583 cat confdefs.h >>conftest.$ac_ext
20584 cat >>conftest.$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20586 $ac_includes_default
20587 typedef short ac__type_sizeof_;
20591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20598 rm -f conftest.$ac_objext
20599 if { (ac_try="$ac_compile"
20600 case "(($ac_try" in
20601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20602 *) ac_try_echo=$ac_try;;
20604 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20605 (eval "$ac_compile") 2>conftest.er1
20607 grep -v '^ *+' conftest.er1 >conftest.err
20609 cat conftest.err >&5
20610 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20611 (exit $ac_status); } && {
20612 test -z "$ac_c_werror_flag" ||
20613 test ! -s conftest.err
20614 } && test -s conftest.$ac_objext; then
20617 cat >conftest.$ac_ext <<_ACEOF
20620 cat confdefs.h >>conftest.$ac_ext
20621 cat >>conftest.$ac_ext <<_ACEOF
20622 /* end confdefs.h. */
20623 $ac_includes_default
20624 typedef short ac__type_sizeof_;
20628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20635 rm -f conftest.$ac_objext
20636 if { (ac_try="$ac_compile"
20637 case "(($ac_try" in
20638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20639 *) ac_try_echo=$ac_try;;
20641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20642 (eval "$ac_compile") 2>conftest.er1
20644 grep -v '^ *+' conftest.er1 >conftest.err
20646 cat conftest.err >&5
20647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20648 (exit $ac_status); } && {
20649 test -z "$ac_c_werror_flag" ||
20650 test ! -s conftest.err
20651 } && test -s conftest.$ac_objext; then
20652 ac_lo=$ac_mid; break
20654 echo "$as_me: failed program was
:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20657 ac_hi=`expr '(' $ac_mid ')' - 1`
20658 if test $ac_mid -le $ac_hi; then
20662 ac_mid=`expr 2 '*' $ac_mid`
20665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20668 echo "$as_me: failed program was
:" >&5
20669 sed 's/^/| /' conftest.$ac_ext >&5
20674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20678 # Binary search between lo and hi bounds.
20679 while test "x
$ac_lo" != "x
$ac_hi"; do
20680 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20681 cat >conftest.$ac_ext <<_ACEOF
20684 cat confdefs.h >>conftest.$ac_ext
20685 cat >>conftest.$ac_ext <<_ACEOF
20686 /* end confdefs.h. */
20687 $ac_includes_default
20688 typedef short ac__type_sizeof_;
20692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20699 rm -f conftest.$ac_objext
20700 if { (ac_try="$ac_compile"
20701 case "(($ac_try" in
20702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20703 *) ac_try_echo=$ac_try;;
20705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20706 (eval "$ac_compile") 2>conftest.er1
20708 grep -v '^ *+' conftest.er1 >conftest.err
20710 cat conftest.err >&5
20711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20712 (exit $ac_status); } && {
20713 test -z "$ac_c_werror_flag" ||
20714 test ! -s conftest.err
20715 } && test -s conftest.$ac_objext; then
20718 echo "$as_me: failed program was
:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20721 ac_lo=`expr '(' $ac_mid ')' + 1`
20724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20727 ?*) ac_cv_sizeof_short=$ac_lo;;
20728 '') if test "$ac_cv_type_short" = yes; then
20729 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20730 See \
`config.log' for more details." >&5
20731 echo "$as_me: error: cannot compute sizeof (short)
20732 See \`config.log
' for more details." >&2;}
20733 { (exit 77); exit 77; }; }
20735 ac_cv_sizeof_short=0
20739 cat >conftest.$ac_ext <<_ACEOF
20742 cat confdefs.h >>conftest.$ac_ext
20743 cat >>conftest.$ac_ext <<_ACEOF
20744 /* end confdefs.h. */
20745 $ac_includes_default
20746 typedef short ac__type_sizeof_;
20747 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20748 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20750 #include <stdlib.h>
20755 FILE *f = fopen ("conftest.val", "w");
20758 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20760 long int i = longval ();
20761 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20763 fprintf (f, "%ld\n", i);
20767 unsigned long int i = ulongval ();
20768 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20770 fprintf (f, "%lu\n", i);
20772 return ferror (f) || fclose (f) != 0;
20778 rm -f conftest$ac_exeext
20779 if { (ac_try="$ac_link"
20780 case "(($ac_try" in
20781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20782 *) ac_try_echo=$ac_try;;
20784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20785 (eval "$ac_link") 2>&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20789 { (case "(($ac_try" in
20790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20791 *) ac_try_echo=$ac_try;;
20793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20794 (eval "$ac_try") 2>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; }; then
20798 ac_cv_sizeof_short=`cat conftest.val`
20800 echo "$as_me: program exited with status $ac_status" >&5
20801 echo "$as_me: failed program was:" >&5
20802 sed 's
/^
/| /' conftest.$ac_ext >&5
20804 ( exit $ac_status )
20805 if test "$ac_cv_type_short" = yes; then
20806 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20807 See \`config.log' for more details.
" >&5
20808 echo "$as_me: error
: cannot compute sizeof
(short
)
20809 See \
`config.log' for more details." >&2;}
20810 { (exit 77); exit 77; }; }
20812 ac_cv_sizeof_short=0
20815 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20819 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20820 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20824 cat >>confdefs.h <<_ACEOF
20825 #define SIZEOF_SHORT $ac_cv_sizeof_short
20829 { echo "$as_me:$LINENO: checking for void *" >&5
20830 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20831 if test "${ac_cv_type_void_p+set}" = set; then
20832 echo $ECHO_N "(cached) $ECHO_C" >&6
20834 cat >conftest.$ac_ext <<_ACEOF
20837 cat confdefs.h >>conftest.$ac_ext
20838 cat >>conftest.$ac_ext <<_ACEOF
20839 /* end confdefs.h. */
20840 $ac_includes_default
20841 typedef void * ac__type_new_;
20845 if ((ac__type_new_ *) 0)
20847 if (sizeof (ac__type_new_))
20853 rm -f conftest.$ac_objext
20854 if { (ac_try="$ac_compile"
20855 case "(($ac_try" in
20856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20857 *) ac_try_echo
=$ac_try;;
20859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20860 (eval "$ac_compile") 2>conftest.er1
20862 grep -v '^ *+' conftest.er1
>conftest.err
20864 cat conftest.err
>&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); } && {
20867 test -z "$ac_c_werror_flag" ||
20868 test ! -s conftest.err
20869 } && test -s conftest.
$ac_objext; then
20870 ac_cv_type_void_p
=yes
20872 echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.
$ac_ext >&5
20875 ac_cv_type_void_p
=no
20878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20880 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20881 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20883 # The cast to long int works around a bug in the HP C Compiler
20884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20886 # This bug is HP SR number 8606223364.
20887 { echo "$as_me:$LINENO: checking size of void *" >&5
20888 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20889 if test "${ac_cv_sizeof_void_p+set}" = set; then
20890 echo $ECHO_N "(cached) $ECHO_C" >&6
20892 if test "$cross_compiling" = yes; then
20893 # Depending upon the size, compute the lo and hi bounds.
20894 cat >conftest.
$ac_ext <<_ACEOF
20897 cat confdefs.h
>>conftest.
$ac_ext
20898 cat >>conftest.
$ac_ext <<_ACEOF
20899 /* end confdefs.h. */
20900 $ac_includes_default
20901 typedef void * ac__type_sizeof_;
20905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20912 rm -f conftest.
$ac_objext
20913 if { (ac_try
="$ac_compile"
20914 case "(($ac_try" in
20915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20916 *) ac_try_echo=$ac_try;;
20918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20919 (eval "$ac_compile") 2>conftest.er1
20921 grep -v '^ *+' conftest.er1 >conftest.err
20923 cat conftest.err >&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); } && {
20926 test -z "$ac_c_werror_flag" ||
20927 test ! -s conftest.err
20928 } && test -s conftest.$ac_objext; then
20931 cat >conftest.$ac_ext <<_ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937 $ac_includes_default
20938 typedef void * ac__type_sizeof_;
20942 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20949 rm -f conftest.$ac_objext
20950 if { (ac_try="$ac_compile"
20951 case "(($ac_try" in
20952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20953 *) ac_try_echo
=$ac_try;;
20955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20956 (eval "$ac_compile") 2>conftest.er1
20958 grep -v '^ *+' conftest.er1
>conftest.err
20960 cat conftest.err
>&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } && {
20963 test -z "$ac_c_werror_flag" ||
20964 test ! -s conftest.err
20965 } && test -s conftest.
$ac_objext; then
20966 ac_hi
=$ac_mid; break
20968 echo "$as_me: failed program was:" >&5
20969 sed 's/^/| /' conftest.
$ac_ext >&5
20971 ac_lo
=`expr $ac_mid + 1`
20972 if test $ac_lo -le $ac_mid; then
20976 ac_mid
=`expr 2 '*' $ac_mid + 1`
20979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20982 echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.
$ac_ext >&5
20985 cat >conftest.
$ac_ext <<_ACEOF
20988 cat confdefs.h
>>conftest.
$ac_ext
20989 cat >>conftest.
$ac_ext <<_ACEOF
20990 /* end confdefs.h. */
20991 $ac_includes_default
20992 typedef void * ac__type_sizeof_;
20996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21003 rm -f conftest.
$ac_objext
21004 if { (ac_try
="$ac_compile"
21005 case "(($ac_try" in
21006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21007 *) ac_try_echo=$ac_try;;
21009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21010 (eval "$ac_compile") 2>conftest.er1
21012 grep -v '^ *+' conftest.er1 >conftest.err
21014 cat conftest.err >&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } && {
21017 test -z "$ac_c_werror_flag" ||
21018 test ! -s conftest.err
21019 } && test -s conftest.$ac_objext; then
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 void * ac__type_sizeof_;
21033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21040 rm -f conftest.$ac_objext
21041 if { (ac_try="$ac_compile"
21042 case "(($ac_try" in
21043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21044 *) ac_try_echo
=$ac_try;;
21046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21047 (eval "$ac_compile") 2>conftest.er1
21049 grep -v '^ *+' conftest.er1
>conftest.err
21051 cat conftest.err
>&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); } && {
21054 test -z "$ac_c_werror_flag" ||
21055 test ! -s conftest.err
21056 } && test -s conftest.
$ac_objext; then
21057 ac_lo
=$ac_mid; break
21059 echo "$as_me: failed program was:" >&5
21060 sed 's/^/| /' conftest.
$ac_ext >&5
21062 ac_hi
=`expr '(' $ac_mid ')' - 1`
21063 if test $ac_mid -le $ac_hi; then
21067 ac_mid
=`expr 2 '*' $ac_mid`
21070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21073 echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.
$ac_ext >&5
21079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21083 # Binary search between lo and hi bounds.
21084 while test "x$ac_lo" != "x$ac_hi"; do
21085 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21086 cat >conftest.
$ac_ext <<_ACEOF
21089 cat confdefs.h
>>conftest.
$ac_ext
21090 cat >>conftest.
$ac_ext <<_ACEOF
21091 /* end confdefs.h. */
21092 $ac_includes_default
21093 typedef void * ac__type_sizeof_;
21097 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21104 rm -f conftest.
$ac_objext
21105 if { (ac_try
="$ac_compile"
21106 case "(($ac_try" in
21107 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21108 *) ac_try_echo=$ac_try;;
21110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21111 (eval "$ac_compile") 2>conftest.er1
21113 grep -v '^ *+' conftest.er1 >conftest.err
21115 cat conftest.err >&5
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); } && {
21118 test -z "$ac_c_werror_flag" ||
21119 test ! -s conftest.err
21120 } && test -s conftest.$ac_objext; then
21123 echo "$as_me: failed program was:" >&5
21124 sed 's/^/| /' conftest.$ac_ext >&5
21126 ac_lo=`expr '(' $ac_mid ')' + 1`
21129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21132 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21133 '') if test "$ac_cv_type_void_p" = yes; then
21134 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21135 See \`config.log
' for more details." >&5
21136 echo "$as_me: error: cannot compute sizeof (void *)
21137 See \`config.log' for more details.
" >&2;}
21138 { (exit 77); exit 77; }; }
21140 ac_cv_sizeof_void_p=0
21144 cat >conftest.$ac_ext <<_ACEOF
21147 cat confdefs.h >>conftest.$ac_ext
21148 cat >>conftest.$ac_ext <<_ACEOF
21149 /* end confdefs.h. */
21150 $ac_includes_default
21151 typedef void * ac__type_sizeof_;
21152 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21153 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21155 #include <stdlib.h>
21160 FILE *f = fopen ("conftest.val
", "w
");
21163 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21165 long int i = longval ();
21166 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21168 fprintf (f, "%ld
\n", i);
21172 unsigned long int i = ulongval ();
21173 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21175 fprintf (f, "%lu
\n", i);
21177 return ferror (f) || fclose (f) != 0;
21183 rm -f conftest$ac_exeext
21184 if { (ac_try="$ac_link"
21185 case "(($ac_try" in
21186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21187 *) ac_try_echo=$ac_try;;
21189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21190 (eval "$ac_link") 2>&5
21192 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21194 { (case "(($ac_try" in
21195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21196 *) ac_try_echo=$ac_try;;
21198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21199 (eval "$ac_try") 2>&5
21201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 ac_cv_sizeof_void_p=`cat conftest.val`
21205 echo "$as_me: program exited with status
$ac_status" >&5
21206 echo "$as_me: failed program was
:" >&5
21207 sed 's/^/| /' conftest.$ac_ext >&5
21209 ( exit $ac_status )
21210 if test "$ac_cv_type_void_p" = yes; then
21211 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
21212 See \
`config.log' for more details." >&5
21213 echo "$as_me: error: cannot compute sizeof (void *)
21214 See \`config.log
' for more details." >&2;}
21215 { (exit 77); exit 77; }; }
21217 ac_cv_sizeof_void_p=0
21220 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21224 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21225 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21229 cat >>confdefs.h <<_ACEOF
21230 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21234 { echo "$as_me:$LINENO: checking for int" >&5
21235 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21236 if test "${ac_cv_type_int+set}" = set; then
21237 echo $ECHO_N "(cached) $ECHO_C" >&6
21239 cat >conftest.$ac_ext <<_ACEOF
21242 cat confdefs.h >>conftest.$ac_ext
21243 cat >>conftest.$ac_ext <<_ACEOF
21244 /* end confdefs.h. */
21245 $ac_includes_default
21246 typedef int ac__type_new_;
21250 if ((ac__type_new_ *) 0)
21252 if (sizeof (ac__type_new_))
21258 rm -f conftest.$ac_objext
21259 if { (ac_try="$ac_compile"
21260 case "(($ac_try" in
21261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21262 *) ac_try_echo=$ac_try;;
21264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21265 (eval "$ac_compile") 2>conftest.er1
21267 grep -v '^
*+' conftest.er1 >conftest.err
21269 cat conftest.err >&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); } && {
21272 test -z "$ac_c_werror_flag" ||
21273 test ! -s conftest.err
21274 } && test -s conftest.$ac_objext; then
21277 echo "$as_me: failed program was:" >&5
21278 sed 's
/^
/| /' conftest.$ac_ext >&5
21283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21285 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21286 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21288 # The cast to long int works around a bug in the HP C Compiler
21289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21291 # This bug is HP SR number 8606223364.
21292 { echo "$as_me:$LINENO: checking size of int" >&5
21293 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21294 if test "${ac_cv_sizeof_int+set}" = set; then
21295 echo $ECHO_N "(cached) $ECHO_C" >&6
21297 if test "$cross_compiling" = yes; then
21298 # Depending upon the size, compute the lo and hi bounds.
21299 cat >conftest.
$ac_ext <<_ACEOF
21302 cat confdefs.h
>>conftest.
$ac_ext
21303 cat >>conftest.
$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 $ac_includes_default
21306 typedef int ac__type_sizeof_;
21310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21317 rm -f conftest.
$ac_objext
21318 if { (ac_try
="$ac_compile"
21319 case "(($ac_try" in
21320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21321 *) ac_try_echo=$ac_try;;
21323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21324 (eval "$ac_compile") 2>conftest.er1
21326 grep -v '^ *+' conftest.er1 >conftest.err
21328 cat conftest.err >&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } && {
21331 test -z "$ac_c_werror_flag" ||
21332 test ! -s conftest.err
21333 } && test -s conftest.$ac_objext; then
21336 cat >conftest.$ac_ext <<_ACEOF
21339 cat confdefs.h >>conftest.$ac_ext
21340 cat >>conftest.$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21342 $ac_includes_default
21343 typedef int ac__type_sizeof_;
21347 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21354 rm -f conftest.$ac_objext
21355 if { (ac_try="$ac_compile"
21356 case "(($ac_try" in
21357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21358 *) ac_try_echo
=$ac_try;;
21360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21361 (eval "$ac_compile") 2>conftest.er1
21363 grep -v '^ *+' conftest.er1
>conftest.err
21365 cat conftest.err
>&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } && {
21368 test -z "$ac_c_werror_flag" ||
21369 test ! -s conftest.err
21370 } && test -s conftest.
$ac_objext; then
21371 ac_hi
=$ac_mid; break
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.
$ac_ext >&5
21376 ac_lo
=`expr $ac_mid + 1`
21377 if test $ac_lo -le $ac_mid; then
21381 ac_mid
=`expr 2 '*' $ac_mid + 1`
21384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.
$ac_ext >&5
21390 cat >conftest.
$ac_ext <<_ACEOF
21393 cat confdefs.h
>>conftest.
$ac_ext
21394 cat >>conftest.
$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21396 $ac_includes_default
21397 typedef int ac__type_sizeof_;
21401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21408 rm -f conftest.
$ac_objext
21409 if { (ac_try
="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21417 grep -v '^ *+' conftest.er1 >conftest.err
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.$ac_objext; then
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 int ac__type_sizeof_;
21438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21445 rm -f conftest.$ac_objext
21446 if { (ac_try="$ac_compile"
21447 case "(($ac_try" in
21448 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21449 *) ac_try_echo
=$ac_try;;
21451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21452 (eval "$ac_compile") 2>conftest.er1
21454 grep -v '^ *+' conftest.er1
>conftest.err
21456 cat conftest.err
>&5
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); } && {
21459 test -z "$ac_c_werror_flag" ||
21460 test ! -s conftest.err
21461 } && test -s conftest.
$ac_objext; then
21462 ac_lo
=$ac_mid; break
21464 echo "$as_me: failed program was:" >&5
21465 sed 's/^/| /' conftest.
$ac_ext >&5
21467 ac_hi
=`expr '(' $ac_mid ')' - 1`
21468 if test $ac_mid -le $ac_hi; then
21472 ac_mid
=`expr 2 '*' $ac_mid`
21475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21478 echo "$as_me: failed program was:" >&5
21479 sed 's/^/| /' conftest.
$ac_ext >&5
21484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21488 # Binary search between lo and hi bounds.
21489 while test "x$ac_lo" != "x$ac_hi"; do
21490 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21491 cat >conftest.
$ac_ext <<_ACEOF
21494 cat confdefs.h
>>conftest.
$ac_ext
21495 cat >>conftest.
$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21497 $ac_includes_default
21498 typedef int ac__type_sizeof_;
21502 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21509 rm -f conftest.
$ac_objext
21510 if { (ac_try
="$ac_compile"
21511 case "(($ac_try" in
21512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21513 *) ac_try_echo=$ac_try;;
21515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21516 (eval "$ac_compile") 2>conftest.er1
21518 grep -v '^ *+' conftest.er1 >conftest.err
21520 cat conftest.err >&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); } && {
21523 test -z "$ac_c_werror_flag" ||
21524 test ! -s conftest.err
21525 } && test -s conftest.$ac_objext; then
21528 echo "$as_me: failed program was:" >&5
21529 sed 's/^/| /' conftest.$ac_ext >&5
21531 ac_lo=`expr '(' $ac_mid ')' + 1`
21534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21537 ?*) ac_cv_sizeof_int=$ac_lo;;
21538 '') if test "$ac_cv_type_int" = yes; then
21539 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21540 See \`config.log
' for more details." >&5
21541 echo "$as_me: error: cannot compute sizeof (int)
21542 See \`config.log' for more details.
" >&2;}
21543 { (exit 77); exit 77; }; }
21549 cat >conftest.$ac_ext <<_ACEOF
21552 cat confdefs.h >>conftest.$ac_ext
21553 cat >>conftest.$ac_ext <<_ACEOF
21554 /* end confdefs.h. */
21555 $ac_includes_default
21556 typedef int ac__type_sizeof_;
21557 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21558 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21560 #include <stdlib.h>
21565 FILE *f = fopen ("conftest.val
", "w
");
21568 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21570 long int i = longval ();
21571 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21573 fprintf (f, "%ld
\n", i);
21577 unsigned long int i = ulongval ();
21578 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21580 fprintf (f, "%lu
\n", i);
21582 return ferror (f) || fclose (f) != 0;
21588 rm -f conftest$ac_exeext
21589 if { (ac_try="$ac_link"
21590 case "(($ac_try" in
21591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21592 *) ac_try_echo=$ac_try;;
21594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21595 (eval "$ac_link") 2>&5
21597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21598 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21599 { (case "(($ac_try" in
21600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21601 *) ac_try_echo=$ac_try;;
21603 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21604 (eval "$ac_try") 2>&5
21606 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21607 (exit $ac_status); }; }; then
21608 ac_cv_sizeof_int=`cat conftest.val`
21610 echo "$as_me: program exited with status
$ac_status" >&5
21611 echo "$as_me: failed program was
:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21614 ( exit $ac_status )
21615 if test "$ac_cv_type_int" = yes; then
21616 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21617 See \
`config.log' for more details." >&5
21618 echo "$as_me: error: cannot compute sizeof (int)
21619 See \`config.log
' for more details." >&2;}
21620 { (exit 77); exit 77; }; }
21625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21629 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21630 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21634 cat >>confdefs.h <<_ACEOF
21635 #define SIZEOF_INT $ac_cv_sizeof_int
21639 { echo "$as_me:$LINENO: checking for long" >&5
21640 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21641 if test "${ac_cv_type_long+set}" = set; then
21642 echo $ECHO_N "(cached) $ECHO_C" >&6
21644 cat >conftest.$ac_ext <<_ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 $ac_includes_default
21651 typedef long ac__type_new_;
21655 if ((ac__type_new_ *) 0)
21657 if (sizeof (ac__type_new_))
21663 rm -f conftest.$ac_objext
21664 if { (ac_try="$ac_compile"
21665 case "(($ac_try" in
21666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21667 *) ac_try_echo=$ac_try;;
21669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21670 (eval "$ac_compile") 2>conftest.er1
21672 grep -v '^
*+' conftest.er1 >conftest.err
21674 cat conftest.err >&5
21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676 (exit $ac_status); } && {
21677 test -z "$ac_c_werror_flag" ||
21678 test ! -s conftest.err
21679 } && test -s conftest.$ac_objext; then
21680 ac_cv_type_long=yes
21682 echo "$as_me: failed program was:" >&5
21683 sed 's
/^
/| /' conftest.$ac_ext >&5
21688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21690 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21691 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21693 # The cast to long int works around a bug in the HP C Compiler
21694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21696 # This bug is HP SR number 8606223364.
21697 { echo "$as_me:$LINENO: checking size of long" >&5
21698 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21699 if test "${ac_cv_sizeof_long+set}" = set; then
21700 echo $ECHO_N "(cached) $ECHO_C" >&6
21702 if test "$cross_compiling" = yes; then
21703 # Depending upon the size, compute the lo and hi bounds.
21704 cat >conftest.
$ac_ext <<_ACEOF
21707 cat confdefs.h
>>conftest.
$ac_ext
21708 cat >>conftest.
$ac_ext <<_ACEOF
21709 /* end confdefs.h. */
21710 $ac_includes_default
21711 typedef long ac__type_sizeof_;
21715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21722 rm -f conftest.
$ac_objext
21723 if { (ac_try
="$ac_compile"
21724 case "(($ac_try" in
21725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21726 *) ac_try_echo=$ac_try;;
21728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21729 (eval "$ac_compile") 2>conftest.er1
21731 grep -v '^ *+' conftest.er1 >conftest.err
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } && {
21736 test -z "$ac_c_werror_flag" ||
21737 test ! -s conftest.err
21738 } && test -s conftest.$ac_objext; then
21741 cat >conftest.$ac_ext <<_ACEOF
21744 cat confdefs.h >>conftest.$ac_ext
21745 cat >>conftest.$ac_ext <<_ACEOF
21746 /* end confdefs.h. */
21747 $ac_includes_default
21748 typedef long ac__type_sizeof_;
21752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21759 rm -f conftest.$ac_objext
21760 if { (ac_try="$ac_compile"
21761 case "(($ac_try" in
21762 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21763 *) ac_try_echo
=$ac_try;;
21765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21766 (eval "$ac_compile") 2>conftest.er1
21768 grep -v '^ *+' conftest.er1
>conftest.err
21770 cat conftest.err
>&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } && {
21773 test -z "$ac_c_werror_flag" ||
21774 test ! -s conftest.err
21775 } && test -s conftest.
$ac_objext; then
21776 ac_hi
=$ac_mid; break
21778 echo "$as_me: failed program was:" >&5
21779 sed 's/^/| /' conftest.
$ac_ext >&5
21781 ac_lo
=`expr $ac_mid + 1`
21782 if test $ac_lo -le $ac_mid; then
21786 ac_mid
=`expr 2 '*' $ac_mid + 1`
21789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.
$ac_ext >&5
21795 cat >conftest.
$ac_ext <<_ACEOF
21798 cat confdefs.h
>>conftest.
$ac_ext
21799 cat >>conftest.
$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21801 $ac_includes_default
21802 typedef long ac__type_sizeof_;
21806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21813 rm -f conftest.
$ac_objext
21814 if { (ac_try
="$ac_compile"
21815 case "(($ac_try" in
21816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21817 *) ac_try_echo=$ac_try;;
21819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21820 (eval "$ac_compile") 2>conftest.er1
21822 grep -v '^ *+' conftest.er1 >conftest.err
21824 cat conftest.err >&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } && {
21827 test -z "$ac_c_werror_flag" ||
21828 test ! -s conftest.err
21829 } && test -s conftest.$ac_objext; then
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 long ac__type_sizeof_;
21843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21850 rm -f conftest.$ac_objext
21851 if { (ac_try="$ac_compile"
21852 case "(($ac_try" in
21853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21854 *) ac_try_echo
=$ac_try;;
21856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21857 (eval "$ac_compile") 2>conftest.er1
21859 grep -v '^ *+' conftest.er1
>conftest.err
21861 cat conftest.err
>&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } && {
21864 test -z "$ac_c_werror_flag" ||
21865 test ! -s conftest.err
21866 } && test -s conftest.
$ac_objext; then
21867 ac_lo
=$ac_mid; break
21869 echo "$as_me: failed program was:" >&5
21870 sed 's/^/| /' conftest.
$ac_ext >&5
21872 ac_hi
=`expr '(' $ac_mid ')' - 1`
21873 if test $ac_mid -le $ac_hi; then
21877 ac_mid
=`expr 2 '*' $ac_mid`
21880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21883 echo "$as_me: failed program was:" >&5
21884 sed 's/^/| /' conftest.
$ac_ext >&5
21889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21893 # Binary search between lo and hi bounds.
21894 while test "x$ac_lo" != "x$ac_hi"; do
21895 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21896 cat >conftest.
$ac_ext <<_ACEOF
21899 cat confdefs.h
>>conftest.
$ac_ext
21900 cat >>conftest.
$ac_ext <<_ACEOF
21901 /* end confdefs.h. */
21902 $ac_includes_default
21903 typedef long ac__type_sizeof_;
21907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21914 rm -f conftest.
$ac_objext
21915 if { (ac_try
="$ac_compile"
21916 case "(($ac_try" in
21917 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21918 *) ac_try_echo=$ac_try;;
21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921 (eval "$ac_compile") 2>conftest.er1
21923 grep -v '^ *+' conftest.er1 >conftest.err
21925 cat conftest.err >&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); } && {
21928 test -z "$ac_c_werror_flag" ||
21929 test ! -s conftest.err
21930 } && test -s conftest.$ac_objext; then
21933 echo "$as_me: failed program was:" >&5
21934 sed 's/^/| /' conftest.$ac_ext >&5
21936 ac_lo=`expr '(' $ac_mid ')' + 1`
21939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21942 ?*) ac_cv_sizeof_long=$ac_lo;;
21943 '') if test "$ac_cv_type_long" = yes; then
21944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21945 See \`config.log
' for more details." >&5
21946 echo "$as_me: error: cannot compute sizeof (long)
21947 See \`config.log' for more details.
" >&2;}
21948 { (exit 77); exit 77; }; }
21950 ac_cv_sizeof_long=0
21954 cat >conftest.$ac_ext <<_ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 $ac_includes_default
21961 typedef long ac__type_sizeof_;
21962 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21963 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21965 #include <stdlib.h>
21970 FILE *f = fopen ("conftest.val
", "w
");
21973 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21975 long int i = longval ();
21976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21978 fprintf (f, "%ld
\n", i);
21982 unsigned long int i = ulongval ();
21983 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21985 fprintf (f, "%lu
\n", i);
21987 return ferror (f) || fclose (f) != 0;
21993 rm -f conftest$ac_exeext
21994 if { (ac_try="$ac_link"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_link") 2>&5
22002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22004 { (case "(($ac_try" in
22005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22006 *) ac_try_echo=$ac_try;;
22008 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22009 (eval "$ac_try") 2>&5
22011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22012 (exit $ac_status); }; }; then
22013 ac_cv_sizeof_long=`cat conftest.val`
22015 echo "$as_me: program exited with status
$ac_status" >&5
22016 echo "$as_me: failed program was
:" >&5
22017 sed 's/^/| /' conftest.$ac_ext >&5
22019 ( exit $ac_status )
22020 if test "$ac_cv_type_long" = yes; then
22021 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22022 See \
`config.log' for more details." >&5
22023 echo "$as_me: error: cannot compute sizeof (long)
22024 See \`config.log
' for more details." >&2;}
22025 { (exit 77); exit 77; }; }
22027 ac_cv_sizeof_long=0
22030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22034 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22035 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22039 cat >>confdefs.h <<_ACEOF
22040 #define SIZEOF_LONG $ac_cv_sizeof_long
22044 { echo "$as_me:$LINENO: checking for size_t" >&5
22045 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22046 if test "${ac_cv_type_size_t+set}" = set; then
22047 echo $ECHO_N "(cached) $ECHO_C" >&6
22049 cat >conftest.$ac_ext <<_ACEOF
22052 cat confdefs.h >>conftest.$ac_ext
22053 cat >>conftest.$ac_ext <<_ACEOF
22054 /* end confdefs.h. */
22055 $ac_includes_default
22056 typedef size_t ac__type_new_;
22060 if ((ac__type_new_ *) 0)
22062 if (sizeof (ac__type_new_))
22068 rm -f conftest.$ac_objext
22069 if { (ac_try="$ac_compile"
22070 case "(($ac_try" in
22071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22072 *) ac_try_echo=$ac_try;;
22074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22075 (eval "$ac_compile") 2>conftest.er1
22077 grep -v '^
*+' conftest.er1 >conftest.err
22079 cat conftest.err >&5
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); } && {
22082 test -z "$ac_c_werror_flag" ||
22083 test ! -s conftest.err
22084 } && test -s conftest.$ac_objext; then
22085 ac_cv_type_size_t=yes
22087 echo "$as_me: failed program was:" >&5
22088 sed 's
/^
/| /' conftest.$ac_ext >&5
22090 ac_cv_type_size_t=no
22093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22095 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22096 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22098 # The cast to long int works around a bug in the HP C Compiler
22099 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22100 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22101 # This bug is HP SR number 8606223364.
22102 { echo "$as_me:$LINENO: checking size of size_t" >&5
22103 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22104 if test "${ac_cv_sizeof_size_t+set}" = set; then
22105 echo $ECHO_N "(cached) $ECHO_C" >&6
22107 if test "$cross_compiling" = yes; then
22108 # Depending upon the size, compute the lo and hi bounds.
22109 cat >conftest.
$ac_ext <<_ACEOF
22112 cat confdefs.h
>>conftest.
$ac_ext
22113 cat >>conftest.
$ac_ext <<_ACEOF
22114 /* end confdefs.h. */
22115 $ac_includes_default
22116 typedef size_t ac__type_sizeof_;
22120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22127 rm -f conftest.
$ac_objext
22128 if { (ac_try
="$ac_compile"
22129 case "(($ac_try" in
22130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22131 *) ac_try_echo=$ac_try;;
22133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22134 (eval "$ac_compile") 2>conftest.er1
22136 grep -v '^ *+' conftest.er1 >conftest.err
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } && {
22141 test -z "$ac_c_werror_flag" ||
22142 test ! -s conftest.err
22143 } && test -s conftest.$ac_objext; then
22146 cat >conftest.$ac_ext <<_ACEOF
22149 cat confdefs.h >>conftest.$ac_ext
22150 cat >>conftest.$ac_ext <<_ACEOF
22151 /* end confdefs.h. */
22152 $ac_includes_default
22153 typedef size_t ac__type_sizeof_;
22157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22164 rm -f conftest.$ac_objext
22165 if { (ac_try="$ac_compile"
22166 case "(($ac_try" in
22167 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22168 *) ac_try_echo
=$ac_try;;
22170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22171 (eval "$ac_compile") 2>conftest.er1
22173 grep -v '^ *+' conftest.er1
>conftest.err
22175 cat conftest.err
>&5
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); } && {
22178 test -z "$ac_c_werror_flag" ||
22179 test ! -s conftest.err
22180 } && test -s conftest.
$ac_objext; then
22181 ac_hi
=$ac_mid; break
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.
$ac_ext >&5
22186 ac_lo
=`expr $ac_mid + 1`
22187 if test $ac_lo -le $ac_mid; then
22191 ac_mid
=`expr 2 '*' $ac_mid + 1`
22194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22197 echo "$as_me: failed program was:" >&5
22198 sed 's/^/| /' conftest.
$ac_ext >&5
22200 cat >conftest.
$ac_ext <<_ACEOF
22203 cat confdefs.h
>>conftest.
$ac_ext
22204 cat >>conftest.
$ac_ext <<_ACEOF
22205 /* end confdefs.h. */
22206 $ac_includes_default
22207 typedef size_t ac__type_sizeof_;
22211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22218 rm -f conftest.
$ac_objext
22219 if { (ac_try
="$ac_compile"
22220 case "(($ac_try" in
22221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22222 *) ac_try_echo=$ac_try;;
22224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22225 (eval "$ac_compile") 2>conftest.er1
22227 grep -v '^ *+' conftest.er1 >conftest.err
22229 cat conftest.err >&5
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); } && {
22232 test -z "$ac_c_werror_flag" ||
22233 test ! -s conftest.err
22234 } && test -s conftest.$ac_objext; then
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 size_t ac__type_sizeof_;
22248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22255 rm -f conftest.$ac_objext
22256 if { (ac_try="$ac_compile"
22257 case "(($ac_try" in
22258 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22259 *) ac_try_echo
=$ac_try;;
22261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22262 (eval "$ac_compile") 2>conftest.er1
22264 grep -v '^ *+' conftest.er1
>conftest.err
22266 cat conftest.err
>&5
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); } && {
22269 test -z "$ac_c_werror_flag" ||
22270 test ! -s conftest.err
22271 } && test -s conftest.
$ac_objext; then
22272 ac_lo
=$ac_mid; break
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.
$ac_ext >&5
22277 ac_hi
=`expr '(' $ac_mid ')' - 1`
22278 if test $ac_mid -le $ac_hi; then
22282 ac_mid
=`expr 2 '*' $ac_mid`
22285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.
$ac_ext >&5
22294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22298 # Binary search between lo and hi bounds.
22299 while test "x$ac_lo" != "x$ac_hi"; do
22300 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22301 cat >conftest.
$ac_ext <<_ACEOF
22304 cat confdefs.h
>>conftest.
$ac_ext
22305 cat >>conftest.
$ac_ext <<_ACEOF
22306 /* end confdefs.h. */
22307 $ac_includes_default
22308 typedef size_t ac__type_sizeof_;
22312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22319 rm -f conftest.
$ac_objext
22320 if { (ac_try
="$ac_compile"
22321 case "(($ac_try" in
22322 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22323 *) ac_try_echo=$ac_try;;
22325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22326 (eval "$ac_compile") 2>conftest.er1
22328 grep -v '^ *+' conftest.er1 >conftest.err
22330 cat conftest.err >&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); } && {
22333 test -z "$ac_c_werror_flag" ||
22334 test ! -s conftest.err
22335 } && test -s conftest.$ac_objext; then
22338 echo "$as_me: failed program was:" >&5
22339 sed 's/^/| /' conftest.$ac_ext >&5
22341 ac_lo=`expr '(' $ac_mid ')' + 1`
22344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22347 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22348 '') if test "$ac_cv_type_size_t" = yes; then
22349 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22350 See \`config.log
' for more details." >&5
22351 echo "$as_me: error: cannot compute sizeof (size_t)
22352 See \`config.log' for more details.
" >&2;}
22353 { (exit 77); exit 77; }; }
22355 ac_cv_sizeof_size_t=0
22359 cat >conftest.$ac_ext <<_ACEOF
22362 cat confdefs.h >>conftest.$ac_ext
22363 cat >>conftest.$ac_ext <<_ACEOF
22364 /* end confdefs.h. */
22365 $ac_includes_default
22366 typedef size_t ac__type_sizeof_;
22367 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22368 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22370 #include <stdlib.h>
22375 FILE *f = fopen ("conftest.val
", "w
");
22378 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22380 long int i = longval ();
22381 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22383 fprintf (f, "%ld
\n", i);
22387 unsigned long int i = ulongval ();
22388 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22390 fprintf (f, "%lu
\n", i);
22392 return ferror (f) || fclose (f) != 0;
22398 rm -f conftest$ac_exeext
22399 if { (ac_try="$ac_link"
22400 case "(($ac_try" in
22401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22402 *) ac_try_echo=$ac_try;;
22404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22405 (eval "$ac_link") 2>&5
22407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22409 { (case "(($ac_try" in
22410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22411 *) ac_try_echo=$ac_try;;
22413 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22414 (eval "$ac_try") 2>&5
22416 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22417 (exit $ac_status); }; }; then
22418 ac_cv_sizeof_size_t=`cat conftest.val`
22420 echo "$as_me: program exited with status
$ac_status" >&5
22421 echo "$as_me: failed program was
:" >&5
22422 sed 's/^/| /' conftest.$ac_ext >&5
22424 ( exit $ac_status )
22425 if test "$ac_cv_type_size_t" = yes; then
22426 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22427 See \
`config.log' for more details." >&5
22428 echo "$as_me: error: cannot compute sizeof (size_t)
22429 See \`config.log
' for more details." >&2;}
22430 { (exit 77); exit 77; }; }
22432 ac_cv_sizeof_size_t=0
22435 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22439 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22440 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22444 cat >>confdefs.h <<_ACEOF
22445 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22452 { echo "$as_me:$LINENO: checking for long long" >&5
22453 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22454 if test "${ac_cv_type_long_long+set}" = set; then
22455 echo $ECHO_N "(cached) $ECHO_C" >&6
22457 cat >conftest.$ac_ext <<_ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463 $ac_includes_default
22464 typedef long long ac__type_new_;
22468 if ((ac__type_new_ *) 0)
22470 if (sizeof (ac__type_new_))
22476 rm -f conftest.$ac_objext
22477 if { (ac_try="$ac_compile"
22478 case "(($ac_try" in
22479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22480 *) ac_try_echo=$ac_try;;
22482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22483 (eval "$ac_compile") 2>conftest.er1
22485 grep -v '^
*+' conftest.er1 >conftest.err
22487 cat conftest.err >&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } && {
22490 test -z "$ac_c_werror_flag" ||
22491 test ! -s conftest.err
22492 } && test -s conftest.$ac_objext; then
22493 ac_cv_type_long_long=yes
22495 echo "$as_me: failed program was:" >&5
22496 sed 's
/^
/| /' conftest.$ac_ext >&5
22498 ac_cv_type_long_long=no
22501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22503 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22504 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22506 # The cast to long int works around a bug in the HP C Compiler
22507 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22508 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22509 # This bug is HP SR number 8606223364.
22510 { echo "$as_me:$LINENO: checking size of long long" >&5
22511 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22512 if test "${ac_cv_sizeof_long_long+set}" = set; then
22513 echo $ECHO_N "(cached) $ECHO_C" >&6
22515 if test "$cross_compiling" = yes; then
22516 # Depending upon the size, compute the lo and hi bounds.
22517 cat >conftest.
$ac_ext <<_ACEOF
22520 cat confdefs.h
>>conftest.
$ac_ext
22521 cat >>conftest.
$ac_ext <<_ACEOF
22522 /* end confdefs.h. */
22523 $ac_includes_default
22524 typedef long long ac__type_sizeof_;
22528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22535 rm -f conftest.
$ac_objext
22536 if { (ac_try
="$ac_compile"
22537 case "(($ac_try" in
22538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22539 *) ac_try_echo=$ac_try;;
22541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22542 (eval "$ac_compile") 2>conftest.er1
22544 grep -v '^ *+' conftest.er1 >conftest.err
22546 cat conftest.err >&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); } && {
22549 test -z "$ac_c_werror_flag" ||
22550 test ! -s conftest.err
22551 } && test -s conftest.$ac_objext; then
22554 cat >conftest.$ac_ext <<_ACEOF
22557 cat confdefs.h >>conftest.$ac_ext
22558 cat >>conftest.$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 $ac_includes_default
22561 typedef long long ac__type_sizeof_;
22565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22572 rm -f conftest.$ac_objext
22573 if { (ac_try="$ac_compile"
22574 case "(($ac_try" in
22575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22576 *) ac_try_echo
=$ac_try;;
22578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22579 (eval "$ac_compile") 2>conftest.er1
22581 grep -v '^ *+' conftest.er1
>conftest.err
22583 cat conftest.err
>&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); } && {
22586 test -z "$ac_c_werror_flag" ||
22587 test ! -s conftest.err
22588 } && test -s conftest.
$ac_objext; then
22589 ac_hi
=$ac_mid; break
22591 echo "$as_me: failed program was:" >&5
22592 sed 's/^/| /' conftest.
$ac_ext >&5
22594 ac_lo
=`expr $ac_mid + 1`
22595 if test $ac_lo -le $ac_mid; then
22599 ac_mid
=`expr 2 '*' $ac_mid + 1`
22602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.
$ac_ext >&5
22608 cat >conftest.
$ac_ext <<_ACEOF
22611 cat confdefs.h
>>conftest.
$ac_ext
22612 cat >>conftest.
$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22614 $ac_includes_default
22615 typedef long long ac__type_sizeof_;
22619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22626 rm -f conftest.
$ac_objext
22627 if { (ac_try
="$ac_compile"
22628 case "(($ac_try" in
22629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22630 *) ac_try_echo=$ac_try;;
22632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22633 (eval "$ac_compile") 2>conftest.er1
22635 grep -v '^ *+' conftest.er1 >conftest.err
22637 cat conftest.err >&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); } && {
22640 test -z "$ac_c_werror_flag" ||
22641 test ! -s conftest.err
22642 } && test -s conftest.$ac_objext; then
22645 cat >conftest.$ac_ext <<_ACEOF
22648 cat confdefs.h >>conftest.$ac_ext
22649 cat >>conftest.$ac_ext <<_ACEOF
22650 /* end confdefs.h. */
22651 $ac_includes_default
22652 typedef long long ac__type_sizeof_;
22656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22663 rm -f conftest.$ac_objext
22664 if { (ac_try="$ac_compile"
22665 case "(($ac_try" in
22666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22667 *) ac_try_echo
=$ac_try;;
22669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22670 (eval "$ac_compile") 2>conftest.er1
22672 grep -v '^ *+' conftest.er1
>conftest.err
22674 cat conftest.err
>&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } && {
22677 test -z "$ac_c_werror_flag" ||
22678 test ! -s conftest.err
22679 } && test -s conftest.
$ac_objext; then
22680 ac_lo
=$ac_mid; break
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.
$ac_ext >&5
22685 ac_hi
=`expr '(' $ac_mid ')' - 1`
22686 if test $ac_mid -le $ac_hi; then
22690 ac_mid
=`expr 2 '*' $ac_mid`
22693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.
$ac_ext >&5
22702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22706 # Binary search between lo and hi bounds.
22707 while test "x$ac_lo" != "x$ac_hi"; do
22708 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22709 cat >conftest.
$ac_ext <<_ACEOF
22712 cat confdefs.h
>>conftest.
$ac_ext
22713 cat >>conftest.
$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22715 $ac_includes_default
22716 typedef long long ac__type_sizeof_;
22720 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22727 rm -f conftest.
$ac_objext
22728 if { (ac_try
="$ac_compile"
22729 case "(($ac_try" in
22730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22731 *) ac_try_echo=$ac_try;;
22733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22734 (eval "$ac_compile") 2>conftest.er1
22736 grep -v '^ *+' conftest.er1 >conftest.err
22738 cat conftest.err >&5
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); } && {
22741 test -z "$ac_c_werror_flag" ||
22742 test ! -s conftest.err
22743 } && test -s conftest.$ac_objext; then
22746 echo "$as_me: failed program was:" >&5
22747 sed 's/^/| /' conftest.$ac_ext >&5
22749 ac_lo=`expr '(' $ac_mid ')' + 1`
22752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22755 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22756 '') if test "$ac_cv_type_long_long" = yes; then
22757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22758 See \`config.log
' for more details." >&5
22759 echo "$as_me: error: cannot compute sizeof (long long)
22760 See \`config.log' for more details.
" >&2;}
22761 { (exit 77); exit 77; }; }
22763 ac_cv_sizeof_long_long=0
22767 cat >conftest.$ac_ext <<_ACEOF
22770 cat confdefs.h >>conftest.$ac_ext
22771 cat >>conftest.$ac_ext <<_ACEOF
22772 /* end confdefs.h. */
22773 $ac_includes_default
22774 typedef long long ac__type_sizeof_;
22775 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22776 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22778 #include <stdlib.h>
22783 FILE *f = fopen ("conftest.val
", "w
");
22786 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22788 long int i = longval ();
22789 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22791 fprintf (f, "%ld
\n", i);
22795 unsigned long int i = ulongval ();
22796 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22798 fprintf (f, "%lu
\n", i);
22800 return ferror (f) || fclose (f) != 0;
22806 rm -f conftest$ac_exeext
22807 if { (ac_try="$ac_link"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_link") 2>&5
22815 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22817 { (case "(($ac_try" in
22818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22819 *) ac_try_echo=$ac_try;;
22821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22822 (eval "$ac_try") 2>&5
22824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22825 (exit $ac_status); }; }; then
22826 ac_cv_sizeof_long_long=`cat conftest.val`
22828 echo "$as_me: program exited with status
$ac_status" >&5
22829 echo "$as_me: failed program was
:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22832 ( exit $ac_status )
22833 if test "$ac_cv_type_long_long" = yes; then
22834 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22835 See \
`config.log' for more details." >&5
22836 echo "$as_me: error: cannot compute sizeof (long long)
22837 See \`config.log
' for more details." >&2;}
22838 { (exit 77); exit 77; }; }
22840 ac_cv_sizeof_long_long=0
22843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22847 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22848 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22852 cat >>confdefs.h <<_ACEOF
22853 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22859 { echo "$as_me:$LINENO: checking for long long" >&5
22860 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22861 if test "${ac_cv_type_long_long+set}" = set; then
22862 echo $ECHO_N "(cached) $ECHO_C" >&6
22864 cat >conftest.$ac_ext <<_ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22870 $ac_includes_default
22871 typedef long long ac__type_new_;
22875 if ((ac__type_new_ *) 0)
22877 if (sizeof (ac__type_new_))
22883 rm -f conftest.$ac_objext
22884 if { (ac_try="$ac_compile"
22885 case "(($ac_try" in
22886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22887 *) ac_try_echo=$ac_try;;
22889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22890 (eval "$ac_compile") 2>conftest.er1
22892 grep -v '^
*+' conftest.er1 >conftest.err
22894 cat conftest.err >&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } && {
22897 test -z "$ac_c_werror_flag" ||
22898 test ! -s conftest.err
22899 } && test -s conftest.$ac_objext; then
22900 ac_cv_type_long_long=yes
22902 echo "$as_me: failed program was:" >&5
22903 sed 's
/^
/| /' conftest.$ac_ext >&5
22905 ac_cv_type_long_long=no
22908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22910 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22911 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22913 # The cast to long int works around a bug in the HP C Compiler
22914 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22915 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22916 # This bug is HP SR number 8606223364.
22917 { echo "$as_me:$LINENO: checking size of long long" >&5
22918 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22919 if test "${ac_cv_sizeof_long_long+set}" = set; then
22920 echo $ECHO_N "(cached) $ECHO_C" >&6
22922 if test "$cross_compiling" = yes; then
22923 # Depending upon the size, compute the lo and hi bounds.
22924 cat >conftest.
$ac_ext <<_ACEOF
22927 cat confdefs.h
>>conftest.
$ac_ext
22928 cat >>conftest.
$ac_ext <<_ACEOF
22929 /* end confdefs.h. */
22930 $ac_includes_default
22931 typedef long long ac__type_sizeof_;
22935 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22942 rm -f conftest.
$ac_objext
22943 if { (ac_try
="$ac_compile"
22944 case "(($ac_try" in
22945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22946 *) ac_try_echo=$ac_try;;
22948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22949 (eval "$ac_compile") 2>conftest.er1
22951 grep -v '^ *+' conftest.er1 >conftest.err
22953 cat conftest.err >&5
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); } && {
22956 test -z "$ac_c_werror_flag" ||
22957 test ! -s conftest.err
22958 } && test -s conftest.$ac_objext; then
22961 cat >conftest.$ac_ext <<_ACEOF
22964 cat confdefs.h >>conftest.$ac_ext
22965 cat >>conftest.$ac_ext <<_ACEOF
22966 /* end confdefs.h. */
22967 $ac_includes_default
22968 typedef long long ac__type_sizeof_;
22972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22979 rm -f conftest.$ac_objext
22980 if { (ac_try="$ac_compile"
22981 case "(($ac_try" in
22982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22983 *) ac_try_echo
=$ac_try;;
22985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22986 (eval "$ac_compile") 2>conftest.er1
22988 grep -v '^ *+' conftest.er1
>conftest.err
22990 cat conftest.err
>&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } && {
22993 test -z "$ac_c_werror_flag" ||
22994 test ! -s conftest.err
22995 } && test -s conftest.
$ac_objext; then
22996 ac_hi
=$ac_mid; break
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.
$ac_ext >&5
23001 ac_lo
=`expr $ac_mid + 1`
23002 if test $ac_lo -le $ac_mid; then
23006 ac_mid
=`expr 2 '*' $ac_mid + 1`
23009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23012 echo "$as_me: failed program was:" >&5
23013 sed 's/^/| /' conftest.
$ac_ext >&5
23015 cat >conftest.
$ac_ext <<_ACEOF
23018 cat confdefs.h
>>conftest.
$ac_ext
23019 cat >>conftest.
$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021 $ac_includes_default
23022 typedef long long ac__type_sizeof_;
23026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23033 rm -f conftest.
$ac_objext
23034 if { (ac_try
="$ac_compile"
23035 case "(($ac_try" in
23036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23037 *) ac_try_echo=$ac_try;;
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_compile") 2>conftest.er1
23042 grep -v '^ *+' conftest.er1 >conftest.err
23044 cat conftest.err >&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } && {
23047 test -z "$ac_c_werror_flag" ||
23048 test ! -s conftest.err
23049 } && test -s conftest.$ac_objext; then
23052 cat >conftest.$ac_ext <<_ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 $ac_includes_default
23059 typedef long long ac__type_sizeof_;
23063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23070 rm -f conftest.$ac_objext
23071 if { (ac_try="$ac_compile"
23072 case "(($ac_try" in
23073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23074 *) ac_try_echo
=$ac_try;;
23076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23077 (eval "$ac_compile") 2>conftest.er1
23079 grep -v '^ *+' conftest.er1
>conftest.err
23081 cat conftest.err
>&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); } && {
23084 test -z "$ac_c_werror_flag" ||
23085 test ! -s conftest.err
23086 } && test -s conftest.
$ac_objext; then
23087 ac_lo
=$ac_mid; break
23089 echo "$as_me: failed program was:" >&5
23090 sed 's/^/| /' conftest.
$ac_ext >&5
23092 ac_hi
=`expr '(' $ac_mid ')' - 1`
23093 if test $ac_mid -le $ac_hi; then
23097 ac_mid
=`expr 2 '*' $ac_mid`
23100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.
$ac_ext >&5
23109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23113 # Binary search between lo and hi bounds.
23114 while test "x$ac_lo" != "x$ac_hi"; do
23115 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23116 cat >conftest.
$ac_ext <<_ACEOF
23119 cat confdefs.h
>>conftest.
$ac_ext
23120 cat >>conftest.
$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23122 $ac_includes_default
23123 typedef long long ac__type_sizeof_;
23127 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23134 rm -f conftest.
$ac_objext
23135 if { (ac_try
="$ac_compile"
23136 case "(($ac_try" in
23137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23138 *) ac_try_echo=$ac_try;;
23140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23141 (eval "$ac_compile") 2>conftest.er1
23143 grep -v '^ *+' conftest.er1 >conftest.err
23145 cat conftest.err >&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } && {
23148 test -z "$ac_c_werror_flag" ||
23149 test ! -s conftest.err
23150 } && test -s conftest.$ac_objext; then
23153 echo "$as_me: failed program was:" >&5
23154 sed 's/^/| /' conftest.$ac_ext >&5
23156 ac_lo=`expr '(' $ac_mid ')' + 1`
23159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23162 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23163 '') if test "$ac_cv_type_long_long" = yes; then
23164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23165 See \`config.log
' for more details." >&5
23166 echo "$as_me: error: cannot compute sizeof (long long)
23167 See \`config.log' for more details.
" >&2;}
23168 { (exit 77); exit 77; }; }
23170 ac_cv_sizeof_long_long=0
23174 cat >conftest.$ac_ext <<_ACEOF
23177 cat confdefs.h >>conftest.$ac_ext
23178 cat >>conftest.$ac_ext <<_ACEOF
23179 /* end confdefs.h. */
23180 $ac_includes_default
23181 typedef long long ac__type_sizeof_;
23182 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23183 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23185 #include <stdlib.h>
23190 FILE *f = fopen ("conftest.val
", "w
");
23193 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23195 long int i = longval ();
23196 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23198 fprintf (f, "%ld
\n", i);
23202 unsigned long int i = ulongval ();
23203 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23205 fprintf (f, "%lu
\n", i);
23207 return ferror (f) || fclose (f) != 0;
23213 rm -f conftest$ac_exeext
23214 if { (ac_try="$ac_link"
23215 case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_link") 2>&5
23222 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23224 { (case "(($ac_try" in
23225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23226 *) ac_try_echo=$ac_try;;
23228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23229 (eval "$ac_try") 2>&5
23231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23232 (exit $ac_status); }; }; then
23233 ac_cv_sizeof_long_long=`cat conftest.val`
23235 echo "$as_me: program exited with status
$ac_status" >&5
23236 echo "$as_me: failed program was
:" >&5
23237 sed 's/^/| /' conftest.$ac_ext >&5
23239 ( exit $ac_status )
23240 if test "$ac_cv_type_long_long" = yes; then
23241 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23242 See \
`config.log' for more details." >&5
23243 echo "$as_me: error: cannot compute sizeof (long long)
23244 See \`config.log
' for more details." >&2;}
23245 { (exit 77); exit 77; }; }
23247 ac_cv_sizeof_long_long=0
23250 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23254 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23255 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23259 cat >>confdefs.h <<_ACEOF
23260 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23264 if test "$ac_cv_sizeof_long_long" != 0; then
23265 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23269 { echo "$as_me:$LINENO: checking for long long" >&5
23270 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23271 if test "${ac_cv_type_long_long+set}" = set; then
23272 echo $ECHO_N "(cached) $ECHO_C" >&6
23274 cat >conftest.$ac_ext <<_ACEOF
23277 cat confdefs.h >>conftest.$ac_ext
23278 cat >>conftest.$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23280 $ac_includes_default
23281 typedef long long ac__type_new_;
23285 if ((ac__type_new_ *) 0)
23287 if (sizeof (ac__type_new_))
23293 rm -f conftest.$ac_objext
23294 if { (ac_try="$ac_compile"
23295 case "(($ac_try" in
23296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23297 *) ac_try_echo=$ac_try;;
23299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23300 (eval "$ac_compile") 2>conftest.er1
23302 grep -v '^
*+' conftest.er1 >conftest.err
23304 cat conftest.err >&5
23305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23306 (exit $ac_status); } && {
23307 test -z "$ac_c_werror_flag" ||
23308 test ! -s conftest.err
23309 } && test -s conftest.$ac_objext; then
23310 ac_cv_type_long_long=yes
23312 echo "$as_me: failed program was:" >&5
23313 sed 's
/^
/| /' conftest.$ac_ext >&5
23315 ac_cv_type_long_long=no
23318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23320 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23321 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23323 # The cast to long int works around a bug in the HP C Compiler
23324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23326 # This bug is HP SR number 8606223364.
23327 { echo "$as_me:$LINENO: checking size of long long" >&5
23328 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23329 if test "${ac_cv_sizeof_long_long+set}" = set; then
23330 echo $ECHO_N "(cached) $ECHO_C" >&6
23332 if test "$cross_compiling" = yes; then
23333 # Depending upon the size, compute the lo and hi bounds.
23334 cat >conftest.
$ac_ext <<_ACEOF
23337 cat confdefs.h
>>conftest.
$ac_ext
23338 cat >>conftest.
$ac_ext <<_ACEOF
23339 /* end confdefs.h. */
23340 $ac_includes_default
23341 typedef long long ac__type_sizeof_;
23345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23352 rm -f conftest.
$ac_objext
23353 if { (ac_try
="$ac_compile"
23354 case "(($ac_try" in
23355 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23356 *) ac_try_echo=$ac_try;;
23358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23359 (eval "$ac_compile") 2>conftest.er1
23361 grep -v '^ *+' conftest.er1 >conftest.err
23363 cat conftest.err >&5
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); } && {
23366 test -z "$ac_c_werror_flag" ||
23367 test ! -s conftest.err
23368 } && test -s conftest.$ac_objext; then
23371 cat >conftest.$ac_ext <<_ACEOF
23374 cat confdefs.h >>conftest.$ac_ext
23375 cat >>conftest.$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23377 $ac_includes_default
23378 typedef long long ac__type_sizeof_;
23382 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23389 rm -f conftest.$ac_objext
23390 if { (ac_try="$ac_compile"
23391 case "(($ac_try" in
23392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23393 *) ac_try_echo
=$ac_try;;
23395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23396 (eval "$ac_compile") 2>conftest.er1
23398 grep -v '^ *+' conftest.er1
>conftest.err
23400 cat conftest.err
>&5
23401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23402 (exit $ac_status); } && {
23403 test -z "$ac_c_werror_flag" ||
23404 test ! -s conftest.err
23405 } && test -s conftest.
$ac_objext; then
23406 ac_hi
=$ac_mid; break
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.
$ac_ext >&5
23411 ac_lo
=`expr $ac_mid + 1`
23412 if test $ac_lo -le $ac_mid; then
23416 ac_mid
=`expr 2 '*' $ac_mid + 1`
23419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23422 echo "$as_me: failed program was:" >&5
23423 sed 's/^/| /' conftest.
$ac_ext >&5
23425 cat >conftest.
$ac_ext <<_ACEOF
23428 cat confdefs.h
>>conftest.
$ac_ext
23429 cat >>conftest.
$ac_ext <<_ACEOF
23430 /* end confdefs.h. */
23431 $ac_includes_default
23432 typedef long long ac__type_sizeof_;
23436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23443 rm -f conftest.
$ac_objext
23444 if { (ac_try
="$ac_compile"
23445 case "(($ac_try" in
23446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23447 *) ac_try_echo=$ac_try;;
23449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23450 (eval "$ac_compile") 2>conftest.er1
23452 grep -v '^ *+' conftest.er1 >conftest.err
23454 cat conftest.err >&5
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); } && {
23457 test -z "$ac_c_werror_flag" ||
23458 test ! -s conftest.err
23459 } && test -s conftest.$ac_objext; then
23462 cat >conftest.$ac_ext <<_ACEOF
23465 cat confdefs.h >>conftest.$ac_ext
23466 cat >>conftest.$ac_ext <<_ACEOF
23467 /* end confdefs.h. */
23468 $ac_includes_default
23469 typedef long long ac__type_sizeof_;
23473 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23480 rm -f conftest.$ac_objext
23481 if { (ac_try="$ac_compile"
23482 case "(($ac_try" in
23483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23484 *) ac_try_echo
=$ac_try;;
23486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23487 (eval "$ac_compile") 2>conftest.er1
23489 grep -v '^ *+' conftest.er1
>conftest.err
23491 cat conftest.err
>&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); } && {
23494 test -z "$ac_c_werror_flag" ||
23495 test ! -s conftest.err
23496 } && test -s conftest.
$ac_objext; then
23497 ac_lo
=$ac_mid; break
23499 echo "$as_me: failed program was:" >&5
23500 sed 's/^/| /' conftest.
$ac_ext >&5
23502 ac_hi
=`expr '(' $ac_mid ')' - 1`
23503 if test $ac_mid -le $ac_hi; then
23507 ac_mid
=`expr 2 '*' $ac_mid`
23510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23513 echo "$as_me: failed program was:" >&5
23514 sed 's/^/| /' conftest.
$ac_ext >&5
23519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23523 # Binary search between lo and hi bounds.
23524 while test "x$ac_lo" != "x$ac_hi"; do
23525 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23526 cat >conftest.
$ac_ext <<_ACEOF
23529 cat confdefs.h
>>conftest.
$ac_ext
23530 cat >>conftest.
$ac_ext <<_ACEOF
23531 /* end confdefs.h. */
23532 $ac_includes_default
23533 typedef long long ac__type_sizeof_;
23537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23544 rm -f conftest.
$ac_objext
23545 if { (ac_try
="$ac_compile"
23546 case "(($ac_try" in
23547 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23548 *) ac_try_echo=$ac_try;;
23550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23551 (eval "$ac_compile") 2>conftest.er1
23553 grep -v '^ *+' conftest.er1 >conftest.err
23555 cat conftest.err >&5
23556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23557 (exit $ac_status); } && {
23558 test -z "$ac_c_werror_flag" ||
23559 test ! -s conftest.err
23560 } && test -s conftest.$ac_objext; then
23563 echo "$as_me: failed program was:" >&5
23564 sed 's/^/| /' conftest.$ac_ext >&5
23566 ac_lo=`expr '(' $ac_mid ')' + 1`
23569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23572 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23573 '') if test "$ac_cv_type_long_long" = yes; then
23574 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23575 See \`config.log
' for more details." >&5
23576 echo "$as_me: error: cannot compute sizeof (long long)
23577 See \`config.log' for more details.
" >&2;}
23578 { (exit 77); exit 77; }; }
23580 ac_cv_sizeof_long_long=0
23584 cat >conftest.$ac_ext <<_ACEOF
23587 cat confdefs.h >>conftest.$ac_ext
23588 cat >>conftest.$ac_ext <<_ACEOF
23589 /* end confdefs.h. */
23590 $ac_includes_default
23591 typedef long long ac__type_sizeof_;
23592 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23593 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23595 #include <stdlib.h>
23600 FILE *f = fopen ("conftest.val
", "w
");
23603 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23605 long int i = longval ();
23606 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23608 fprintf (f, "%ld
\n", i);
23612 unsigned long int i = ulongval ();
23613 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23615 fprintf (f, "%lu
\n", i);
23617 return ferror (f) || fclose (f) != 0;
23623 rm -f conftest$ac_exeext
23624 if { (ac_try="$ac_link"
23625 case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23627 *) ac_try_echo=$ac_try;;
23629 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_link") 2>&5
23632 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23633 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23634 { (case "(($ac_try" in
23635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23636 *) ac_try_echo=$ac_try;;
23638 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23639 (eval "$ac_try") 2>&5
23641 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23642 (exit $ac_status); }; }; then
23643 ac_cv_sizeof_long_long=`cat conftest.val`
23645 echo "$as_me: program exited with status
$ac_status" >&5
23646 echo "$as_me: failed program was
:" >&5
23647 sed 's/^/| /' conftest.$ac_ext >&5
23649 ( exit $ac_status )
23650 if test "$ac_cv_type_long_long" = yes; then
23651 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23652 See \
`config.log' for more details." >&5
23653 echo "$as_me: error: cannot compute sizeof (long long)
23654 See \`config.log
' for more details." >&2;}
23655 { (exit 77); exit 77; }; }
23657 ac_cv_sizeof_long_long=0
23660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23664 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23665 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23669 cat >>confdefs.h <<_ACEOF
23670 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23676 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23677 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23678 if test "${ac_cv_type_wchar_t+set}" = set; then
23679 echo $ECHO_N "(cached) $ECHO_C" >&6
23681 cat >conftest.$ac_ext <<_ACEOF
23684 cat confdefs.h >>conftest.$ac_ext
23685 cat >>conftest.$ac_ext <<_ACEOF
23686 /* end confdefs.h. */
23688 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23689 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23690 # error "fake wchar_t"
23692 #ifdef HAVE_WCHAR_H
23694 # include <stddef.h>
23696 # include <wchar.h>
23698 #ifdef HAVE_STDLIB_H
23699 # include <stdlib.h>
23705 typedef wchar_t ac__type_new_
;
23709 if ((ac__type_new_
*) 0)
23711 if (sizeof
(ac__type_new_
))
23717 rm -f conftest.
$ac_objext
23718 if { (ac_try
="$ac_compile"
23719 case "(($ac_try" in
23720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23721 *) ac_try_echo=$ac_try;;
23723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23724 (eval "$ac_compile") 2>conftest.er1
23726 grep -v '^ *+' conftest.er1 >conftest.err
23728 cat conftest.err >&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); } && {
23731 test -z "$ac_c_werror_flag" ||
23732 test ! -s conftest.err
23733 } && test -s conftest.$ac_objext; then
23734 ac_cv_type_wchar_t=yes
23736 echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.$ac_ext >&5
23739 ac_cv_type_wchar_t=no
23742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23744 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23745 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23747 # The cast to long int works around a bug in the HP C Compiler
23748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23749 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23750 # This bug is HP SR number 8606223364.
23751 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23752 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23753 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23754 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 if test "$cross_compiling" = yes; then
23757 # Depending upon the size, compute the lo and hi bounds.
23758 cat >conftest.$ac_ext <<_ACEOF
23761 cat confdefs.h >>conftest.$ac_ext
23762 cat >>conftest.$ac_ext <<_ACEOF
23763 /* end confdefs.h. */
23765 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23766 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23767 # error "fake wchar_t"
23769 #ifdef HAVE_WCHAR_H
23771 # include <stddef.h>
23773 # include <wchar.h>
23775 #ifdef HAVE_STDLIB_H
23776 # include <stdlib.h>
23782 typedef wchar_t ac__type_sizeof_
;
23786 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23793 rm -f conftest.
$ac_objext
23794 if { (ac_try
="$ac_compile"
23795 case "(($ac_try" in
23796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23800 (eval "$ac_compile") 2>conftest.er1
23802 grep -v '^ *+' conftest.er1 >conftest.err
23804 cat conftest.err >&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); } && {
23807 test -z "$ac_c_werror_flag" ||
23808 test ! -s conftest.err
23809 } && test -s conftest.$ac_objext; then
23812 cat >conftest.$ac_ext <<_ACEOF
23815 cat confdefs.h >>conftest.$ac_ext
23816 cat >>conftest.$ac_ext <<_ACEOF
23817 /* end confdefs.h. */
23819 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23820 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23821 # error "fake wchar_t"
23823 #ifdef HAVE_WCHAR_H
23825 # include <stddef.h>
23827 # include <wchar.h>
23829 #ifdef HAVE_STDLIB_H
23830 # include <stdlib.h>
23836 typedef wchar_t ac__type_sizeof_;
23840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23847 rm -f conftest.$ac_objext
23848 if { (ac_try="$ac_compile"
23849 case "(($ac_try" in
23850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23851 *) ac_try_echo
=$ac_try;;
23853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23854 (eval "$ac_compile") 2>conftest.er1
23856 grep -v '^ *+' conftest.er1
>conftest.err
23858 cat conftest.err
>&5
23859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860 (exit $ac_status); } && {
23861 test -z "$ac_c_werror_flag" ||
23862 test ! -s conftest.err
23863 } && test -s conftest.
$ac_objext; then
23864 ac_hi
=$ac_mid; break
23866 echo "$as_me: failed program was:" >&5
23867 sed 's/^/| /' conftest.
$ac_ext >&5
23869 ac_lo
=`expr $ac_mid + 1`
23870 if test $ac_lo -le $ac_mid; then
23874 ac_mid
=`expr 2 '*' $ac_mid + 1`
23877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23880 echo "$as_me: failed program was:" >&5
23881 sed 's/^/| /' conftest.
$ac_ext >&5
23883 cat >conftest.
$ac_ext <<_ACEOF
23886 cat confdefs.h
>>conftest.
$ac_ext
23887 cat >>conftest.
$ac_ext <<_ACEOF
23888 /* end confdefs.h. */
23890 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23891 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23892 # error "fake wchar_t"
23894 #ifdef HAVE_WCHAR_H
23896 # include <stddef.h>
23898 # include <wchar.h>
23900 #ifdef HAVE_STDLIB_H
23901 # include <stdlib.h>
23907 typedef wchar_t ac__type_sizeof_;
23911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23918 rm -f conftest.
$ac_objext
23919 if { (ac_try
="$ac_compile"
23920 case "(($ac_try" in
23921 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23922 *) ac_try_echo=$ac_try;;
23924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23925 (eval "$ac_compile") 2>conftest.er1
23927 grep -v '^ *+' conftest.er1 >conftest.err
23929 cat conftest.err >&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } && {
23932 test -z "$ac_c_werror_flag" ||
23933 test ! -s conftest.err
23934 } && test -s conftest.$ac_objext; then
23937 cat >conftest.$ac_ext <<_ACEOF
23940 cat confdefs.h >>conftest.$ac_ext
23941 cat >>conftest.$ac_ext <<_ACEOF
23942 /* end confdefs.h. */
23944 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23945 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23946 # error "fake wchar_t"
23948 #ifdef HAVE_WCHAR_H
23950 # include <stddef.h>
23952 # include <wchar.h>
23954 #ifdef HAVE_STDLIB_H
23955 # include <stdlib.h>
23961 typedef wchar_t ac__type_sizeof_;
23965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23972 rm -f conftest.$ac_objext
23973 if { (ac_try="$ac_compile"
23974 case "(($ac_try" in
23975 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23976 *) ac_try_echo
=$ac_try;;
23978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23979 (eval "$ac_compile") 2>conftest.er1
23981 grep -v '^ *+' conftest.er1
>conftest.err
23983 cat conftest.err
>&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); } && {
23986 test -z "$ac_c_werror_flag" ||
23987 test ! -s conftest.err
23988 } && test -s conftest.
$ac_objext; then
23989 ac_lo
=$ac_mid; break
23991 echo "$as_me: failed program was:" >&5
23992 sed 's/^/| /' conftest.
$ac_ext >&5
23994 ac_hi
=`expr '(' $ac_mid ')' - 1`
23995 if test $ac_mid -le $ac_hi; then
23999 ac_mid
=`expr 2 '*' $ac_mid`
24002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24005 echo "$as_me: failed program was:" >&5
24006 sed 's/^/| /' conftest.
$ac_ext >&5
24011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24015 # Binary search between lo and hi bounds.
24016 while test "x$ac_lo" != "x$ac_hi"; do
24017 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24018 cat >conftest.
$ac_ext <<_ACEOF
24021 cat confdefs.h
>>conftest.
$ac_ext
24022 cat >>conftest.
$ac_ext <<_ACEOF
24023 /* end confdefs.h. */
24025 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24026 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24027 # error "fake wchar_t"
24029 #ifdef HAVE_WCHAR_H
24031 # include <stddef.h>
24033 # include <wchar.h>
24035 #ifdef HAVE_STDLIB_H
24036 # include <stdlib.h>
24042 typedef wchar_t ac__type_sizeof_;
24046 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24053 rm -f conftest.
$ac_objext
24054 if { (ac_try
="$ac_compile"
24055 case "(($ac_try" in
24056 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24057 *) ac_try_echo=$ac_try;;
24059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24060 (eval "$ac_compile") 2>conftest.er1
24062 grep -v '^ *+' conftest.er1 >conftest.err
24064 cat conftest.err >&5
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); } && {
24067 test -z "$ac_c_werror_flag" ||
24068 test ! -s conftest.err
24069 } && test -s conftest.$ac_objext; then
24072 echo "$as_me: failed program was:" >&5
24073 sed 's/^/| /' conftest.$ac_ext >&5
24075 ac_lo=`expr '(' $ac_mid ')' + 1`
24078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24081 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24082 '') if test "$ac_cv_type_wchar_t" = yes; then
24083 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24084 See \`config.log
' for more details." >&5
24085 echo "$as_me: error: cannot compute sizeof (wchar_t)
24086 See \`config.log' for more details.
" >&2;}
24087 { (exit 77); exit 77; }; }
24089 ac_cv_sizeof_wchar_t=0
24093 cat >conftest.$ac_ext <<_ACEOF
24096 cat confdefs.h >>conftest.$ac_ext
24097 cat >>conftest.$ac_ext <<_ACEOF
24098 /* end confdefs.h. */
24100 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24101 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24102 # error "fake wchar_t
"
24104 #ifdef HAVE_WCHAR_H
24106 # include <stddef.h>
24108 # include <wchar.h>
24110 #ifdef HAVE_STDLIB_H
24111 # include <stdlib.h>
24117 typedef wchar_t ac__type_sizeof_;
24118 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24119 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24121 #include <stdlib.h>
24126 FILE *f = fopen ("conftest.val
", "w
");
24129 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24131 long int i = longval ();
24132 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24134 fprintf (f, "%ld
\n", i);
24138 unsigned long int i = ulongval ();
24139 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24141 fprintf (f, "%lu
\n", i);
24143 return ferror (f) || fclose (f) != 0;
24149 rm -f conftest$ac_exeext
24150 if { (ac_try="$ac_link"
24151 case "(($ac_try" in
24152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24153 *) ac_try_echo=$ac_try;;
24155 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24156 (eval "$ac_link") 2>&5
24158 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24160 { (case "(($ac_try" in
24161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24162 *) ac_try_echo=$ac_try;;
24164 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24165 (eval "$ac_try") 2>&5
24167 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24168 (exit $ac_status); }; }; then
24169 ac_cv_sizeof_wchar_t=`cat conftest.val`
24171 echo "$as_me: program exited with status
$ac_status" >&5
24172 echo "$as_me: failed program was
:" >&5
24173 sed 's/^/| /' conftest.$ac_ext >&5
24175 ( exit $ac_status )
24176 if test "$ac_cv_type_wchar_t" = yes; then
24177 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24178 See \
`config.log' for more details." >&5
24179 echo "$as_me: error: cannot compute sizeof (wchar_t)
24180 See \`config.log
' for more details." >&2;}
24181 { (exit 77); exit 77; }; }
24183 ac_cv_sizeof_wchar_t=0
24186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24190 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24191 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24195 cat >>confdefs.h <<_ACEOF
24196 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24200 if test "$ac_cv_sizeof_wchar_t" = 0; then
24201 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24202 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24203 { (exit 1); exit 1; }; }
24205 cat >>confdefs.h <<\_ACEOF
24206 #define wxUSE_WCHAR_T 1
24210 { echo "$as_me:$LINENO: checking for va_copy" >&5
24211 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24212 if test "${wx_cv_func_va_copy+set}" = set; then
24213 echo $ECHO_N "(cached) $ECHO_C" >&6
24217 ac_cpp='$CXXCPP $CPPFLAGS'
24218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24219 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24222 cat >conftest.$ac_ext <<_ACEOF
24224 #include <stdarg.h>
24225 void foo(char *f, ...)
24239 rm -f conftest.$ac_objext conftest$ac_exeext
24240 if { (ac_try="$ac_link"
24241 case "(($ac_try" in
24242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24243 *) ac_try_echo=$ac_try;;
24245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24246 (eval "$ac_link") 2>conftest.er1
24248 grep -v '^
*+' conftest.er1 >conftest.err
24250 cat conftest.err >&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); } && {
24253 test -z "$ac_cxx_werror_flag" ||
24254 test ! -s conftest.err
24255 } && test -s conftest$ac_exeext &&
24256 $as_test_x conftest$ac_exeext; then
24257 wx_cv_func_va_copy=yes
24259 echo "$as_me: failed program was:" >&5
24260 sed 's
/^
/| /' conftest.$ac_ext >&5
24262 wx_cv_func_va_copy=no
24266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24267 conftest$ac_exeext conftest.$ac_ext
24269 ac_cpp='$CPP $CPPFLAGS'
24270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24271 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24277 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24278 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24280 if test $wx_cv_func_va_copy = "yes"; then
24281 cat >>confdefs.h <<\_ACEOF
24282 #define HAVE_VA_COPY 1
24286 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24287 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24288 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24289 echo $ECHO_N "(cached) $ECHO_C" >&6
24292 if test "$cross_compiling" = yes; then
24293 wx_cv_type_va_list_lvalue=yes
24296 cat >conftest.$ac_ext <<_ACEOF
24298 #include <stdarg.h>
24299 int foo(char *f, ...)
24304 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24312 return foo("hi", 17);
24315 rm -f conftest$ac_exeext
24316 if { (ac_try="$ac_link"
24317 case "(($ac_try" in
24318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24319 *) ac_try_echo=$ac_try;;
24321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24322 (eval "$ac_link") 2>&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24326 { (case "(($ac_try" in
24327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24328 *) ac_try_echo=$ac_try;;
24330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24331 (eval "$ac_try") 2>&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); }; }; then
24335 wx_cv_type_va_list_lvalue=yes
24337 echo "$as_me: program exited with status $ac_status" >&5
24338 echo "$as_me: failed program was:" >&5
24339 sed 's
/^
/| /' conftest.$ac_ext >&5
24341 ( exit $ac_status )
24342 wx_cv_type_va_list_lvalue=no
24344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24351 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24352 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24354 if test $wx_cv_type_va_list_lvalue != "yes"; then
24355 cat >>confdefs.h <<\_ACEOF
24356 #define VA_LIST_IS_ARRAY 1
24362 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24364 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24365 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24366 if test "${wx_cv_have_variadic_macros+set}" = set; then
24367 echo $ECHO_N "(cached) $ECHO_C" >&6
24371 ac_cpp='$CXXCPP $CPPFLAGS'
24372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24373 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24376 cat >conftest.$ac_ext <<_ACEOF
24379 cat confdefs.h >>conftest.$ac_ext
24380 cat >>conftest.$ac_ext <<_ACEOF
24381 /* end confdefs.h. */
24384 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24390 test("%s %d %p", "test", 1, 0);
24397 rm -f conftest.$ac_objext
24398 if { (ac_try="$ac_compile"
24399 case "(($ac_try" in
24400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24401 *) ac_try_echo=$ac_try;;
24403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24404 (eval "$ac_compile") 2>conftest.er1
24406 grep -v '^
*+' conftest.er1 >conftest.err
24408 cat conftest.err >&5
24409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410 (exit $ac_status); } && {
24411 test -z "$ac_cxx_werror_flag" ||
24412 test ! -s conftest.err
24413 } && test -s conftest.$ac_objext; then
24414 wx_cv_have_variadic_macros=yes
24416 echo "$as_me: failed program was:" >&5
24417 sed 's
/^
/| /' conftest.$ac_ext >&5
24419 wx_cv_have_variadic_macros=no
24423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24425 ac_cpp='$CPP $CPPFLAGS'
24426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24427 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24433 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24434 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24436 if test $wx_cv_have_variadic_macros = "yes"; then
24437 cat >>confdefs.h <<\_ACEOF
24438 #define HAVE_VARIADIC_MACROS 1
24445 LARGEFILE_CPPFLAGS=
24446 # Check whether --enable-largefile was given.
24447 if test "${enable_largefile+set}" = set; then
24448 enableval=$enable_largefile;
24451 if test "$enable_largefile" != no; then
24454 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24455 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24456 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24457 echo $ECHO_N "(cached) $ECHO_C" >&6
24460 cat >conftest.$ac_ext <<_ACEOF
24463 cat confdefs.h >>conftest.$ac_ext
24464 cat >>conftest.$ac_ext <<_ACEOF
24465 /* end confdefs.h. */
24466 #define _FILE_OFFSET_BITS 64
24467 #include <sys/types.h>
24472 unsigned int field: sizeof(off_t) == 8;
24479 rm -f conftest.$ac_objext
24480 if { (ac_try="$ac_compile"
24481 case "(($ac_try" in
24482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24483 *) ac_try_echo=$ac_try;;
24485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24486 (eval "$ac_compile") 2>conftest.er1
24488 grep -v '^
*+' conftest.er1 >conftest.err
24490 cat conftest.err >&5
24491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492 (exit $ac_status); } && {
24493 test -z "$ac_c_werror_flag" ||
24494 test ! -s conftest.err
24495 } && test -s conftest.$ac_objext; then
24496 ac_cv_sys_file_offset_bits=64
24498 echo "$as_me: failed program was:" >&5
24499 sed 's
/^
/| /' conftest.$ac_ext >&5
24501 ac_cv_sys_file_offset_bits=no
24504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24508 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24509 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24511 if test "$ac_cv_sys_file_offset_bits" != no; then
24513 cat >>confdefs.h <<_ACEOF
24514 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24519 if test "x$wx_largefile" != "xyes"; then
24521 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24522 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24523 if test "${ac_cv_sys_large_files+set}" = set; then
24524 echo $ECHO_N "(cached) $ECHO_C" >&6
24527 cat >conftest.$ac_ext <<_ACEOF
24530 cat confdefs.h >>conftest.$ac_ext
24531 cat >>conftest.$ac_ext <<_ACEOF
24532 /* end confdefs.h. */
24533 #define _LARGE_FILES 1
24534 #include <sys/types.h>
24539 unsigned int field: sizeof(off_t) == 8;
24546 rm -f conftest.$ac_objext
24547 if { (ac_try="$ac_compile"
24548 case "(($ac_try" in
24549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24550 *) ac_try_echo=$ac_try;;
24552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24553 (eval "$ac_compile") 2>conftest.er1
24555 grep -v '^
*+' conftest.er1 >conftest.err
24557 cat conftest.err >&5
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); } && {
24560 test -z "$ac_c_werror_flag" ||
24561 test ! -s conftest.err
24562 } && test -s conftest.$ac_objext; then
24563 ac_cv_sys_large_files=1
24565 echo "$as_me: failed program was:" >&5
24566 sed 's
/^
/| /' conftest.$ac_ext >&5
24568 ac_cv_sys_large_files=no
24571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24575 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24576 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24578 if test "$ac_cv_sys_large_files" != no; then
24580 cat >>confdefs.h <<_ACEOF
24581 #define _LARGE_FILES $ac_cv_sys_large_files
24588 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24589 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24590 if test "x$wx_largefile" = "xyes"; then
24591 cat >>confdefs.h <<\_ACEOF
24592 #define HAVE_LARGEFILE_SUPPORT 1
24596 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24597 echo "${ECHO_T}$wx_largefile" >&6; }
24600 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24601 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24602 elif test "$ac_cv_sys_large_files" = 1; then
24603 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24606 if test -n "$LARGEFILE_CPPFLAGS"; then
24607 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24609 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24610 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24611 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24612 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24613 echo $ECHO_N "(cached) $ECHO_C" >&6
24617 ac_cpp='$CXXCPP $CPPFLAGS'
24618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24619 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24622 cat >conftest.$ac_ext <<_ACEOF
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24633 #ifndef __STDC_EXT__
24641 rm -f conftest.$ac_objext
24642 if { (ac_try="$ac_compile"
24643 case "(($ac_try" in
24644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24645 *) ac_try_echo=$ac_try;;
24647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24648 (eval "$ac_compile") 2>conftest.er1
24650 grep -v '^
*+' conftest.er1 >conftest.err
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } && {
24655 test -z "$ac_cxx_werror_flag" ||
24656 test ! -s conftest.err
24657 } && test -s conftest.$ac_objext; then
24658 wx_cv_STDC_EXT_required=no
24660 echo "$as_me: failed program was:" >&5
24661 sed 's
/^
/| /' conftest.$ac_ext >&5
24663 wx_cv_STDC_EXT_required=yes
24667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24669 ac_cpp='$CPP $CPPFLAGS'
24670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24671 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24677 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24678 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24679 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24680 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24686 ac_cpp='$CXXCPP $CPPFLAGS'
24687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24688 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24691 old_CPPFLAGS="$CPPFLAGS"
24692 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24693 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24694 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24695 if test "${ac_cv_sys_largefile_source+set}" = set; then
24696 echo $ECHO_N "(cached) $ECHO_C" >&6
24699 cat >conftest.$ac_ext <<_ACEOF
24702 cat confdefs.h >>conftest.$ac_ext
24703 cat >>conftest.$ac_ext <<_ACEOF
24704 /* end confdefs.h. */
24709 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24714 rm -f conftest.$ac_objext conftest$ac_exeext
24715 if { (ac_try="$ac_link"
24716 case "(($ac_try" in
24717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24718 *) ac_try_echo=$ac_try;;
24720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24721 (eval "$ac_link") 2>conftest.er1
24723 grep -v '^
*+' conftest.er1 >conftest.err
24725 cat conftest.err >&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } && {
24728 test -z "$ac_cxx_werror_flag" ||
24729 test ! -s conftest.err
24730 } && test -s conftest$ac_exeext &&
24731 $as_test_x conftest$ac_exeext; then
24732 ac_cv_sys_largefile_source=no; break
24734 echo "$as_me: failed program was:" >&5
24735 sed 's
/^
/| /' conftest.$ac_ext >&5
24740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24741 conftest$ac_exeext conftest.$ac_ext
24742 cat >conftest.$ac_ext <<_ACEOF
24745 cat confdefs.h >>conftest.$ac_ext
24746 cat >>conftest.$ac_ext <<_ACEOF
24747 /* end confdefs.h. */
24748 #define _LARGEFILE_SOURCE 1
24753 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24758 rm -f conftest.$ac_objext conftest$ac_exeext
24759 if { (ac_try="$ac_link"
24760 case "(($ac_try" in
24761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24762 *) ac_try_echo=$ac_try;;
24764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24765 (eval "$ac_link") 2>conftest.er1
24767 grep -v '^
*+' conftest.er1 >conftest.err
24769 cat conftest.err >&5
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); } && {
24772 test -z "$ac_cxx_werror_flag" ||
24773 test ! -s conftest.err
24774 } && test -s conftest$ac_exeext &&
24775 $as_test_x conftest$ac_exeext; then
24776 ac_cv_sys_largefile_source=1; break
24778 echo "$as_me: failed program was:" >&5
24779 sed 's
/^
/| /' conftest.$ac_ext >&5
24784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24785 conftest$ac_exeext conftest.$ac_ext
24786 ac_cv_sys_largefile_source=unknown
24790 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24791 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24792 case $ac_cv_sys_largefile_source in #(
24795 cat >>confdefs.h <<_ACEOF
24796 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24802 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24803 # in glibc 2.1.3, but that breaks too many other things.
24804 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24805 if test $ac_cv_sys_largefile_source != unknown; then
24807 cat >>confdefs.h <<\_ACEOF
24808 #define HAVE_FSEEKO 1
24813 CPPFLAGS="$old_CPPFLAGS"
24815 ac_cpp='$CPP $CPPFLAGS'
24816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24817 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24820 if test "$ac_cv_sys_largefile_source" != no; then
24821 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24824 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24825 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24826 if test "${ac_cv_c_bigendian+set}" = set; then
24827 echo $ECHO_N "(cached) $ECHO_C" >&6
24829 ac_cv_c_bigendian=unknown
24830 # See if sys/param.h defines the BYTE_ORDER macro.
24831 cat >conftest.$ac_ext <<_ACEOF
24834 cat confdefs.h >>conftest.$ac_ext
24835 cat >>conftest.$ac_ext <<_ACEOF
24836 /* end confdefs.h. */
24837 #include <sys/types.h>
24838 #include <sys/param.h>
24843 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24844 bogus endian macros
24850 rm -f conftest.$ac_objext
24851 if { (ac_try="$ac_compile"
24852 case "(($ac_try" in
24853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24854 *) ac_try_echo=$ac_try;;
24856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24857 (eval "$ac_compile") 2>conftest.er1
24859 grep -v '^
*+' conftest.er1 >conftest.err
24861 cat conftest.err >&5
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); } && {
24864 test -z "$ac_c_werror_flag" ||
24865 test ! -s conftest.err
24866 } && test -s conftest.$ac_objext; then
24867 # It does; now see whether it defined to BIG_ENDIAN or not.
24868 cat >conftest.$ac_ext <<_ACEOF
24871 cat confdefs.h >>conftest.$ac_ext
24872 cat >>conftest.$ac_ext <<_ACEOF
24873 /* end confdefs.h. */
24874 #include <sys/types.h>
24875 #include <sys/param.h>
24880 #if BYTE_ORDER != BIG_ENDIAN
24887 rm -f conftest.$ac_objext
24888 if { (ac_try="$ac_compile"
24889 case "(($ac_try" in
24890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24891 *) ac_try_echo=$ac_try;;
24893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24894 (eval "$ac_compile") 2>conftest.er1
24896 grep -v '^
*+' conftest.er1 >conftest.err
24898 cat conftest.err >&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } && {
24901 test -z "$ac_c_werror_flag" ||
24902 test ! -s conftest.err
24903 } && test -s conftest.$ac_objext; then
24904 ac_cv_c_bigendian=yes
24906 echo "$as_me: failed program was:" >&5
24907 sed 's
/^
/| /' conftest.$ac_ext >&5
24909 ac_cv_c_bigendian=no
24912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24914 echo "$as_me: failed program was:" >&5
24915 sed 's
/^
/| /' conftest.$ac_ext >&5
24920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24921 if test $ac_cv_c_bigendian = unknown; then
24922 if test "$cross_compiling" = yes; then
24923 ac_cv_c_bigendian=unknown
24925 cat >conftest.$ac_ext <<_ACEOF
24928 cat confdefs.h >>conftest.$ac_ext
24929 cat >>conftest.$ac_ext <<_ACEOF
24930 /* end confdefs.h. */
24932 /* Are we little or big endian? From Harbison&Steele. */
24936 char c[sizeof (long)];
24939 exit (u.c[sizeof (long) - 1] == 1);
24942 rm -f conftest$ac_exeext
24943 if { (ac_try="$ac_link"
24944 case "(($ac_try" in
24945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24946 *) ac_try_echo=$ac_try;;
24948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24949 (eval "$ac_link") 2>&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24953 { (case "(($ac_try" in
24954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24955 *) ac_try_echo=$ac_try;;
24957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24958 (eval "$ac_try") 2>&5
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); }; }; then
24962 ac_cv_c_bigendian=no
24964 echo "$as_me: program exited with status $ac_status" >&5
24965 echo "$as_me: failed program was:" >&5
24966 sed 's
/^
/| /' conftest.$ac_ext >&5
24968 ( exit $ac_status )
24969 ac_cv_c_bigendian=yes
24971 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24977 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24978 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24979 if test $ac_cv_c_bigendian = unknown; then
24980 { 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
24981 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;}
24983 if test $ac_cv_c_bigendian = yes; then
24984 cat >>confdefs.h <<\_ACEOF
24985 #define WORDS_BIGENDIAN 1
24994 ac_cpp='$CXXCPP $CPPFLAGS'
24995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24996 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25001 for ac_header in iostream
25003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25004 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25007 echo $ECHO_N "(cached) $ECHO_C" >&6
25009 cat >conftest.$ac_ext <<_ACEOF
25012 cat confdefs.h >>conftest.$ac_ext
25013 cat >>conftest.$ac_ext <<_ACEOF
25014 /* end confdefs.h. */
25017 #include <$ac_header>
25019 rm -f conftest.$ac_objext
25020 if { (ac_try="$ac_compile"
25021 case "(($ac_try" in
25022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25023 *) ac_try_echo=$ac_try;;
25025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25026 (eval "$ac_compile") 2>conftest.er1
25028 grep -v '^
*+' conftest.er1 >conftest.err
25030 cat conftest.err >&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); } && {
25033 test -z "$ac_cxx_werror_flag" ||
25034 test ! -s conftest.err
25035 } && test -s conftest.$ac_objext; then
25036 eval "$as_ac_Header=yes"
25038 echo "$as_me: failed program was:" >&5
25039 sed 's
/^
/| /' conftest.$ac_ext >&5
25041 eval "$as_ac_Header=no"
25044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25046 ac_res=`eval echo '${'$as_ac_Header'}'`
25047 { echo "$as_me:$LINENO: result: $ac_res" >&5
25048 echo "${ECHO_T}$ac_res" >&6; }
25049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25050 cat >>confdefs.h <<_ACEOF
25051 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25059 if test "$ac_cv_header_iostream" = "yes" ; then
25062 cat >>confdefs.h <<\_ACEOF
25063 #define wxUSE_IOSTREAMH 1
25069 ac_cpp='$CPP $CPPFLAGS'
25070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25071 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25077 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25078 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25079 if test "${wx_cv_explicit+set}" = set; then
25080 echo $ECHO_N "(cached) $ECHO_C" >&6
25085 ac_cpp='$CXXCPP $CPPFLAGS'
25086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25087 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25091 cat >conftest.$ac_ext <<_ACEOF
25094 cat confdefs.h >>conftest.$ac_ext
25095 cat >>conftest.$ac_ext <<_ACEOF
25096 /* end confdefs.h. */
25098 class Foo { public: explicit Foo(int) {} };
25110 rm -f conftest.$ac_objext
25111 if { (ac_try="$ac_compile"
25112 case "(($ac_try" in
25113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25114 *) ac_try_echo=$ac_try;;
25116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25117 (eval "$ac_compile") 2>conftest.er1
25119 grep -v '^
*+' conftest.er1 >conftest.err
25121 cat conftest.err >&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); } && {
25124 test -z "$ac_cxx_werror_flag" ||
25125 test ! -s conftest.err
25126 } && test -s conftest.$ac_objext; then
25128 cat >conftest.$ac_ext <<_ACEOF
25131 cat confdefs.h >>conftest.$ac_ext
25132 cat >>conftest.$ac_ext <<_ACEOF
25133 /* end confdefs.h. */
25135 class Foo { public: explicit Foo(int) {} };
25136 static void TakeFoo(const Foo& foo) { }
25149 rm -f conftest.$ac_objext
25150 if { (ac_try="$ac_compile"
25151 case "(($ac_try" in
25152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25153 *) ac_try_echo=$ac_try;;
25155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25156 (eval "$ac_compile") 2>conftest.er1
25158 grep -v '^
*+' conftest.er1 >conftest.err
25160 cat conftest.err >&5
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); } && {
25163 test -z "$ac_cxx_werror_flag" ||
25164 test ! -s conftest.err
25165 } && test -s conftest.$ac_objext; then
25168 echo "$as_me: failed program was:" >&5
25169 sed 's
/^
/| /' conftest.$ac_ext >&5
25175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25178 echo "$as_me: failed program was:" >&5
25179 sed 's
/^
/| /' conftest.$ac_ext >&5
25185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25188 ac_cpp='$CPP $CPPFLAGS'
25189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25190 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25195 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25196 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25198 if test "$wx_cv_explicit" = "yes"; then
25199 cat >>confdefs.h <<\_ACEOF
25200 #define HAVE_EXPLICIT 1
25206 if test "x$SUNCXX" = xyes; then
25207 CXXFLAGS="-features=tmplife $CXXFLAGS"
25210 if test "x$SUNCC" = xyes; then
25211 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25214 if test "x$SGICC" = "xyes"; then
25215 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25216 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25217 if test "${wx_cv_prog_sgicc744+set}" = set; then
25218 echo $ECHO_N "(cached) $ECHO_C" >&6
25221 cat >conftest.$ac_ext <<_ACEOF
25224 cat confdefs.h >>conftest.$ac_ext
25225 cat >>conftest.$ac_ext <<_ACEOF
25226 /* end confdefs.h. */
25232 #if _SGI_COMPILER_VERSION >= 744
25233 chock me: mipsPro is 7.4.4 or later
25240 rm -f conftest.$ac_objext
25241 if { (ac_try="$ac_compile"
25242 case "(($ac_try" in
25243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25244 *) ac_try_echo=$ac_try;;
25246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25247 (eval "$ac_compile") 2>conftest.er1
25249 grep -v '^
*+' conftest.er1 >conftest.err
25251 cat conftest.err >&5
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); } && {
25254 test -z "$ac_c_werror_flag" ||
25255 test ! -s conftest.err
25256 } && test -s conftest.$ac_objext; then
25257 wx_cv_prog_sgicc744=no
25259 echo "$as_me: failed program was:" >&5
25260 sed 's
/^
/| /' conftest.$ac_ext >&5
25262 wx_cv_prog_sgicc744=yes
25266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25270 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25271 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25273 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25274 CFLAGS="-woff 3970 $CFLAGS"
25277 if test "x$SGICXX" = "xyes"; then
25278 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25279 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25280 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25281 echo $ECHO_N "(cached) $ECHO_C" >&6
25285 ac_cpp='$CXXCPP $CPPFLAGS'
25286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25287 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25290 cat >conftest.$ac_ext <<_ACEOF
25293 cat confdefs.h >>conftest.$ac_ext
25294 cat >>conftest.$ac_ext <<_ACEOF
25295 /* end confdefs.h. */
25301 #if _SGI_COMPILER_VERSION >= 744
25302 chock me: mipsPro is 7.4.4 or later
25309 rm -f conftest.$ac_objext
25310 if { (ac_try="$ac_compile"
25311 case "(($ac_try" in
25312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25313 *) ac_try_echo=$ac_try;;
25315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25316 (eval "$ac_compile") 2>conftest.er1
25318 grep -v '^
*+' conftest.er1 >conftest.err
25320 cat conftest.err >&5
25321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322 (exit $ac_status); } && {
25323 test -z "$ac_cxx_werror_flag" ||
25324 test ! -s conftest.err
25325 } && test -s conftest.$ac_objext; then
25326 wx_cv_prog_sgicxx744=no
25328 echo "$as_me: failed program was:" >&5
25329 sed 's
/^
/| /' conftest.$ac_ext >&5
25331 wx_cv_prog_sgicxx744=yes
25335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25337 ac_cpp='$CPP $CPPFLAGS'
25338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25339 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25345 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25346 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25348 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25349 CXXFLAGS="-woff 3970 $CXXFLAGS"
25353 if test "x$HPCC" = "xyes"; then
25354 CFLAGS="+W 2011,2450 $CFLAGS"
25356 if test "x$HPCXX" = "xyes"; then
25357 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25360 if test "x$COMPAQCXX" = "xyes"; then
25361 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25365 ac_cpp='$CXXCPP $CPPFLAGS'
25366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25367 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25371 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25372 if test "$wxUSE_UNICODE" = "yes"; then
25373 std_string="std::wstring"
25374 char_type="wchar_t"
25376 std_string="std::string"
25380 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25381 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25382 if test "${wx_cv_class_stdstring+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 cat >conftest.$ac_ext <<_ACEOF
25389 cat confdefs.h >>conftest.$ac_ext
25390 cat >>conftest.$ac_ext <<_ACEOF
25391 /* end confdefs.h. */
25401 rm -f conftest.$ac_objext
25402 if { (ac_try="$ac_compile"
25403 case "(($ac_try" in
25404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25405 *) ac_try_echo=$ac_try;;
25407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25408 (eval "$ac_compile") 2>conftest.er1
25410 grep -v '^
*+' conftest.er1 >conftest.err
25412 cat conftest.err >&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } && {
25415 test -z "$ac_cxx_werror_flag" ||
25416 test ! -s conftest.err
25417 } && test -s conftest.$ac_objext; then
25418 wx_cv_class_stdstring=yes
25420 echo "$as_me: failed program was:" >&5
25421 sed 's
/^
/| /' conftest.$ac_ext >&5
25423 wx_cv_class_stdstring=no
25427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25431 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25432 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25434 if test "$wx_cv_class_stdstring" = yes; then
25435 if test "$wxUSE_UNICODE" = "yes"; then
25436 cat >>confdefs.h <<\_ACEOF
25437 #define HAVE_STD_WSTRING 1
25442 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25443 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25444 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25448 cat >conftest.$ac_ext <<_ACEOF
25451 cat confdefs.h >>conftest.$ac_ext
25452 cat >>conftest.$ac_ext <<_ACEOF
25453 /* end confdefs.h. */
25455 #ifdef HAVE_WCHAR_H
25457 # include <stddef.h>
25459 # include <wchar.h>
25461 #ifdef HAVE_STDLIB_H
25462 # include <stdlib.h>
25470 std::basic_string<$char_type> foo;
25471 const $char_type* dummy = foo.c_str();
25476 rm -f conftest.$ac_objext
25477 if { (ac_try="$ac_compile"
25478 case "(($ac_try" in
25479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25480 *) ac_try_echo=$ac_try;;
25482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25483 (eval "$ac_compile") 2>conftest.er1
25485 grep -v '^
*+' conftest.er1 >conftest.err
25487 cat conftest.err >&5
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); } && {
25490 test -z "$ac_cxx_werror_flag" ||
25491 test ! -s conftest.err
25492 } && test -s conftest.$ac_objext; then
25493 wx_cv_class_stdbasicstring=yes
25495 echo "$as_me: failed program was:" >&5
25496 sed 's
/^
/| /' conftest.$ac_ext >&5
25498 wx_cv_class_stdbasicstring=no
25502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25506 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25507 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25509 if test "$wx_cv_class_stdbasicstring" != yes; then
25510 if test "$wxUSE_STL" = "yes"; then
25511 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25512 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25513 { (exit 1); exit 1; }; }
25514 elif test "$wxUSE_STD_STRING" = "yes"; then
25515 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25516 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25517 { (exit 1); exit 1; }; }
25519 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25520 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25521 wxUSE_STD_STRING=no
25527 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25528 { echo "$as_me:$LINENO: checking for std::istream" >&5
25529 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25530 if test "${ac_cv_type_std__istream+set}" = set; then
25531 echo $ECHO_N "(cached) $ECHO_C" >&6
25533 cat >conftest.$ac_ext <<_ACEOF
25536 cat confdefs.h >>conftest.$ac_ext
25537 cat >>conftest.$ac_ext <<_ACEOF
25538 /* end confdefs.h. */
25539 #include <iostream>
25541 typedef std::istream ac__type_new_;
25545 if ((ac__type_new_ *) 0)
25547 if (sizeof (ac__type_new_))
25553 rm -f conftest.$ac_objext
25554 if { (ac_try="$ac_compile"
25555 case "(($ac_try" in
25556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25557 *) ac_try_echo=$ac_try;;
25559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25560 (eval "$ac_compile") 2>conftest.er1
25562 grep -v '^
*+' conftest.er1 >conftest.err
25564 cat conftest.err >&5
25565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566 (exit $ac_status); } && {
25567 test -z "$ac_cxx_werror_flag" ||
25568 test ! -s conftest.err
25569 } && test -s conftest.$ac_objext; then
25570 ac_cv_type_std__istream=yes
25572 echo "$as_me: failed program was:" >&5
25573 sed 's
/^
/| /' conftest.$ac_ext >&5
25575 ac_cv_type_std__istream=no
25578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25580 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25581 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25582 if test $ac_cv_type_std__istream = yes; then
25584 cat >>confdefs.h <<_ACEOF
25585 #define HAVE_STD__ISTREAM 1
25590 wxUSE_STD_IOSTREAM=no
25592 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25593 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25594 if test "${ac_cv_type_std__ostream+set}" = set; then
25595 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 cat >conftest.$ac_ext <<_ACEOF
25600 cat confdefs.h >>conftest.$ac_ext
25601 cat >>conftest.$ac_ext <<_ACEOF
25602 /* end confdefs.h. */
25603 #include <iostream>
25605 typedef std::ostream ac__type_new_;
25609 if ((ac__type_new_ *) 0)
25611 if (sizeof (ac__type_new_))
25617 rm -f conftest.$ac_objext
25618 if { (ac_try="$ac_compile"
25619 case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25621 *) ac_try_echo=$ac_try;;
25623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_compile") 2>conftest.er1
25626 grep -v '^
*+' conftest.er1 >conftest.err
25628 cat conftest.err >&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && {
25631 test -z "$ac_cxx_werror_flag" ||
25632 test ! -s conftest.err
25633 } && test -s conftest.$ac_objext; then
25634 ac_cv_type_std__ostream=yes
25636 echo "$as_me: failed program was:" >&5
25637 sed 's
/^
/| /' conftest.$ac_ext >&5
25639 ac_cv_type_std__ostream=no
25642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25644 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25645 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25646 if test $ac_cv_type_std__ostream = yes; then
25648 cat >>confdefs.h <<_ACEOF
25649 #define HAVE_STD__OSTREAM 1
25654 wxUSE_STD_IOSTREAM=no
25658 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25659 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25660 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25661 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25662 { (exit 1); exit 1; }; }
25664 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25665 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25670 if test "$wxUSE_STL" = "yes"; then
25671 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25672 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25673 if test "${wx_cv_lib_stl+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25676 cat >conftest.$ac_ext <<_ACEOF
25679 cat confdefs.h >>conftest.$ac_ext
25680 cat >>conftest.$ac_ext <<_ACEOF
25681 /* end confdefs.h. */
25683 #include <functional>
25684 #include <algorithm>
25690 std::vector<int> moo;
25691 std::list<int> foo;
25692 std::vector<int>::iterator it =
25693 std::find_if(moo.begin(), moo.end(),
25694 std::bind2nd(std::less<int>(), 3));
25699 rm -f conftest.$ac_objext
25700 if { (ac_try="$ac_compile"
25701 case "(($ac_try" in
25702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25703 *) ac_try_echo=$ac_try;;
25705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25706 (eval "$ac_compile") 2>conftest.er1
25708 grep -v '^
*+' conftest.er1 >conftest.err
25710 cat conftest.err >&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } && {
25713 test -z "$ac_cxx_werror_flag" ||
25714 test ! -s conftest.err
25715 } && test -s conftest.$ac_objext; then
25718 echo "$as_me: failed program was:" >&5
25719 sed 's
/^
/| /' conftest.$ac_ext >&5
25725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25728 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25729 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25731 if test "$wx_cv_lib_stl" != yes; then
25732 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25733 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25734 { (exit 1); exit 1; }; }
25737 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25738 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25739 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25740 echo $ECHO_N "(cached) $ECHO_C" >&6
25742 cat >conftest.$ac_ext <<_ACEOF
25745 cat confdefs.h >>conftest.$ac_ext
25746 cat >>conftest.$ac_ext <<_ACEOF
25747 /* end confdefs.h. */
25752 std::string foo, bar;
25754 foo.compare(1, 1, bar);
25755 foo.compare(1, 1, bar, 1, 1);
25757 foo.compare(1, 1, "");
25758 foo.compare(1, 1, "", 2);
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_func_stdstring_compare=yes
25782 echo "$as_me: failed program was:" >&5
25783 sed 's
/^
/| /' conftest.$ac_ext >&5
25785 wx_cv_func_stdstring_compare=no
25789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25792 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25793 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25795 if test "$wx_cv_func_stdstring_compare" = yes; then
25796 cat >>confdefs.h <<\_ACEOF
25797 #define HAVE_STD_STRING_COMPARE 1
25802 if test "$wx_cv_class_gnuhashmapset" = yes; then
25803 cat >>confdefs.h <<\_ACEOF
25804 #define HAVE_EXT_HASH_MAP 1
25807 cat >>confdefs.h <<\_ACEOF
25808 #define HAVE_GNU_CXX_HASH_MAP 1
25813 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25814 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25815 if test "${ac_cv_header_unordered_map+set}" = set; then
25816 echo $ECHO_N "(cached) $ECHO_C" >&6
25818 cat >conftest.$ac_ext <<_ACEOF
25821 cat confdefs.h >>conftest.$ac_ext
25822 cat >>conftest.$ac_ext <<_ACEOF
25823 /* end confdefs.h. */
25827 #include <unordered_map>
25829 rm -f conftest.$ac_objext
25830 if { (ac_try="$ac_compile"
25831 case "(($ac_try" in
25832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25833 *) ac_try_echo=$ac_try;;
25835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25836 (eval "$ac_compile") 2>conftest.er1
25838 grep -v '^
*+' conftest.er1 >conftest.err
25840 cat conftest.err >&5
25841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25842 (exit $ac_status); } && {
25843 test -z "$ac_cxx_werror_flag" ||
25844 test ! -s conftest.err
25845 } && test -s conftest.$ac_objext; then
25846 ac_cv_header_unordered_map=yes
25848 echo "$as_me: failed program was:" >&5
25849 sed 's
/^
/| /' conftest.$ac_ext >&5
25851 ac_cv_header_unordered_map=no
25854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25856 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25857 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25858 if test $ac_cv_header_unordered_map = yes; then
25859 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25860 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25861 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25862 echo $ECHO_N "(cached) $ECHO_C" >&6
25864 cat >conftest.$ac_ext <<_ACEOF
25867 cat confdefs.h >>conftest.$ac_ext
25868 cat >>conftest.$ac_ext <<_ACEOF
25869 /* end confdefs.h. */
25870 #include <unordered_map>
25871 #include <unordered_set>
25875 std::unordered_map<double*, char*> test1;
25876 std::unordered_set<char*> test2;
25881 rm -f conftest.$ac_objext
25882 if { (ac_try="$ac_compile"
25883 case "(($ac_try" in
25884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25885 *) ac_try_echo=$ac_try;;
25887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25888 (eval "$ac_compile") 2>conftest.er1
25890 grep -v '^
*+' conftest.er1 >conftest.err
25892 cat conftest.err >&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); } && {
25895 test -z "$ac_cxx_werror_flag" ||
25896 test ! -s conftest.err
25897 } && test -s conftest.$ac_objext; then
25898 wx_cv_class_stdunorderedmapset=yes
25900 echo "$as_me: failed program was:" >&5
25901 sed 's
/^
/| /' conftest.$ac_ext >&5
25903 wx_cv_class_stdunorderedmapset=no
25906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25910 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25911 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25916 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25917 cat >>confdefs.h <<\_ACEOF
25918 #define HAVE_STD_UNORDERED_MAP 1
25921 cat >>confdefs.h <<\_ACEOF
25922 #define HAVE_STD_UNORDERED_SET 1
25926 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25927 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25928 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25929 echo $ECHO_N "(cached) $ECHO_C" >&6
25931 cat >conftest.$ac_ext <<_ACEOF
25934 cat confdefs.h >>conftest.$ac_ext
25935 cat >>conftest.$ac_ext <<_ACEOF
25936 /* end confdefs.h. */
25940 #include <tr1/unordered_map>
25942 rm -f conftest.$ac_objext
25943 if { (ac_try="$ac_compile"
25944 case "(($ac_try" in
25945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25946 *) ac_try_echo=$ac_try;;
25948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25949 (eval "$ac_compile") 2>conftest.er1
25951 grep -v '^
*+' conftest.er1 >conftest.err
25953 cat conftest.err >&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } && {
25956 test -z "$ac_cxx_werror_flag" ||
25957 test ! -s conftest.err
25958 } && test -s conftest.$ac_objext; then
25959 ac_cv_header_tr1_unordered_map=yes
25961 echo "$as_me: failed program was:" >&5
25962 sed 's
/^
/| /' conftest.$ac_ext >&5
25964 ac_cv_header_tr1_unordered_map=no
25967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25969 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25970 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25971 if test $ac_cv_header_tr1_unordered_map = yes; then
25972 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25973 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25974 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25975 echo $ECHO_N "(cached) $ECHO_C" >&6
25977 cat >conftest.$ac_ext <<_ACEOF
25980 cat confdefs.h >>conftest.$ac_ext
25981 cat >>conftest.$ac_ext <<_ACEOF
25982 /* end confdefs.h. */
25983 #include <tr1/unordered_map>
25984 #include <tr1/unordered_set>
25988 std::tr1::unordered_map<double*, char*> test1;
25989 std::tr1::unordered_set<char*> test2;
25990 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25991 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25997 rm -f conftest.
$ac_objext
25998 if { (ac_try
="$ac_compile"
25999 case "(($ac_try" in
26000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26001 *) ac_try_echo=$ac_try;;
26003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26004 (eval "$ac_compile") 2>conftest.er1
26006 grep -v '^ *+' conftest.er1 >conftest.err
26008 cat conftest.err >&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } && {
26011 test -z "$ac_cxx_werror_flag" ||
26012 test ! -s conftest.err
26013 } && test -s conftest.$ac_objext; then
26014 wx_cv_class_tr1unorderedmapset=yes
26016 echo "$as_me: failed program was:" >&5
26017 sed 's/^/| /' conftest.$ac_ext >&5
26019 wx_cv_class_tr1unorderedmapset=no
26022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26026 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26027 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26032 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26033 cat >>confdefs.h <<\_ACEOF
26034 #define HAVE_TR1_UNORDERED_MAP 1
26037 cat >>confdefs.h <<\_ACEOF
26038 #define HAVE_TR1_UNORDERED_SET 1
26042 { echo "$as_me:$LINENO: checking for hash_map" >&5
26043 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26044 if test "${ac_cv_header_hash_map+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26047 cat >conftest.$ac_ext <<_ACEOF
26050 cat confdefs.h >>conftest.$ac_ext
26051 cat >>conftest.$ac_ext <<_ACEOF
26052 /* end confdefs.h. */
26056 #include <hash_map>
26058 rm -f conftest.$ac_objext
26059 if { (ac_try="$ac_compile"
26060 case "(($ac_try" in
26061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26062 *) ac_try_echo
=$ac_try;;
26064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26065 (eval "$ac_compile") 2>conftest.er1
26067 grep -v '^ *+' conftest.er1
>conftest.err
26069 cat conftest.err
>&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); } && {
26072 test -z "$ac_cxx_werror_flag" ||
26073 test ! -s conftest.err
26074 } && test -s conftest.
$ac_objext; then
26075 ac_cv_header_hash_map
=yes
26077 echo "$as_me: failed program was:" >&5
26078 sed 's/^/| /' conftest.
$ac_ext >&5
26080 ac_cv_header_hash_map
=no
26083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26085 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26086 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26087 if test $ac_cv_header_hash_map = yes; then
26088 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26089 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26090 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26091 echo $ECHO_N "(cached) $ECHO_C" >&6
26093 cat >conftest.
$ac_ext <<_ACEOF
26096 cat confdefs.h
>>conftest.
$ac_ext
26097 cat >>conftest.
$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26099 #include <hash_map>
26100 #include <hash_set>
26104 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26105 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26110 rm -f conftest.
$ac_objext
26111 if { (ac_try
="$ac_compile"
26112 case "(($ac_try" in
26113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26114 *) ac_try_echo=$ac_try;;
26116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26117 (eval "$ac_compile") 2>conftest.er1
26119 grep -v '^ *+' conftest.er1 >conftest.err
26121 cat conftest.err >&5
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); } && {
26124 test -z "$ac_cxx_werror_flag" ||
26125 test ! -s conftest.err
26126 } && test -s conftest.$ac_objext; then
26127 wx_cv_class_stdhashmapset=yes
26129 echo "$as_me: failed program was:" >&5
26130 sed 's/^/| /' conftest.$ac_ext >&5
26132 wx_cv_class_stdhashmapset=no
26135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26139 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26140 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26145 if test "$wx_cv_class_stdhashmapset" = yes; then
26146 cat >>confdefs.h <<\_ACEOF
26147 #define HAVE_HASH_MAP 1
26150 cat >>confdefs.h <<\_ACEOF
26151 #define HAVE_STD_HASH_MAP 1
26156 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26157 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26158 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26159 echo $ECHO_N "(cached) $ECHO_C" >&6
26161 cat >conftest.$ac_ext <<_ACEOF
26164 cat confdefs.h >>conftest.$ac_ext
26165 cat >>conftest.$ac_ext <<_ACEOF
26166 /* end confdefs.h. */
26170 #include <ext/hash_map>
26172 rm -f conftest.$ac_objext
26173 if { (ac_try="$ac_compile"
26174 case "(($ac_try" in
26175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26176 *) ac_try_echo
=$ac_try;;
26178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26179 (eval "$ac_compile") 2>conftest.er1
26181 grep -v '^ *+' conftest.er1
>conftest.err
26183 cat conftest.err
>&5
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); } && {
26186 test -z "$ac_cxx_werror_flag" ||
26187 test ! -s conftest.err
26188 } && test -s conftest.
$ac_objext; then
26189 ac_cv_header_ext_hash_map
=yes
26191 echo "$as_me: failed program was:" >&5
26192 sed 's/^/| /' conftest.
$ac_ext >&5
26194 ac_cv_header_ext_hash_map
=no
26197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26199 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26200 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26201 if test $ac_cv_header_ext_hash_map = yes; then
26202 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26203 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26204 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26205 echo $ECHO_N "(cached) $ECHO_C" >&6
26207 cat >conftest.
$ac_ext <<_ACEOF
26210 cat confdefs.h
>>conftest.
$ac_ext
26211 cat >>conftest.
$ac_ext <<_ACEOF
26212 /* end confdefs.h. */
26213 #include <ext/hash_map>
26214 #include <ext/hash_set>
26218 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26219 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26224 rm -f conftest.
$ac_objext
26225 if { (ac_try
="$ac_compile"
26226 case "(($ac_try" in
26227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26228 *) ac_try_echo=$ac_try;;
26230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26231 (eval "$ac_compile") 2>conftest.er1
26233 grep -v '^ *+' conftest.er1 >conftest.err
26235 cat conftest.err >&5
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); } && {
26238 test -z "$ac_cxx_werror_flag" ||
26239 test ! -s conftest.err
26240 } && test -s conftest.$ac_objext; then
26241 wx_cv_class_gnuhashmapset=yes
26243 echo "$as_me: failed program was:" >&5
26244 sed 's/^/| /' conftest.$ac_ext >&5
26246 wx_cv_class_gnuhashmapset=no
26249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26253 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26254 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26264 ac_cpp='$CXXCPP $CPPFLAGS'
26265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26268 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26269 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26270 if test -z "$CXXCPP"; then
26271 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26272 echo $ECHO_N "(cached) $ECHO_C" >&6
26274 # Double quotes because CXXCPP needs to be expanded
26275 for CXXCPP in "$CXX -E" "/lib/cpp"
26277 ac_preproc_ok=false
26278 for ac_cxx_preproc_warn_flag in '' yes
26280 # Use a header file that comes with gcc, so configuring glibc
26281 # with a fresh cross-compiler works.
26282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26283 # <limits.h> exists even on freestanding compilers.
26284 # On the NeXT, cc -E runs the code through the compiler's parser,
26285 # not just through cpp. "Syntax error" is here to catch this case.
26286 cat >conftest.$ac_ext <<_ACEOF
26289 cat confdefs.h >>conftest.$ac_ext
26290 cat >>conftest.$ac_ext <<_ACEOF
26291 /* end confdefs.h. */
26293 # include <limits.h>
26295 # include <assert.h>
26299 if { (ac_try="$ac_cpp conftest.$ac_ext"
26300 case "(($ac_try" in
26301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26302 *) ac_try_echo
=$ac_try;;
26304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26307 grep -v '^ *+' conftest.er1
>conftest.err
26309 cat conftest.err
>&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); } >/dev
/null
&& {
26312 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26313 test ! -s conftest.err
26317 echo "$as_me: failed program was:" >&5
26318 sed 's/^/| /' conftest.
$ac_ext >&5
26320 # Broken: fails on valid input.
26324 rm -f conftest.err conftest.
$ac_ext
26326 # OK, works on sane cases. Now check whether nonexistent headers
26327 # can be detected and how.
26328 cat >conftest.
$ac_ext <<_ACEOF
26331 cat confdefs.h
>>conftest.
$ac_ext
26332 cat >>conftest.
$ac_ext <<_ACEOF
26333 /* end confdefs.h. */
26334 #include <ac_nonexistent.h>
26336 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26337 case "(($ac_try" in
26338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26339 *) ac_try_echo=$ac_try;;
26341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26344 grep -v '^ *+' conftest.er1 >conftest.err
26346 cat conftest.err >&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } >/dev/null && {
26349 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26350 test ! -s conftest.err
26352 # Broken: success on invalid input.
26355 echo "$as_me: failed program was:" >&5
26356 sed 's/^/| /' conftest.$ac_ext >&5
26358 # Passes both tests.
26363 rm -f conftest.err conftest.$ac_ext
26366 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26367 rm -f conftest.err conftest.
$ac_ext
26368 if $ac_preproc_ok; then
26373 ac_cv_prog_CXXCPP
=$CXXCPP
26376 CXXCPP
=$ac_cv_prog_CXXCPP
26378 ac_cv_prog_CXXCPP
=$CXXCPP
26380 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26381 echo "${ECHO_T}$CXXCPP" >&6; }
26382 ac_preproc_ok
=false
26383 for ac_cxx_preproc_warn_flag
in '' yes
26385 # Use a header file that comes with gcc, so configuring glibc
26386 # with a fresh cross-compiler works.
26387 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26388 # <limits.h> exists even on freestanding compilers.
26389 # On the NeXT, cc -E runs the code through the compiler's parser,
26390 # not just through cpp. "Syntax error" is here to catch this case.
26391 cat >conftest.
$ac_ext <<_ACEOF
26394 cat confdefs.h
>>conftest.
$ac_ext
26395 cat >>conftest.
$ac_ext <<_ACEOF
26396 /* end confdefs.h. */
26398 # include <limits.h>
26400 # include <assert.h>
26404 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26405 case "(($ac_try" in
26406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26407 *) ac_try_echo=$ac_try;;
26409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26410 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26412 grep -v '^ *+' conftest.er1 >conftest.err
26414 cat conftest.err >&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); } >/dev/null && {
26417 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26418 test ! -s conftest.err
26422 echo "$as_me: failed program was:" >&5
26423 sed 's/^/| /' conftest.$ac_ext >&5
26425 # Broken: fails on valid input.
26429 rm -f conftest.err conftest.$ac_ext
26431 # OK, works on sane cases. Now check whether nonexistent headers
26432 # can be detected and how.
26433 cat >conftest.$ac_ext <<_ACEOF
26436 cat confdefs.h >>conftest.$ac_ext
26437 cat >>conftest.$ac_ext <<_ACEOF
26438 /* end confdefs.h. */
26439 #include <ac_nonexistent.h>
26441 if { (ac_try="$ac_cpp conftest.$ac_ext"
26442 case "(($ac_try" in
26443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26444 *) ac_try_echo
=$ac_try;;
26446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26447 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26449 grep -v '^ *+' conftest.er1
>conftest.err
26451 cat conftest.err
>&5
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); } >/dev
/null
&& {
26454 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26455 test ! -s conftest.err
26457 # Broken: success on invalid input.
26460 echo "$as_me: failed program was:" >&5
26461 sed 's/^/| /' conftest.
$ac_ext >&5
26463 # Passes both tests.
26468 rm -f conftest.err conftest.
$ac_ext
26471 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26472 rm -f conftest.err conftest.
$ac_ext
26473 if $ac_preproc_ok; then
26476 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26477 See \`config.log' for more details." >&5
26478 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26479 See \`config.log' for more details." >&2;}
26480 { (exit 1); exit 1; }; }
26484 ac_cpp
='$CXXCPP $CPPFLAGS'
26485 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26486 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26487 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26492 for ac_header
in type_traits tr
1/type_traits
26494 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26495 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26498 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26499 echo $ECHO_N "(cached) $ECHO_C" >&6
26501 ac_res
=`eval echo '${'$as_ac_Header'}'`
26502 { echo "$as_me:$LINENO: result: $ac_res" >&5
26503 echo "${ECHO_T}$ac_res" >&6; }
26505 # Is the header compilable?
26506 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26508 cat >conftest.
$ac_ext <<_ACEOF
26511 cat confdefs.h
>>conftest.
$ac_ext
26512 cat >>conftest.
$ac_ext <<_ACEOF
26513 /* end confdefs.h. */
26514 $ac_includes_default
26515 #include <$ac_header>
26517 rm -f conftest.
$ac_objext
26518 if { (ac_try
="$ac_compile"
26519 case "(($ac_try" in
26520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26521 *) ac_try_echo=$ac_try;;
26523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26524 (eval "$ac_compile") 2>conftest.er1
26526 grep -v '^ *+' conftest.er1 >conftest.err
26528 cat conftest.err >&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); } && {
26531 test -z "$ac_cxx_werror_flag" ||
26532 test ! -s conftest.err
26533 } && test -s conftest.$ac_objext; then
26534 ac_header_compiler=yes
26536 echo "$as_me: failed program was:" >&5
26537 sed 's/^/| /' conftest.$ac_ext >&5
26539 ac_header_compiler=no
26542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26543 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26544 echo "${ECHO_T}$ac_header_compiler" >&6; }
26546 # Is the header present?
26547 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26549 cat >conftest.$ac_ext <<_ACEOF
26552 cat confdefs.h >>conftest.$ac_ext
26553 cat >>conftest.$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26555 #include <$ac_header>
26557 if { (ac_try="$ac_cpp conftest.$ac_ext"
26558 case "(($ac_try" in
26559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26560 *) ac_try_echo
=$ac_try;;
26562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26565 grep -v '^ *+' conftest.er1
>conftest.err
26567 cat conftest.err
>&5
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); } >/dev
/null
&& {
26570 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26571 test ! -s conftest.err
26573 ac_header_preproc
=yes
26575 echo "$as_me: failed program was:" >&5
26576 sed 's/^/| /' conftest.
$ac_ext >&5
26578 ac_header_preproc
=no
26581 rm -f conftest.err conftest.
$ac_ext
26582 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26583 echo "${ECHO_T}$ac_header_preproc" >&6; }
26585 # So? What about this header?
26586 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26591 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26592 ac_header_preproc
=yes
26595 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26596 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26597 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26598 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26599 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26600 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26601 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26602 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26605 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26606 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26608 ## ----------------------------------------- ##
26609 ## Report this to wx-dev@lists.wxwidgets.org ##
26610 ## ----------------------------------------- ##
26612 ) | sed "s/^/$as_me: WARNING: /" >&2
26615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26617 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26618 echo $ECHO_N "(cached) $ECHO_C" >&6
26620 eval "$as_ac_Header=\$ac_header_preproc"
26622 ac_res
=`eval echo '${'$as_ac_Header'}'`
26623 { echo "$as_me:$LINENO: result: $ac_res" >&5
26624 echo "${ECHO_T}$ac_res" >&6; }
26627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26628 cat >>confdefs.h
<<_ACEOF
26629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26639 if test -n "$GCC"; then
26640 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26641 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26642 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26643 echo $ECHO_N "(cached) $ECHO_C" >&6
26646 cat >conftest.
$ac_ext <<_ACEOF
26649 cat confdefs.h
>>conftest.
$ac_ext
26650 cat >>conftest.
$ac_ext <<_ACEOF
26651 /* end confdefs.h. */
26657 unsigned int value=0;
26658 /* wxAtomicInc doesn't use return value here */
26659 __sync_fetch_and_add(&value, 2);
26660 __sync_sub_and_fetch(&value, 1);
26661 /* but wxAtomicDec does, so mimic that: */
26662 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26668 rm -f conftest.
$ac_objext conftest
$ac_exeext
26669 if { (ac_try
="$ac_link"
26670 case "(($ac_try" in
26671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26672 *) ac_try_echo=$ac_try;;
26674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26675 (eval "$ac_link") 2>conftest.er1
26677 grep -v '^ *+' conftest.er1 >conftest.err
26679 cat conftest.err >&5
26680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 (exit $ac_status); } && {
26682 test -z "$ac_cxx_werror_flag" ||
26683 test ! -s conftest.err
26684 } && test -s conftest$ac_exeext &&
26685 $as_test_x conftest$ac_exeext; then
26686 wx_cv_cc_gcc_atomic_builtins=yes
26688 echo "$as_me: failed program was:" >&5
26689 sed 's/^/| /' conftest.$ac_ext >&5
26691 wx_cv_cc_gcc_atomic_builtins=no
26694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26695 conftest$ac_exeext conftest.$ac_ext
26699 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26700 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26701 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26702 cat >>confdefs.h <<\_ACEOF
26703 #define HAVE_GCC_ATOMIC_BUILTINS 1
26711 ac_cpp='$CPP $CPPFLAGS'
26712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26719 /usr/local/include \
26720 /usr/local/X11/include \
26721 /usr/local/include/X11 \
26722 /usr/local/X11R7/include \
26723 /usr/local/X11R6/include \
26724 /usr/local/include/X11R7 \
26725 /usr/local/include/X11R6 \
26727 /usr/Motif-2.1/include \
26728 /usr/Motif-1.2/include \
26729 /usr/include/Motif1.2 \
26732 /usr/openwin/include \
26736 /usr/X11R7/include \
26737 /usr/X11R6/include \
26738 /usr/X11R6.4/include \
26740 /usr/include/X11R7 \
26741 /usr/include/X11R6 \
26746 /usr/XFree86/include/X11 \
26749 /usr/local/X1R5/include \
26750 /usr/local/include/X11R5 \
26751 /usr/X11R5/include \
26752 /usr/include/X11R5 \
26754 /usr/local/X11R4/include \
26755 /usr/local/include/X11R4 \
26756 /usr/X11R4/include \
26757 /usr/include/X11R4 \
26759 /usr/openwin/share/include"
26761 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26762 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26766 if test "${wx_cv_std_libpath+set}" = set; then
26767 echo $ECHO_N "(cached) $ECHO_C" >&6
26770 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26771 for e in a so sl dylib dll.a; do
26773 if test -f $libc; then
26776 cat >conftest.$ac_ext <<_ACEOF
26777 int main() { return 0; }
26779 rm -f conftest.$ac_objext conftest$ac_exeext
26780 if { (ac_try="$ac_link"
26781 case "(($ac_try" in
26782 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26783 *) ac_try_echo
=$ac_try;;
26785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26786 (eval "$ac_link") 2>conftest.er1
26788 grep -v '^ *+' conftest.er1
>conftest.err
26790 cat conftest.err
>&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } && {
26793 test -z "$ac_c_werror_flag" ||
26794 test ! -s conftest.err
26795 } && test -s conftest
$ac_exeext &&
26796 $as_test_x conftest
$ac_exeext; then
26797 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.
$ac_ext >&5
26805 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26806 conftest
$ac_exeext conftest.
$ac_ext
26808 if test "x$wx_cv_std_libpath" != "x"; then
26814 if test "x$wx_cv_std_libpath" = "x"; then
26815 wx_cv_std_libpath
="lib"
26824 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26825 wx_cv_std_libpath
="lib/64"
26827 wx_cv_std_libpath
="lib"
26832 if test "$ac_cv_sizeof_void_p" = 8 -a \
26833 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26834 wx_cv_std_libpath
="lib64"
26836 wx_cv_std_libpath
="lib"
26841 wx_cv_std_libpath
="lib";
26845 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26846 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26848 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26850 if test "$build" != "$host" -a "$GCC" = yes; then
26851 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
26852 cross_root
=`dirname $cross_root`
26853 cross_root
=`dirname $cross_root`
26855 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26856 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26857 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
26859 if test -z "$PKG_CONFIG_PATH"; then
26860 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26861 export PKG_CONFIG_PATH
26864 if test -z "$x_includes" -o "$x_includes" = NONE
; then
26867 for ac_dir
in $SEARCH_INCLUDE /usr
/include
26869 if test -f "$ac_dir/X11/Intrinsic.h"; then
26870 ac_find_includes
=$ac_dir
26875 x_includes
=$ac_find_includes
26877 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
26880 for ac_dir
in $SEARCH_LIB
26882 for ac_extension
in a so sl dylib dll.a
; do
26883 if test -f "$ac_dir/libXt.$ac_extension"; then
26884 ac_find_libraries
=$ac_dir
26890 x_libraries
=$ac_find_libraries
26896 cat >confcache
<<\_ACEOF
26897 # This file is a shell script that caches the results of configure
26898 # tests run on this system so they can be shared between configure
26899 # scripts and configure runs, see configure's option --config-cache.
26900 # It is not useful on other systems. If it contains results you don't
26901 # want to keep, you may remove or edit it.
26903 # config.status only pays attention to the cache file if you give it
26904 # the --recheck option to rerun configure.
26906 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26907 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26908 # following values.
26912 # The following way of writing the cache mishandles newlines in values,
26913 # but we know of no workaround that is simple, portable, and efficient.
26914 # So, we kill variables containing newlines.
26915 # Ultrix sh set writes to stderr and can't be redirected directly,
26916 # and sets the high bit in the cache file unless we assign to the vars.
26918 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26919 eval ac_val
=\$
$ac_var
26923 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26924 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26927 _
| IFS
| as_nl
) ;; #(
26928 *) $as_unset $ac_var ;;
26934 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26935 *${as_nl}ac_space
=\
*)
26936 # `set' does not quote correctly, so add quotes (double-quote
26937 # substitution turns \\\\ into \\, and sed turns \\ into \).
26940 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26943 # `set' quotes correctly as required by POSIX, so do not add quotes.
26944 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26953 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26955 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26957 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26958 if test -w "$cache_file"; then
26959 test "x$cache_file" != "x/dev/null" &&
26960 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26961 echo "$as_me: updating cache $cache_file" >&6;}
26962 cat confcache
>$cache_file
26964 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26965 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26970 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26971 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26972 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26973 if test "${wx_cv_lib_glibc21+set}" = set; then
26974 echo $ECHO_N "(cached) $ECHO_C" >&6
26977 cat >conftest.
$ac_ext <<_ACEOF
26980 cat confdefs.h
>>conftest.
$ac_ext
26981 cat >>conftest.
$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26983 #include <features.h>
26988 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26996 rm -f conftest.
$ac_objext
26997 if { (ac_try
="$ac_compile"
26998 case "(($ac_try" in
26999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27000 *) ac_try_echo=$ac_try;;
27002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27003 (eval "$ac_compile") 2>conftest.er1
27005 grep -v '^ *+' conftest.er1 >conftest.err
27007 cat conftest.err >&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); } && {
27010 test -z "$ac_c_werror_flag" ||
27011 test ! -s conftest.err
27012 } && test -s conftest.$ac_objext; then
27014 wx_cv_lib_glibc21=yes
27017 echo "$as_me: failed program was:" >&5
27018 sed 's/^/| /' conftest.$ac_ext >&5
27021 wx_cv_lib_glibc21=no
27026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27029 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27030 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27031 if test "$wx_cv_lib_glibc21" = "yes"; then
27032 cat >>confdefs.h <<\_ACEOF
27033 #define wxHAVE_GLIBC2 1
27039 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27040 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27041 cat >>confdefs.h <<\_ACEOF
27042 #define _GNU_SOURCE 1
27053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27054 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27056 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27059 cat >conftest.$ac_ext <<_ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27067 #define $ac_func innocuous_$ac_func
27069 /* System header to define __stub macros and hopefully few prototypes,
27070 which can conflict with char $ac_func (); below.
27071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27072 <limits.h> exists even on freestanding compilers. */
27075 # include <limits.h>
27077 # include <assert.h>
27082 /* Override any GCC internal prototype to avoid an error.
27083 Use char because int might match the return type of a GCC
27084 builtin and then its argument prototype would still apply. */
27089 /* The GNU C library defines this for functions which it implements
27090 to always fail with ENOSYS. Some functions are actually named
27091 something starting with __ and the normal name is an alias. */
27092 #if defined __stub_$ac_func || defined __stub___$ac_func
27099 return $ac_func ();
27104 rm -f conftest.$ac_objext conftest$ac_exeext
27105 if { (ac_try="$ac_link"
27106 case "(($ac_try" in
27107 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27108 *) ac_try_echo
=$ac_try;;
27110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27111 (eval "$ac_link") 2>conftest.er1
27113 grep -v '^ *+' conftest.er1
>conftest.err
27115 cat conftest.err
>&5
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); } && {
27118 test -z "$ac_c_werror_flag" ||
27119 test ! -s conftest.err
27120 } && test -s conftest
$ac_exeext &&
27121 $as_test_x conftest
$ac_exeext; then
27122 eval "$as_ac_var=yes"
27124 echo "$as_me: failed program was:" >&5
27125 sed 's/^/| /' conftest.
$ac_ext >&5
27127 eval "$as_ac_var=no"
27130 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27131 conftest
$ac_exeext conftest.
$ac_ext
27133 ac_res
=`eval echo '${'$as_ac_var'}'`
27134 { echo "$as_me:$LINENO: result: $ac_res" >&5
27135 echo "${ECHO_T}$ac_res" >&6; }
27136 if test `eval echo '${'$as_ac_var'}'` = yes; then
27137 cat >>confdefs.h
<<_ACEOF
27138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27145 for ac_func
in floor
27147 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27150 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27151 echo $ECHO_N "(cached) $ECHO_C" >&6
27153 cat >conftest.
$ac_ext <<_ACEOF
27156 cat confdefs.h
>>conftest.
$ac_ext
27157 cat >>conftest.
$ac_ext <<_ACEOF
27158 /* end confdefs.h. */
27159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27161 #define $ac_func innocuous_$ac_func
27163 /* System header to define __stub macros and hopefully few prototypes,
27164 which can conflict with char $ac_func (); below.
27165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27166 <limits.h> exists even on freestanding compilers. */
27169 # include <limits.h>
27171 # include <assert.h>
27176 /* Override any GCC internal prototype to avoid an error.
27177 Use char because int might match the return type of a GCC
27178 builtin and then its argument prototype would still apply. */
27183 /* The GNU C library defines this for functions which it implements
27184 to always fail with ENOSYS. Some functions are actually named
27185 something starting with __ and the normal name is an alias. */
27186 #if defined __stub_$ac_func || defined __stub___$ac_func
27193 return $ac_func ();
27198 rm -f conftest.
$ac_objext conftest
$ac_exeext
27199 if { (ac_try
="$ac_link"
27200 case "(($ac_try" in
27201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27202 *) ac_try_echo=$ac_try;;
27204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27205 (eval "$ac_link") 2>conftest.er1
27207 grep -v '^ *+' conftest.er1 >conftest.err
27209 cat conftest.err >&5
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); } && {
27212 test -z "$ac_c_werror_flag" ||
27213 test ! -s conftest.err
27214 } && test -s conftest$ac_exeext &&
27215 $as_test_x conftest$ac_exeext; then
27216 eval "$as_ac_var=yes"
27218 echo "$as_me: failed program was:" >&5
27219 sed 's/^/| /' conftest.$ac_ext >&5
27221 eval "$as_ac_var=no"
27224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27225 conftest$ac_exeext conftest.$ac_ext
27227 ac_res=`eval echo '${'$as_ac_var'}'`
27228 { echo "$as_me:$LINENO: result: $ac_res" >&5
27229 echo "${ECHO_T}$ac_res" >&6; }
27230 if test `eval echo '${'$as_ac_var'}'` = yes; then
27231 cat >>confdefs.h <<_ACEOF
27232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27238 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27239 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27240 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27241 { echo "$as_me:$LINENO: result: yes" >&5
27242 echo "${ECHO_T}yes" >&6; }
27244 { echo "$as_me:$LINENO: result: no" >&5
27245 echo "${ECHO_T}no" >&6; }
27247 # use different functions to avoid configure caching
27253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27254 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27256 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27257 echo $ECHO_N "(cached) $ECHO_C" >&6
27259 cat >conftest.$ac_ext <<_ACEOF
27262 cat confdefs.h >>conftest.$ac_ext
27263 cat >>conftest.$ac_ext <<_ACEOF
27264 /* end confdefs.h. */
27265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27267 #define $ac_func innocuous_$ac_func
27269 /* System header to define __stub macros and hopefully few prototypes,
27270 which can conflict with char $ac_func (); below.
27271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27272 <limits.h> exists even on freestanding compilers. */
27275 # include <limits.h>
27277 # include <assert.h>
27282 /* Override any GCC internal prototype to avoid an error.
27283 Use char because int might match the return type of a GCC
27284 builtin and then its argument prototype would still apply. */
27289 /* The GNU C library defines this for functions which it implements
27290 to always fail with ENOSYS. Some functions are actually named
27291 something starting with __ and the normal name is an alias. */
27292 #if defined __stub_$ac_func || defined __stub___$ac_func
27299 return $ac_func ();
27304 rm -f conftest.$ac_objext conftest$ac_exeext
27305 if { (ac_try="$ac_link"
27306 case "(($ac_try" in
27307 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27308 *) ac_try_echo
=$ac_try;;
27310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27311 (eval "$ac_link") 2>conftest.er1
27313 grep -v '^ *+' conftest.er1
>conftest.err
27315 cat conftest.err
>&5
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); } && {
27318 test -z "$ac_c_werror_flag" ||
27319 test ! -s conftest.err
27320 } && test -s conftest
$ac_exeext &&
27321 $as_test_x conftest
$ac_exeext; then
27322 eval "$as_ac_var=yes"
27324 echo "$as_me: failed program was:" >&5
27325 sed 's/^/| /' conftest.
$ac_ext >&5
27327 eval "$as_ac_var=no"
27330 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27331 conftest
$ac_exeext conftest.
$ac_ext
27333 ac_res
=`eval echo '${'$as_ac_var'}'`
27334 { echo "$as_me:$LINENO: result: $ac_res" >&5
27335 echo "${ECHO_T}$ac_res" >&6; }
27336 if test `eval echo '${'$as_ac_var'}'` = yes; then
27337 cat >>confdefs.h
<<_ACEOF
27338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27345 for ac_func
in ceil
27347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27348 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27350 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27351 echo $ECHO_N "(cached) $ECHO_C" >&6
27353 cat >conftest.
$ac_ext <<_ACEOF
27356 cat confdefs.h
>>conftest.
$ac_ext
27357 cat >>conftest.
$ac_ext <<_ACEOF
27358 /* end confdefs.h. */
27359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27361 #define $ac_func innocuous_$ac_func
27363 /* System header to define __stub macros and hopefully few prototypes,
27364 which can conflict with char $ac_func (); below.
27365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27366 <limits.h> exists even on freestanding compilers. */
27369 # include <limits.h>
27371 # include <assert.h>
27376 /* Override any GCC internal prototype to avoid an error.
27377 Use char because int might match the return type of a GCC
27378 builtin and then its argument prototype would still apply. */
27383 /* The GNU C library defines this for functions which it implements
27384 to always fail with ENOSYS. Some functions are actually named
27385 something starting with __ and the normal name is an alias. */
27386 #if defined __stub_$ac_func || defined __stub___$ac_func
27393 return $ac_func ();
27398 rm -f conftest.
$ac_objext conftest
$ac_exeext
27399 if { (ac_try
="$ac_link"
27400 case "(($ac_try" in
27401 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27402 *) ac_try_echo=$ac_try;;
27404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27405 (eval "$ac_link") 2>conftest.er1
27407 grep -v '^ *+' conftest.er1 >conftest.err
27409 cat conftest.err >&5
27410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 (exit $ac_status); } && {
27412 test -z "$ac_c_werror_flag" ||
27413 test ! -s conftest.err
27414 } && test -s conftest$ac_exeext &&
27415 $as_test_x conftest$ac_exeext; then
27416 eval "$as_ac_var=yes"
27418 echo "$as_me: failed program was:" >&5
27419 sed 's/^/| /' conftest.$ac_ext >&5
27421 eval "$as_ac_var=no"
27424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27425 conftest$ac_exeext conftest.$ac_ext
27427 ac_res=`eval echo '${'$as_ac_var'}'`
27428 { echo "$as_me:$LINENO: result: $ac_res" >&5
27429 echo "${ECHO_T}$ac_res" >&6; }
27430 if test `eval echo '${'$as_ac_var'}'` = yes; then
27431 cat >>confdefs.h <<_ACEOF
27432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27438 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27439 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27440 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27441 { echo "$as_me:$LINENO: result: yes" >&5
27442 echo "${ECHO_T}yes" >&6; }
27444 { echo "$as_me:$LINENO: result: no" >&5
27445 echo "${ECHO_T}no" >&6; }
27446 # not sure we should warn the user, crash, etc.
27451 ac_cpp='$CXXCPP $CPPFLAGS'
27452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27456 if test "wxUSE_UNICODE" = "yes"; then
27458 for wx_func in wcstoull
27460 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27461 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27462 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27463 echo $ECHO_N "(cached) $ECHO_C" >&6
27466 cat >conftest.$ac_ext <<_ACEOF
27470 cat confdefs.h >>conftest.$ac_ext
27471 cat >>conftest.$ac_ext <<_ACEOF
27472 /* end confdefs.h. */
27475 $ac_includes_default
27491 rm -f conftest.$ac_objext conftest$ac_exeext
27492 if { (ac_try="$ac_link"
27493 case "(($ac_try" in
27494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27495 *) ac_try_echo
=$ac_try;;
27497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27498 (eval "$ac_link") 2>conftest.er1
27500 grep -v '^ *+' conftest.er1
>conftest.err
27502 cat conftest.err
>&5
27503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504 (exit $ac_status); } && {
27505 test -z "$ac_cxx_werror_flag" ||
27506 test ! -s conftest.err
27507 } && test -s conftest
$ac_exeext &&
27508 $as_test_x conftest
$ac_exeext; then
27509 eval wx_cv_func_
$wx_func=yes
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.
$ac_ext >&5
27514 eval wx_cv_func_
$wx_func=no
27517 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27518 conftest
$ac_exeext conftest.
$ac_ext
27521 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27522 { echo "$as_me:$LINENO: result: $ac_res" >&5
27523 echo "${ECHO_T}$ac_res" >&6; }
27525 if eval test \
$wx_cv_func_$wx_func = yes
27527 cat >>confdefs.h
<<_ACEOF
27528 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27540 for wx_func
in strtoull
27542 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27543 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27544 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27545 echo $ECHO_N "(cached) $ECHO_C" >&6
27548 cat >conftest.
$ac_ext <<_ACEOF
27552 cat confdefs.h
>>conftest.
$ac_ext
27553 cat >>conftest.
$ac_ext <<_ACEOF
27554 /* end confdefs.h. */
27557 $ac_includes_default
27573 rm -f conftest.
$ac_objext conftest
$ac_exeext
27574 if { (ac_try
="$ac_link"
27575 case "(($ac_try" in
27576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27577 *) ac_try_echo=$ac_try;;
27579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27580 (eval "$ac_link") 2>conftest.er1
27582 grep -v '^ *+' conftest.er1 >conftest.err
27584 cat conftest.err >&5
27585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27586 (exit $ac_status); } && {
27587 test -z "$ac_cxx_werror_flag" ||
27588 test ! -s conftest.err
27589 } && test -s conftest$ac_exeext &&
27590 $as_test_x conftest$ac_exeext; then
27591 eval wx_cv_func_$wx_func=yes
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.$ac_ext >&5
27596 eval wx_cv_func_$wx_func=no
27599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27600 conftest$ac_exeext conftest.$ac_ext
27603 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27604 { echo "$as_me:$LINENO: result: $ac_res" >&5
27605 echo "${ECHO_T}$ac_res" >&6; }
27607 if eval test \$wx_cv_func_$wx_func = yes
27609 cat >>confdefs.h <<_ACEOF
27610 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27622 ac_cpp='$CPP $CPPFLAGS'
27623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27630 if test "$wxUSE_REGEX" != "no"; then
27631 cat >>confdefs.h <<\_ACEOF
27632 #define wxUSE_REGEX 1
27636 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27637 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27638 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27639 wxUSE_REGEX=builtin
27642 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27643 { echo "$as_me:$LINENO: checking for regex.h" >&5
27644 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27645 if test "${ac_cv_header_regex_h+set}" = set; then
27646 echo $ECHO_N "(cached) $ECHO_C" >&6
27648 cat >conftest.$ac_ext <<_ACEOF
27651 cat confdefs.h >>conftest.$ac_ext
27652 cat >>conftest.$ac_ext <<_ACEOF
27653 /* end confdefs.h. */
27658 rm -f conftest.$ac_objext
27659 if { (ac_try="$ac_compile"
27660 case "(($ac_try" in
27661 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27662 *) ac_try_echo
=$ac_try;;
27664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27665 (eval "$ac_compile") 2>conftest.er1
27667 grep -v '^ *+' conftest.er1
>conftest.err
27669 cat conftest.err
>&5
27670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671 (exit $ac_status); } && {
27672 test -z "$ac_c_werror_flag" ||
27673 test ! -s conftest.err
27674 } && test -s conftest.
$ac_objext; then
27675 ac_cv_header_regex_h
=yes
27677 echo "$as_me: failed program was:" >&5
27678 sed 's/^/| /' conftest.
$ac_ext >&5
27680 ac_cv_header_regex_h
=no
27683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27685 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27686 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27687 if test $ac_cv_header_regex_h = yes; then
27690 for ac_func
in regcomp re_search
27692 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27693 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27695 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27696 echo $ECHO_N "(cached) $ECHO_C" >&6
27698 cat >conftest.
$ac_ext <<_ACEOF
27701 cat confdefs.h
>>conftest.
$ac_ext
27702 cat >>conftest.
$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27706 #define $ac_func innocuous_$ac_func
27708 /* System header to define __stub macros and hopefully few prototypes,
27709 which can conflict with char $ac_func (); below.
27710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27711 <limits.h> exists even on freestanding compilers. */
27714 # include <limits.h>
27716 # include <assert.h>
27721 /* Override any GCC internal prototype to avoid an error.
27722 Use char because int might match the return type of a GCC
27723 builtin and then its argument prototype would still apply. */
27728 /* The GNU C library defines this for functions which it implements
27729 to always fail with ENOSYS. Some functions are actually named
27730 something starting with __ and the normal name is an alias. */
27731 #if defined __stub_$ac_func || defined __stub___$ac_func
27738 return $ac_func ();
27743 rm -f conftest.
$ac_objext conftest
$ac_exeext
27744 if { (ac_try
="$ac_link"
27745 case "(($ac_try" in
27746 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27747 *) ac_try_echo=$ac_try;;
27749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27750 (eval "$ac_link") 2>conftest.er1
27752 grep -v '^ *+' conftest.er1 >conftest.err
27754 cat conftest.err >&5
27755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27756 (exit $ac_status); } && {
27757 test -z "$ac_c_werror_flag" ||
27758 test ! -s conftest.err
27759 } && test -s conftest$ac_exeext &&
27760 $as_test_x conftest$ac_exeext; then
27761 eval "$as_ac_var=yes"
27763 echo "$as_me: failed program was:" >&5
27764 sed 's/^/| /' conftest.$ac_ext >&5
27766 eval "$as_ac_var=no"
27769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27770 conftest$ac_exeext conftest.$ac_ext
27772 ac_res=`eval echo '${'$as_ac_var'}'`
27773 { echo "$as_me:$LINENO: result: $ac_res" >&5
27774 echo "${ECHO_T}$ac_res" >&6; }
27775 if test `eval echo '${'$as_ac_var'}'` = yes; then
27776 cat >>confdefs.h <<_ACEOF
27777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27787 if test "x$ac_cv_func_regcomp" != "xyes"; then
27788 if test "$wxUSE_REGEX" = "sys" ; then
27789 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27790 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27791 { (exit 1); exit 1; }; }
27793 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27794 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27795 wxUSE_REGEX=builtin
27799 cat >>confdefs.h <<\_ACEOF
27800 #define WX_NO_REGEX_ADVANCED 1
27809 if test "$wxUSE_ZLIB" != "no" ; then
27810 cat >>confdefs.h <<\_ACEOF
27811 #define wxUSE_ZLIB 1
27815 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27816 if test "$USE_DARWIN" = 1; then
27817 system_zlib_h_ok="yes"
27819 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27820 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27821 if test "${ac_cv_header_zlib_h+set}" = set; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27824 if test "$cross_compiling" = yes; then
27825 unset ac_cv_header_zlib_h
27828 cat >conftest.$ac_ext <<_ACEOF
27831 cat confdefs.h >>conftest.$ac_ext
27832 cat >>conftest.$ac_ext <<_ACEOF
27833 /* end confdefs.h. */
27840 FILE *f=fopen("conftestval", "w");
27843 ZLIB_VERSION[0] == '1' &&
27844 (ZLIB_VERSION[2] > '1' ||
27845 (ZLIB_VERSION[2] == '1' &&
27846 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27851 rm -f conftest$ac_exeext
27852 if { (ac_try="$ac_link"
27853 case "(($ac_try" in
27854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27855 *) ac_try_echo
=$ac_try;;
27857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27858 (eval "$ac_link") 2>&5
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27862 { (case "(($ac_try" in
27863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27864 *) ac_try_echo=$ac_try;;
27866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27867 (eval "$ac_try") 2>&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); }; }; then
27871 ac_cv_header_zlib_h=`cat conftestval
`
27873 echo "$as_me: program exited with status $ac_status" >&5
27874 echo "$as_me: failed program was:" >&5
27875 sed 's/^/| /' conftest.$ac_ext >&5
27877 ( exit $ac_status )
27878 ac_cv_header_zlib_h=no
27880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27886 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27887 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27888 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27889 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27890 if test "${ac_cv_header_zlib_h+set}" = set; then
27891 echo $ECHO_N "(cached) $ECHO_C" >&6
27893 cat >conftest.$ac_ext <<_ACEOF
27896 cat confdefs.h >>conftest.$ac_ext
27897 cat >>conftest.$ac_ext <<_ACEOF
27898 /* end confdefs.h. */
27903 rm -f conftest.$ac_objext
27904 if { (ac_try="$ac_compile"
27905 case "(($ac_try" in
27906 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27907 *) ac_try_echo
=$ac_try;;
27909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27910 (eval "$ac_compile") 2>conftest.er1
27912 grep -v '^ *+' conftest.er1
>conftest.err
27914 cat conftest.err
>&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); } && {
27917 test -z "$ac_c_werror_flag" ||
27918 test ! -s conftest.err
27919 } && test -s conftest.
$ac_objext; then
27920 ac_cv_header_zlib_h
=yes
27922 echo "$as_me: failed program was:" >&5
27923 sed 's/^/| /' conftest.
$ac_ext >&5
27925 ac_cv_header_zlib_h
=no
27928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27930 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27931 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27935 system_zlib_h_ok
=$ac_cv_header_zlib_h
27938 if test "$system_zlib_h_ok" = "yes"; then
27939 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27940 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27941 if test "${ac_cv_lib_z_deflate+set}" = set; then
27942 echo $ECHO_N "(cached) $ECHO_C" >&6
27944 ac_check_lib_save_LIBS
=$LIBS
27946 cat >conftest.
$ac_ext <<_ACEOF
27949 cat confdefs.h
>>conftest.
$ac_ext
27950 cat >>conftest.
$ac_ext <<_ACEOF
27951 /* end confdefs.h. */
27953 /* Override any GCC internal prototype to avoid an error.
27954 Use char because int might match the return type of a GCC
27955 builtin and then its argument prototype would still apply. */
27968 rm -f conftest.
$ac_objext conftest
$ac_exeext
27969 if { (ac_try
="$ac_link"
27970 case "(($ac_try" in
27971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27972 *) ac_try_echo=$ac_try;;
27974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27975 (eval "$ac_link") 2>conftest.er1
27977 grep -v '^ *+' conftest.er1 >conftest.err
27979 cat conftest.err >&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } && {
27982 test -z "$ac_c_werror_flag" ||
27983 test ! -s conftest.err
27984 } && test -s conftest$ac_exeext &&
27985 $as_test_x conftest$ac_exeext; then
27986 ac_cv_lib_z_deflate=yes
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.$ac_ext >&5
27991 ac_cv_lib_z_deflate=no
27994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27995 conftest$ac_exeext conftest.$ac_ext
27996 LIBS=$ac_check_lib_save_LIBS
27998 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27999 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28000 if test $ac_cv_lib_z_deflate = yes; then
28006 if test "x$ZLIB_LINK" = "x" ; then
28007 if test "$wxUSE_ZLIB" = "sys" ; then
28008 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28009 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28010 { (exit 1); exit 1; }; }
28012 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28013 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28024 if test "$wxUSE_LIBPNG" != "no" ; then
28025 cat >>confdefs.h <<\_ACEOF
28026 #define wxUSE_LIBPNG 1
28030 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28031 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28032 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28036 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28037 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28038 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28039 wxUSE_LIBPNG=builtin
28042 if test "$wxUSE_MGL" != 1 ; then
28043 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28044 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28045 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28046 if test "${ac_cv_header_png_h+set}" = set; then
28047 echo $ECHO_N "(cached) $ECHO_C" >&6
28049 if test "$cross_compiling" = yes; then
28050 unset ac_cv_header_png_h
28053 cat >conftest.$ac_ext <<_ACEOF
28056 cat confdefs.h >>conftest.$ac_ext
28057 cat >>conftest.$ac_ext <<_ACEOF
28058 /* end confdefs.h. */
28065 FILE *f=fopen("conftestval", "w");
28068 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28073 rm -f conftest$ac_exeext
28074 if { (ac_try="$ac_link"
28075 case "(($ac_try" in
28076 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28077 *) ac_try_echo
=$ac_try;;
28079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28080 (eval "$ac_link") 2>&5
28082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28084 { (case "(($ac_try" in
28085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28086 *) ac_try_echo=$ac_try;;
28088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28089 (eval "$ac_try") 2>&5
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); }; }; then
28093 ac_cv_header_png_h=`cat conftestval
`
28095 echo "$as_me: program exited with status $ac_status" >&5
28096 echo "$as_me: failed program was:" >&5
28097 sed 's/^/| /' conftest.$ac_ext >&5
28099 ( exit $ac_status )
28100 ac_cv_header_png_h=no
28102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28108 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28109 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28110 { echo "$as_me:$LINENO: checking for png.h" >&5
28111 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28112 if test "${ac_cv_header_png_h+set}" = set; then
28113 echo $ECHO_N "(cached) $ECHO_C" >&6
28115 cat >conftest.$ac_ext <<_ACEOF
28118 cat confdefs.h >>conftest.$ac_ext
28119 cat >>conftest.$ac_ext <<_ACEOF
28120 /* end confdefs.h. */
28125 rm -f conftest.$ac_objext
28126 if { (ac_try="$ac_compile"
28127 case "(($ac_try" in
28128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28129 *) ac_try_echo
=$ac_try;;
28131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28132 (eval "$ac_compile") 2>conftest.er1
28134 grep -v '^ *+' conftest.er1
>conftest.err
28136 cat conftest.err
>&5
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); } && {
28139 test -z "$ac_c_werror_flag" ||
28140 test ! -s conftest.err
28141 } && test -s conftest.
$ac_objext; then
28142 ac_cv_header_png_h
=yes
28144 echo "$as_me: failed program was:" >&5
28145 sed 's/^/| /' conftest.
$ac_ext >&5
28147 ac_cv_header_png_h
=no
28150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28152 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28153 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28157 if test "$ac_cv_header_png_h" = "yes"; then
28158 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28159 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28160 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28161 echo $ECHO_N "(cached) $ECHO_C" >&6
28163 ac_check_lib_save_LIBS
=$LIBS
28164 LIBS
="-lpng -lz -lm $LIBS"
28165 cat >conftest.
$ac_ext <<_ACEOF
28168 cat confdefs.h
>>conftest.
$ac_ext
28169 cat >>conftest.
$ac_ext <<_ACEOF
28170 /* end confdefs.h. */
28172 /* Override any GCC internal prototype to avoid an error.
28173 Use char because int might match the return type of a GCC
28174 builtin and then its argument prototype would still apply. */
28178 char png_sig_cmp ();
28182 return png_sig_cmp ();
28187 rm -f conftest.
$ac_objext conftest
$ac_exeext
28188 if { (ac_try
="$ac_link"
28189 case "(($ac_try" in
28190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28191 *) ac_try_echo=$ac_try;;
28193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28194 (eval "$ac_link") 2>conftest.er1
28196 grep -v '^ *+' conftest.er1 >conftest.err
28198 cat conftest.err >&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } && {
28201 test -z "$ac_c_werror_flag" ||
28202 test ! -s conftest.err
28203 } && test -s conftest$ac_exeext &&
28204 $as_test_x conftest$ac_exeext; then
28205 ac_cv_lib_png_png_sig_cmp=yes
28207 echo "$as_me: failed program was:" >&5
28208 sed 's/^/| /' conftest.$ac_ext >&5
28210 ac_cv_lib_png_png_sig_cmp=no
28213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28214 conftest$ac_exeext conftest.$ac_ext
28215 LIBS=$ac_check_lib_save_LIBS
28217 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28218 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28219 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28220 PNG_LINK=" -lpng -lz"
28225 if test "x$PNG_LINK" = "x" ; then
28226 if test "$wxUSE_LIBPNG" = "sys" ; then
28227 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28228 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28229 { (exit 1); exit 1; }; }
28231 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28232 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28233 wxUSE_LIBPNG=builtin
28244 if test "$wxUSE_LIBJPEG" != "no" ; then
28245 cat >>confdefs.h <<\_ACEOF
28246 #define wxUSE_LIBJPEG 1
28250 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28251 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28252 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28256 if test "$wxUSE_MGL" != 1 ; then
28257 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28258 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28259 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28260 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28261 echo $ECHO_N "(cached) $ECHO_C" >&6
28263 cat >conftest.$ac_ext <<_ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28270 #undef HAVE_STDLIB_H
28272 #include <jpeglib.h>
28283 rm -f conftest.$ac_objext
28284 if { (ac_try="$ac_compile"
28285 case "(($ac_try" in
28286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28287 *) ac_try_echo
=$ac_try;;
28289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28290 (eval "$ac_compile") 2>conftest.er1
28292 grep -v '^ *+' conftest.er1
>conftest.err
28294 cat conftest.err
>&5
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); } && {
28297 test -z "$ac_c_werror_flag" ||
28298 test ! -s conftest.err
28299 } && test -s conftest.
$ac_objext; then
28300 ac_cv_header_jpeglib_h
=yes
28302 echo "$as_me: failed program was:" >&5
28303 sed 's/^/| /' conftest.
$ac_ext >&5
28305 ac_cv_header_jpeglib_h
=no
28309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28313 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28314 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28316 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28317 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28318 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28319 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28320 echo $ECHO_N "(cached) $ECHO_C" >&6
28322 ac_check_lib_save_LIBS
=$LIBS
28323 LIBS
="-ljpeg $LIBS"
28324 cat >conftest.
$ac_ext <<_ACEOF
28327 cat confdefs.h
>>conftest.
$ac_ext
28328 cat >>conftest.
$ac_ext <<_ACEOF
28329 /* end confdefs.h. */
28331 /* Override any GCC internal prototype to avoid an error.
28332 Use char because int might match the return type of a GCC
28333 builtin and then its argument prototype would still apply. */
28337 char jpeg_read_header ();
28341 return jpeg_read_header ();
28346 rm -f conftest.
$ac_objext conftest
$ac_exeext
28347 if { (ac_try
="$ac_link"
28348 case "(($ac_try" in
28349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28350 *) ac_try_echo=$ac_try;;
28352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28353 (eval "$ac_link") 2>conftest.er1
28355 grep -v '^ *+' conftest.er1 >conftest.err
28357 cat conftest.err >&5
28358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28359 (exit $ac_status); } && {
28360 test -z "$ac_c_werror_flag" ||
28361 test ! -s conftest.err
28362 } && test -s conftest$ac_exeext &&
28363 $as_test_x conftest$ac_exeext; then
28364 ac_cv_lib_jpeg_jpeg_read_header=yes
28366 echo "$as_me: failed program was:" >&5
28367 sed 's/^/| /' conftest.$ac_ext >&5
28369 ac_cv_lib_jpeg_jpeg_read_header=no
28372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28373 conftest$ac_exeext conftest.$ac_ext
28374 LIBS=$ac_check_lib_save_LIBS
28376 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28377 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28378 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28379 JPEG_LINK=" -ljpeg"
28384 if test "x$JPEG_LINK" = "x" ; then
28385 if test "$wxUSE_LIBJPEG" = "sys" ; then
28386 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28387 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28388 { (exit 1); exit 1; }; }
28390 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28391 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28392 wxUSE_LIBJPEG=builtin
28397 if test "$wxUSE_MSW" = 1; then
28398 { echo "$as_me:$LINENO: checking for boolean" >&5
28399 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28400 if test "${ac_cv_type_boolean+set}" = set; then
28401 echo $ECHO_N "(cached) $ECHO_C" >&6
28403 cat >conftest.$ac_ext <<_ACEOF
28406 cat confdefs.h >>conftest.$ac_ext
28407 cat >>conftest.$ac_ext <<_ACEOF
28408 /* end confdefs.h. */
28409 #include <windows.h>
28411 typedef boolean ac__type_new_;
28415 if ((ac__type_new_ *) 0)
28417 if (sizeof (ac__type_new_))
28423 rm -f conftest.$ac_objext
28424 if { (ac_try="$ac_compile"
28425 case "(($ac_try" in
28426 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28427 *) ac_try_echo
=$ac_try;;
28429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28430 (eval "$ac_compile") 2>conftest.er1
28432 grep -v '^ *+' conftest.er1
>conftest.err
28434 cat conftest.err
>&5
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); } && {
28437 test -z "$ac_c_werror_flag" ||
28438 test ! -s conftest.err
28439 } && test -s conftest.
$ac_objext; then
28440 ac_cv_type_boolean
=yes
28442 echo "$as_me: failed program was:" >&5
28443 sed 's/^/| /' conftest.
$ac_ext >&5
28445 ac_cv_type_boolean
=no
28448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28450 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28451 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28452 if test $ac_cv_type_boolean = yes; then
28454 cat >>confdefs.h
<<_ACEOF
28455 #define HAVE_BOOLEAN 1
28459 { echo "$as_me:$LINENO: checking for boolean" >&5
28460 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28461 if test "${ac_cv_type_boolean+set}" = set; then
28462 echo $ECHO_N "(cached) $ECHO_C" >&6
28464 cat >conftest.
$ac_ext <<_ACEOF
28467 cat confdefs.h
>>conftest.
$ac_ext
28468 cat >>conftest.
$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28471 #undef HAVE_BOOLEAN
28473 #include <jpeglib.h>
28476 typedef boolean ac__type_new_;
28480 if ((ac__type_new_ *) 0)
28482 if (sizeof (ac__type_new_))
28488 rm -f conftest.
$ac_objext
28489 if { (ac_try
="$ac_compile"
28490 case "(($ac_try" in
28491 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28492 *) ac_try_echo=$ac_try;;
28494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28495 (eval "$ac_compile") 2>conftest.er1
28497 grep -v '^ *+' conftest.er1 >conftest.err
28499 cat conftest.err >&5
28500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501 (exit $ac_status); } && {
28502 test -z "$ac_c_werror_flag" ||
28503 test ! -s conftest.err
28504 } && test -s conftest.$ac_objext; then
28505 ac_cv_type_boolean=yes
28507 echo "$as_me: failed program was:" >&5
28508 sed 's/^/| /' conftest.$ac_ext >&5
28510 ac_cv_type_boolean=no
28513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28515 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28516 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28518 # The cast to long int works around a bug in the HP C Compiler
28519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28520 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28521 # This bug is HP SR number 8606223364.
28522 { echo "$as_me:$LINENO: checking size of boolean" >&5
28523 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28524 if test "${ac_cv_sizeof_boolean+set}" = set; then
28525 echo $ECHO_N "(cached) $ECHO_C" >&6
28527 if test "$cross_compiling" = yes; then
28528 # Depending upon the size, compute the lo and hi bounds.
28529 cat >conftest.$ac_ext <<_ACEOF
28532 cat confdefs.h >>conftest.$ac_ext
28533 cat >>conftest.$ac_ext <<_ACEOF
28534 /* end confdefs.h. */
28536 #undef HAVE_BOOLEAN
28538 #include <jpeglib.h>
28541 typedef boolean ac__type_sizeof_;
28545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28552 rm -f conftest.$ac_objext
28553 if { (ac_try="$ac_compile"
28554 case "(($ac_try" in
28555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28556 *) ac_try_echo=$ac_try;;
28558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28559 (eval "$ac_compile") 2>conftest.er1
28561 grep -v '^
*+' conftest.er1 >conftest.err
28563 cat conftest.err >&5
28564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28565 (exit $ac_status); } && {
28566 test -z "$ac_c_werror_flag" ||
28567 test ! -s conftest.err
28568 } && test -s conftest.$ac_objext; then
28571 cat >conftest.$ac_ext <<_ACEOF
28574 cat confdefs.h >>conftest.$ac_ext
28575 cat >>conftest.$ac_ext <<_ACEOF
28576 /* end confdefs.h. */
28578 #undef HAVE_BOOLEAN
28580 #include <jpeglib.h>
28583 typedef boolean ac__type_sizeof_;
28587 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28594 rm -f conftest.$ac_objext
28595 if { (ac_try="$ac_compile"
28596 case "(($ac_try" in
28597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28598 *) ac_try_echo=$ac_try;;
28600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28601 (eval "$ac_compile") 2>conftest.er1
28603 grep -v '^
*+' conftest.er1 >conftest.err
28605 cat conftest.err >&5
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); } && {
28608 test -z "$ac_c_werror_flag" ||
28609 test ! -s conftest.err
28610 } && test -s conftest.$ac_objext; then
28611 ac_hi=$ac_mid; break
28613 echo "$as_me: failed program was:" >&5
28614 sed 's
/^
/| /' conftest.$ac_ext >&5
28616 ac_lo=`expr $ac_mid + 1`
28617 if test $ac_lo -le $ac_mid; then
28621 ac_mid=`expr 2 '*' $ac_mid + 1`
28624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28627 echo "$as_me: failed program was:" >&5
28628 sed 's
/^
/| /' conftest.$ac_ext >&5
28630 cat >conftest.$ac_ext <<_ACEOF
28633 cat confdefs.h >>conftest.$ac_ext
28634 cat >>conftest.$ac_ext <<_ACEOF
28635 /* end confdefs.h. */
28637 #undef HAVE_BOOLEAN
28639 #include <jpeglib.h>
28642 typedef boolean ac__type_sizeof_;
28646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28653 rm -f conftest.$ac_objext
28654 if { (ac_try="$ac_compile"
28655 case "(($ac_try" in
28656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28657 *) ac_try_echo=$ac_try;;
28659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28660 (eval "$ac_compile") 2>conftest.er1
28662 grep -v '^
*+' conftest.er1 >conftest.err
28664 cat conftest.err >&5
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); } && {
28667 test -z "$ac_c_werror_flag" ||
28668 test ! -s conftest.err
28669 } && test -s conftest.$ac_objext; then
28672 cat >conftest.$ac_ext <<_ACEOF
28675 cat confdefs.h >>conftest.$ac_ext
28676 cat >>conftest.$ac_ext <<_ACEOF
28677 /* end confdefs.h. */
28679 #undef HAVE_BOOLEAN
28681 #include <jpeglib.h>
28684 typedef boolean ac__type_sizeof_;
28688 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28695 rm -f conftest.$ac_objext
28696 if { (ac_try="$ac_compile"
28697 case "(($ac_try" in
28698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28699 *) ac_try_echo=$ac_try;;
28701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28702 (eval "$ac_compile") 2>conftest.er1
28704 grep -v '^
*+' conftest.er1 >conftest.err
28706 cat conftest.err >&5
28707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28708 (exit $ac_status); } && {
28709 test -z "$ac_c_werror_flag" ||
28710 test ! -s conftest.err
28711 } && test -s conftest.$ac_objext; then
28712 ac_lo=$ac_mid; break
28714 echo "$as_me: failed program was:" >&5
28715 sed 's
/^
/| /' conftest.$ac_ext >&5
28717 ac_hi=`expr '(' $ac_mid ')' - 1`
28718 if test $ac_mid -le $ac_hi; then
28722 ac_mid=`expr 2 '*' $ac_mid`
28725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28728 echo "$as_me: failed program was:" >&5
28729 sed 's
/^
/| /' conftest.$ac_ext >&5
28734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28738 # Binary search between lo and hi bounds.
28739 while test "x$ac_lo" != "x$ac_hi"; do
28740 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28741 cat >conftest.$ac_ext <<_ACEOF
28744 cat confdefs.h >>conftest.$ac_ext
28745 cat >>conftest.$ac_ext <<_ACEOF
28746 /* end confdefs.h. */
28748 #undef HAVE_BOOLEAN
28750 #include <jpeglib.h>
28753 typedef boolean ac__type_sizeof_;
28757 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28764 rm -f conftest.$ac_objext
28765 if { (ac_try="$ac_compile"
28766 case "(($ac_try" in
28767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28768 *) ac_try_echo=$ac_try;;
28770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28771 (eval "$ac_compile") 2>conftest.er1
28773 grep -v '^
*+' conftest.er1 >conftest.err
28775 cat conftest.err >&5
28776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777 (exit $ac_status); } && {
28778 test -z "$ac_c_werror_flag" ||
28779 test ! -s conftest.err
28780 } && test -s conftest.$ac_objext; then
28783 echo "$as_me: failed program was:" >&5
28784 sed 's
/^
/| /' conftest.$ac_ext >&5
28786 ac_lo=`expr '(' $ac_mid ')' + 1`
28789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28792 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28793 '') if test "$ac_cv_type_boolean" = yes; then
28794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28795 See \`config.log' for more details.
" >&5
28796 echo "$as_me: error
: cannot compute sizeof
(boolean
)
28797 See \
`config.log' for more details." >&2;}
28798 { (exit 77); exit 77; }; }
28800 ac_cv_sizeof_boolean=0
28804 cat >conftest.$ac_ext <<_ACEOF
28807 cat confdefs.h >>conftest.$ac_ext
28808 cat >>conftest.$ac_ext <<_ACEOF
28809 /* end confdefs.h. */
28811 #undef HAVE_BOOLEAN
28813 #include <jpeglib.h>
28816 typedef boolean ac__type_sizeof_;
28817 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28818 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28820 #include <stdlib.h>
28825 FILE *f = fopen ("conftest.val", "w");
28828 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28830 long int i = longval ();
28831 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28833 fprintf (f, "%ld\n", i);
28837 unsigned long int i = ulongval ();
28838 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28840 fprintf (f, "%lu\n", i);
28842 return ferror (f) || fclose (f) != 0;
28848 rm -f conftest$ac_exeext
28849 if { (ac_try="$ac_link"
28850 case "(($ac_try" in
28851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28852 *) ac_try_echo
=$ac_try;;
28854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28855 (eval "$ac_link") 2>&5
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28859 { (case "(($ac_try" in
28860 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28861 *) ac_try_echo=$ac_try;;
28863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28864 (eval "$ac_try") 2>&5
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); }; }; then
28868 ac_cv_sizeof_boolean=`cat conftest.val
`
28870 echo "$as_me: program exited with status $ac_status" >&5
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.$ac_ext >&5
28874 ( exit $ac_status )
28875 if test "$ac_cv_type_boolean" = yes; then
28876 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28877 See \`config.log
' for more details." >&5
28878 echo "$as_me: error: cannot compute sizeof (boolean)
28879 See \`config.log' for more details.
" >&2;}
28880 { (exit 77); exit 77; }; }
28882 ac_cv_sizeof_boolean=0
28885 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28889 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28890 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28894 cat >>confdefs.h <<_ACEOF
28895 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28899 cat >>confdefs.h <<_ACEOF
28900 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28914 TIFF_PREREQ_LINKS=-lm
28915 if test "$wxUSE_LIBTIFF" != "no
" ; then
28916 cat >>confdefs.h <<\_ACEOF
28917 #define wxUSE_LIBTIFF 1
28921 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28922 if test "$wxUSE_LIBJPEG" = "sys
"; then
28923 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28925 if test "$wxUSE_ZLIB" = "sys
"; then
28926 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28928 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28929 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28930 if test "${ac_cv_header_tiffio_h+set}" = set; then
28931 echo $ECHO_N "(cached
) $ECHO_C" >&6
28933 cat >conftest.$ac_ext <<_ACEOF
28936 cat confdefs.h >>conftest.$ac_ext
28937 cat >>conftest.$ac_ext <<_ACEOF
28938 /* end confdefs.h. */
28942 #include <tiffio.h>
28944 rm -f conftest.$ac_objext
28945 if { (ac_try="$ac_compile"
28946 case "(($ac_try" in
28947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28948 *) ac_try_echo=$ac_try;;
28950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28951 (eval "$ac_compile") 2>conftest.er1
28953 grep -v '^ *+' conftest.er1 >conftest.err
28955 cat conftest.err >&5
28956 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28957 (exit $ac_status); } && {
28958 test -z "$ac_c_werror_flag" ||
28959 test ! -s conftest.err
28960 } && test -s conftest.$ac_objext; then
28961 ac_cv_header_tiffio_h=yes
28963 echo "$as_me: failed program was
:" >&5
28964 sed 's/^/| /' conftest.$ac_ext >&5
28966 ac_cv_header_tiffio_h=no
28969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28971 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28972 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28973 if test $ac_cv_header_tiffio_h = yes; then
28975 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28976 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28977 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28978 echo $ECHO_N "(cached
) $ECHO_C" >&6
28980 ac_check_lib_save_LIBS=$LIBS
28981 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28982 cat >conftest.$ac_ext <<_ACEOF
28985 cat confdefs.h >>conftest.$ac_ext
28986 cat >>conftest.$ac_ext <<_ACEOF
28987 /* end confdefs.h. */
28989 /* Override any GCC internal prototype to avoid an error.
28990 Use char because int might match the return type of a GCC
28991 builtin and then its argument prototype would still apply. */
28999 return TIFFError ();
29004 rm -f conftest.$ac_objext conftest$ac_exeext
29005 if { (ac_try="$ac_link"
29006 case "(($ac_try" in
29007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29008 *) ac_try_echo=$ac_try;;
29010 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29011 (eval "$ac_link") 2>conftest.er1
29013 grep -v '^ *+' conftest.er1 >conftest.err
29015 cat conftest.err >&5
29016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29017 (exit $ac_status); } && {
29018 test -z "$ac_c_werror_flag" ||
29019 test ! -s conftest.err
29020 } && test -s conftest$ac_exeext &&
29021 $as_test_x conftest$ac_exeext; then
29022 ac_cv_lib_tiff_TIFFError=yes
29024 echo "$as_me: failed program was
:" >&5
29025 sed 's/^/| /' conftest.$ac_ext >&5
29027 ac_cv_lib_tiff_TIFFError=no
29030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29031 conftest$ac_exeext conftest.$ac_ext
29032 LIBS=$ac_check_lib_save_LIBS
29034 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29035 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29036 if test $ac_cv_lib_tiff_TIFFError = yes; then
29037 TIFF_LINK=" -ltiff"
29045 if test "x
$TIFF_LINK" = "x
" ; then
29046 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29047 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29048 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29049 { (exit 1); exit 1; }; }
29051 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29052 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29053 wxUSE_LIBTIFF=builtin
29059 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29060 if test "$wxUSE_LIBJPEG" = "no
"; then
29061 ac_configure_args="$ac_configure_args --disable-jpeg"
29063 subdirs="$subdirs src
/tiff
"
29069 if test "$wxUSE_EXPAT" != "no
"; then
29071 cat >>confdefs.h <<\_ACEOF
29072 #define wxUSE_EXPAT 1
29075 cat >>confdefs.h <<\_ACEOF
29076 #define wxUSE_XML 1
29080 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29081 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29082 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29083 if test "${ac_cv_header_expat_h+set}" = set; then
29084 echo $ECHO_N "(cached
) $ECHO_C" >&6
29086 cat >conftest.$ac_ext <<_ACEOF
29089 cat confdefs.h >>conftest.$ac_ext
29090 cat >>conftest.$ac_ext <<_ACEOF
29091 /* end confdefs.h. */
29096 rm -f conftest.$ac_objext
29097 if { (ac_try="$ac_compile"
29098 case "(($ac_try" in
29099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29100 *) ac_try_echo=$ac_try;;
29102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29103 (eval "$ac_compile") 2>conftest.er1
29105 grep -v '^ *+' conftest.er1 >conftest.err
29107 cat conftest.err >&5
29108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29109 (exit $ac_status); } && {
29110 test -z "$ac_c_werror_flag" ||
29111 test ! -s conftest.err
29112 } && test -s conftest.$ac_objext; then
29113 ac_cv_header_expat_h=yes
29115 echo "$as_me: failed program was
:" >&5
29116 sed 's/^/| /' conftest.$ac_ext >&5
29118 ac_cv_header_expat_h=no
29121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29123 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29124 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29125 if test $ac_cv_header_expat_h = yes; then
29130 if test "x
$found_expat_h" = "x1
"; then
29131 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29132 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29133 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29134 echo $ECHO_N "(cached
) $ECHO_C" >&6
29138 ac_cpp='$CXXCPP $CPPFLAGS'
29139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29143 cat >conftest.$ac_ext <<_ACEOF
29146 cat confdefs.h >>conftest.$ac_ext
29147 cat >>conftest.$ac_ext <<_ACEOF
29148 /* end confdefs.h. */
29158 rm -f conftest.$ac_objext
29159 if { (ac_try="$ac_compile"
29160 case "(($ac_try" in
29161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29162 *) ac_try_echo=$ac_try;;
29164 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29165 (eval "$ac_compile") 2>conftest.er1
29167 grep -v '^ *+' conftest.er1 >conftest.err
29169 cat conftest.err >&5
29170 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29171 (exit $ac_status); } && {
29172 test -z "$ac_cxx_werror_flag" ||
29173 test ! -s conftest.err
29174 } && test -s conftest.$ac_objext; then
29175 wx_cv_expat_is_not_broken=yes
29177 echo "$as_me: failed program was
:" >&5
29178 sed 's/^/| /' conftest.$ac_ext >&5
29180 wx_cv_expat_is_not_broken=no
29184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29186 ac_cpp='$CPP $CPPFLAGS'
29187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29194 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29195 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29196 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29197 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29198 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29199 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29200 echo $ECHO_N "(cached
) $ECHO_C" >&6
29202 ac_check_lib_save_LIBS=$LIBS
29203 LIBS="-lexpat $LIBS"
29204 cat >conftest.$ac_ext <<_ACEOF
29207 cat confdefs.h >>conftest.$ac_ext
29208 cat >>conftest.$ac_ext <<_ACEOF
29209 /* end confdefs.h. */
29211 /* Override any GCC internal prototype to avoid an error.
29212 Use char because int might match the return type of a GCC
29213 builtin and then its argument prototype would still apply. */
29217 char XML_ParserCreate ();
29221 return XML_ParserCreate ();
29226 rm -f conftest.$ac_objext conftest$ac_exeext
29227 if { (ac_try="$ac_link"
29228 case "(($ac_try" in
29229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29230 *) ac_try_echo=$ac_try;;
29232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29233 (eval "$ac_link") 2>conftest.er1
29235 grep -v '^ *+' conftest.er1 >conftest.err
29237 cat conftest.err >&5
29238 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29239 (exit $ac_status); } && {
29240 test -z "$ac_c_werror_flag" ||
29241 test ! -s conftest.err
29242 } && test -s conftest$ac_exeext &&
29243 $as_test_x conftest$ac_exeext; then
29244 ac_cv_lib_expat_XML_ParserCreate=yes
29246 echo "$as_me: failed program was
:" >&5
29247 sed 's/^/| /' conftest.$ac_ext >&5
29249 ac_cv_lib_expat_XML_ParserCreate=no
29252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29253 conftest$ac_exeext conftest.$ac_ext
29254 LIBS=$ac_check_lib_save_LIBS
29256 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29257 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29258 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29259 EXPAT_LINK=" -lexpat"
29264 if test "x
$EXPAT_LINK" = "x
" ; then
29265 if test "$wxUSE_EXPAT" = "sys
" ; then
29266 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29267 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29268 { (exit 1); exit 1; }; }
29270 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29271 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29272 wxUSE_EXPAT=builtin
29278 if test "$wxUSE_EXPAT" = "builtin" ; then
29279 subdirs="$subdirs src
/expat
"
29286 if test "$wxUSE_LIBMSPACK" != "no
"; then
29287 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29288 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29289 if test "${ac_cv_header_mspack_h+set}" = set; then
29290 echo $ECHO_N "(cached
) $ECHO_C" >&6
29292 cat >conftest.$ac_ext <<_ACEOF
29295 cat confdefs.h >>conftest.$ac_ext
29296 cat >>conftest.$ac_ext <<_ACEOF
29297 /* end confdefs.h. */
29300 #include <mspack.h>
29302 rm -f conftest.$ac_objext
29303 if { (ac_try="$ac_compile"
29304 case "(($ac_try" in
29305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29306 *) ac_try_echo=$ac_try;;
29308 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29309 (eval "$ac_compile") 2>conftest.er1
29311 grep -v '^ *+' conftest.er1 >conftest.err
29313 cat conftest.err >&5
29314 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29315 (exit $ac_status); } && {
29316 test -z "$ac_c_werror_flag" ||
29317 test ! -s conftest.err
29318 } && test -s conftest.$ac_objext; then
29319 ac_cv_header_mspack_h=yes
29321 echo "$as_me: failed program was
:" >&5
29322 sed 's/^/| /' conftest.$ac_ext >&5
29324 ac_cv_header_mspack_h=no
29327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29329 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29330 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29331 if test $ac_cv_header_mspack_h = yes; then
29336 if test "x
$found_mspack_h" = "x1
"; then
29337 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29338 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29339 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29340 echo $ECHO_N "(cached
) $ECHO_C" >&6
29342 ac_check_lib_save_LIBS=$LIBS
29343 LIBS="-lmspack $LIBS"
29344 cat >conftest.$ac_ext <<_ACEOF
29347 cat confdefs.h >>conftest.$ac_ext
29348 cat >>conftest.$ac_ext <<_ACEOF
29349 /* end confdefs.h. */
29351 /* Override any GCC internal prototype to avoid an error.
29352 Use char because int might match the return type of a GCC
29353 builtin and then its argument prototype would still apply. */
29357 char mspack_create_chm_decompressor ();
29361 return mspack_create_chm_decompressor ();
29366 rm -f conftest.$ac_objext conftest$ac_exeext
29367 if { (ac_try="$ac_link"
29368 case "(($ac_try" in
29369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29370 *) ac_try_echo=$ac_try;;
29372 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29373 (eval "$ac_link") 2>conftest.er1
29375 grep -v '^ *+' conftest.er1 >conftest.err
29377 cat conftest.err >&5
29378 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29379 (exit $ac_status); } && {
29380 test -z "$ac_c_werror_flag" ||
29381 test ! -s conftest.err
29382 } && test -s conftest$ac_exeext &&
29383 $as_test_x conftest$ac_exeext; then
29384 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29386 echo "$as_me: failed program was
:" >&5
29387 sed 's/^/| /' conftest.$ac_ext >&5
29389 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29393 conftest$ac_exeext conftest.$ac_ext
29394 LIBS=$ac_check_lib_save_LIBS
29396 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29397 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29398 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29399 MSPACK_LINK=" -lmspack"
29403 if test "x
$MSPACK_LINK" = "x
" ; then
29408 if test "$wxUSE_LIBMSPACK" != "no
"; then
29409 cat >>confdefs.h <<\_ACEOF
29410 #define wxUSE_LIBMSPACK 1
29424 if test "$USE_WIN32" = 1 ; then
29426 for ac_header in w32api.h
29428 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29429 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29430 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29431 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29432 echo $ECHO_N "(cached
) $ECHO_C" >&6
29434 cat >conftest.$ac_ext <<_ACEOF
29437 cat confdefs.h >>conftest.$ac_ext
29438 cat >>conftest.$ac_ext <<_ACEOF
29439 /* end confdefs.h. */
29442 #include <$ac_header>
29444 rm -f conftest.$ac_objext
29445 if { (ac_try="$ac_compile"
29446 case "(($ac_try" in
29447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29448 *) ac_try_echo=$ac_try;;
29450 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29451 (eval "$ac_compile") 2>conftest.er1
29453 grep -v '^ *+' conftest.er1 >conftest.err
29455 cat conftest.err >&5
29456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29457 (exit $ac_status); } && {
29458 test -z "$ac_c_werror_flag" ||
29459 test ! -s conftest.err
29460 } && test -s conftest.$ac_objext; then
29461 eval "$as_ac_Header=yes"
29463 echo "$as_me: failed program was
:" >&5
29464 sed 's/^/| /' conftest.$ac_ext >&5
29466 eval "$as_ac_Header=no
"
29469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29471 ac_res=`eval echo '${'$as_ac_Header'}'`
29472 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29473 echo "${ECHO_T}$ac_res" >&6; }
29474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29475 cat >>confdefs.h <<_ACEOF
29476 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29483 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29484 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29485 if test "${ac_cv_header_windows_h+set}" = set; then
29486 echo $ECHO_N "(cached
) $ECHO_C" >&6
29488 cat >conftest.$ac_ext <<_ACEOF
29491 cat confdefs.h >>conftest.$ac_ext
29492 cat >>conftest.$ac_ext <<_ACEOF
29493 /* end confdefs.h. */
29496 #include <windows.h>
29498 rm -f conftest.$ac_objext
29499 if { (ac_try="$ac_compile"
29500 case "(($ac_try" in
29501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29502 *) ac_try_echo=$ac_try;;
29504 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29505 (eval "$ac_compile") 2>conftest.er1
29507 grep -v '^ *+' conftest.er1 >conftest.err
29509 cat conftest.err >&5
29510 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29511 (exit $ac_status); } && {
29512 test -z "$ac_c_werror_flag" ||
29513 test ! -s conftest.err
29514 } && test -s conftest.$ac_objext; then
29515 ac_cv_header_windows_h=yes
29517 echo "$as_me: failed program was
:" >&5
29518 sed 's/^/| /' conftest.$ac_ext >&5
29520 ac_cv_header_windows_h=no
29523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29525 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29526 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29527 if test $ac_cv_header_windows_h = yes; then
29531 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29532 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29533 { (exit 1); exit 1; }; }
29539 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29541 x86_64-*-mingw32* )
29542 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
29545 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29546 LIBS="$LIBS -loleacc"
29551 LIBS="$LIBS -lkernel32 -luser32"
29554 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29555 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29557 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29559 WIN32INSTALL=win32install
29561 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29562 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29563 if test "${ac_cv_header_pbt_h+set}" = set; then
29564 echo $ECHO_N "(cached
) $ECHO_C" >&6
29566 cat >conftest.$ac_ext <<_ACEOF
29569 cat confdefs.h >>conftest.$ac_ext
29570 cat >>conftest.$ac_ext <<_ACEOF
29571 /* end confdefs.h. */
29576 rm -f conftest.$ac_objext
29577 if { (ac_try="$ac_compile"
29578 case "(($ac_try" in
29579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29580 *) ac_try_echo=$ac_try;;
29582 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29583 (eval "$ac_compile") 2>conftest.er1
29585 grep -v '^ *+' conftest.er1 >conftest.err
29587 cat conftest.err >&5
29588 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29589 (exit $ac_status); } && {
29590 test -z "$ac_c_werror_flag" ||
29591 test ! -s conftest.err
29592 } && test -s conftest.$ac_objext; then
29593 ac_cv_header_pbt_h=yes
29595 echo "$as_me: failed program was
:" >&5
29596 sed 's/^/| /' conftest.$ac_ext >&5
29598 ac_cv_header_pbt_h=no
29601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29603 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29604 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29605 if test $ac_cv_header_pbt_h = yes; then
29608 cat >>confdefs.h <<\_ACEOF
29609 #define NEED_PBT_H 1
29617 if test "$wxUSE_GUI" = "yes"; then
29627 if test "$wxUSE_OLD_COCOA" = 1 ; then
29628 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29629 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
29630 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
29631 wxUSE_PRINTING_ARCHITECTURE=no
29633 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29634 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
29635 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
29636 wxUSE_DRAG_AND_DROP=no
29638 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29639 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
29640 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
29645 if test "$wxUSE_MSW" = 1 ; then
29651 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
29655 if test "$wxUSE_GTK" = 1; then
29656 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
29657 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
29659 gtk_version_cached=1
29660 if test "${wx_cv_lib_gtk+set}" = set; then
29661 echo $ECHO_N "(cached
) $ECHO_C" >&6
29664 gtk_version_cached=0
29665 { echo "$as_me:$LINENO: result
: " >&5
29666 echo "${ECHO_T}" >&6; }
29669 if test "$wxUSE_THREADS" = "yes"; then
29670 GTK_MODULES=gthread
29674 if test "x
$wxGTK_VERSION" != "x1
"
29678 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29683 # Check whether --enable-gtktest was given.
29684 if test "${enable_gtktest+set}" = set; then
29685 enableval=$enable_gtktest;
29691 pkg_config_args=gtk+-2.0
29692 for module in . $GTK_MODULES
29696 pkg_config_args="$pkg_config_args gthread
-2.0
"
29703 # Extract the first word of "pkg
-config", so it can be a program name with args.
29704 set dummy pkg-config; ac_word=$2
29705 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29706 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29707 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29708 echo $ECHO_N "(cached
) $ECHO_C" >&6
29710 case $PKG_CONFIG in
29712 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29716 for as_dir in $PATH
29719 test -z "$as_dir" && as_dir=.
29720 for ac_exec_ext in '' $ac_executable_extensions; do
29721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29722 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29723 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29730 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
29734 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29735 if test -n "$PKG_CONFIG"; then
29736 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
29737 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29739 { echo "$as_me:$LINENO: result
: no
" >&5
29740 echo "${ECHO_T}no
" >&6; }
29745 if test x$PKG_CONFIG != xno ; then
29746 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29749 echo "*** pkg
-config too old
; version
0.7 or better required.
"
29757 min_gtk_version=2.4.0
29758 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
29759 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
29761 if test x$PKG_CONFIG != xno ; then
29762 ## don't try to run the test against uninstalled libtool libs
29763 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29764 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
29768 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29775 if test x"$no_gtk" = x ; then
29776 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29777 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29778 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29779 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29780 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29781 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29782 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29783 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29784 if test "x
$enable_gtktest" = "xyes
" ; then
29785 ac_save_CFLAGS="$CFLAGS"
29786 ac_save_LIBS="$LIBS"
29787 CFLAGS="$CFLAGS $GTK_CFLAGS"
29788 LIBS="$GTK_LIBS $LIBS"
29790 if test "$cross_compiling" = yes; then
29791 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29793 cat >conftest.$ac_ext <<_ACEOF
29796 cat confdefs.h >>conftest.$ac_ext
29797 cat >>conftest.$ac_ext <<_ACEOF
29798 /* end confdefs.h. */
29800 #include <gtk/gtk.h>
29802 #include <stdlib.h>
29807 int major, minor, micro;
29810 system ("touch conf.gtktest
");
29812 /* HP/UX 9 (%@#!) writes to sscanf strings */
29813 tmp_version = g_strdup("$min_gtk_version");
29814 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29815 printf("%s
, bad version string
\n", "$min_gtk_version");
29819 if ((gtk_major_version != $gtk_config_major_version) ||
29820 (gtk_minor_version != $gtk_config_minor_version) ||
29821 (gtk_micro_version != $gtk_config_micro_version))
29823 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29824 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29825 gtk_major_version, gtk_minor_version, gtk_micro_version);
29826 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29827 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29828 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29829 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29830 printf("*** required on your system.
\n");
29831 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29832 printf("*** to point to the correct configuration files
\n");
29834 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29835 (gtk_minor_version != GTK_MINOR_VERSION) ||
29836 (gtk_micro_version != GTK_MICRO_VERSION))
29838 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29839 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29840 printf("*** library
(version
%d.
%d.
%d
)\n",
29841 gtk_major_version, gtk_minor_version, gtk_micro_version);
29845 if ((gtk_major_version > major) ||
29846 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29847 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29853 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29854 gtk_major_version, gtk_minor_version, gtk_micro_version);
29855 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29856 major, minor, micro);
29857 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29859 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29860 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29861 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29862 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29863 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29864 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29865 printf("*** so that the correct libraries are found
at run
-time))\n");
29872 rm -f conftest$ac_exeext
29873 if { (ac_try="$ac_link"
29874 case "(($ac_try" in
29875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29876 *) ac_try_echo=$ac_try;;
29878 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29879 (eval "$ac_link") 2>&5
29881 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29882 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29883 { (case "(($ac_try" in
29884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29885 *) ac_try_echo=$ac_try;;
29887 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29888 (eval "$ac_try") 2>&5
29890 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29891 (exit $ac_status); }; }; then
29894 echo "$as_me: program exited with status
$ac_status" >&5
29895 echo "$as_me: failed program was
:" >&5
29896 sed 's/^/| /' conftest.$ac_ext >&5
29898 ( exit $ac_status )
29901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29905 CFLAGS="$ac_save_CFLAGS"
29906 LIBS="$ac_save_LIBS"
29909 if test "x
$no_gtk" = x ; then
29910 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29911 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29914 { echo "$as_me:$LINENO: result
: no
" >&5
29915 echo "${ECHO_T}no
" >&6; }
29916 if test "$PKG_CONFIG" = "no
" ; then
29917 echo "*** A new enough version of pkg
-config was not found.
"
29918 echo "*** See http
://pkgconfig.sourceforge.net
"
29920 if test -f conf.gtktest ; then
29923 echo "*** Could not run GTK
+ test program
, checking why...
"
29924 ac_save_CFLAGS="$CFLAGS"
29925 ac_save_LIBS="$LIBS"
29926 CFLAGS="$CFLAGS $GTK_CFLAGS"
29927 LIBS="$LIBS $GTK_LIBS"
29928 cat >conftest.$ac_ext <<_ACEOF
29931 cat confdefs.h >>conftest.$ac_ext
29932 cat >>conftest.$ac_ext <<_ACEOF
29933 /* end confdefs.h. */
29935 #include <gtk/gtk.h>
29941 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29946 rm -f conftest.$ac_objext conftest$ac_exeext
29947 if { (ac_try="$ac_link"
29948 case "(($ac_try" in
29949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29950 *) ac_try_echo=$ac_try;;
29952 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29953 (eval "$ac_link") 2>conftest.er1
29955 grep -v '^ *+' conftest.er1 >conftest.err
29957 cat conftest.err >&5
29958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29959 (exit $ac_status); } && {
29960 test -z "$ac_c_werror_flag" ||
29961 test ! -s conftest.err
29962 } && test -s conftest$ac_exeext &&
29963 $as_test_x conftest$ac_exeext; then
29964 echo "*** The
test program compiled
, but did not run. This usually means
"
29965 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29966 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29967 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29968 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29969 echo "*** is required on your system"
29971 echo "*** If you have an old version installed, it is best to remove it, although"
29972 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29974 echo "$as_me: failed program was:" >&5
29975 sed 's
/^
/| /' conftest.$ac_ext >&5
29977 echo "*** The test program failed to compile or link. See the file config.log for the"
29978 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29982 conftest$ac_exeext conftest.$ac_ext
29983 CFLAGS="$ac_save_CFLAGS"
29984 LIBS="$ac_save_LIBS"
29996 GTK_LIBS="$GTK_LIBS -lX11"
29999 if test -z "$wx_cv_lib_gtk"; then
30000 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30002 # Check whether --with-gtk-prefix was given.
30003 if test "${with_gtk_prefix+set}" = set; then
30004 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30006 gtk_config_prefix=""
30010 # Check whether --with-gtk-exec-prefix was given.
30011 if test "${with_gtk_exec_prefix+set}" = set; then
30012 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30014 gtk_config_exec_prefix=""
30017 # Check whether --enable-gtktest was given.
30018 if test "${enable_gtktest+set}" = set; then
30019 enableval=$enable_gtktest;
30025 for module in . $GTK_MODULES
30029 gtk_config_args="$gtk_config_args gthread"
30034 if test x$gtk_config_exec_prefix != x ; then
30035 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30036 if test x${GTK_CONFIG+set} != xset ; then
30037 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30040 if test x$gtk_config_prefix != x ; then
30041 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30042 if test x${GTK_CONFIG+set} != xset ; then
30043 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30047 # Extract the first word of "gtk-config", so it can be a program name with args.
30048 set dummy gtk-config; ac_word=$2
30049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30051 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30052 echo $ECHO_N "(cached) $ECHO_C" >&6
30054 case $GTK_CONFIG in
30056 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30060 for as_dir in $PATH
30063 test -z "$as_dir" && as_dir=.
30064 for ac_exec_ext in '' $ac_executable_extensions; do
30065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30066 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30074 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30078 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30079 if test -n "$GTK_CONFIG"; then
30080 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30081 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30083 { echo "$as_me:$LINENO: result: no" >&5
30084 echo "${ECHO_T}no" >&6; }
30088 min_gtk_version=1.2.7
30089 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30090 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30092 if test "$GTK_CONFIG" = "no" ; then
30095 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30096 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30097 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30098 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30099 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30100 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30101 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30102 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30103 if test "x$enable_gtktest" = "xyes" ; then
30104 ac_save_CFLAGS="$CFLAGS"
30105 ac_save_LIBS="$LIBS"
30106 CFLAGS="$CFLAGS $GTK_CFLAGS"
30107 LIBS="$GTK_LIBS $LIBS"
30109 if test "$cross_compiling" = yes; then
30110 echo $ac_n "cross compiling; assumed OK... $ac_c"
30112 cat >conftest.$ac_ext <<_ACEOF
30115 cat confdefs.h >>conftest.$ac_ext
30116 cat >>conftest.$ac_ext <<_ACEOF
30117 /* end confdefs.h. */
30119 #include <gtk/gtk.h>
30121 #include <stdlib.h>
30126 int major, minor, micro;
30129 system ("touch conf.gtktest");
30131 /* HP/UX 9 (%@#!) writes to sscanf strings */
30132 tmp_version = g_strdup("$min_gtk_version");
30133 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30134 printf("%s, bad version string\n", "$min_gtk_version");
30138 if ((gtk_major_version != $gtk_config_major_version) ||
30139 (gtk_minor_version != $gtk_config_minor_version) ||
30140 (gtk_micro_version != $gtk_config_micro_version))
30142 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30143 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30144 gtk_major_version, gtk_minor_version, gtk_micro_version);
30145 printf ("*** was found! If gtk-config was correct, then it is best\n");
30146 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30147 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30148 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30149 printf("*** required on your system.\n");
30150 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30151 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30152 printf("*** before re-running configure\n");
30154 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30155 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30156 (gtk_minor_version != GTK_MINOR_VERSION) ||
30157 (gtk_micro_version != GTK_MICRO_VERSION))
30159 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30160 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30161 printf("*** library (version %d.%d.%d)\n",
30162 gtk_major_version, gtk_minor_version, gtk_micro_version);
30164 #endif /* defined (GTK_MAJOR_VERSION) ... */
30167 if ((gtk_major_version > major) ||
30168 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30169 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30175 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30176 gtk_major_version, gtk_minor_version, gtk_micro_version);
30177 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30178 major, minor, micro);
30179 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30181 printf("*** If you have already installed a sufficiently new version, this error\n");
30182 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30183 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30184 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30185 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30186 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30187 printf("*** so that the correct libraries are found at run-time))\n");
30194 rm -f conftest$ac_exeext
30195 if { (ac_try="$ac_link"
30196 case "(($ac_try" in
30197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30198 *) ac_try_echo=$ac_try;;
30200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30201 (eval "$ac_link") 2>&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30205 { (case "(($ac_try" in
30206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30207 *) ac_try_echo=$ac_try;;
30209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30210 (eval "$ac_try") 2>&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; }; then
30216 echo "$as_me: program exited with status $ac_status" >&5
30217 echo "$as_me: failed program was:" >&5
30218 sed 's
/^
/| /' conftest.$ac_ext >&5
30220 ( exit $ac_status )
30223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30227 CFLAGS="$ac_save_CFLAGS"
30228 LIBS="$ac_save_LIBS"
30231 if test "x$no_gtk" = x ; then
30232 { echo "$as_me:$LINENO: result: yes" >&5
30233 echo "${ECHO_T}yes" >&6; }
30234 wx_cv_lib_gtk=1.2.7
30236 { echo "$as_me:$LINENO: result: no" >&5
30237 echo "${ECHO_T}no" >&6; }
30238 if test "$GTK_CONFIG" = "no" ; then
30239 echo "*** The gtk-config script installed by GTK could not be found"
30240 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30241 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30242 echo "*** full path to gtk-config."
30244 if test -f conf.gtktest ; then
30247 echo "*** Could not run GTK test program, checking why..."
30248 CFLAGS="$CFLAGS $GTK_CFLAGS"
30249 LIBS="$LIBS $GTK_LIBS"
30250 cat >conftest.$ac_ext <<_ACEOF
30253 cat confdefs.h >>conftest.$ac_ext
30254 cat >>conftest.$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30257 #include <gtk/gtk.h>
30263 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30268 rm -f conftest.$ac_objext conftest$ac_exeext
30269 if { (ac_try="$ac_link"
30270 case "(($ac_try" in
30271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30272 *) ac_try_echo=$ac_try;;
30274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30275 (eval "$ac_link") 2>conftest.er1
30277 grep -v '^
*+' conftest.er1 >conftest.err
30279 cat conftest.err >&5
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); } && {
30282 test -z "$ac_c_werror_flag" ||
30283 test ! -s conftest.err
30284 } && test -s conftest$ac_exeext &&
30285 $as_test_x conftest$ac_exeext; then
30286 echo "*** The test program compiled, but did not run. This usually means"
30287 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30288 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30289 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30290 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30291 echo "*** is required on your system
"
30293 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30294 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30296 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30297 echo "*** came with the system with the
command"
30299 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30301 echo "$as_me: failed program was
:" >&5
30302 sed 's/^/| /' conftest.$ac_ext >&5
30304 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30305 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30306 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30307 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30311 conftest$ac_exeext conftest.$ac_ext
30312 CFLAGS="$ac_save_CFLAGS"
30313 LIBS="$ac_save_LIBS"
30325 if test -z "$wx_cv_lib_gtk"; then
30327 # Check whether --with-gtk-prefix was given.
30328 if test "${with_gtk_prefix+set}" = set; then
30329 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30331 gtk_config_prefix=""
30335 # Check whether --with-gtk-exec-prefix was given.
30336 if test "${with_gtk_exec_prefix+set}" = set; then
30337 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30339 gtk_config_exec_prefix=""
30342 # Check whether --enable-gtktest was given.
30343 if test "${enable_gtktest+set}" = set; then
30344 enableval=$enable_gtktest;
30350 for module in . $GTK_MODULES
30354 gtk_config_args="$gtk_config_args gthread
"
30359 if test x$gtk_config_exec_prefix != x ; then
30360 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30361 if test x${GTK_CONFIG+set} != xset ; then
30362 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30365 if test x$gtk_config_prefix != x ; then
30366 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30367 if test x${GTK_CONFIG+set} != xset ; then
30368 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30372 # Extract the first word of "gtk
-config", so it can be a program name with args.
30373 set dummy gtk-config; ac_word=$2
30374 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30375 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30376 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30377 echo $ECHO_N "(cached
) $ECHO_C" >&6
30379 case $GTK_CONFIG in
30381 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30385 for as_dir in $PATH
30388 test -z "$as_dir" && as_dir=.
30389 for ac_exec_ext in '' $ac_executable_extensions; do
30390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30391 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30392 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30399 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30403 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30404 if test -n "$GTK_CONFIG"; then
30405 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30406 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30408 { echo "$as_me:$LINENO: result
: no
" >&5
30409 echo "${ECHO_T}no
" >&6; }
30413 min_gtk_version=1.2.3
30414 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30415 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30417 if test "$GTK_CONFIG" = "no
" ; then
30420 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30421 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30422 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30423 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30424 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30425 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30426 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30427 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30428 if test "x
$enable_gtktest" = "xyes
" ; then
30429 ac_save_CFLAGS="$CFLAGS"
30430 ac_save_LIBS="$LIBS"
30431 CFLAGS="$CFLAGS $GTK_CFLAGS"
30432 LIBS="$GTK_LIBS $LIBS"
30434 if test "$cross_compiling" = yes; then
30435 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30437 cat >conftest.$ac_ext <<_ACEOF
30440 cat confdefs.h >>conftest.$ac_ext
30441 cat >>conftest.$ac_ext <<_ACEOF
30442 /* end confdefs.h. */
30444 #include <gtk/gtk.h>
30446 #include <stdlib.h>
30451 int major, minor, micro;
30454 system ("touch conf.gtktest
");
30456 /* HP/UX 9 (%@#!) writes to sscanf strings */
30457 tmp_version = g_strdup("$min_gtk_version");
30458 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30459 printf("%s
, bad version string
\n", "$min_gtk_version");
30463 if ((gtk_major_version != $gtk_config_major_version) ||
30464 (gtk_minor_version != $gtk_config_minor_version) ||
30465 (gtk_micro_version != $gtk_config_micro_version))
30467 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30468 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30469 gtk_major_version, gtk_minor_version, gtk_micro_version);
30470 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30471 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30472 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30473 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30474 printf("*** required on your system.
\n");
30475 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30476 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30477 printf("*** before re
-running configure
\n");
30479 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30480 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30481 (gtk_minor_version != GTK_MINOR_VERSION) ||
30482 (gtk_micro_version != GTK_MICRO_VERSION))
30484 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30485 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30486 printf("*** library
(version
%d.
%d.
%d
)\n",
30487 gtk_major_version, gtk_minor_version, gtk_micro_version);
30489 #endif /* defined (GTK_MAJOR_VERSION) ... */
30492 if ((gtk_major_version > major) ||
30493 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30494 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30500 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30501 gtk_major_version, gtk_minor_version, gtk_micro_version);
30502 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30503 major, minor, micro);
30504 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30506 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30507 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30508 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30509 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30510 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30511 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30512 printf("*** so that the correct libraries are found
at run
-time))\n");
30519 rm -f conftest$ac_exeext
30520 if { (ac_try="$ac_link"
30521 case "(($ac_try" in
30522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30523 *) ac_try_echo=$ac_try;;
30525 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30526 (eval "$ac_link") 2>&5
30528 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30530 { (case "(($ac_try" in
30531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30532 *) ac_try_echo=$ac_try;;
30534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30535 (eval "$ac_try") 2>&5
30537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30538 (exit $ac_status); }; }; then
30541 echo "$as_me: program exited with status
$ac_status" >&5
30542 echo "$as_me: failed program was
:" >&5
30543 sed 's/^/| /' conftest.$ac_ext >&5
30545 ( exit $ac_status )
30548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30552 CFLAGS="$ac_save_CFLAGS"
30553 LIBS="$ac_save_LIBS"
30556 if test "x
$no_gtk" = x ; then
30557 { echo "$as_me:$LINENO: result
: yes" >&5
30558 echo "${ECHO_T}yes" >&6; }
30559 wx_cv_lib_gtk=1.2.3
30561 { echo "$as_me:$LINENO: result
: no
" >&5
30562 echo "${ECHO_T}no
" >&6; }
30563 if test "$GTK_CONFIG" = "no
" ; then
30564 echo "*** The gtk
-config script installed by GTK could not be found
"
30565 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30566 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30567 echo "*** full path to gtk
-config.
"
30569 if test -f conf.gtktest ; then
30572 echo "*** Could not run GTK
test program
, checking why...
"
30573 CFLAGS="$CFLAGS $GTK_CFLAGS"
30574 LIBS="$LIBS $GTK_LIBS"
30575 cat >conftest.$ac_ext <<_ACEOF
30578 cat confdefs.h >>conftest.$ac_ext
30579 cat >>conftest.$ac_ext <<_ACEOF
30580 /* end confdefs.h. */
30582 #include <gtk/gtk.h>
30588 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30593 rm -f conftest.$ac_objext conftest$ac_exeext
30594 if { (ac_try="$ac_link"
30595 case "(($ac_try" in
30596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30597 *) ac_try_echo=$ac_try;;
30599 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30600 (eval "$ac_link") 2>conftest.er1
30602 grep -v '^ *+' conftest.er1 >conftest.err
30604 cat conftest.err >&5
30605 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30606 (exit $ac_status); } && {
30607 test -z "$ac_c_werror_flag" ||
30608 test ! -s conftest.err
30609 } && test -s conftest$ac_exeext &&
30610 $as_test_x conftest$ac_exeext; then
30611 echo "*** The
test program compiled
, but did not run. This usually means
"
30612 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
30613 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
30614 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30615 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30616 echo "*** is required on your system"
30618 echo "*** If you have an old version installed, it is best to remove it, although"
30619 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30621 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30622 echo "*** came with the system with the command"
30624 echo "*** rpm --erase --nodeps gtk gtk-devel"
30626 echo "$as_me: failed program was:" >&5
30627 sed 's
/^
/| /' conftest.$ac_ext >&5
30629 echo "*** The test program failed to compile or link. See the file config.log for the"
30630 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30631 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30632 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30636 conftest$ac_exeext conftest.$ac_ext
30637 CFLAGS="$ac_save_CFLAGS"
30638 LIBS="$ac_save_LIBS"
30653 if test -z "$wx_cv_lib_gtk"; then
30656 wx_cv_cflags_gtk=$GTK_CFLAGS
30657 wx_cv_libs_gtk=$GTK_LIBS
30664 if test "$gtk_version_cached" = 1; then
30665 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30666 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30669 case "$wx_cv_lib_gtk" in
30678 *) { { echo "$as_me:$LINENO: error:
30679 The development files for GTK+ were not found. For GTK+ 2, please
30680 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30681 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30682 and that the version is 1.2.3 or above. Also check that the
30683 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30684 --libs' are in the LD_LIBRARY_PATH or equivalent.
30686 echo "$as_me: error:
30687 The development files for GTK+ were not found. For GTK+ 2, please
30688 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30689 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30690 and that the version is 1.2.3 or above. Also check that the
30691 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30692 --libs' are in the LD_LIBRARY_PATH or equivalent.
30694 { (exit 1); exit 1; }; }
30698 if test "$WXGTK2" = 1; then
30699 save_CFLAGS="$CFLAGS"
30701 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30702 LIBS="$LIBS $wx_cv_libs_gtk"
30704 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30705 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30706 cat >conftest.$ac_ext <<_ACEOF
30709 cat confdefs.h >>conftest.$ac_ext
30710 cat >>conftest.$ac_ext <<_ACEOF
30711 /* end confdefs.h. */
30713 #include <gtk/gtk.h>
30719 #if !GTK_CHECK_VERSION(2,18,0)
30727 rm -f conftest.$ac_objext
30728 if { (ac_try="$ac_compile"
30729 case "(($ac_try" in
30730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30731 *) ac_try_echo=$ac_try;;
30733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30734 (eval "$ac_compile") 2>conftest.er1
30736 grep -v '^
*+' conftest.er1 >conftest.err
30738 cat conftest.err >&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } && {
30741 test -z "$ac_c_werror_flag" ||
30742 test ! -s conftest.err
30743 } && test -s conftest.$ac_objext; then
30745 cat >>confdefs.h <<\_ACEOF
30746 #define __WXGTK218__ 1
30749 cat >>confdefs.h <<\_ACEOF
30750 #define __WXGTK210__ 1
30753 cat >>confdefs.h <<\_ACEOF
30754 #define __WXGTK26__ 1
30757 { echo "$as_me:$LINENO: result: yes" >&5
30758 echo "${ECHO_T}yes" >&6; }
30762 echo "$as_me: failed program was:" >&5
30763 sed 's
/^
/| /' conftest.$ac_ext >&5
30766 { echo "$as_me:$LINENO: result: no" >&5
30767 echo "${ECHO_T}no" >&6; }
30772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30774 if test "$ac_wxgtk218" = 0; then
30775 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30776 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30777 cat >conftest.$ac_ext <<_ACEOF
30780 cat confdefs.h >>conftest.$ac_ext
30781 cat >>conftest.$ac_ext <<_ACEOF
30782 /* end confdefs.h. */
30784 #include <gtk/gtk.h>
30790 #if !GTK_CHECK_VERSION(2,10,0)
30798 rm -f conftest.$ac_objext
30799 if { (ac_try="$ac_compile"
30800 case "(($ac_try" in
30801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30802 *) ac_try_echo=$ac_try;;
30804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30805 (eval "$ac_compile") 2>conftest.er1
30807 grep -v '^
*+' conftest.er1 >conftest.err
30809 cat conftest.err >&5
30810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30811 (exit $ac_status); } && {
30812 test -z "$ac_c_werror_flag" ||
30813 test ! -s conftest.err
30814 } && test -s conftest.$ac_objext; then
30816 cat >>confdefs.h <<\_ACEOF
30817 #define __WXGTK210__ 1
30820 cat >>confdefs.h <<\_ACEOF
30821 #define __WXGTK26__ 1
30824 { echo "$as_me:$LINENO: result: yes" >&5
30825 echo "${ECHO_T}yes" >&6; }
30829 echo "$as_me: failed program was:" >&5
30830 sed 's
/^
/| /' conftest.$ac_ext >&5
30833 { echo "$as_me:$LINENO: result: no" >&5
30834 echo "${ECHO_T}no" >&6; }
30839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30841 if test "$ac_wxgtk210" = 0; then
30842 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30843 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30844 cat >conftest.$ac_ext <<_ACEOF
30847 cat confdefs.h >>conftest.$ac_ext
30848 cat >>conftest.$ac_ext <<_ACEOF
30849 /* end confdefs.h. */
30851 #include <gtk/gtk.h>
30857 #if !GTK_CHECK_VERSION(2,6,0)
30865 rm -f conftest.$ac_objext
30866 if { (ac_try="$ac_compile"
30867 case "(($ac_try" in
30868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30869 *) ac_try_echo=$ac_try;;
30871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30872 (eval "$ac_compile") 2>conftest.er1
30874 grep -v '^
*+' conftest.er1 >conftest.err
30876 cat conftest.err >&5
30877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878 (exit $ac_status); } && {
30879 test -z "$ac_c_werror_flag" ||
30880 test ! -s conftest.err
30881 } && test -s conftest.$ac_objext; then
30883 cat >>confdefs.h <<\_ACEOF
30884 #define __WXGTK26__ 1
30887 { echo "$as_me:$LINENO: result: yes" >&5
30888 echo "${ECHO_T}yes" >&6; }
30892 echo "$as_me: failed program was:" >&5
30893 sed 's
/^
/| /' conftest.$ac_ext >&5
30896 { echo "$as_me:$LINENO: result: no" >&5
30897 echo "${ECHO_T}no" >&6; }
30902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30906 CFLAGS="$save_CFLAGS"
30909 if test "$wxUSE_UNICODE" = "yes"; then
30910 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30911 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30915 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30916 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30917 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30918 echo $ECHO_N "(cached) $ECHO_C" >&6
30920 ac_check_lib_save_LIBS=$LIBS
30922 cat >conftest.$ac_ext <<_ACEOF
30925 cat confdefs.h >>conftest.$ac_ext
30926 cat >>conftest.$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30929 /* Override any GCC internal prototype to avoid an error.
30930 Use char because int might match the return type of a GCC
30931 builtin and then its argument prototype would still apply. */
30935 char gdk_im_open ();
30939 return gdk_im_open ();
30944 rm -f conftest.$ac_objext conftest$ac_exeext
30945 if { (ac_try="$ac_link"
30946 case "(($ac_try" in
30947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30948 *) ac_try_echo=$ac_try;;
30950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30951 (eval "$ac_link") 2>conftest.er1
30953 grep -v '^
*+' conftest.er1 >conftest.err
30955 cat conftest.err >&5
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); } && {
30958 test -z "$ac_c_werror_flag" ||
30959 test ! -s conftest.err
30960 } && test -s conftest$ac_exeext &&
30961 $as_test_x conftest$ac_exeext; then
30962 ac_cv_lib_gdk_gdk_im_open=yes
30964 echo "$as_me: failed program was:" >&5
30965 sed 's
/^
/| /' conftest.$ac_ext >&5
30967 ac_cv_lib_gdk_gdk_im_open=no
30970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30971 conftest$ac_exeext conftest.$ac_ext
30972 LIBS=$ac_check_lib_save_LIBS
30974 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30975 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30976 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30977 cat >>confdefs.h <<\_ACEOF
30984 if test "$USE_DARWIN" != 1; then
30986 for ac_func in poll
30988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30989 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30992 echo $ECHO_N "(cached) $ECHO_C" >&6
30994 cat >conftest.$ac_ext <<_ACEOF
30997 cat confdefs.h >>conftest.$ac_ext
30998 cat >>conftest.$ac_ext <<_ACEOF
30999 /* end confdefs.h. */
31000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31002 #define $ac_func innocuous_$ac_func
31004 /* System header to define __stub macros and hopefully few prototypes,
31005 which can conflict with char $ac_func (); below.
31006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31007 <limits.h> exists even on freestanding compilers. */
31010 # include <limits.h>
31012 # include <assert.h>
31017 /* Override any GCC internal prototype to avoid an error.
31018 Use char because int might match the return type of a GCC
31019 builtin and then its argument prototype would still apply. */
31024 /* The GNU C library defines this for functions which it implements
31025 to always fail with ENOSYS. Some functions are actually named
31026 something starting with __ and the normal name is an alias. */
31027 #if defined __stub_$ac_func || defined __stub___$ac_func
31034 return $ac_func ();
31039 rm -f conftest.$ac_objext conftest$ac_exeext
31040 if { (ac_try="$ac_link"
31041 case "(($ac_try" in
31042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31043 *) ac_try_echo=$ac_try;;
31045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31046 (eval "$ac_link") 2>conftest.er1
31048 grep -v '^
*+' conftest.er1 >conftest.err
31050 cat conftest.err >&5
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); } && {
31053 test -z "$ac_c_werror_flag" ||
31054 test ! -s conftest.err
31055 } && test -s conftest$ac_exeext &&
31056 $as_test_x conftest$ac_exeext; then
31057 eval "$as_ac_var=yes"
31059 echo "$as_me: failed program was:" >&5
31060 sed 's
/^
/| /' conftest.$ac_ext >&5
31062 eval "$as_ac_var=no"
31065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31066 conftest$ac_exeext conftest.$ac_ext
31068 ac_res=`eval echo '${'$as_ac_var'}'`
31069 { echo "$as_me:$LINENO: result: $ac_res" >&5
31070 echo "${ECHO_T}$ac_res" >&6; }
31071 if test `eval echo '${'$as_ac_var'}'` = yes; then
31072 cat >>confdefs.h <<_ACEOF
31073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31082 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31083 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31085 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31087 AFMINSTALL=afminstall
31091 if test "$wxUSE_GPE" = "yes"; then
31092 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31093 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31096 for ac_dir in $SEARCH_LIB
31098 for ac_extension in a so sl dylib dll.a; do
31099 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31100 ac_find_libraries=$ac_dir
31106 if test "$ac_find_libraries" != "" ; then
31108 if test "$ac_find_libraries" = "default location"; then
31111 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31113 if test $result = 0; then
31116 ac_path_to_link=" -L$ac_find_libraries"
31120 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31122 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31123 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31125 { echo "$as_me:$LINENO: result: not found" >&5
31126 echo "${ECHO_T}not found" >&6; }
31132 if test "$wxUSE_MGL" = 1; then
31133 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31134 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31135 if test "x$MGL_ROOT" = x ; then
31136 { echo "$as_me:$LINENO: result: not found" >&5
31137 echo "${ECHO_T}not found" >&6; }
31138 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31139 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31140 { (exit 1); exit 1; }; }
31142 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31143 echo "${ECHO_T}$MGL_ROOT" >&6; }
31146 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31147 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31150 if test "x$wxUSE_SHARED" = xyes ; then
31151 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31153 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31157 mgl_os_candidates="dos32/dj2"
31160 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31161 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31162 { (exit 1); exit 1; }; }
31168 for mgl_os_i in $mgl_os_candidates ; do
31169 if test "x$mgl_os" = x ; then
31170 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31171 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31172 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31177 if test "x$mgl_lib_type" = x ; then
31178 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31179 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31180 mgl_lib_type=release
31187 if test "x$mgl_os" = x ; then
31188 { echo "$as_me:$LINENO: result: not found" >&5
31189 echo "${ECHO_T}not found" >&6; }
31190 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31191 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31192 { (exit 1); exit 1; }; }
31194 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31195 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31197 wxUSE_UNIVERSAL="yes"
31199 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31200 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31202 AFMINSTALL=afminstall
31207 if test "$wxUSE_DFB" = 1; then
31210 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31211 if test -n "$ac_tool_prefix"; then
31212 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31213 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31216 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31217 echo $ECHO_N "(cached) $ECHO_C" >&6
31219 case $PKG_CONFIG in
31221 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31225 for as_dir in $PATH
31228 test -z "$as_dir" && as_dir=.
31229 for ac_exec_ext in '' $ac_executable_extensions; do
31230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31231 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31242 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31243 if test -n "$PKG_CONFIG"; then
31244 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31245 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31247 { echo "$as_me:$LINENO: result: no" >&5
31248 echo "${ECHO_T}no" >&6; }
31253 if test -z "$ac_cv_path_PKG_CONFIG"; then
31254 ac_pt_PKG_CONFIG=$PKG_CONFIG
31255 # Extract the first word of "pkg-config", so it can be a program name with args.
31256 set dummy pkg-config; ac_word=$2
31257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31259 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31260 echo $ECHO_N "(cached) $ECHO_C" >&6
31262 case $ac_pt_PKG_CONFIG in
31264 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31268 for as_dir in $PATH
31271 test -z "$as_dir" && as_dir=.
31272 for ac_exec_ext in '' $ac_executable_extensions; do
31273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31274 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31285 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31286 if test -n "$ac_pt_PKG_CONFIG"; then
31287 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31288 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31290 { echo "$as_me:$LINENO: result: no" >&5
31291 echo "${ECHO_T}no" >&6; }
31294 if test "x$ac_pt_PKG_CONFIG" = x; then
31297 case $cross_compiling:$ac_tool_warned in
31299 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31300 whose name does not start with the host triplet. If you think this
31301 configuration is useful to you, please write to autoconf@gnu.org." >&5
31302 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31303 whose name does not start with the host triplet. If you think this
31304 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31305 ac_tool_warned=yes ;;
31307 PKG_CONFIG=$ac_pt_PKG_CONFIG
31310 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31314 if test -n "$PKG_CONFIG"; then
31315 _pkg_min_version=0.9.0
31316 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31317 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31318 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31319 { echo "$as_me:$LINENO: result: yes" >&5
31320 echo "${ECHO_T}yes" >&6; }
31322 { echo "$as_me:$LINENO: result: no" >&5
31323 echo "${ECHO_T}no" >&6; }
31331 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31332 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31334 if test -n "$PKG_CONFIG"; then
31335 if test -n "$DIRECTFB_CFLAGS"; then
31336 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31338 if test -n "$PKG_CONFIG" && \
31339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31340 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; then
31344 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31352 if test -n "$PKG_CONFIG"; then
31353 if test -n "$DIRECTFB_LIBS"; then
31354 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31356 if test -n "$PKG_CONFIG" && \
31357 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31358 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; then
31362 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31373 if test $pkg_failed = yes; then
31375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31376 _pkg_short_errors_supported=yes
31378 _pkg_short_errors_supported=no
31380 if test $_pkg_short_errors_supported = yes; then
31381 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31383 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31385 # Put the nasty error message in config.log where it belongs
31386 echo "$DIRECTFB_PKG_ERRORS" >&5
31389 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31390 echo "$as_me: error: DirectFB not found." >&2;}
31391 { (exit 1); exit 1; }; }
31394 elif test $pkg_failed = untried; then
31396 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31397 echo "$as_me: error: DirectFB not found." >&2;}
31398 { (exit 1); exit 1; }; }
31402 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31403 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31404 { echo "$as_me:$LINENO: result: yes" >&5
31405 echo "${ECHO_T}yes" >&6; }
31407 wxUSE_UNIVERSAL="yes"
31408 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31409 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31416 if test "$wxUSE_MICROWIN" = 1; then
31417 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31418 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31419 if test "x$MICROWINDOWS" = x ; then
31420 { echo "$as_me:$LINENO: result: not found" >&5
31421 echo "${ECHO_T}not found" >&6; }
31422 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31423 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31424 { (exit 1); exit 1; }; }
31426 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31427 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31430 if test -f $MICROWINDOWS/lib/libmwin.a; then
31431 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31432 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31434 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31435 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31436 { (exit 1); exit 1; }; }
31439 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31440 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31442 wxUSE_UNIVERSAL="yes"
31444 AFMINSTALL=afminstall
31446 GUIDIST=MICROWIN_DIST
31448 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31451 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31452 { echo "$as_me:$LINENO: checking for X" >&5
31453 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31456 # Check whether --with-x was given.
31457 if test "${with_x+set}" = set; then
31461 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31462 if test "x$with_x" = xno; then
31463 # The user explicitly disabled X.
31466 case $x_includes,$x_libraries in #(
31467 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31468 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31469 { (exit 1); exit 1; }; };; #(
31470 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31471 echo $ECHO_N "(cached) $ECHO_C" >&6
31473 # One or both of the vars are not set, and there is no cached value.
31474 ac_x_includes=no ac_x_libraries=no
31475 rm -f -r conftest.dir
31476 if mkdir conftest.dir; then
31478 cat >Imakefile <<'_ACEOF'
31480 @echo incroot='${INCROOT}'
31482 @echo usrlibdir='${USRLIBDIR}'
31484 @echo libdir='${LIBDIR}'
31486 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31487 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31488 for ac_var in incroot usrlibdir libdir; do
31489 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31491 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31492 for ac_extension in a so sl dylib la dll; do
31493 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31494 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31495 ac_im_usrlibdir=$ac_im_libdir; break
31498 # Screen out bogus values from the imake configuration. They are
31499 # bogus both because they are the default anyway, and because
31500 # using them would break gcc on systems where it needs fixed includes.
31501 case $ac_im_incroot in
31502 /usr/include) ac_x_includes= ;;
31503 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31505 case $ac_im_usrlibdir in
31506 /usr/lib | /lib) ;;
31507 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31511 rm -f -r conftest.dir
31514 # Standard set of common directories for X headers.
31515 # Check X11 before X11Rn because it is often a symlink to the current release.
31527 /usr
/local
/X
11/include
31528 /usr
/local
/X
11R
6/include
31529 /usr
/local
/X
11R
5/include
31530 /usr
/local
/X
11R
4/include
31532 /usr
/local
/include
/X11
31533 /usr
/local
/include
/X11R6
31534 /usr
/local
/include
/X11R5
31535 /usr
/local
/include
/X11R4
31539 /usr
/XFree
86/include
/X11
31543 /usr
/unsupported
/include
31544 /usr
/athena
/include
31545 /usr
/local
/x
11r
5/include
31546 /usr
/lpp
/Xamples
/include
31548 /usr
/openwin
/include
31549 /usr
/openwin
/share
/include
'
31551 if test "$ac_x_includes" = no; then
31552 # Guess where to find include files, by looking for Xlib.h.
31553 # First, try using that file with no special directory specified.
31554 cat >conftest.$ac_ext <<_ACEOF
31557 cat confdefs.h >>conftest.$ac_ext
31558 cat >>conftest.$ac_ext <<_ACEOF
31559 /* end confdefs.h. */
31560 #include <X11/Xlib.h>
31562 if { (ac_try="$ac_cpp conftest.$ac_ext"
31563 case "(($ac_try" in
31564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31565 *) ac_try_echo=$ac_try;;
31567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31570 grep -v '^
*+' conftest.er1 >conftest.err
31572 cat conftest.err >&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); } >/dev/null && {
31575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31576 test ! -s conftest.err
31578 # We can compile using X headers with no special include directory.
31581 echo "$as_me: failed program was:" >&5
31582 sed 's
/^
/| /' conftest.$ac_ext >&5
31584 for ac_dir in $ac_x_header_dirs; do
31585 if test -r "$ac_dir/X11/Xlib.h"; then
31586 ac_x_includes=$ac_dir
31592 rm -f conftest.err conftest.$ac_ext
31593 fi # $ac_x_includes = no
31595 if test "$ac_x_libraries" = no; then
31596 # Check for the libraries.
31597 # See if we find them without any special options.
31598 # Don't add to
$LIBS permanently.
31601 cat >conftest.
$ac_ext <<_ACEOF
31604 cat confdefs.h
>>conftest.
$ac_ext
31605 cat >>conftest.
$ac_ext <<_ACEOF
31606 /* end confdefs.h. */
31607 #include <X11/Xlib.h>
31616 rm -f conftest.
$ac_objext conftest
$ac_exeext
31617 if { (ac_try
="$ac_link"
31618 case "(($ac_try" in
31619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31620 *) ac_try_echo=$ac_try;;
31622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31623 (eval "$ac_link") 2>conftest.er1
31625 grep -v '^ *+' conftest.er1 >conftest.err
31627 cat conftest.err >&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); } && {
31630 test -z "$ac_c_werror_flag" ||
31631 test ! -s conftest.err
31632 } && test -s conftest$ac_exeext &&
31633 $as_test_x conftest$ac_exeext; then
31635 # We can link X programs with no special library path.
31638 echo "$as_me: failed program was:" >&5
31639 sed 's/^/| /' conftest.$ac_ext >&5
31642 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
31644 # Don't even attempt the hair of trying to link an X program!
31645 for ac_extension in a so sl dylib la dll; do
31646 if test -r "$ac_dir/libX11.$ac_extension"; then
31647 ac_x_libraries=$ac_dir
31654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31655 conftest$ac_exeext conftest.$ac_ext
31656 fi # $ac_x_libraries = no
31658 case $ac_x_includes,$ac_x_libraries in #(
31659 no,* | *,no | *\'*)
31660 # Didn't find X, or a directory has "'" in its name.
31661 ac_cv_have_x="have_x=no";; #(
31663 # Record where we found X for the cache.
31664 ac_cv_have_x="have_x=yes\
31665 ac_x_includes='$ac_x_includes'\
31666 ac_x_libraries='$ac_x_libraries'"
31672 eval "$ac_cv_have_x"
31675 if test "$have_x" != yes; then
31676 { echo "$as_me:$LINENO: result: $have_x" >&5
31677 echo "${ECHO_T}$have_x" >&6; }
31680 # If each of the values was on the command line, it overrides each guess.
31681 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31682 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31683 # Update the cache value to reflect the command line values.
31684 ac_cv_have_x="have_x=yes\
31685 ac_x_includes='$x_includes'\
31686 ac_x_libraries='$x_libraries'"
31687 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31688 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31691 if test "$no_x" = yes; then
31692 # Not all programs may use this symbol, but it does not hurt to define it.
31694 cat >>confdefs.h <<\_ACEOF
31695 #define X_DISPLAY_MISSING 1
31698 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31700 if test -n "$x_includes"; then
31701 X_CFLAGS="$X_CFLAGS -I$x_includes"
31704 # It would also be nice to do this for all -L options, not just this one.
31705 if test -n "$x_libraries"; then
31706 X_LIBS="$X_LIBS -L$x_libraries"
31707 # For Solaris; some versions of Sun CC require a space after -R and
31708 # others require no space. Words are not sufficient . . . .
31709 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31710 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31711 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31712 ac_xsave_c_werror_flag=$ac_c_werror_flag
31713 ac_c_werror_flag=yes
31714 cat >conftest.$ac_ext <<_ACEOF
31717 cat confdefs.h >>conftest.$ac_ext
31718 cat >>conftest.$ac_ext <<_ACEOF
31719 /* end confdefs.h. */
31729 rm -f conftest.$ac_objext conftest$ac_exeext
31730 if { (ac_try="$ac_link"
31731 case "(($ac_try" in
31732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31733 *) ac_try_echo
=$ac_try;;
31735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31736 (eval "$ac_link") 2>conftest.er1
31738 grep -v '^ *+' conftest.er1
>conftest.err
31740 cat conftest.err
>&5
31741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31742 (exit $ac_status); } && {
31743 test -z "$ac_c_werror_flag" ||
31744 test ! -s conftest.err
31745 } && test -s conftest
$ac_exeext &&
31746 $as_test_x conftest
$ac_exeext; then
31747 { echo "$as_me:$LINENO: result: no" >&5
31748 echo "${ECHO_T}no" >&6; }
31749 X_LIBS
="$X_LIBS -R$x_libraries"
31751 echo "$as_me: failed program was:" >&5
31752 sed 's/^/| /' conftest.
$ac_ext >&5
31754 LIBS
="$ac_xsave_LIBS -R $x_libraries"
31755 cat >conftest.
$ac_ext <<_ACEOF
31758 cat confdefs.h
>>conftest.
$ac_ext
31759 cat >>conftest.
$ac_ext <<_ACEOF
31760 /* end confdefs.h. */
31770 rm -f conftest.
$ac_objext conftest
$ac_exeext
31771 if { (ac_try
="$ac_link"
31772 case "(($ac_try" in
31773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31774 *) ac_try_echo=$ac_try;;
31776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31777 (eval "$ac_link") 2>conftest.er1
31779 grep -v '^ *+' conftest.er1 >conftest.err
31781 cat conftest.err >&5
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); } && {
31784 test -z "$ac_c_werror_flag" ||
31785 test ! -s conftest.err
31786 } && test -s conftest$ac_exeext &&
31787 $as_test_x conftest$ac_exeext; then
31788 { echo "$as_me:$LINENO: result: yes" >&5
31789 echo "${ECHO_T}yes" >&6; }
31790 X_LIBS="$X_LIBS -R $x_libraries"
31792 echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.$ac_ext >&5
31795 { echo "$as_me:$LINENO: result: neither works" >&5
31796 echo "${ECHO_T}neither works" >&6; }
31799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31800 conftest$ac_exeext conftest.$ac_ext
31803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31804 conftest$ac_exeext conftest.$ac_ext
31805 ac_c_werror_flag=$ac_xsave_c_werror_flag
31806 LIBS=$ac_xsave_LIBS
31809 # Check for system-dependent libraries X programs must link with.
31810 # Do this before checking for the system-independent R6 libraries
31811 # (-lICE), since we may need -lsocket or whatever for X linking.
31813 if test "$ISC" = yes; then
31814 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31816 # Martyn Johnson says this is needed for Ultrix, if the X
31817 # libraries were built with DECnet support. And Karl Berry says
31818 # the Alpha needs dnet_stub (dnet does not exist).
31819 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31820 cat >conftest.$ac_ext <<_ACEOF
31823 cat confdefs.h >>conftest.$ac_ext
31824 cat >>conftest.$ac_ext <<_ACEOF
31825 /* end confdefs.h. */
31827 /* Override any GCC internal prototype to avoid an error.
31828 Use char because int might match the return type of a GCC
31829 builtin and then its argument prototype would still apply. */
31833 char XOpenDisplay ();
31837 return XOpenDisplay ();
31842 rm -f conftest.$ac_objext conftest$ac_exeext
31843 if { (ac_try="$ac_link"
31844 case "(($ac_try" in
31845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31846 *) ac_try_echo
=$ac_try;;
31848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31849 (eval "$ac_link") 2>conftest.er1
31851 grep -v '^ *+' conftest.er1
>conftest.err
31853 cat conftest.err
>&5
31854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855 (exit $ac_status); } && {
31856 test -z "$ac_c_werror_flag" ||
31857 test ! -s conftest.err
31858 } && test -s conftest
$ac_exeext &&
31859 $as_test_x conftest
$ac_exeext; then
31862 echo "$as_me: failed program was:" >&5
31863 sed 's/^/| /' conftest.
$ac_ext >&5
31865 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31866 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31867 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31868 echo $ECHO_N "(cached) $ECHO_C" >&6
31870 ac_check_lib_save_LIBS
=$LIBS
31871 LIBS
="-ldnet $LIBS"
31872 cat >conftest.
$ac_ext <<_ACEOF
31875 cat confdefs.h
>>conftest.
$ac_ext
31876 cat >>conftest.
$ac_ext <<_ACEOF
31877 /* end confdefs.h. */
31879 /* Override any GCC internal prototype to avoid an error.
31880 Use char because int might match the return type of a GCC
31881 builtin and then its argument prototype would still apply. */
31889 return dnet_ntoa ();
31894 rm -f conftest.
$ac_objext conftest
$ac_exeext
31895 if { (ac_try
="$ac_link"
31896 case "(($ac_try" in
31897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31898 *) ac_try_echo=$ac_try;;
31900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31901 (eval "$ac_link") 2>conftest.er1
31903 grep -v '^ *+' conftest.er1 >conftest.err
31905 cat conftest.err >&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); } && {
31908 test -z "$ac_c_werror_flag" ||
31909 test ! -s conftest.err
31910 } && test -s conftest$ac_exeext &&
31911 $as_test_x conftest$ac_exeext; then
31912 ac_cv_lib_dnet_dnet_ntoa=yes
31914 echo "$as_me: failed program was:" >&5
31915 sed 's/^/| /' conftest.$ac_ext >&5
31917 ac_cv_lib_dnet_dnet_ntoa=no
31920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31921 conftest$ac_exeext conftest.$ac_ext
31922 LIBS=$ac_check_lib_save_LIBS
31924 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31925 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31926 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31927 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31930 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31931 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31932 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31933 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31934 echo $ECHO_N "(cached) $ECHO_C" >&6
31936 ac_check_lib_save_LIBS=$LIBS
31937 LIBS="-ldnet_stub $LIBS"
31938 cat >conftest.$ac_ext <<_ACEOF
31941 cat confdefs.h >>conftest.$ac_ext
31942 cat >>conftest.$ac_ext <<_ACEOF
31943 /* end confdefs.h. */
31945 /* Override any GCC internal prototype to avoid an error.
31946 Use char because int might match the return type of a GCC
31947 builtin and then its argument prototype would still apply. */
31955 return dnet_ntoa ();
31960 rm -f conftest.$ac_objext conftest$ac_exeext
31961 if { (ac_try="$ac_link"
31962 case "(($ac_try" in
31963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31964 *) ac_try_echo
=$ac_try;;
31966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31967 (eval "$ac_link") 2>conftest.er1
31969 grep -v '^ *+' conftest.er1
>conftest.err
31971 cat conftest.err
>&5
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); } && {
31974 test -z "$ac_c_werror_flag" ||
31975 test ! -s conftest.err
31976 } && test -s conftest
$ac_exeext &&
31977 $as_test_x conftest
$ac_exeext; then
31978 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31980 echo "$as_me: failed program was:" >&5
31981 sed 's/^/| /' conftest.
$ac_ext >&5
31983 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31986 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31987 conftest
$ac_exeext conftest.
$ac_ext
31988 LIBS
=$ac_check_lib_save_LIBS
31990 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31991 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31992 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31993 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31999 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32000 conftest
$ac_exeext conftest.
$ac_ext
32001 LIBS
="$ac_xsave_LIBS"
32003 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32004 # to get the SysV transport functions.
32005 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32007 # The nsl library prevents programs from opening the X display
32008 # on Irix 5.2, according to T.E. Dickey.
32009 # The functions gethostbyname, getservbyname, and inet_addr are
32010 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32011 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32012 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32013 if test "${ac_cv_func_gethostbyname+set}" = set; then
32014 echo $ECHO_N "(cached) $ECHO_C" >&6
32016 cat >conftest.
$ac_ext <<_ACEOF
32019 cat confdefs.h
>>conftest.
$ac_ext
32020 cat >>conftest.
$ac_ext <<_ACEOF
32021 /* end confdefs.h. */
32022 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32024 #define gethostbyname innocuous_gethostbyname
32026 /* System header to define __stub macros and hopefully few prototypes,
32027 which can conflict with char gethostbyname (); below.
32028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32029 <limits.h> exists even on freestanding compilers. */
32032 # include <limits.h>
32034 # include <assert.h>
32037 #undef gethostbyname
32039 /* Override any GCC internal prototype to avoid an error.
32040 Use char because int might match the return type of a GCC
32041 builtin and then its argument prototype would still apply. */
32045 char gethostbyname ();
32046 /* The GNU C library defines this for functions which it implements
32047 to always fail with ENOSYS. Some functions are actually named
32048 something starting with __ and the normal name is an alias. */
32049 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32056 return gethostbyname ();
32061 rm -f conftest.
$ac_objext conftest
$ac_exeext
32062 if { (ac_try
="$ac_link"
32063 case "(($ac_try" in
32064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32065 *) ac_try_echo=$ac_try;;
32067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32068 (eval "$ac_link") 2>conftest.er1
32070 grep -v '^ *+' conftest.er1 >conftest.err
32072 cat conftest.err >&5
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); } && {
32075 test -z "$ac_c_werror_flag" ||
32076 test ! -s conftest.err
32077 } && test -s conftest$ac_exeext &&
32078 $as_test_x conftest$ac_exeext; then
32079 ac_cv_func_gethostbyname=yes
32081 echo "$as_me: failed program was:" >&5
32082 sed 's/^/| /' conftest.$ac_ext >&5
32084 ac_cv_func_gethostbyname=no
32087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32088 conftest$ac_exeext conftest.$ac_ext
32090 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32091 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32093 if test $ac_cv_func_gethostbyname = no; then
32094 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32095 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32096 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32097 echo $ECHO_N "(cached) $ECHO_C" >&6
32099 ac_check_lib_save_LIBS=$LIBS
32101 cat >conftest.$ac_ext <<_ACEOF
32104 cat confdefs.h >>conftest.$ac_ext
32105 cat >>conftest.$ac_ext <<_ACEOF
32106 /* end confdefs.h. */
32108 /* Override any GCC internal prototype to avoid an error.
32109 Use char because int might match the return type of a GCC
32110 builtin and then its argument prototype would still apply. */
32114 char gethostbyname ();
32118 return gethostbyname ();
32123 rm -f conftest.$ac_objext conftest$ac_exeext
32124 if { (ac_try="$ac_link"
32125 case "(($ac_try" in
32126 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32127 *) ac_try_echo
=$ac_try;;
32129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32130 (eval "$ac_link") 2>conftest.er1
32132 grep -v '^ *+' conftest.er1
>conftest.err
32134 cat conftest.err
>&5
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); } && {
32137 test -z "$ac_c_werror_flag" ||
32138 test ! -s conftest.err
32139 } && test -s conftest
$ac_exeext &&
32140 $as_test_x conftest
$ac_exeext; then
32141 ac_cv_lib_nsl_gethostbyname
=yes
32143 echo "$as_me: failed program was:" >&5
32144 sed 's/^/| /' conftest.
$ac_ext >&5
32146 ac_cv_lib_nsl_gethostbyname
=no
32149 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32150 conftest
$ac_exeext conftest.
$ac_ext
32151 LIBS
=$ac_check_lib_save_LIBS
32153 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32154 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32155 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32156 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32159 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32160 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32161 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32162 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32163 echo $ECHO_N "(cached) $ECHO_C" >&6
32165 ac_check_lib_save_LIBS
=$LIBS
32167 cat >conftest.
$ac_ext <<_ACEOF
32170 cat confdefs.h
>>conftest.
$ac_ext
32171 cat >>conftest.
$ac_ext <<_ACEOF
32172 /* end confdefs.h. */
32174 /* Override any GCC internal prototype to avoid an error.
32175 Use char because int might match the return type of a GCC
32176 builtin and then its argument prototype would still apply. */
32180 char gethostbyname ();
32184 return gethostbyname ();
32189 rm -f conftest.
$ac_objext conftest
$ac_exeext
32190 if { (ac_try
="$ac_link"
32191 case "(($ac_try" in
32192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32193 *) ac_try_echo=$ac_try;;
32195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32196 (eval "$ac_link") 2>conftest.er1
32198 grep -v '^ *+' conftest.er1 >conftest.err
32200 cat conftest.err >&5
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); } && {
32203 test -z "$ac_c_werror_flag" ||
32204 test ! -s conftest.err
32205 } && test -s conftest$ac_exeext &&
32206 $as_test_x conftest$ac_exeext; then
32207 ac_cv_lib_bsd_gethostbyname=yes
32209 echo "$as_me: failed program was:" >&5
32210 sed 's/^/| /' conftest.$ac_ext >&5
32212 ac_cv_lib_bsd_gethostbyname=no
32215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32216 conftest$ac_exeext conftest.$ac_ext
32217 LIBS=$ac_check_lib_save_LIBS
32219 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32220 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32221 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32222 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32228 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32229 # socket/setsockopt and other routines are undefined under SCO ODT
32230 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32231 # on later versions), says Simon Leinen: it contains gethostby*
32232 # variants that don't use the name server (or something). -lsocket
32233 # must be given before -lnsl if both are needed. We assume that
32234 # if connect needs -lnsl, so does gethostbyname.
32235 { echo "$as_me:$LINENO: checking for connect" >&5
32236 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32237 if test "${ac_cv_func_connect+set}" = set; then
32238 echo $ECHO_N "(cached) $ECHO_C" >&6
32240 cat >conftest.$ac_ext <<_ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32248 #define connect innocuous_connect
32250 /* System header to define __stub macros and hopefully few prototypes,
32251 which can conflict with char connect (); below.
32252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32253 <limits.h> exists even on freestanding compilers. */
32256 # include <limits.h>
32258 # include <assert.h>
32263 /* Override any GCC internal prototype to avoid an error.
32264 Use char because int might match the return type of a GCC
32265 builtin and then its argument prototype would still apply. */
32270 /* The GNU C library defines this for functions which it implements
32271 to always fail with ENOSYS. Some functions are actually named
32272 something starting with __ and the normal name is an alias. */
32273 #if defined __stub_connect || defined __stub___connect
32285 rm -f conftest.$ac_objext conftest$ac_exeext
32286 if { (ac_try="$ac_link"
32287 case "(($ac_try" in
32288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32289 *) ac_try_echo
=$ac_try;;
32291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32292 (eval "$ac_link") 2>conftest.er1
32294 grep -v '^ *+' conftest.er1
>conftest.err
32296 cat conftest.err
>&5
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); } && {
32299 test -z "$ac_c_werror_flag" ||
32300 test ! -s conftest.err
32301 } && test -s conftest
$ac_exeext &&
32302 $as_test_x conftest
$ac_exeext; then
32303 ac_cv_func_connect
=yes
32305 echo "$as_me: failed program was:" >&5
32306 sed 's/^/| /' conftest.
$ac_ext >&5
32308 ac_cv_func_connect
=no
32311 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32312 conftest
$ac_exeext conftest.
$ac_ext
32314 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32315 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32317 if test $ac_cv_func_connect = no
; then
32318 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32319 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32320 if test "${ac_cv_lib_socket_connect+set}" = set; then
32321 echo $ECHO_N "(cached) $ECHO_C" >&6
32323 ac_check_lib_save_LIBS
=$LIBS
32324 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32325 cat >conftest.
$ac_ext <<_ACEOF
32328 cat confdefs.h
>>conftest.
$ac_ext
32329 cat >>conftest.
$ac_ext <<_ACEOF
32330 /* end confdefs.h. */
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. */
32347 rm -f conftest.
$ac_objext conftest
$ac_exeext
32348 if { (ac_try
="$ac_link"
32349 case "(($ac_try" in
32350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32351 *) ac_try_echo=$ac_try;;
32353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32354 (eval "$ac_link") 2>conftest.er1
32356 grep -v '^ *+' conftest.er1 >conftest.err
32358 cat conftest.err >&5
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); } && {
32361 test -z "$ac_c_werror_flag" ||
32362 test ! -s conftest.err
32363 } && test -s conftest$ac_exeext &&
32364 $as_test_x conftest$ac_exeext; then
32365 ac_cv_lib_socket_connect=yes
32367 echo "$as_me: failed program was:" >&5
32368 sed 's/^/| /' conftest.$ac_ext >&5
32370 ac_cv_lib_socket_connect=no
32373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32374 conftest$ac_exeext conftest.$ac_ext
32375 LIBS=$ac_check_lib_save_LIBS
32377 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32378 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32379 if test $ac_cv_lib_socket_connect = yes; then
32380 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32385 # Guillermo Gomez says -lposix is necessary on A/UX.
32386 { echo "$as_me:$LINENO: checking for remove" >&5
32387 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32388 if test "${ac_cv_func_remove+set}" = set; then
32389 echo $ECHO_N "(cached) $ECHO_C" >&6
32391 cat >conftest.$ac_ext <<_ACEOF
32394 cat confdefs.h >>conftest.$ac_ext
32395 cat >>conftest.$ac_ext <<_ACEOF
32396 /* end confdefs.h. */
32397 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32399 #define remove innocuous_remove
32401 /* System header to define __stub macros and hopefully few prototypes,
32402 which can conflict with char remove (); below.
32403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32404 <limits.h> exists even on freestanding compilers. */
32407 # include <limits.h>
32409 # include <assert.h>
32414 /* Override any GCC internal prototype to avoid an error.
32415 Use char because int might match the return type of a GCC
32416 builtin and then its argument prototype would still apply. */
32421 /* The GNU C library defines this for functions which it implements
32422 to always fail with ENOSYS. Some functions are actually named
32423 something starting with __ and the normal name is an alias. */
32424 #if defined __stub_remove || defined __stub___remove
32436 rm -f conftest.$ac_objext conftest$ac_exeext
32437 if { (ac_try="$ac_link"
32438 case "(($ac_try" in
32439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32440 *) ac_try_echo
=$ac_try;;
32442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32443 (eval "$ac_link") 2>conftest.er1
32445 grep -v '^ *+' conftest.er1
>conftest.err
32447 cat conftest.err
>&5
32448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32449 (exit $ac_status); } && {
32450 test -z "$ac_c_werror_flag" ||
32451 test ! -s conftest.err
32452 } && test -s conftest
$ac_exeext &&
32453 $as_test_x conftest
$ac_exeext; then
32454 ac_cv_func_remove
=yes
32456 echo "$as_me: failed program was:" >&5
32457 sed 's/^/| /' conftest.
$ac_ext >&5
32459 ac_cv_func_remove
=no
32462 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32463 conftest
$ac_exeext conftest.
$ac_ext
32465 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32466 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32468 if test $ac_cv_func_remove = no
; then
32469 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32470 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32471 if test "${ac_cv_lib_posix_remove+set}" = set; then
32472 echo $ECHO_N "(cached) $ECHO_C" >&6
32474 ac_check_lib_save_LIBS
=$LIBS
32475 LIBS
="-lposix $LIBS"
32476 cat >conftest.
$ac_ext <<_ACEOF
32479 cat confdefs.h
>>conftest.
$ac_ext
32480 cat >>conftest.
$ac_ext <<_ACEOF
32481 /* end confdefs.h. */
32483 /* Override any GCC internal prototype to avoid an error.
32484 Use char because int might match the return type of a GCC
32485 builtin and then its argument prototype would still apply. */
32498 rm -f conftest.
$ac_objext conftest
$ac_exeext
32499 if { (ac_try
="$ac_link"
32500 case "(($ac_try" in
32501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32502 *) ac_try_echo=$ac_try;;
32504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32505 (eval "$ac_link") 2>conftest.er1
32507 grep -v '^ *+' conftest.er1 >conftest.err
32509 cat conftest.err >&5
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); } && {
32512 test -z "$ac_c_werror_flag" ||
32513 test ! -s conftest.err
32514 } && test -s conftest$ac_exeext &&
32515 $as_test_x conftest$ac_exeext; then
32516 ac_cv_lib_posix_remove=yes
32518 echo "$as_me: failed program was:" >&5
32519 sed 's/^/| /' conftest.$ac_ext >&5
32521 ac_cv_lib_posix_remove=no
32524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32525 conftest$ac_exeext conftest.$ac_ext
32526 LIBS=$ac_check_lib_save_LIBS
32528 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32529 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32530 if test $ac_cv_lib_posix_remove = yes; then
32531 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32536 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32537 { echo "$as_me:$LINENO: checking for shmat" >&5
32538 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32539 if test "${ac_cv_func_shmat+set}" = set; then
32540 echo $ECHO_N "(cached) $ECHO_C" >&6
32542 cat >conftest.$ac_ext <<_ACEOF
32545 cat confdefs.h >>conftest.$ac_ext
32546 cat >>conftest.$ac_ext <<_ACEOF
32547 /* end confdefs.h. */
32548 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32550 #define shmat innocuous_shmat
32552 /* System header to define __stub macros and hopefully few prototypes,
32553 which can conflict with char shmat (); below.
32554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32555 <limits.h> exists even on freestanding compilers. */
32558 # include <limits.h>
32560 # include <assert.h>
32565 /* Override any GCC internal prototype to avoid an error.
32566 Use char because int might match the return type of a GCC
32567 builtin and then its argument prototype would still apply. */
32572 /* The GNU C library defines this for functions which it implements
32573 to always fail with ENOSYS. Some functions are actually named
32574 something starting with __ and the normal name is an alias. */
32575 #if defined __stub_shmat || defined __stub___shmat
32587 rm -f conftest.$ac_objext conftest$ac_exeext
32588 if { (ac_try="$ac_link"
32589 case "(($ac_try" in
32590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32591 *) ac_try_echo
=$ac_try;;
32593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32594 (eval "$ac_link") 2>conftest.er1
32596 grep -v '^ *+' conftest.er1
>conftest.err
32598 cat conftest.err
>&5
32599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600 (exit $ac_status); } && {
32601 test -z "$ac_c_werror_flag" ||
32602 test ! -s conftest.err
32603 } && test -s conftest
$ac_exeext &&
32604 $as_test_x conftest
$ac_exeext; then
32605 ac_cv_func_shmat
=yes
32607 echo "$as_me: failed program was:" >&5
32608 sed 's/^/| /' conftest.
$ac_ext >&5
32610 ac_cv_func_shmat
=no
32613 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32614 conftest
$ac_exeext conftest.
$ac_ext
32616 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32617 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32619 if test $ac_cv_func_shmat = no
; then
32620 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32621 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32622 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32623 echo $ECHO_N "(cached) $ECHO_C" >&6
32625 ac_check_lib_save_LIBS
=$LIBS
32627 cat >conftest.
$ac_ext <<_ACEOF
32630 cat confdefs.h
>>conftest.
$ac_ext
32631 cat >>conftest.
$ac_ext <<_ACEOF
32632 /* end confdefs.h. */
32634 /* Override any GCC internal prototype to avoid an error.
32635 Use char because int might match the return type of a GCC
32636 builtin and then its argument prototype would still apply. */
32649 rm -f conftest.
$ac_objext conftest
$ac_exeext
32650 if { (ac_try
="$ac_link"
32651 case "(($ac_try" in
32652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32653 *) ac_try_echo=$ac_try;;
32655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32656 (eval "$ac_link") 2>conftest.er1
32658 grep -v '^ *+' conftest.er1 >conftest.err
32660 cat conftest.err >&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); } && {
32663 test -z "$ac_c_werror_flag" ||
32664 test ! -s conftest.err
32665 } && test -s conftest$ac_exeext &&
32666 $as_test_x conftest$ac_exeext; then
32667 ac_cv_lib_ipc_shmat=yes
32669 echo "$as_me: failed program was:" >&5
32670 sed 's/^/| /' conftest.$ac_ext >&5
32672 ac_cv_lib_ipc_shmat=no
32675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32676 conftest$ac_exeext conftest.$ac_ext
32677 LIBS=$ac_check_lib_save_LIBS
32679 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32680 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32681 if test $ac_cv_lib_ipc_shmat = yes; then
32682 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32688 # Check for libraries that X11R6 Xt/Xaw programs need.
32689 ac_save_LDFLAGS=$LDFLAGS
32690 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32691 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32692 # check for ICE first), but we must link in the order -lSM -lICE or
32693 # we get undefined symbols. So assume we have SM if we have ICE.
32694 # These have to be linked with before -lX11, unlike the other
32695 # libraries we check for below, so use a different variable.
32696 # John Interrante, Karl Berry
32697 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32698 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32699 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32700 echo $ECHO_N "(cached) $ECHO_C" >&6
32702 ac_check_lib_save_LIBS=$LIBS
32703 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32704 cat >conftest.$ac_ext <<_ACEOF
32707 cat confdefs.h >>conftest.$ac_ext
32708 cat >>conftest.$ac_ext <<_ACEOF
32709 /* end confdefs.h. */
32711 /* Override any GCC internal prototype to avoid an error.
32712 Use char because int might match the return type of a GCC
32713 builtin and then its argument prototype would still apply. */
32717 char IceConnectionNumber ();
32721 return IceConnectionNumber ();
32726 rm -f conftest.$ac_objext conftest$ac_exeext
32727 if { (ac_try="$ac_link"
32728 case "(($ac_try" in
32729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32730 *) ac_try_echo
=$ac_try;;
32732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32733 (eval "$ac_link") 2>conftest.er1
32735 grep -v '^ *+' conftest.er1
>conftest.err
32737 cat conftest.err
>&5
32738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32739 (exit $ac_status); } && {
32740 test -z "$ac_c_werror_flag" ||
32741 test ! -s conftest.err
32742 } && test -s conftest
$ac_exeext &&
32743 $as_test_x conftest
$ac_exeext; then
32744 ac_cv_lib_ICE_IceConnectionNumber
=yes
32746 echo "$as_me: failed program was:" >&5
32747 sed 's/^/| /' conftest.
$ac_ext >&5
32749 ac_cv_lib_ICE_IceConnectionNumber
=no
32752 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32753 conftest
$ac_exeext conftest.
$ac_ext
32754 LIBS
=$ac_check_lib_save_LIBS
32756 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32757 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32758 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32759 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
32762 LDFLAGS
=$ac_save_LDFLAGS
32767 if test "$no_x" = "yes"; then
32768 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32769 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32770 { (exit 1); exit 1; }; }
32773 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32774 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32775 AFMINSTALL
=afminstall
32776 COMPILED_X_PROGRAM
=0
32780 if test "$wxUSE_X11" = 1; then
32781 if test "$wxUSE_NANOX" = "yes"; then
32782 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32783 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32784 if test "x$MICROWIN" = x
; then
32785 { echo "$as_me:$LINENO: result: not found" >&5
32786 echo "${ECHO_T}not found" >&6; }
32787 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32788 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32789 { (exit 1); exit 1; }; }
32791 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32792 echo "${ECHO_T}$MICROWIN" >&6; }
32793 cat >>confdefs.h
<<\_ACEOF
32794 #define wxUSE_NANOX 1
32800 if test "$wxUSE_UNICODE" = "yes"; then
32803 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32804 if test -n "$ac_tool_prefix"; then
32805 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32806 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32809 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32810 echo $ECHO_N "(cached) $ECHO_C" >&6
32812 case $PKG_CONFIG in
32814 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32818 for as_dir
in $PATH
32821 test -z "$as_dir" && as_dir
=.
32822 for ac_exec_ext
in '' $ac_executable_extensions; do
32823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32824 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32835 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32836 if test -n "$PKG_CONFIG"; then
32837 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32838 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32840 { echo "$as_me:$LINENO: result: no" >&5
32841 echo "${ECHO_T}no" >&6; }
32846 if test -z "$ac_cv_path_PKG_CONFIG"; then
32847 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32848 # Extract the first word of "pkg-config", so it can be a program name with args.
32849 set dummy pkg
-config; ac_word
=$2
32850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32852 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32853 echo $ECHO_N "(cached) $ECHO_C" >&6
32855 case $ac_pt_PKG_CONFIG in
32857 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32861 for as_dir
in $PATH
32864 test -z "$as_dir" && as_dir
=.
32865 for ac_exec_ext
in '' $ac_executable_extensions; do
32866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32867 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32878 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32879 if test -n "$ac_pt_PKG_CONFIG"; then
32880 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32881 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32883 { echo "$as_me:$LINENO: result: no" >&5
32884 echo "${ECHO_T}no" >&6; }
32887 if test "x$ac_pt_PKG_CONFIG" = x
; then
32890 case $cross_compiling:$ac_tool_warned in
32892 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32893 whose name does not start with the host triplet. If you think this
32894 configuration is useful to you, please write to autoconf@gnu.org." >&5
32895 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32896 whose name does not start with the host triplet. If you think this
32897 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32898 ac_tool_warned
=yes ;;
32900 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32903 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32907 if test -n "$PKG_CONFIG"; then
32908 _pkg_min_version
=0.9.0
32909 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32910 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32911 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32912 { echo "$as_me:$LINENO: result: yes" >&5
32913 echo "${ECHO_T}yes" >&6; }
32915 { echo "$as_me:$LINENO: result: no" >&5
32916 echo "${ECHO_T}no" >&6; }
32924 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32925 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32927 if test -n "$PKG_CONFIG"; then
32928 if test -n "$PANGOX_CFLAGS"; then
32929 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32931 if test -n "$PKG_CONFIG" && \
32932 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32933 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32936 (exit $ac_status); }; then
32937 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32945 if test -n "$PKG_CONFIG"; then
32946 if test -n "$PANGOX_LIBS"; then
32947 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32949 if test -n "$PKG_CONFIG" && \
32950 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32951 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32954 (exit $ac_status); }; then
32955 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32966 if test $pkg_failed = yes; then
32968 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32969 _pkg_short_errors_supported
=yes
32971 _pkg_short_errors_supported
=no
32973 if test $_pkg_short_errors_supported = yes; then
32974 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32976 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32978 # Put the nasty error message in config.log where it belongs
32979 echo "$PANGOX_PKG_ERRORS" >&5
32982 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32983 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32984 { (exit 1); exit 1; }; }
32987 elif test $pkg_failed = untried
; then
32989 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32990 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32991 { (exit 1); exit 1; }; }
32995 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32996 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32997 { echo "$as_me:$LINENO: result: yes" >&5
32998 echo "${ECHO_T}yes" >&6; }
33000 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33001 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33002 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33007 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33008 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33010 if test -n "$PKG_CONFIG"; then
33011 if test -n "$PANGOFT2_CFLAGS"; then
33012 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33014 if test -n "$PKG_CONFIG" && \
33015 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33016 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); }; then
33020 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33028 if test -n "$PKG_CONFIG"; then
33029 if test -n "$PANGOFT2_LIBS"; then
33030 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33032 if test -n "$PKG_CONFIG" && \
33033 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33034 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037 (exit $ac_status); }; then
33038 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33049 if test $pkg_failed = yes; then
33051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33052 _pkg_short_errors_supported
=yes
33054 _pkg_short_errors_supported
=no
33056 if test $_pkg_short_errors_supported = yes; then
33057 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33059 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33061 # Put the nasty error message in config.log where it belongs
33062 echo "$PANGOFT2_PKG_ERRORS" >&5
33065 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33066 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33067 wxUSE_PRINTING_ARCHITECTURE
="no"
33070 elif test $pkg_failed = untried
; then
33072 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33073 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33074 wxUSE_PRINTING_ARCHITECTURE
="no"
33078 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33079 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33080 { echo "$as_me:$LINENO: result: yes" >&5
33081 echo "${ECHO_T}yes" >&6; }
33083 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33084 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33085 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33090 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33091 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33093 if test -n "$PKG_CONFIG"; then
33094 if test -n "$PANGOXFT_CFLAGS"; then
33095 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33097 if test -n "$PKG_CONFIG" && \
33098 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33099 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33102 (exit $ac_status); }; then
33103 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33111 if test -n "$PKG_CONFIG"; then
33112 if test -n "$PANGOXFT_LIBS"; then
33113 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33115 if test -n "$PKG_CONFIG" && \
33116 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33117 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); }; then
33121 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33132 if test $pkg_failed = yes; then
33134 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33135 _pkg_short_errors_supported
=yes
33137 _pkg_short_errors_supported
=no
33139 if test $_pkg_short_errors_supported = yes; then
33140 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33142 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33144 # Put the nasty error message in config.log where it belongs
33145 echo "$PANGOXFT_PKG_ERRORS" >&5
33148 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33149 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33152 elif test $pkg_failed = untried
; then
33154 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33155 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33159 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33160 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33161 { echo "$as_me:$LINENO: result: yes" >&5
33162 echo "${ECHO_T}yes" >&6; }
33164 cat >>confdefs.h
<<\_ACEOF
33165 #define HAVE_PANGO_XFT 1
33168 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33169 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33170 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33174 LIBS
="$LIBS $PANGOX_LIBS"
33176 for ac_func
in pango_font_family_is_monospace
33178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33179 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33181 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33182 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 cat >conftest.
$ac_ext <<_ACEOF
33187 cat confdefs.h
>>conftest.
$ac_ext
33188 cat >>conftest.
$ac_ext <<_ACEOF
33189 /* end confdefs.h. */
33190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33192 #define $ac_func innocuous_$ac_func
33194 /* System header to define __stub macros and hopefully few prototypes,
33195 which can conflict with char $ac_func (); below.
33196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33197 <limits.h> exists even on freestanding compilers. */
33200 # include <limits.h>
33202 # include <assert.h>
33207 /* Override any GCC internal prototype to avoid an error.
33208 Use char because int might match the return type of a GCC
33209 builtin and then its argument prototype would still apply. */
33214 /* The GNU C library defines this for functions which it implements
33215 to always fail with ENOSYS. Some functions are actually named
33216 something starting with __ and the normal name is an alias. */
33217 #if defined __stub_$ac_func || defined __stub___$ac_func
33224 return $ac_func ();
33229 rm -f conftest.
$ac_objext conftest
$ac_exeext
33230 if { (ac_try
="$ac_link"
33231 case "(($ac_try" in
33232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33233 *) ac_try_echo=$ac_try;;
33235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33236 (eval "$ac_link") 2>conftest.er1
33238 grep -v '^ *+' conftest.er1 >conftest.err
33240 cat conftest.err >&5
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); } && {
33243 test -z "$ac_c_werror_flag" ||
33244 test ! -s conftest.err
33245 } && test -s conftest$ac_exeext &&
33246 $as_test_x conftest$ac_exeext; then
33247 eval "$as_ac_var=yes"
33249 echo "$as_me: failed program was:" >&5
33250 sed 's/^/| /' conftest.$ac_ext >&5
33252 eval "$as_ac_var=no"
33255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33256 conftest$ac_exeext conftest.$ac_ext
33258 ac_res=`eval echo '${'$as_ac_var'}'`
33259 { echo "$as_me:$LINENO: result: $ac_res" >&5
33260 echo "${ECHO_T}$ac_res" >&6; }
33261 if test `eval echo '${'$as_ac_var'}'` = yes; then
33262 cat >>confdefs.h <<_ACEOF
33263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33272 wxUSE_UNIVERSAL="yes"
33274 if test "$wxUSE_NANOX" = "yes"; then
33275 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33276 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"
33277 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33279 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33286 if test "$wxUSE_MOTIF" = 1; then
33287 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33288 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33291 for ac_dir in $SEARCH_INCLUDE /usr/include
33293 if test -f "$ac_dir/Xm/Xm.h"; then
33294 ac_find_includes=$ac_dir
33299 if test "$ac_find_includes" != "" ; then
33300 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33301 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33303 if test "x$ac_find_includes" = "x/usr/include"; then
33304 ac_path_to_include=""
33306 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33308 if test $result = 0; then
33309 ac_path_to_include=""
33311 ac_path_to_include=" -I$ac_find_includes"
33315 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33317 save_CFLAGS=$CFLAGS
33318 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33320 cat >conftest.$ac_ext <<_ACEOF
33323 cat confdefs.h >>conftest.$ac_ext
33324 cat >>conftest.$ac_ext <<_ACEOF
33325 /* end confdefs.h. */
33334 version = xmUseVersion;
33340 rm -f conftest.$ac_objext
33341 if { (ac_try="$ac_compile"
33342 case "(($ac_try" in
33343 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33344 *) ac_try_echo
=$ac_try;;
33346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33347 (eval "$ac_compile") 2>conftest.er1
33349 grep -v '^ *+' conftest.er1
>conftest.err
33351 cat conftest.err
>&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); } && {
33354 test -z "$ac_c_werror_flag" ||
33355 test ! -s conftest.err
33356 } && test -s conftest.
$ac_objext; then
33358 { echo "$as_me:$LINENO: result: found in default search path" >&5
33359 echo "${ECHO_T}found in default search path" >&6; }
33360 COMPILED_X_PROGRAM
=1
33363 echo "$as_me: failed program was:" >&5
33364 sed 's/^/| /' conftest.
$ac_ext >&5
33367 { echo "$as_me:$LINENO: result: no" >&5
33368 echo "${ECHO_T}no" >&6; }
33369 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33370 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33371 { (exit 1); exit 1; }; }
33376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33378 CFLAGS
=$save_CFLAGS
33382 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33383 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33386 for ac_dir
in $SEARCH_LIB
33388 for ac_extension
in a so sl dylib dll.a
; do
33389 if test -f "$ac_dir/libXm.$ac_extension"; then
33390 ac_find_libraries
=$ac_dir
33397 if test "x$ac_find_libraries" != "x" ; then
33398 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33399 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33402 if test "$ac_find_libraries" = "default location"; then
33405 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33407 if test $result = 0; then
33410 ac_path_to_link
=" -L$ac_find_libraries"
33414 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33416 save_CFLAGS
=$CFLAGS
33417 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33419 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33421 cat >conftest.
$ac_ext <<_ACEOF
33424 cat confdefs.h
>>conftest.
$ac_ext
33425 cat >>conftest.
$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33435 version = xmUseVersion;
33441 rm -f conftest.
$ac_objext conftest
$ac_exeext
33442 if { (ac_try
="$ac_link"
33443 case "(($ac_try" in
33444 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33445 *) ac_try_echo=$ac_try;;
33447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33448 (eval "$ac_link") 2>conftest.er1
33450 grep -v '^ *+' conftest.er1 >conftest.err
33452 cat conftest.err >&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } && {
33455 test -z "$ac_c_werror_flag" ||
33456 test ! -s conftest.err
33457 } && test -s conftest$ac_exeext &&
33458 $as_test_x conftest$ac_exeext; then
33460 { echo "$as_me:$LINENO: result: found in default search path" >&5
33461 echo "${ECHO_T}found in default search path" >&6; }
33462 COMPILED_X_PROGRAM=1
33465 echo "$as_me: failed program was:" >&5
33466 sed 's/^/| /' conftest.$ac_ext >&5
33469 { echo "$as_me:$LINENO: result: no" >&5
33470 echo "${ECHO_T}no" >&6; }
33471 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33472 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33473 { (exit 1); exit 1; }; }
33478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33479 conftest$ac_exeext conftest.$ac_ext
33481 CFLAGS=$save_CFLAGS
33485 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33486 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33490 for libp in "" " -lXp"; do
33491 if test "$libs_found" = 0; then
33492 for libsm_ice in "" " -lSM -lICE"; do
33493 if test "$libs_found" = 0; then
33495 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33496 save_CFLAGS=$CFLAGS
33497 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33499 cat >conftest.$ac_ext <<_ACEOF
33502 cat confdefs.h >>conftest.$ac_ext
33503 cat >>conftest.$ac_ext <<_ACEOF
33504 /* end confdefs.h. */
33507 #include <Xm/List.h>
33513 XmString string = NULL;
33516 XmListAddItem(w, string, position);
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
33542 libsm_ice_link
="$libsm_ice"
33543 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33544 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33548 echo "$as_me: failed program was:" >&5
33549 sed 's/^/| /' conftest.
$ac_ext >&5
33555 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33556 conftest
$ac_exeext conftest.
$ac_ext
33559 CFLAGS
=$save_CFLAGS
33565 if test "$libs_found" = 0; then
33566 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33567 echo "${ECHO_T}can't find the right libraries" >&6; }
33568 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33569 echo "$as_me: error: can't link a simple motif program" >&2;}
33570 { (exit 1); exit 1; }; }
33573 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33574 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33575 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33576 echo $ECHO_N "(cached) $ECHO_C" >&6
33578 ac_check_lib_save_LIBS
=$LIBS
33580 cat >conftest.
$ac_ext <<_ACEOF
33583 cat confdefs.h
>>conftest.
$ac_ext
33584 cat >>conftest.
$ac_ext <<_ACEOF
33585 /* end confdefs.h. */
33587 /* Override any GCC internal prototype to avoid an error.
33588 Use char because int might match the return type of a GCC
33589 builtin and then its argument prototype would still apply. */
33593 char SgCreateList ();
33597 return SgCreateList ();
33602 rm -f conftest.
$ac_objext conftest
$ac_exeext
33603 if { (ac_try
="$ac_link"
33604 case "(($ac_try" in
33605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33606 *) ac_try_echo=$ac_try;;
33608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33609 (eval "$ac_link") 2>conftest.er1
33611 grep -v '^ *+' conftest.er1 >conftest.err
33613 cat conftest.err >&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); } && {
33616 test -z "$ac_c_werror_flag" ||
33617 test ! -s conftest.err
33618 } && test -s conftest$ac_exeext &&
33619 $as_test_x conftest$ac_exeext; then
33620 ac_cv_lib_Sgm_SgCreateList=yes
33622 echo "$as_me: failed program was:" >&5
33623 sed 's/^/| /' conftest.$ac_ext >&5
33625 ac_cv_lib_Sgm_SgCreateList=no
33628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33629 conftest$ac_exeext conftest.$ac_ext
33630 LIBS=$ac_check_lib_save_LIBS
33632 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33633 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33634 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33635 libsgm_link=" -lSgm"
33639 save_CFLAGS=$CFLAGS
33640 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33642 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33643 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33644 if test "${wx_cv_lib_motif2+set}" = set; then
33645 echo $ECHO_N "(cached) $ECHO_C" >&6
33647 cat >conftest.$ac_ext <<_ACEOF
33650 cat confdefs.h >>conftest.$ac_ext
33651 cat >>conftest.$ac_ext <<_ACEOF
33652 /* end confdefs.h. */
33660 #if XmVersion < 2000
33668 rm -f conftest.$ac_objext
33669 if { (ac_try="$ac_compile"
33670 case "(($ac_try" in
33671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33672 *) ac_try_echo
=$ac_try;;
33674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33675 (eval "$ac_compile") 2>conftest.er1
33677 grep -v '^ *+' conftest.er1
>conftest.err
33679 cat conftest.err
>&5
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); } && {
33682 test -z "$ac_c_werror_flag" ||
33683 test ! -s conftest.err
33684 } && test -s conftest.
$ac_objext; then
33685 wx_cv_lib_motif2
="yes"
33687 echo "$as_me: failed program was:" >&5
33688 sed 's/^/| /' conftest.
$ac_ext >&5
33690 wx_cv_lib_motif2
="no"
33693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33695 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33696 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33697 if test "$wx_cv_lib_motif2" = "yes"; then
33698 cat >>confdefs.h
<<\_ACEOF
33699 #define __WXMOTIF20__ 1
33703 cat >>confdefs.h
<<\_ACEOF
33704 #define __WXMOTIF20__ 0
33709 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33710 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33711 if test "${wx_cv_lib_lesstif+set}" = set; then
33712 echo $ECHO_N "(cached) $ECHO_C" >&6
33714 cat >conftest.
$ac_ext <<_ACEOF
33717 cat confdefs.h
>>conftest.
$ac_ext
33718 cat >>conftest.
$ac_ext <<_ACEOF
33719 /* end confdefs.h. */
33727 #if !defined(LesstifVersion) || LesstifVersion <= 0
33735 rm -f conftest.
$ac_objext
33736 if { (ac_try
="$ac_compile"
33737 case "(($ac_try" in
33738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33739 *) ac_try_echo=$ac_try;;
33741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33742 (eval "$ac_compile") 2>conftest.er1
33744 grep -v '^ *+' conftest.er1 >conftest.err
33746 cat conftest.err >&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); } && {
33749 test -z "$ac_c_werror_flag" ||
33750 test ! -s conftest.err
33751 } && test -s conftest.$ac_objext; then
33752 wx_cv_lib_lesstif="yes"
33754 echo "$as_me: failed program was:" >&5
33755 sed 's/^/| /' conftest.$ac_ext >&5
33757 wx_cv_lib_lesstif="no"
33760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33763 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33764 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33765 if test "$wx_cv_lib_lesstif" = "yes"; then
33766 cat >>confdefs.h <<\_ACEOF
33767 #define __WXLESSTIF__ 1
33771 cat >>confdefs.h <<\_ACEOF
33772 #define __WXLESSTIF__ 0
33777 CFLAGS=$save_CFLAGS
33779 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33784 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33785 if test "$wxUSE_LIBXPM" = "sys"; then
33786 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33787 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33790 for ac_dir in $SEARCH_LIB
33792 for ac_extension in a so sl dylib dll.a; do
33793 if test -f "$ac_dir/libXpm.$ac_extension"; then
33794 ac_find_libraries=$ac_dir
33800 if test "$ac_find_libraries" != "" ; then
33802 if test "$ac_find_libraries" = "default location"; then
33805 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33807 if test $result = 0; then
33810 ac_path_to_link=" -L$ac_find_libraries"
33814 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33815 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33816 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33818 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33819 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33820 if test "${wx_cv_x11_xpm_h+set}" = set; then
33821 echo $ECHO_N "(cached) $ECHO_C" >&6
33824 save_CFLAGS=$CFLAGS
33825 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33827 cat >conftest.$ac_ext <<_ACEOF
33830 cat confdefs.h >>conftest.$ac_ext
33831 cat >>conftest.$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33834 #include <X11/xpm.h>
33841 version = XpmLibraryVersion();
33847 rm -f conftest.$ac_objext
33848 if { (ac_try="$ac_compile"
33849 case "(($ac_try" in
33850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33851 *) ac_try_echo
=$ac_try;;
33853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33854 (eval "$ac_compile") 2>conftest.er1
33856 grep -v '^ *+' conftest.er1
>conftest.err
33858 cat conftest.err
>&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } && {
33861 test -z "$ac_c_werror_flag" ||
33862 test ! -s conftest.err
33863 } && test -s conftest.
$ac_objext; then
33864 wx_cv_x11_xpm_h
=yes
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.
$ac_ext >&5
33873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33875 CFLAGS
=$save_CFLAGS
33879 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33880 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33882 if test $wx_cv_x11_xpm_h = "yes"; then
33883 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33884 cat >>confdefs.h
<<\_ACEOF
33885 #define wxHAVE_LIB_XPM 1
33889 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33890 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33896 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33897 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33898 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33899 echo $ECHO_N "(cached) $ECHO_C" >&6
33901 ac_check_lib_save_LIBS
=$LIBS
33902 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33903 cat >conftest.
$ac_ext <<_ACEOF
33906 cat confdefs.h
>>conftest.
$ac_ext
33907 cat >>conftest.
$ac_ext <<_ACEOF
33908 /* end confdefs.h. */
33910 /* Override any GCC internal prototype to avoid an error.
33911 Use char because int might match the return type of a GCC
33912 builtin and then its argument prototype would still apply. */
33916 char XShapeQueryExtension ();
33920 return XShapeQueryExtension ();
33925 rm -f conftest.
$ac_objext conftest
$ac_exeext
33926 if { (ac_try
="$ac_link"
33927 case "(($ac_try" in
33928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33929 *) ac_try_echo=$ac_try;;
33931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33932 (eval "$ac_link") 2>conftest.er1
33934 grep -v '^ *+' conftest.er1 >conftest.err
33936 cat conftest.err >&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } && {
33939 test -z "$ac_c_werror_flag" ||
33940 test ! -s conftest.err
33941 } && test -s conftest$ac_exeext &&
33942 $as_test_x conftest$ac_exeext; then
33943 ac_cv_lib_Xext_XShapeQueryExtension=yes
33945 echo "$as_me: failed program was:" >&5
33946 sed 's/^/| /' conftest.$ac_ext >&5
33948 ac_cv_lib_Xext_XShapeQueryExtension=no
33951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33952 conftest$ac_exeext conftest.$ac_ext
33953 LIBS=$ac_check_lib_save_LIBS
33955 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33956 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33957 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33959 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33965 if test "$wxHAVE_XEXT_LIB" = 1; then
33966 save_CFLAGS="$CFLAGS"
33967 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33969 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33970 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33971 cat >conftest.$ac_ext <<_ACEOF
33974 cat confdefs.h >>conftest.$ac_ext
33975 cat >>conftest.$ac_ext <<_ACEOF
33976 /* end confdefs.h. */
33978 #include <X11/Xlib.h>
33979 #include <X11/extensions/shape.h>
33985 int dummy1, dummy2;
33986 XShapeQueryExtension((Display*)NULL,
33987 (int*)NULL, (int*)NULL);
33993 rm -f conftest.$ac_objext
33994 if { (ac_try="$ac_compile"
33995 case "(($ac_try" in
33996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33997 *) ac_try_echo
=$ac_try;;
33999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34000 (eval "$ac_compile") 2>conftest.er1
34002 grep -v '^ *+' conftest.er1
>conftest.err
34004 cat conftest.err
>&5
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); } && {
34007 test -z "$ac_c_werror_flag" ||
34008 test ! -s conftest.err
34009 } && test -s conftest.
$ac_objext; then
34011 cat >>confdefs.h
<<\_ACEOF
34012 #define HAVE_XSHAPE 1
34015 { echo "$as_me:$LINENO: result: found" >&5
34016 echo "${ECHO_T}found" >&6; }
34019 echo "$as_me: failed program was:" >&5
34020 sed 's/^/| /' conftest.
$ac_ext >&5
34023 { echo "$as_me:$LINENO: result: not found" >&5
34024 echo "${ECHO_T}not found" >&6; }
34028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34029 CFLAGS
="$save_CFLAGS"
34034 if test "$wxUSE_OSX_CARBON" = 1; then
34035 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34036 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34037 if test "$GCC" = yes; then
34038 { echo "$as_me:$LINENO: result: gcc" >&5
34039 echo "${ECHO_T}gcc" >&6; }
34040 CPPFLAGS_PASCAL
="-fpascal-strings"
34041 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34042 { echo "$as_me:$LINENO: result: xlc" >&5
34043 echo "${ECHO_T}xlc" >&6; }
34044 CPPFLAGS_PASCAL
="-qmacpstr"
34046 { echo "$as_me:$LINENO: result: none" >&5
34047 echo "${ECHO_T}none" >&6; }
34050 if test "x$wxUSE_UNIX" = "xyes"; then
34051 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34053 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34057 GUIDIST
=OSX_CARBON_DIST
34058 WXBASEPORT
="_carbon"
34060 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34063 if test "$wxUSE_OSX_COCOA" = 1; then
34065 GUIDIST
=OSX_COCOA_DIST
34067 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34070 if test "$wxUSE_OSX_IPHONE" = 1; then
34074 if test "$wxUSE_OLD_COCOA" = 1; then
34079 if test "$wxUSE_PM" = 1; then
34082 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34083 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34084 if test "${wx_cv_spbcdata+set}" = set; then
34085 echo $ECHO_N "(cached) $ECHO_C" >&6
34088 cat >conftest.
$ac_ext <<_ACEOF
34091 cat confdefs.h
>>conftest.
$ac_ext
34092 cat >>conftest.
$ac_ext <<_ACEOF
34093 /* end confdefs.h. */
34108 rm -f conftest.
$ac_objext
34109 if { (ac_try
="$ac_compile"
34110 case "(($ac_try" in
34111 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34112 *) ac_try_echo=$ac_try;;
34114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34115 (eval "$ac_compile") 2>conftest.er1
34117 grep -v '^ *+' conftest.er1 >conftest.err
34119 cat conftest.err >&5
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); } && {
34122 test -z "$ac_c_werror_flag" ||
34123 test ! -s conftest.err
34124 } && test -s conftest.$ac_objext; then
34127 echo "$as_me: failed program was:" >&5
34128 sed 's/^/| /' conftest.$ac_ext >&5
34134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34138 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34139 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34141 if test $wx_cv_spbcdata = "yes"; then
34142 cat >>confdefs.h <<\_ACEOF
34143 #define HAVE_SPBCDATA 1
34149 if test "$TOOLKIT" = "PM" ; then
34152 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34155 if test "$wxUSE_UNIVERSAL" = "yes"; then
34156 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34160 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34161 DISTDIR="wx\$(TOOLKIT)"
34167 if test "$USE_WIN32" = 1 ; then
34171 GUIDIST="BASE_DIST"
34177 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34178 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34179 wxUSE_UNICODE_UTF8=yes
34180 elif test "$USE_OS2" = 1 ; then
34181 wxUSE_UNICODE_UTF8=yes
34183 wxUSE_UNICODE_UTF8=no
34188 if test "$wxUSE_GUI" = "yes"; then
34189 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34191 for ac_header in X11/Xlib.h
34193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34194 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34197 echo $ECHO_N "(cached) $ECHO_C" >&6
34199 cat >conftest.$ac_ext <<_ACEOF
34202 cat confdefs.h >>conftest.$ac_ext
34203 cat >>conftest.$ac_ext <<_ACEOF
34204 /* end confdefs.h. */
34207 #include <$ac_header>
34209 rm -f conftest.$ac_objext
34210 if { (ac_try="$ac_compile"
34211 case "(($ac_try" in
34212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34213 *) ac_try_echo
=$ac_try;;
34215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34216 (eval "$ac_compile") 2>conftest.er1
34218 grep -v '^ *+' conftest.er1
>conftest.err
34220 cat conftest.err
>&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); } && {
34223 test -z "$ac_c_werror_flag" ||
34224 test ! -s conftest.err
34225 } && test -s conftest.
$ac_objext; then
34226 eval "$as_ac_Header=yes"
34228 echo "$as_me: failed program was:" >&5
34229 sed 's/^/| /' conftest.
$ac_ext >&5
34231 eval "$as_ac_Header=no"
34234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34236 ac_res
=`eval echo '${'$as_ac_Header'}'`
34237 { echo "$as_me:$LINENO: result: $ac_res" >&5
34238 echo "${ECHO_T}$ac_res" >&6; }
34239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34240 cat >>confdefs.h
<<_ACEOF
34241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34249 for ac_header
in X
11/XKBlib.h
34251 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34254 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34255 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 cat >conftest.
$ac_ext <<_ACEOF
34260 cat confdefs.h
>>conftest.
$ac_ext
34261 cat >>conftest.
$ac_ext <<_ACEOF
34262 /* end confdefs.h. */
34264 #if HAVE_X11_XLIB_H
34265 #include <X11/Xlib.h>
34269 #include <$ac_header>
34271 rm -f conftest.
$ac_objext
34272 if { (ac_try
="$ac_compile"
34273 case "(($ac_try" in
34274 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34275 *) ac_try_echo=$ac_try;;
34277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34278 (eval "$ac_compile") 2>conftest.er1
34280 grep -v '^ *+' conftest.er1 >conftest.err
34282 cat conftest.err >&5
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); } && {
34285 test -z "$ac_c_werror_flag" ||
34286 test ! -s conftest.err
34287 } && test -s conftest.$ac_objext; then
34288 eval "$as_ac_Header=yes"
34290 echo "$as_me: failed program was:" >&5
34291 sed 's/^/| /' conftest.$ac_ext >&5
34293 eval "$as_ac_Header=no"
34296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34298 ac_res=`eval echo '${'$as_ac_Header'}'`
34299 { echo "$as_me:$LINENO: result: $ac_res" >&5
34300 echo "${ECHO_T}$ac_res" >&6; }
34301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34302 cat >>confdefs.h <<_ACEOF
34303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34316 if test "$wxUSE_DISPLAY" = "yes"; then
34317 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34318 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34319 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34322 for ac_dir in $SEARCH_LIB
34324 for ac_extension in a so sl dylib dll.a; do
34325 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34326 ac_find_libraries=$ac_dir
34332 if test "$ac_find_libraries" != "" ; then
34334 if test "$ac_find_libraries" = "default location"; then
34337 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34339 if test $result = 0; then
34342 ac_path_to_link=" -L$ac_find_libraries"
34346 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34347 LDFLAGS="$LDFLAGS $ac_path_to_link"
34350 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34351 { echo "$as_me:$LINENO: result: yes" >&5
34352 echo "${ECHO_T}yes" >&6; }
34354 { echo "$as_me:$LINENO: result: no" >&5
34355 echo "${ECHO_T}no" >&6; }
34356 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34357 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34360 elif test "$wxUSE_MSW" = 1; then
34361 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34362 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34363 if test "${ac_cv_header_ddraw_h+set}" = set; then
34364 echo $ECHO_N "(cached) $ECHO_C" >&6
34366 cat >conftest.$ac_ext <<_ACEOF
34369 cat confdefs.h >>conftest.$ac_ext
34370 cat >>conftest.$ac_ext <<_ACEOF
34371 /* end confdefs.h. */
34372 #include <windows.h>
34376 rm -f conftest.$ac_objext
34377 if { (ac_try="$ac_compile"
34378 case "(($ac_try" in
34379 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34380 *) ac_try_echo
=$ac_try;;
34382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34383 (eval "$ac_compile") 2>conftest.er1
34385 grep -v '^ *+' conftest.er1
>conftest.err
34387 cat conftest.err
>&5
34388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34389 (exit $ac_status); } && {
34390 test -z "$ac_c_werror_flag" ||
34391 test ! -s conftest.err
34392 } && test -s conftest.
$ac_objext; then
34393 ac_cv_header_ddraw_h
=yes
34395 echo "$as_me: failed program was:" >&5
34396 sed 's/^/| /' conftest.
$ac_ext >&5
34398 ac_cv_header_ddraw_h
=no
34401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34403 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34404 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34410 if test "$wxUSE_DISPLAY" = "yes"; then
34411 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34412 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34413 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34416 for ac_dir
in $SEARCH_LIB
34418 for ac_extension
in a so sl dylib dll.a
; do
34419 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34420 ac_find_libraries
=$ac_dir
34426 if test "$ac_find_libraries" != "" ; then
34427 { echo "$as_me:$LINENO: result: yes" >&5
34428 echo "${ECHO_T}yes" >&6; }
34430 for ac_header
in X
11/extensions
/xf86vmode.h
34432 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34433 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34435 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34436 echo $ECHO_N "(cached) $ECHO_C" >&6
34438 cat >conftest.
$ac_ext <<_ACEOF
34441 cat confdefs.h
>>conftest.
$ac_ext
34442 cat >>conftest.
$ac_ext <<_ACEOF
34443 /* end confdefs.h. */
34445 #if HAVE_X11_XLIB_H
34446 #include <X11/Xlib.h>
34450 #include <$ac_header>
34452 rm -f conftest.
$ac_objext
34453 if { (ac_try
="$ac_compile"
34454 case "(($ac_try" in
34455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34456 *) ac_try_echo=$ac_try;;
34458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34459 (eval "$ac_compile") 2>conftest.er1
34461 grep -v '^ *+' conftest.er1 >conftest.err
34463 cat conftest.err >&5
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); } && {
34466 test -z "$ac_c_werror_flag" ||
34467 test ! -s conftest.err
34468 } && test -s conftest.$ac_objext; then
34469 eval "$as_ac_Header=yes"
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.$ac_ext >&5
34474 eval "$as_ac_Header=no"
34477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34479 ac_res=`eval echo '${'$as_ac_Header'}'`
34480 { echo "$as_me:$LINENO: result: $ac_res" >&5
34481 echo "${ECHO_T}$ac_res" >&6; }
34482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34483 cat >>confdefs.h <<_ACEOF
34484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34487 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34494 { echo "$as_me:$LINENO: result: no" >&5
34495 echo "${ECHO_T}no" >&6; }
34500 if test "$wxUSE_DETECT_SM" = "yes"; then
34501 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34502 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34503 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34506 for ac_dir in $SEARCH_LIB
34508 for ac_extension in a so sl dylib dll.a; do
34509 if test -f "$ac_dir/libSM.$ac_extension"; then
34510 ac_find_libraries=$ac_dir
34516 if test "$ac_find_libraries" != "" ; then
34518 if test "$ac_find_libraries" = "default location"; then
34521 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34523 if test $result = 0; then
34526 ac_path_to_link=" -L$ac_find_libraries"
34530 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34531 LDFLAGS="$LDFLAGS $ac_path_to_link"
34533 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34534 { echo "$as_me:$LINENO: result: yes" >&5
34535 echo "${ECHO_T}yes" >&6; }
34537 { echo "$as_me:$LINENO: result: no" >&5
34538 echo "${ECHO_T}no" >&6; }
34539 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34540 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34541 wxUSE_DETECT_SM="no"
34544 wxUSE_DETECT_SM="no"
34551 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34554 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34555 OPENGL_LIBS="-framework OpenGL -framework AGL"
34556 elif test "$wxUSE_MSW" = 1; then
34557 OPENGL_LIBS="-lopengl32 -lglu32"
34558 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34560 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34561 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34564 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34566 if test -f "$ac_dir/GL/gl.h"; then
34567 ac_find_includes=$ac_dir
34572 if test "$ac_find_includes" != "" ; then
34573 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34574 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34576 if test "x$ac_find_includes" = "x/usr/include"; then
34577 ac_path_to_include=""
34579 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34581 if test $result = 0; then
34582 ac_path_to_include=""
34584 ac_path_to_include=" -I$ac_find_includes"
34588 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34590 { echo "$as_me:$LINENO: result: not found" >&5
34591 echo "${ECHO_T}not found" >&6; }
34594 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34595 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34596 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34597 echo $ECHO_N "(cached) $ECHO_C" >&6
34599 cat >conftest.$ac_ext <<_ACEOF
34602 cat confdefs.h >>conftest.$ac_ext
34603 cat >>conftest.$ac_ext <<_ACEOF
34604 /* end confdefs.h. */
34609 rm -f conftest.$ac_objext
34610 if { (ac_try="$ac_compile"
34611 case "(($ac_try" in
34612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34613 *) ac_try_echo
=$ac_try;;
34615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34616 (eval "$ac_compile") 2>conftest.er1
34618 grep -v '^ *+' conftest.er1
>conftest.err
34620 cat conftest.err
>&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); } && {
34623 test -z "$ac_c_werror_flag" ||
34624 test ! -s conftest.err
34625 } && test -s conftest.
$ac_objext; then
34626 ac_cv_header_GL_gl_h
=yes
34628 echo "$as_me: failed program was:" >&5
34629 sed 's/^/| /' conftest.
$ac_ext >&5
34631 ac_cv_header_GL_gl_h
=no
34634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34636 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34637 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34638 if test $ac_cv_header_GL_gl_h = yes; then
34640 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34641 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34642 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34643 echo $ECHO_N "(cached) $ECHO_C" >&6
34645 cat >conftest.
$ac_ext <<_ACEOF
34648 cat confdefs.h
>>conftest.
$ac_ext
34649 cat >>conftest.
$ac_ext <<_ACEOF
34650 /* end confdefs.h. */
34653 #include <GL/glu.h>
34655 rm -f conftest.
$ac_objext
34656 if { (ac_try
="$ac_compile"
34657 case "(($ac_try" in
34658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34659 *) ac_try_echo=$ac_try;;
34661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34662 (eval "$ac_compile") 2>conftest.er1
34664 grep -v '^ *+' conftest.er1 >conftest.err
34666 cat conftest.err >&5
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); } && {
34669 test -z "$ac_c_werror_flag" ||
34670 test ! -s conftest.err
34671 } && test -s conftest.$ac_objext; then
34672 ac_cv_header_GL_glu_h=yes
34674 echo "$as_me: failed program was:" >&5
34675 sed 's/^/| /' conftest.$ac_ext >&5
34677 ac_cv_header_GL_glu_h=no
34680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34682 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34683 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34684 if test $ac_cv_header_GL_glu_h = yes; then
34688 { echo "$as_me:$LINENO: checking for -lGL" >&5
34689 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34692 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34694 for ac_extension in a so sl dylib dll.a; do
34695 if test -f "$ac_dir/libGL.$ac_extension"; then
34696 ac_find_libraries=$ac_dir
34702 if test "$ac_find_libraries" != "" ; then
34703 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34704 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34707 if test "$ac_find_libraries" = "default location"; then
34710 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34712 if test $result = 0; then
34715 ac_path_to_link=" -L$ac_find_libraries"
34719 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34720 LDFLAGS_GL="$ac_path_to_link"
34723 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34724 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34727 for ac_dir in $SEARCH_LIB
34729 for ac_extension in a so sl dylib dll.a; do
34730 if test -f "$ac_dir/libGLU.$ac_extension"; then
34731 ac_find_libraries=$ac_dir
34737 if test "$ac_find_libraries" != "" ; then
34739 if test "$ac_find_libraries" = "default location"; then
34742 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34744 if test $result = 0; then
34747 ac_path_to_link=" -L$ac_find_libraries"
34751 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34752 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34753 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34757 OPENGL_LIBS="-lGL -lGLU"
34758 { echo "$as_me:$LINENO: result: yes" >&5
34759 echo "${ECHO_T}yes" >&6; }
34761 { echo "$as_me:$LINENO: result: no" >&5
34762 echo "${ECHO_T}no" >&6; }
34765 { echo "$as_me:$LINENO: result: no" >&5
34766 echo "${ECHO_T}no" >&6; }
34769 if test "$found_gl" != 1; then
34770 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34771 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34774 for ac_dir in $SEARCH_LIB
34776 for ac_extension in a so sl dylib dll.a; do
34777 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34778 ac_find_libraries=$ac_dir
34784 if test "$ac_find_libraries" != "" ; then
34786 if test "$ac_find_libraries" = "default location"; then
34789 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34791 if test $result = 0; then
34794 ac_path_to_link=" -L$ac_find_libraries"
34798 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34799 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34800 { echo "$as_me:$LINENO: result: yes" >&5
34801 echo "${ECHO_T}yes" >&6; }
34803 { echo "$as_me:$LINENO: result: no" >&5
34804 echo "${ECHO_T}no" >&6; }
34816 if test "x$OPENGL_LIBS" = "x"; then
34817 if test "$wxUSE_OPENGL" = "yes"; then
34818 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34819 echo "$as_me: error: OpenGL libraries not available" >&2;}
34820 { (exit 1); exit 1; }; }
34822 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34823 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34829 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34830 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34834 if test "$wxUSE_OPENGL" = "auto"; then
34838 if test "$wxUSE_OPENGL" = "yes"; then
34840 cat >>confdefs.h <<\_ACEOF
34841 #define wxUSE_OPENGL 1
34844 cat >>confdefs.h <<\_ACEOF
34845 #define wxUSE_GLCANVAS 1
34848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34853 if test -n "$TOOLKIT" ; then
34854 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34859 if test "$wxUSE_SHARED" = "yes"; then
34863 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34864 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34869 if test "$wxUSE_SHARED" = "yes"; then
34873 *-*-cygwin* | *-*-mingw* )
34874 wx_cv_version_script=no
34878 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34879 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34880 if test "${wx_cv_version_script+set}" = set; then
34881 echo $ECHO_N "(cached) $ECHO_C" >&6
34884 echo "VER_1 { *; };" >conftest.sym
34885 echo "int main() { return 0; }" >conftest.cpp
34888 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34889 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34891 (eval $ac_try) 2>&5
34893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); }; } ; then
34895 if test -s conftest.stderr ; then
34896 wx_cv_version_script=no
34898 wx_cv_version_script=yes
34901 wx_cv_version_script=no
34904 if test $wx_cv_version_script = yes
34906 echo "struct B { virtual ~B() { } }; \
34907 struct D : public B { }; \
34908 void F() { D d; }" > conftest.cpp
34911 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34912 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34914 (eval $ac_try) 2>&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); }; } &&
34919 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34920 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34922 (eval $ac_try) 2>&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); }; }
34928 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34929 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34931 (eval $ac_try) 2>&5
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); }; }
34936 wx_cv_version_script=yes
34938 wx_cv_version_script=no
34943 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34944 rm -f conftest1.output conftest2.output conftest3.output
34947 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34948 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34950 if test $wx_cv_version_script = yes ; then
34951 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34957 if test "$wxUSE_VISIBILITY" != "no"; then
34960 if test -n "$GCC"; then
34961 CFLAGS_VISIBILITY="-fvisibility=hidden"
34962 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34963 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34964 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34965 if test "${wx_cv_cc_visibility+set}" = set; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34969 wx_save_CXXFLAGS="$CXXFLAGS"
34970 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34972 ac_cpp='$CXXCPP $CPPFLAGS'
34973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34977 cat >conftest.$ac_ext <<_ACEOF
34980 cat confdefs.h >>conftest.$ac_ext
34981 cat >>conftest.$ac_ext <<_ACEOF
34982 /* end confdefs.h. */
34984 /* we need gcc >= 4.0, older versions with visibility support
34985 didn't have class visibility: */
34986 #if defined(__GNUC__) && __GNUC__ < 4
34987 error this gcc is too old;
34990 /* visibility only makes sense for ELF shared libs: */
34991 #if !defined(__ELF__) && !defined(__APPLE__)
34992 error this platform has no visibility;
34995 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34996 extern __attribute__((__visibility__("default"))) int exportedvar;
34997 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34998 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34999 class __attribute__((__visibility__("default"))) Foo {
35011 rm -f conftest.$ac_objext
35012 if { (ac_try="$ac_compile"
35013 case "(($ac_try" in
35014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35015 *) ac_try_echo
=$ac_try;;
35017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35018 (eval "$ac_compile") 2>conftest.er1
35020 grep -v '^ *+' conftest.er1
>conftest.err
35022 cat conftest.err
>&5
35023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35024 (exit $ac_status); } && {
35025 test -z "$ac_cxx_werror_flag" ||
35026 test ! -s conftest.err
35027 } && test -s conftest.
$ac_objext; then
35028 wx_cv_cc_visibility
=yes
35030 echo "$as_me: failed program was:" >&5
35031 sed 's/^/| /' conftest.
$ac_ext >&5
35033 wx_cv_cc_visibility
=no
35036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35038 ac_cpp
='$CPP $CPPFLAGS'
35039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35043 CXXFLAGS
="$wx_save_CXXFLAGS"
35046 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35047 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35048 if test $wx_cv_cc_visibility = yes; then
35049 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35050 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35051 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35052 echo $ECHO_N "(cached) $ECHO_C" >&6
35055 wx_save_CXXFLAGS
="$CXXFLAGS"
35056 wx_save_LDFLAGS
="$LDFLAGS"
35057 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35058 LDFLAGS
="$LDFLAGS -shared -fPIC"
35060 ac_cpp
='$CXXCPP $CPPFLAGS'
35061 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35062 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35063 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35065 cat >conftest.
$ac_ext <<_ACEOF
35068 cat confdefs.h
>>conftest.
$ac_ext
35069 cat >>conftest.
$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35078 std::string s("hello");
35085 rm -f conftest.
$ac_objext conftest
$ac_exeext
35086 if { (ac_try
="$ac_link"
35087 case "(($ac_try" in
35088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35089 *) ac_try_echo=$ac_try;;
35091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35092 (eval "$ac_link") 2>conftest.er1
35094 grep -v '^ *+' conftest.er1 >conftest.err
35096 cat conftest.err >&5
35097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35098 (exit $ac_status); } && {
35099 test -z "$ac_cxx_werror_flag" ||
35100 test ! -s conftest.err
35101 } && test -s conftest$ac_exeext &&
35102 $as_test_x conftest$ac_exeext; then
35103 wx_cv_cc_broken_libstdcxx_visibility=no
35105 echo "$as_me: failed program was:" >&5
35106 sed 's/^/| /' conftest.$ac_ext >&5
35108 wx_cv_cc_broken_libstdcxx_visibility=yes
35111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35112 conftest$ac_exeext conftest.$ac_ext
35114 ac_cpp='$CPP $CPPFLAGS'
35115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35119 CXXFLAGS="$wx_save_CXXFLAGS"
35120 LDFLAGS="$wx_save_LDFLAGS"
35123 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35124 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35126 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35127 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35128 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35129 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35130 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 ac_cpp='$CXXCPP $CPPFLAGS'
35135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35139 cat >conftest.$ac_ext <<_ACEOF
35142 cat confdefs.h >>conftest.$ac_ext
35143 cat >>conftest.$ac_ext <<_ACEOF
35144 /* end confdefs.h. */
35146 #pragma GCC visibility push(default)
35148 #pragma GCC visibility pop
35154 std::string s("hello");
35161 rm -f conftest.$ac_objext conftest$ac_exeext
35162 if { (ac_try="$ac_link"
35163 case "(($ac_try" in
35164 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35165 *) ac_try_echo
=$ac_try;;
35167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35168 (eval "$ac_link") 2>conftest.er1
35170 grep -v '^ *+' conftest.er1
>conftest.err
35172 cat conftest.err
>&5
35173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35174 (exit $ac_status); } && {
35175 test -z "$ac_cxx_werror_flag" ||
35176 test ! -s conftest.err
35177 } && test -s conftest
$ac_exeext &&
35178 $as_test_x conftest
$ac_exeext; then
35179 wx_cv_cc_visibility_workaround
=no
35181 echo "$as_me: failed program was:" >&5
35182 sed 's/^/| /' conftest.
$ac_ext >&5
35184 wx_cv_cc_visibility_workaround
=yes
35187 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35188 conftest
$ac_exeext conftest.
$ac_ext
35190 ac_cpp
='$CPP $CPPFLAGS'
35191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35198 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35199 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35201 if test $wx_cv_cc_visibility_workaround = no
; then
35202 wx_cv_cc_visibility
=no
35207 if test $wx_cv_cc_visibility = yes; then
35208 cat >>confdefs.h
<<\_ACEOF
35209 #define HAVE_VISIBILITY 1
35212 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35213 cat >>confdefs.h
<<\_ACEOF
35214 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35219 CFLAGS_VISIBILITY
=""
35220 CXXFLAGS_VISIBILITY
=""
35228 if test "x$SUNCXX" = xyes
; then
35229 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
35230 WXCONFIG_RPATH
="-R\$libdir"
35233 *-*-linux* | *-*-gnu* )
35234 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35235 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35240 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
35242 saveLdflags
="$LDFLAGS"
35243 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
35244 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35245 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35246 cat >conftest.
$ac_ext <<_ACEOF
35249 cat confdefs.h
>>conftest.
$ac_ext
35250 cat >>conftest.
$ac_ext <<_ACEOF
35251 /* end confdefs.h. */
35261 rm -f conftest.
$ac_objext conftest
$ac_exeext
35262 if { (ac_try
="$ac_link"
35263 case "(($ac_try" in
35264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35265 *) ac_try_echo=$ac_try;;
35267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35268 (eval "$ac_link") 2>conftest.er1
35270 grep -v '^ *+' conftest.er1 >conftest.err
35272 cat conftest.err >&5
35273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35274 (exit $ac_status); } && {
35275 test -z "$ac_c_werror_flag" ||
35276 test ! -s conftest.err
35277 } && test -s conftest$ac_exeext &&
35278 $as_test_x conftest$ac_exeext; then
35280 { echo "$as_me:$LINENO: result: yes" >&5
35281 echo "${ECHO_T}yes" >&6; }
35282 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35283 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35286 echo "$as_me: failed program was:" >&5
35287 sed 's/^/| /' conftest.$ac_ext >&5
35290 { echo "$as_me:$LINENO: result: no" >&5
35291 echo "${ECHO_T}no" >&6; }
35292 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35293 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35294 LDFLAGS="$saveLdflags -Wl,-R,/"
35295 cat >conftest.$ac_ext <<_ACEOF
35298 cat confdefs.h >>conftest.$ac_ext
35299 cat >>conftest.$ac_ext <<_ACEOF
35300 /* end confdefs.h. */
35310 rm -f conftest.$ac_objext conftest$ac_exeext
35311 if { (ac_try="$ac_link"
35312 case "(($ac_try" in
35313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35314 *) ac_try_echo
=$ac_try;;
35316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35317 (eval "$ac_link") 2>conftest.er1
35319 grep -v '^ *+' conftest.er1
>conftest.err
35321 cat conftest.err
>&5
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); } && {
35324 test -z "$ac_c_werror_flag" ||
35325 test ! -s conftest.err
35326 } && test -s conftest
$ac_exeext &&
35327 $as_test_x conftest
$ac_exeext; then
35329 { echo "$as_me:$LINENO: result: yes" >&5
35330 echo "${ECHO_T}yes" >&6; }
35331 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
35332 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
35335 echo "$as_me: failed program was:" >&5
35336 sed 's/^/| /' conftest.
$ac_ext >&5
35339 { echo "$as_me:$LINENO: result: no" >&5
35340 echo "${ECHO_T}no" >&6; }
35344 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35345 conftest
$ac_exeext conftest.
$ac_ext
35349 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35350 conftest
$ac_exeext conftest.
$ac_ext
35351 LDFLAGS
="$saveLdflags"
35355 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
35356 if test "$install_name_tool" -a -x "$install_name_tool"; then
35357 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35358 cat <<EOF >change-install-names
35360 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35361 for i in \${libnames} ; do
35362 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35363 for dep in \${libnames} ; do
35364 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35368 chmod +x change
-install-names
35369 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35372 HEADER_PAD_OPTION
="-headerpad_max_install_names"
35375 *-*-cygwin* | *-*-mingw32* )
35379 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
35380 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35386 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35388 if test $wxUSE_RPATH = "no"; then
35389 SAMPLES_RPATH_FLAG
=''
35390 DYLIB_PATH_POSTLINK
=''
35398 config_linkage_component
="-static"
35405 lib_unicode_suffix
=
35407 if test "$wxUSE_UNICODE" = "yes"; then
35408 lib_unicode_suffix
=u
35409 WX_CHARTYPE
="unicode"
35413 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
35414 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
35417 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35421 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35423 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35425 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35428 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35429 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35431 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35433 if test "${TOOLKIT_DIR}" = "os2"; then
35434 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35436 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35441 if test "$wxUSE_OLD_COCOA" = 1; then
35444 ac_cpp
='$CPP $CPPFLAGS'
35445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35451 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35452 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35453 cat >conftest.
$ac_ext <<_ACEOF
35456 cat confdefs.h
>>conftest.
$ac_ext
35457 cat >>conftest.
$ac_ext <<_ACEOF
35458 /* end confdefs.h. */
35459 #include <AppKit/NSEvent.h>
35460 #include <CoreFoundation/CoreFoundation.h>
35470 rm -f conftest.
$ac_objext
35471 if { (ac_try
="$ac_compile"
35472 case "(($ac_try" in
35473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35474 *) ac_try_echo=$ac_try;;
35476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35477 (eval "$ac_compile") 2>conftest.er1
35479 grep -v '^ *+' conftest.er1 >conftest.err
35481 cat conftest.err >&5
35482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35483 (exit $ac_status); } && {
35484 test -z "$ac_c_werror_flag" ||
35485 test ! -s conftest.err
35486 } && test -s conftest.$ac_objext; then
35487 { echo "$as_me:$LINENO: result: no" >&5
35488 echo "${ECHO_T}no" >&6; }
35490 echo "$as_me: failed program was:" >&5
35491 sed 's/^/| /' conftest.$ac_ext >&5
35493 { echo "$as_me:$LINENO: result: yes" >&5
35494 echo "${ECHO_T}yes" >&6; }
35495 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35496 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35497 cat >conftest.$ac_ext <<_ACEOF
35500 cat confdefs.h >>conftest.$ac_ext
35501 cat >>conftest.$ac_ext <<_ACEOF
35502 /* end confdefs.h. */
35503 #define __Point__ 1
35504 #include <AppKit/NSEvent.h>
35505 #include <CoreFoundation/CoreFoundation.h>
35515 rm -f conftest.$ac_objext
35516 if { (ac_try="$ac_compile"
35517 case "(($ac_try" in
35518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35519 *) ac_try_echo
=$ac_try;;
35521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35522 (eval "$ac_compile") 2>conftest.er1
35524 grep -v '^ *+' conftest.er1
>conftest.err
35526 cat conftest.err
>&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); } && {
35529 test -z "$ac_c_werror_flag" ||
35530 test ! -s conftest.err
35531 } && test -s conftest.
$ac_objext; then
35532 { echo "$as_me:$LINENO: result: yes" >&5
35533 echo "${ECHO_T}yes" >&6; }
35534 cat >>confdefs.h
<<\_ACEOF
35535 #define __Point__ 1
35540 echo "$as_me: failed program was:" >&5
35541 sed 's/^/| /' conftest.
$ac_ext >&5
35543 { { echo "$as_me:$LINENO: error: no
35544 See \`config.log' for more details." >&5
35545 echo "$as_me: error: no
35546 See \`config.log' for more details." >&2;}
35547 { (exit 1); exit 1; }; }
35551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35557 ac_cpp
='$CPP $CPPFLAGS'
35558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35565 { echo "$as_me:$LINENO: checking for mode_t" >&5
35566 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35567 if test "${ac_cv_type_mode_t+set}" = set; then
35568 echo $ECHO_N "(cached) $ECHO_C" >&6
35570 cat >conftest.
$ac_ext <<_ACEOF
35573 cat confdefs.h
>>conftest.
$ac_ext
35574 cat >>conftest.
$ac_ext <<_ACEOF
35575 /* end confdefs.h. */
35576 $ac_includes_default
35577 typedef mode_t ac__type_new_;
35581 if ((ac__type_new_ *) 0)
35583 if (sizeof (ac__type_new_))
35589 rm -f conftest.
$ac_objext
35590 if { (ac_try
="$ac_compile"
35591 case "(($ac_try" in
35592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35593 *) ac_try_echo=$ac_try;;
35595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35596 (eval "$ac_compile") 2>conftest.er1
35598 grep -v '^ *+' conftest.er1 >conftest.err
35600 cat conftest.err >&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); } && {
35603 test -z "$ac_c_werror_flag" ||
35604 test ! -s conftest.err
35605 } && test -s conftest.$ac_objext; then
35606 ac_cv_type_mode_t=yes
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.$ac_ext >&5
35611 ac_cv_type_mode_t=no
35614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35616 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35617 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35618 if test $ac_cv_type_mode_t = yes; then
35622 cat >>confdefs.h <<_ACEOF
35628 { echo "$as_me:$LINENO: checking for off_t" >&5
35629 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35630 if test "${ac_cv_type_off_t+set}" = set; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35633 cat >conftest.$ac_ext <<_ACEOF
35636 cat confdefs.h >>conftest.$ac_ext
35637 cat >>conftest.$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35639 $ac_includes_default
35640 typedef off_t ac__type_new_;
35644 if ((ac__type_new_ *) 0)
35646 if (sizeof (ac__type_new_))
35652 rm -f conftest.$ac_objext
35653 if { (ac_try="$ac_compile"
35654 case "(($ac_try" in
35655 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35656 *) ac_try_echo
=$ac_try;;
35658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35659 (eval "$ac_compile") 2>conftest.er1
35661 grep -v '^ *+' conftest.er1
>conftest.err
35663 cat conftest.err
>&5
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); } && {
35666 test -z "$ac_c_werror_flag" ||
35667 test ! -s conftest.err
35668 } && test -s conftest.
$ac_objext; then
35669 ac_cv_type_off_t
=yes
35671 echo "$as_me: failed program was:" >&5
35672 sed 's/^/| /' conftest.
$ac_ext >&5
35674 ac_cv_type_off_t
=no
35677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35679 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35680 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35681 if test $ac_cv_type_off_t = yes; then
35685 cat >>confdefs.h
<<_ACEOF
35686 #define off_t long int
35691 { echo "$as_me:$LINENO: checking for pid_t" >&5
35692 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35693 if test "${ac_cv_type_pid_t+set}" = set; then
35694 echo $ECHO_N "(cached) $ECHO_C" >&6
35696 cat >conftest.
$ac_ext <<_ACEOF
35699 cat confdefs.h
>>conftest.
$ac_ext
35700 cat >>conftest.
$ac_ext <<_ACEOF
35701 /* end confdefs.h. */
35702 $ac_includes_default
35703 typedef pid_t ac__type_new_;
35707 if ((ac__type_new_ *) 0)
35709 if (sizeof (ac__type_new_))
35715 rm -f conftest.
$ac_objext
35716 if { (ac_try
="$ac_compile"
35717 case "(($ac_try" in
35718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35719 *) ac_try_echo=$ac_try;;
35721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35722 (eval "$ac_compile") 2>conftest.er1
35724 grep -v '^ *+' conftest.er1 >conftest.err
35726 cat conftest.err >&5
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); } && {
35729 test -z "$ac_c_werror_flag" ||
35730 test ! -s conftest.err
35731 } && test -s conftest.$ac_objext; then
35732 ac_cv_type_pid_t=yes
35734 echo "$as_me: failed program was:" >&5
35735 sed 's/^/| /' conftest.$ac_ext >&5
35737 ac_cv_type_pid_t=no
35740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35742 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35743 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35744 if test $ac_cv_type_pid_t = yes; then
35748 cat >>confdefs.h <<_ACEOF
35754 { echo "$as_me:$LINENO: checking for size_t" >&5
35755 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35756 if test "${ac_cv_type_size_t+set}" = set; then
35757 echo $ECHO_N "(cached) $ECHO_C" >&6
35759 cat >conftest.$ac_ext <<_ACEOF
35762 cat confdefs.h >>conftest.$ac_ext
35763 cat >>conftest.$ac_ext <<_ACEOF
35764 /* end confdefs.h. */
35765 $ac_includes_default
35766 typedef size_t ac__type_new_;
35770 if ((ac__type_new_ *) 0)
35772 if (sizeof (ac__type_new_))
35778 rm -f conftest.$ac_objext
35779 if { (ac_try="$ac_compile"
35780 case "(($ac_try" in
35781 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35782 *) ac_try_echo
=$ac_try;;
35784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35785 (eval "$ac_compile") 2>conftest.er1
35787 grep -v '^ *+' conftest.er1
>conftest.err
35789 cat conftest.err
>&5
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); } && {
35792 test -z "$ac_c_werror_flag" ||
35793 test ! -s conftest.err
35794 } && test -s conftest.
$ac_objext; then
35795 ac_cv_type_size_t
=yes
35797 echo "$as_me: failed program was:" >&5
35798 sed 's/^/| /' conftest.
$ac_ext >&5
35800 ac_cv_type_size_t
=no
35803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35805 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35806 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35807 if test $ac_cv_type_size_t = yes; then
35811 cat >>confdefs.h
<<_ACEOF
35812 #define size_t unsigned int
35818 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35819 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35820 if test "${ac_cv_type_ssize_t+set}" = set; then
35821 echo $ECHO_N "(cached) $ECHO_C" >&6
35823 cat >conftest.
$ac_ext <<_ACEOF
35826 cat confdefs.h
>>conftest.
$ac_ext
35827 cat >>conftest.
$ac_ext <<_ACEOF
35828 /* end confdefs.h. */
35829 $ac_includes_default
35830 typedef ssize_t ac__type_new_;
35834 if ((ac__type_new_ *) 0)
35836 if (sizeof (ac__type_new_))
35842 rm -f conftest.
$ac_objext
35843 if { (ac_try
="$ac_compile"
35844 case "(($ac_try" in
35845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35846 *) ac_try_echo=$ac_try;;
35848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35849 (eval "$ac_compile") 2>conftest.er1
35851 grep -v '^ *+' conftest.er1 >conftest.err
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } && {
35856 test -z "$ac_c_werror_flag" ||
35857 test ! -s conftest.err
35858 } && test -s conftest.$ac_objext; then
35859 ac_cv_type_ssize_t=yes
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35864 ac_cv_type_ssize_t=no
35867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35869 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35870 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35871 if test $ac_cv_type_ssize_t = yes; then
35873 cat >>confdefs.h <<_ACEOF
35874 #define HAVE_SSIZE_T 1
35882 ac_cpp='$CXXCPP $CPPFLAGS'
35883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35886 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35887 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35888 if test "${wx_cv_size_t_is_uint+set}" = set; then
35889 echo $ECHO_N "(cached) $ECHO_C" >&6
35892 cat >conftest.$ac_ext <<_ACEOF
35895 cat confdefs.h >>conftest.$ac_ext
35896 cat >>conftest.$ac_ext <<_ACEOF
35897 /* end confdefs.h. */
35898 #include <stddef.h>
35905 struct Foo { void foo(size_t); void foo(unsigned int); };
35913 rm -f conftest.$ac_objext
35914 if { (ac_try="$ac_compile"
35915 case "(($ac_try" in
35916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35917 *) ac_try_echo
=$ac_try;;
35919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35920 (eval "$ac_compile") 2>conftest.er1
35922 grep -v '^ *+' conftest.er1
>conftest.err
35924 cat conftest.err
>&5
35925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35926 (exit $ac_status); } && {
35927 test -z "$ac_cxx_werror_flag" ||
35928 test ! -s conftest.err
35929 } && test -s conftest.
$ac_objext; then
35930 wx_cv_size_t_is_uint
=no
35932 echo "$as_me: failed program was:" >&5
35933 sed 's/^/| /' conftest.
$ac_ext >&5
35935 wx_cv_size_t_is_uint
=yes
35939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35943 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35944 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35946 if test "$wx_cv_size_t_is_uint" = "yes"; then
35947 cat >>confdefs.h
<<\_ACEOF
35948 #define wxSIZE_T_IS_UINT 1
35952 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35953 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35954 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35955 echo $ECHO_N "(cached) $ECHO_C" >&6
35957 cat >conftest.
$ac_ext <<_ACEOF
35960 cat confdefs.h
>>conftest.
$ac_ext
35961 cat >>conftest.
$ac_ext <<_ACEOF
35962 /* end confdefs.h. */
35963 #include <stddef.h>
35970 struct Foo { void foo(size_t); void foo(unsigned long); };
35978 rm -f conftest.
$ac_objext
35979 if { (ac_try
="$ac_compile"
35980 case "(($ac_try" in
35981 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35982 *) ac_try_echo=$ac_try;;
35984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35985 (eval "$ac_compile") 2>conftest.er1
35987 grep -v '^ *+' conftest.er1 >conftest.err
35989 cat conftest.err >&5
35990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991 (exit $ac_status); } && {
35992 test -z "$ac_cxx_werror_flag" ||
35993 test ! -s conftest.err
35994 } && test -s conftest.$ac_objext; then
35995 wx_cv_size_t_is_ulong=no
35997 echo "$as_me: failed program was:" >&5
35998 sed 's/^/| /' conftest.$ac_ext >&5
36000 wx_cv_size_t_is_ulong=yes
36004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36007 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36008 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36010 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36011 cat >>confdefs.h <<\_ACEOF
36012 #define wxSIZE_T_IS_ULONG 1
36018 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36019 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36020 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36021 echo $ECHO_N "(cached) $ECHO_C" >&6
36023 cat >conftest.$ac_ext <<_ACEOF
36026 cat confdefs.h >>conftest.$ac_ext
36027 cat >>conftest.$ac_ext <<_ACEOF
36028 /* end confdefs.h. */
36036 struct Foo { void foo(wchar_t);
36037 void foo(unsigned short);
36038 void foo(unsigned int);
36039 void foo(unsigned long); };
36047 rm -f conftest.$ac_objext
36048 if { (ac_try="$ac_compile"
36049 case "(($ac_try" in
36050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36051 *) ac_try_echo
=$ac_try;;
36053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36054 (eval "$ac_compile") 2>conftest.er1
36056 grep -v '^ *+' conftest.er1
>conftest.err
36058 cat conftest.err
>&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } && {
36061 test -z "$ac_cxx_werror_flag" ||
36062 test ! -s conftest.err
36063 } && test -s conftest.
$ac_objext; then
36064 wx_cv_wchar_t_is_separate_type
=yes
36066 echo "$as_me: failed program was:" >&5
36067 sed 's/^/| /' conftest.
$ac_ext >&5
36069 wx_cv_wchar_t_is_separate_type
=no
36073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36076 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36077 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36079 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36080 cat >>confdefs.h
<<\_ACEOF
36081 #define wxWCHAR_T_IS_REAL_TYPE 1
36085 cat >>confdefs.h
<<\_ACEOF
36086 #define wxWCHAR_T_IS_REAL_TYPE 0
36092 ac_cpp
='$CPP $CPPFLAGS'
36093 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36094 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36095 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36098 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36099 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36100 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36101 echo $ECHO_N "(cached) $ECHO_C" >&6
36104 cat >conftest.
$ac_ext <<_ACEOF
36107 cat confdefs.h
>>conftest.
$ac_ext
36108 cat >>conftest.
$ac_ext <<_ACEOF
36109 /* end confdefs.h. */
36123 rm -f conftest.
$ac_objext
36124 if { (ac_try
="$ac_compile"
36125 case "(($ac_try" in
36126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36127 *) ac_try_echo=$ac_try;;
36129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36130 (eval "$ac_compile") 2>conftest.er1
36132 grep -v '^ *+' conftest.er1 >conftest.err
36134 cat conftest.err >&5
36135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36136 (exit $ac_status); } && {
36137 test -z "$ac_c_werror_flag" ||
36138 test ! -s conftest.err
36139 } && test -s conftest.$ac_objext; then
36141 wx_cv_struct_pw_gecos=yes
36144 echo "$as_me: failed program was:" >&5
36145 sed 's/^/| /' conftest.$ac_ext >&5
36148 wx_cv_struct_pw_gecos=no
36153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36157 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36158 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36160 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36161 cat >>confdefs.h <<\_ACEOF
36162 #define HAVE_PW_GECOS 1
36171 for ac_func in wcslen
36173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36174 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36176 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36177 echo $ECHO_N "(cached) $ECHO_C" >&6
36179 cat >conftest.$ac_ext <<_ACEOF
36182 cat confdefs.h >>conftest.$ac_ext
36183 cat >>conftest.$ac_ext <<_ACEOF
36184 /* end confdefs.h. */
36185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36187 #define $ac_func innocuous_$ac_func
36189 /* System header to define __stub macros and hopefully few prototypes,
36190 which can conflict with char $ac_func (); below.
36191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36192 <limits.h> exists even on freestanding compilers. */
36195 # include <limits.h>
36197 # include <assert.h>
36202 /* Override any GCC internal prototype to avoid an error.
36203 Use char because int might match the return type of a GCC
36204 builtin and then its argument prototype would still apply. */
36209 /* The GNU C library defines this for functions which it implements
36210 to always fail with ENOSYS. Some functions are actually named
36211 something starting with __ and the normal name is an alias. */
36212 #if defined __stub_$ac_func || defined __stub___$ac_func
36219 return $ac_func ();
36224 rm -f conftest.$ac_objext conftest$ac_exeext
36225 if { (ac_try="$ac_link"
36226 case "(($ac_try" in
36227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36228 *) ac_try_echo
=$ac_try;;
36230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36231 (eval "$ac_link") 2>conftest.er1
36233 grep -v '^ *+' conftest.er1
>conftest.err
36235 cat conftest.err
>&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); } && {
36238 test -z "$ac_c_werror_flag" ||
36239 test ! -s conftest.err
36240 } && test -s conftest
$ac_exeext &&
36241 $as_test_x conftest
$ac_exeext; then
36242 eval "$as_ac_var=yes"
36244 echo "$as_me: failed program was:" >&5
36245 sed 's/^/| /' conftest.
$ac_ext >&5
36247 eval "$as_ac_var=no"
36250 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36251 conftest
$ac_exeext conftest.
$ac_ext
36253 ac_res
=`eval echo '${'$as_ac_var'}'`
36254 { echo "$as_me:$LINENO: result: $ac_res" >&5
36255 echo "${ECHO_T}$ac_res" >&6; }
36256 if test `eval echo '${'$as_ac_var'}'` = yes; then
36257 cat >>confdefs.h
<<_ACEOF
36258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36265 if test "$WCSLEN_FOUND" = 0; then
36266 if test "$TOOLKIT" = "MSW"; then
36267 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36268 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36269 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36270 echo $ECHO_N "(cached) $ECHO_C" >&6
36272 ac_check_lib_save_LIBS
=$LIBS
36273 LIBS
="-lmsvcrt $LIBS"
36274 cat >conftest.
$ac_ext <<_ACEOF
36277 cat confdefs.h
>>conftest.
$ac_ext
36278 cat >>conftest.
$ac_ext <<_ACEOF
36279 /* end confdefs.h. */
36281 /* Override any GCC internal prototype to avoid an error.
36282 Use char because int might match the return type of a GCC
36283 builtin and then its argument prototype would still apply. */
36296 rm -f conftest.
$ac_objext conftest
$ac_exeext
36297 if { (ac_try
="$ac_link"
36298 case "(($ac_try" in
36299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36300 *) ac_try_echo=$ac_try;;
36302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36303 (eval "$ac_link") 2>conftest.er1
36305 grep -v '^ *+' conftest.er1 >conftest.err
36307 cat conftest.err >&5
36308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36309 (exit $ac_status); } && {
36310 test -z "$ac_c_werror_flag" ||
36311 test ! -s conftest.err
36312 } && test -s conftest$ac_exeext &&
36313 $as_test_x conftest$ac_exeext; then
36314 ac_cv_lib_msvcrt_wcslen=yes
36316 echo "$as_me: failed program was:" >&5
36317 sed 's/^/| /' conftest.$ac_ext >&5
36319 ac_cv_lib_msvcrt_wcslen=no
36322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36323 conftest$ac_exeext conftest.$ac_ext
36324 LIBS=$ac_check_lib_save_LIBS
36326 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36327 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36328 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36333 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36334 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36335 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36336 echo $ECHO_N "(cached) $ECHO_C" >&6
36338 ac_check_lib_save_LIBS=$LIBS
36340 cat >conftest.$ac_ext <<_ACEOF
36343 cat confdefs.h >>conftest.$ac_ext
36344 cat >>conftest.$ac_ext <<_ACEOF
36345 /* end confdefs.h. */
36347 /* Override any GCC internal prototype to avoid an error.
36348 Use char because int might match the return type of a GCC
36349 builtin and then its argument prototype would still apply. */
36362 rm -f conftest.$ac_objext conftest$ac_exeext
36363 if { (ac_try="$ac_link"
36364 case "(($ac_try" in
36365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36366 *) ac_try_echo
=$ac_try;;
36368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36369 (eval "$ac_link") 2>conftest.er1
36371 grep -v '^ *+' conftest.er1
>conftest.err
36373 cat conftest.err
>&5
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); } && {
36376 test -z "$ac_c_werror_flag" ||
36377 test ! -s conftest.err
36378 } && test -s conftest
$ac_exeext &&
36379 $as_test_x conftest
$ac_exeext; then
36380 ac_cv_lib_w_wcslen
=yes
36382 echo "$as_me: failed program was:" >&5
36383 sed 's/^/| /' conftest.
$ac_ext >&5
36385 ac_cv_lib_w_wcslen
=no
36388 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36389 conftest
$ac_exeext conftest.
$ac_ext
36390 LIBS
=$ac_check_lib_save_LIBS
36392 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36393 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36394 if test $ac_cv_lib_w_wcslen = yes; then
36404 if test "$WCSLEN_FOUND" = 1; then
36405 cat >>confdefs.h
<<\_ACEOF
36406 #define HAVE_WCSLEN 1
36417 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36419 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36420 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36422 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36423 echo $ECHO_N "(cached) $ECHO_C" >&6
36425 cat >conftest.
$ac_ext <<_ACEOF
36428 cat confdefs.h
>>conftest.
$ac_ext
36429 cat >>conftest.
$ac_ext <<_ACEOF
36430 /* end confdefs.h. */
36431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36433 #define $ac_func innocuous_$ac_func
36435 /* System header to define __stub macros and hopefully few prototypes,
36436 which can conflict with char $ac_func (); below.
36437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36438 <limits.h> exists even on freestanding compilers. */
36441 # include <limits.h>
36443 # include <assert.h>
36448 /* Override any GCC internal prototype to avoid an error.
36449 Use char because int might match the return type of a GCC
36450 builtin and then its argument prototype would still apply. */
36455 /* The GNU C library defines this for functions which it implements
36456 to always fail with ENOSYS. Some functions are actually named
36457 something starting with __ and the normal name is an alias. */
36458 #if defined __stub_$ac_func || defined __stub___$ac_func
36465 return $ac_func ();
36470 rm -f conftest.
$ac_objext conftest
$ac_exeext
36471 if { (ac_try
="$ac_link"
36472 case "(($ac_try" in
36473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36474 *) ac_try_echo=$ac_try;;
36476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36477 (eval "$ac_link") 2>conftest.er1
36479 grep -v '^ *+' conftest.er1 >conftest.err
36481 cat conftest.err >&5
36482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483 (exit $ac_status); } && {
36484 test -z "$ac_c_werror_flag" ||
36485 test ! -s conftest.err
36486 } && test -s conftest$ac_exeext &&
36487 $as_test_x conftest$ac_exeext; then
36488 eval "$as_ac_var=yes"
36490 echo "$as_me: failed program was:" >&5
36491 sed 's/^/| /' conftest.$ac_ext >&5
36493 eval "$as_ac_var=no"
36496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36497 conftest$ac_exeext conftest.$ac_ext
36499 ac_res=`eval echo '${'$as_ac_var'}'`
36500 { echo "$as_me:$LINENO: result: $ac_res" >&5
36501 echo "${ECHO_T}$ac_res" >&6; }
36502 if test `eval echo '${'$as_ac_var'}'` = yes; then
36503 cat >>confdefs.h <<_ACEOF
36504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36511 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36512 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36515 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36516 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36517 if test "${ac_cv_type_mbstate_t+set}" = set; then
36518 echo $ECHO_N "(cached) $ECHO_C" >&6
36520 cat >conftest.$ac_ext <<_ACEOF
36523 cat confdefs.h >>conftest.$ac_ext
36524 cat >>conftest.$ac_ext <<_ACEOF
36525 /* end confdefs.h. */
36528 typedef mbstate_t ac__type_new_;
36532 if ((ac__type_new_ *) 0)
36534 if (sizeof (ac__type_new_))
36540 rm -f conftest.$ac_objext
36541 if { (ac_try="$ac_compile"
36542 case "(($ac_try" in
36543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36544 *) ac_try_echo
=$ac_try;;
36546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36547 (eval "$ac_compile") 2>conftest.er1
36549 grep -v '^ *+' conftest.er1
>conftest.err
36551 cat conftest.err
>&5
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); } && {
36554 test -z "$ac_c_werror_flag" ||
36555 test ! -s conftest.err
36556 } && test -s conftest.
$ac_objext; then
36557 ac_cv_type_mbstate_t
=yes
36559 echo "$as_me: failed program was:" >&5
36560 sed 's/^/| /' conftest.
$ac_ext >&5
36562 ac_cv_type_mbstate_t
=no
36565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36567 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36568 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36569 if test $ac_cv_type_mbstate_t = yes; then
36571 cat >>confdefs.h
<<_ACEOF
36572 #define HAVE_MBSTATE_T 1
36576 for ac_func
in wcsrtombs
36578 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36579 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36581 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36582 echo $ECHO_N "(cached) $ECHO_C" >&6
36584 cat >conftest.
$ac_ext <<_ACEOF
36587 cat confdefs.h
>>conftest.
$ac_ext
36588 cat >>conftest.
$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36592 #define $ac_func innocuous_$ac_func
36594 /* System header to define __stub macros and hopefully few prototypes,
36595 which can conflict with char $ac_func (); below.
36596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36597 <limits.h> exists even on freestanding compilers. */
36600 # include <limits.h>
36602 # include <assert.h>
36607 /* Override any GCC internal prototype to avoid an error.
36608 Use char because int might match the return type of a GCC
36609 builtin and then its argument prototype would still apply. */
36614 /* The GNU C library defines this for functions which it implements
36615 to always fail with ENOSYS. Some functions are actually named
36616 something starting with __ and the normal name is an alias. */
36617 #if defined __stub_$ac_func || defined __stub___$ac_func
36624 return $ac_func ();
36629 rm -f conftest.
$ac_objext conftest
$ac_exeext
36630 if { (ac_try
="$ac_link"
36631 case "(($ac_try" in
36632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36633 *) ac_try_echo=$ac_try;;
36635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36636 (eval "$ac_link") 2>conftest.er1
36638 grep -v '^ *+' conftest.er1 >conftest.err
36640 cat conftest.err >&5
36641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36642 (exit $ac_status); } && {
36643 test -z "$ac_c_werror_flag" ||
36644 test ! -s conftest.err
36645 } && test -s conftest$ac_exeext &&
36646 $as_test_x conftest$ac_exeext; then
36647 eval "$as_ac_var=yes"
36649 echo "$as_me: failed program was:" >&5
36650 sed 's/^/| /' conftest.$ac_ext >&5
36652 eval "$as_ac_var=no"
36655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36656 conftest$ac_exeext conftest.$ac_ext
36658 ac_res=`eval echo '${'$as_ac_var'}'`
36659 { echo "$as_me:$LINENO: result: $ac_res" >&5
36660 echo "${ECHO_T}$ac_res" >&6; }
36661 if test `eval echo '${'$as_ac_var'}'` = yes; then
36662 cat >>confdefs.h <<_ACEOF
36663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36675 for ac_func in snprintf vsnprintf vsscanf
36677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36681 echo $ECHO_N "(cached) $ECHO_C" >&6
36683 cat >conftest.$ac_ext <<_ACEOF
36686 cat confdefs.h >>conftest.$ac_ext
36687 cat >>conftest.$ac_ext <<_ACEOF
36688 /* end confdefs.h. */
36689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36691 #define $ac_func innocuous_$ac_func
36693 /* System header to define __stub macros and hopefully few prototypes,
36694 which can conflict with char $ac_func (); below.
36695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36696 <limits.h> exists even on freestanding compilers. */
36699 # include <limits.h>
36701 # include <assert.h>
36706 /* Override any GCC internal prototype to avoid an error.
36707 Use char because int might match the return type of a GCC
36708 builtin and then its argument prototype would still apply. */
36713 /* The GNU C library defines this for functions which it implements
36714 to always fail with ENOSYS. Some functions are actually named
36715 something starting with __ and the normal name is an alias. */
36716 #if defined __stub_$ac_func || defined __stub___$ac_func
36723 return $ac_func ();
36728 rm -f conftest.$ac_objext conftest$ac_exeext
36729 if { (ac_try="$ac_link"
36730 case "(($ac_try" in
36731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36732 *) ac_try_echo
=$ac_try;;
36734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36735 (eval "$ac_link") 2>conftest.er1
36737 grep -v '^ *+' conftest.er1
>conftest.err
36739 cat conftest.err
>&5
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); } && {
36742 test -z "$ac_c_werror_flag" ||
36743 test ! -s conftest.err
36744 } && test -s conftest
$ac_exeext &&
36745 $as_test_x conftest
$ac_exeext; then
36746 eval "$as_ac_var=yes"
36748 echo "$as_me: failed program was:" >&5
36749 sed 's/^/| /' conftest.
$ac_ext >&5
36751 eval "$as_ac_var=no"
36754 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36755 conftest
$ac_exeext conftest.
$ac_ext
36757 ac_res
=`eval echo '${'$as_ac_var'}'`
36758 { echo "$as_me:$LINENO: result: $ac_res" >&5
36759 echo "${ECHO_T}$ac_res" >&6; }
36760 if test `eval echo '${'$as_ac_var'}'` = yes; then
36761 cat >>confdefs.h
<<_ACEOF
36762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36770 ac_cpp
='$CXXCPP $CPPFLAGS'
36771 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36772 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36773 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36775 if test "$ac_cv_func_vsnprintf" = "yes"; then
36776 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36777 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36778 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36779 echo $ECHO_N "(cached) $ECHO_C" >&6
36782 cat >conftest.
$ac_ext <<_ACEOF
36785 cat confdefs.h
>>conftest.
$ac_ext
36786 cat >>conftest.
$ac_ext <<_ACEOF
36787 /* end confdefs.h. */
36790 #include <stdarg.h>
36792 #if __MSL__ >= 0x6000
36794 using namespace std;
36804 vsnprintf(buf, 10u, "%s", ap);
36810 rm -f conftest.
$ac_objext
36811 if { (ac_try
="$ac_compile"
36812 case "(($ac_try" in
36813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36814 *) ac_try_echo=$ac_try;;
36816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36817 (eval "$ac_compile") 2>conftest.er1
36819 grep -v '^ *+' conftest.er1 >conftest.err
36821 cat conftest.err >&5
36822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36823 (exit $ac_status); } && {
36824 test -z "$ac_cxx_werror_flag" ||
36825 test ! -s conftest.err
36826 } && test -s conftest.$ac_objext; then
36827 wx_cv_func_vsnprintf_decl=yes
36829 echo "$as_me: failed program was:" >&5
36830 sed 's/^/| /' conftest.$ac_ext >&5
36832 wx_cv_func_vsnprintf_decl=no
36836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36840 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36841 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36843 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36844 cat >>confdefs.h <<\_ACEOF
36845 #define HAVE_VSNPRINTF_DECL 1
36849 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36850 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36851 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36852 echo $ECHO_N "(cached) $ECHO_C" >&6
36855 cat >conftest.$ac_ext <<_ACEOF
36858 cat confdefs.h >>conftest.$ac_ext
36859 cat >>conftest.$ac_ext <<_ACEOF
36860 /* end confdefs.h. */
36863 #include <stdarg.h>
36865 #if __MSL__ >= 0x6000
36867 using namespace std;
36877 const char *fmt = "%s";
36878 vsnprintf(buf, 10u, fmt, ap);
36884 rm -f conftest.$ac_objext
36885 if { (ac_try="$ac_compile"
36886 case "(($ac_try" in
36887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36888 *) ac_try_echo
=$ac_try;;
36890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36891 (eval "$ac_compile") 2>conftest.er1
36893 grep -v '^ *+' conftest.er1
>conftest.err
36895 cat conftest.err
>&5
36896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36897 (exit $ac_status); } && {
36898 test -z "$ac_cxx_werror_flag" ||
36899 test ! -s conftest.err
36900 } && test -s conftest.
$ac_objext; then
36901 wx_cv_func_broken_vsnprintf_decl
=no
36903 echo "$as_me: failed program was:" >&5
36904 sed 's/^/| /' conftest.
$ac_ext >&5
36906 wx_cv_func_broken_vsnprintf_decl
=yes
36910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36914 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36915 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36917 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36918 cat >>confdefs.h
<<\_ACEOF
36919 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36926 if test "$ac_cv_func_snprintf" = "yes"; then
36927 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36928 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36929 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36930 echo $ECHO_N "(cached) $ECHO_C" >&6
36933 cat >conftest.
$ac_ext <<_ACEOF
36936 cat confdefs.h
>>conftest.
$ac_ext
36937 cat >>conftest.
$ac_ext <<_ACEOF
36938 /* end confdefs.h. */
36941 #include <stdarg.h>
36943 #if __MSL__ >= 0x6000
36945 using namespace std;
36954 snprintf(buf, 10u, "%s", "wx");
36960 rm -f conftest.
$ac_objext
36961 if { (ac_try
="$ac_compile"
36962 case "(($ac_try" in
36963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36964 *) ac_try_echo=$ac_try;;
36966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36967 (eval "$ac_compile") 2>conftest.er1
36969 grep -v '^ *+' conftest.er1 >conftest.err
36971 cat conftest.err >&5
36972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36973 (exit $ac_status); } && {
36974 test -z "$ac_cxx_werror_flag" ||
36975 test ! -s conftest.err
36976 } && test -s conftest.$ac_objext; then
36977 wx_cv_func_snprintf_decl=yes
36979 echo "$as_me: failed program was:" >&5
36980 sed 's/^/| /' conftest.$ac_ext >&5
36982 wx_cv_func_snprintf_decl=no
36986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36990 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36991 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36993 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36994 cat >>confdefs.h <<\_ACEOF
36995 #define HAVE_SNPRINTF_DECL 1
37000 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37002 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37003 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37004 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37005 echo $ECHO_N "(cached) $ECHO_C" >&6
37008 if test "$cross_compiling" = yes; then
37010 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37011 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37012 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37013 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37014 wx_cv_func_snprintf_pos_params=no
37018 cat >conftest.$ac_ext <<_ACEOF
37021 cat confdefs.h >>conftest.$ac_ext
37022 cat >>conftest.$ac_ext <<_ACEOF
37023 /* end confdefs.h. */
37030 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37031 if (strcmp ("2 3 1", buffer) == 0)
37037 rm -f conftest$ac_exeext
37038 if { (ac_try="$ac_link"
37039 case "(($ac_try" in
37040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37041 *) ac_try_echo
=$ac_try;;
37043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37044 (eval "$ac_link") 2>&5
37046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37047 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37048 { (case "(($ac_try" in
37049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37050 *) ac_try_echo=$ac_try;;
37052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37053 (eval "$ac_try") 2>&5
37055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37056 (exit $ac_status); }; }; then
37057 wx_cv_func_snprintf_pos_params=no
37059 echo "$as_me: program exited with status $ac_status" >&5
37060 echo "$as_me: failed program was:" >&5
37061 sed 's/^/| /' conftest.$ac_ext >&5
37063 ( exit $ac_status )
37064 wx_cv_func_snprintf_pos_params=yes
37066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37073 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37074 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37076 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37077 cat >>confdefs.h <<\_ACEOF
37078 #define HAVE_UNIX98_PRINTF 1
37085 if test "$ac_cv_func_vsscanf" = "yes"; then
37086 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37087 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37088 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37089 echo $ECHO_N "(cached) $ECHO_C" >&6
37092 cat >conftest.$ac_ext <<_ACEOF
37095 cat confdefs.h >>conftest.$ac_ext
37096 cat >>conftest.$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37100 #include <stdarg.h>
37102 #if __MSL__ >= 0x6000
37104 using namespace std;
37114 vsscanf(buf, "%s", args);
37120 rm -f conftest.$ac_objext
37121 if { (ac_try="$ac_compile"
37122 case "(($ac_try" in
37123 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37124 *) ac_try_echo
=$ac_try;;
37126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37127 (eval "$ac_compile") 2>conftest.er1
37129 grep -v '^ *+' conftest.er1
>conftest.err
37131 cat conftest.err
>&5
37132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37133 (exit $ac_status); } && {
37134 test -z "$ac_cxx_werror_flag" ||
37135 test ! -s conftest.err
37136 } && test -s conftest.
$ac_objext; then
37137 wx_cv_func_vsscanf_decl
=yes
37139 echo "$as_me: failed program was:" >&5
37140 sed 's/^/| /' conftest.
$ac_ext >&5
37142 wx_cv_func_vsscanf_decl
=no
37146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37150 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37151 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37153 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37154 cat >>confdefs.h
<<\_ACEOF
37155 #define HAVE_VSSCANF_DECL 1
37161 ac_cpp
='$CPP $CPPFLAGS'
37162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37167 if test "$wxUSE_UNICODE" = yes; then
37169 wchar_headers
="#include <stdio.h>
37170 #include <wchar.h>"
37174 for ac_header
in widec.h
37176 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37177 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37179 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37180 echo $ECHO_N "(cached) $ECHO_C" >&6
37182 cat >conftest.
$ac_ext <<_ACEOF
37185 cat confdefs.h
>>conftest.
$ac_ext
37186 cat >>conftest.
$ac_ext <<_ACEOF
37187 /* end confdefs.h. */
37188 $ac_includes_default
37190 #include <$ac_header>
37192 rm -f conftest.
$ac_objext
37193 if { (ac_try
="$ac_compile"
37194 case "(($ac_try" in
37195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37196 *) ac_try_echo=$ac_try;;
37198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37199 (eval "$ac_compile") 2>conftest.er1
37201 grep -v '^ *+' conftest.er1 >conftest.err
37203 cat conftest.err >&5
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); } && {
37206 test -z "$ac_c_werror_flag" ||
37207 test ! -s conftest.err
37208 } && test -s conftest.$ac_objext; then
37209 eval "$as_ac_Header=yes"
37211 echo "$as_me: failed program was:" >&5
37212 sed 's/^/| /' conftest.$ac_ext >&5
37214 eval "$as_ac_Header=no"
37217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37219 ac_res=`eval echo '${'$as_ac_Header'}'`
37220 { echo "$as_me:$LINENO: result: $ac_res" >&5
37221 echo "${ECHO_T}$ac_res" >&6; }
37222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37223 cat >>confdefs.h <<_ACEOF
37224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37231 if test "$ac_cv_header_widec_h" = "yes"; then
37232 wchar_headers="$wchar_headers
37233 #include <widec.h>"
37238 for wx_func in putws fputws wprintf vswprintf vswscanf
37240 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37241 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37242 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37243 echo $ECHO_N "(cached) $ECHO_C" >&6
37246 cat >conftest.$ac_ext <<_ACEOF
37250 cat confdefs.h >>conftest.$ac_ext
37251 cat >>conftest.$ac_ext <<_ACEOF
37252 /* end confdefs.h. */
37255 $ac_includes_default
37271 rm -f conftest.$ac_objext conftest$ac_exeext
37272 if { (ac_try="$ac_link"
37273 case "(($ac_try" in
37274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37275 *) ac_try_echo
=$ac_try;;
37277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37278 (eval "$ac_link") 2>conftest.er1
37280 grep -v '^ *+' conftest.er1
>conftest.err
37282 cat conftest.err
>&5
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); } && {
37285 test -z "$ac_c_werror_flag" ||
37286 test ! -s conftest.err
37287 } && test -s conftest
$ac_exeext &&
37288 $as_test_x conftest
$ac_exeext; then
37289 eval wx_cv_func_
$wx_func=yes
37291 echo "$as_me: failed program was:" >&5
37292 sed 's/^/| /' conftest.
$ac_ext >&5
37294 eval wx_cv_func_
$wx_func=no
37297 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37298 conftest
$ac_exeext conftest.
$ac_ext
37301 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37302 { echo "$as_me:$LINENO: result: $ac_res" >&5
37303 echo "${ECHO_T}$ac_res" >&6; }
37305 if eval test \
$wx_cv_func_$wx_func = yes
37307 cat >>confdefs.h
<<_ACEOF
37308 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37319 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37320 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37321 cat >conftest.
$ac_ext <<_ACEOF
37324 cat confdefs.h
>>conftest.
$ac_ext
37325 cat >>conftest.
$ac_ext <<_ACEOF
37326 /* end confdefs.h. */
37336 rm -f conftest.
$ac_objext
37337 if { (ac_try
="$ac_compile"
37338 case "(($ac_try" in
37339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37340 *) ac_try_echo=$ac_try;;
37342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37343 (eval "$ac_compile") 2>conftest.er1
37345 grep -v '^ *+' conftest.er1 >conftest.err
37347 cat conftest.err >&5
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); } && {
37350 test -z "$ac_c_werror_flag" ||
37351 test ! -s conftest.err
37352 } && test -s conftest.$ac_objext; then
37353 { echo "$as_me:$LINENO: result: yes" >&5
37354 echo "${ECHO_T}yes" >&6; }
37355 cat >>confdefs.h <<\_ACEOF
37356 #define HAVE__VSNWPRINTF 1
37360 echo "$as_me: failed program was:" >&5
37361 sed 's/^/| /' conftest.$ac_ext >&5
37363 { echo "$as_me:$LINENO: result: no" >&5
37364 echo "${ECHO_T}no" >&6; }
37367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37370 if test "$wxUSE_FILE" = "yes"; then
37372 for wx_func in fsync
37374 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37375 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37376 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37377 echo $ECHO_N "(cached) $ECHO_C" >&6
37380 cat >conftest.$ac_ext <<_ACEOF
37384 cat confdefs.h >>conftest.$ac_ext
37385 cat >>conftest.$ac_ext <<_ACEOF
37386 /* end confdefs.h. */
37389 $ac_includes_default
37405 rm -f conftest.$ac_objext conftest$ac_exeext
37406 if { (ac_try="$ac_link"
37407 case "(($ac_try" in
37408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37409 *) ac_try_echo
=$ac_try;;
37411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37412 (eval "$ac_link") 2>conftest.er1
37414 grep -v '^ *+' conftest.er1
>conftest.err
37416 cat conftest.err
>&5
37417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37418 (exit $ac_status); } && {
37419 test -z "$ac_c_werror_flag" ||
37420 test ! -s conftest.err
37421 } && test -s conftest
$ac_exeext &&
37422 $as_test_x conftest
$ac_exeext; then
37423 eval wx_cv_func_
$wx_func=yes
37425 echo "$as_me: failed program was:" >&5
37426 sed 's/^/| /' conftest.
$ac_ext >&5
37428 eval wx_cv_func_
$wx_func=no
37431 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37432 conftest
$ac_exeext conftest.
$ac_ext
37435 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37436 { echo "$as_me:$LINENO: result: $ac_res" >&5
37437 echo "${ECHO_T}$ac_res" >&6; }
37439 if eval test \
$wx_cv_func_$wx_func = yes
37441 cat >>confdefs.h
<<_ACEOF
37442 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37455 ac_cpp
='$CXXCPP $CPPFLAGS'
37456 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37457 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37458 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37461 for wx_func
in round
37463 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37464 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37465 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37466 echo $ECHO_N "(cached) $ECHO_C" >&6
37469 cat >conftest.
$ac_ext <<_ACEOF
37473 cat confdefs.h
>>conftest.
$ac_ext
37474 cat >>conftest.
$ac_ext <<_ACEOF
37475 /* end confdefs.h. */
37478 $ac_includes_default
37494 rm -f conftest.
$ac_objext conftest
$ac_exeext
37495 if { (ac_try
="$ac_link"
37496 case "(($ac_try" in
37497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37498 *) ac_try_echo=$ac_try;;
37500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37501 (eval "$ac_link") 2>conftest.er1
37503 grep -v '^ *+' conftest.er1 >conftest.err
37505 cat conftest.err >&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); } && {
37508 test -z "$ac_cxx_werror_flag" ||
37509 test ! -s conftest.err
37510 } && test -s conftest$ac_exeext &&
37511 $as_test_x conftest$ac_exeext; then
37512 eval wx_cv_func_$wx_func=yes
37514 echo "$as_me: failed program was:" >&5
37515 sed 's/^/| /' conftest.$ac_ext >&5
37517 eval wx_cv_func_$wx_func=no
37520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37521 conftest$ac_exeext conftest.$ac_ext
37524 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37525 { echo "$as_me:$LINENO: result: $ac_res" >&5
37526 echo "${ECHO_T}$ac_res" >&6; }
37528 if eval test \$wx_cv_func_$wx_func = yes
37530 cat >>confdefs.h <<_ACEOF
37531 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37542 ac_cpp='$CPP $CPPFLAGS'
37543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37548 if test "$TOOLKIT" != "MSW"; then
37550 if test "$wxUSE_LIBICONV" != "no" ; then
37554 # Check whether --with-libiconv-prefix was given.
37555 if test "${with_libiconv_prefix+set}" = set; then
37556 withval=$with_libiconv_prefix;
37557 for dir in `echo "$withval" | tr : ' '`; do
37558 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37559 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37565 { echo "$as_me:$LINENO: checking for iconv" >&5
37566 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37567 if test "${am_cv_func_iconv+set}" = set; then
37568 echo $ECHO_N "(cached) $ECHO_C" >&6
37571 am_cv_func_iconv="no, consider installing GNU libiconv"
37573 cat >conftest.$ac_ext <<_ACEOF
37576 cat confdefs.h >>conftest.$ac_ext
37577 cat >>conftest.$ac_ext <<_ACEOF
37578 /* end confdefs.h. */
37579 #include <stdlib.h>
37584 iconv_t cd = iconv_open("","");
37585 iconv(cd,NULL,NULL,NULL,NULL);
37591 rm -f conftest.$ac_objext conftest$ac_exeext
37592 if { (ac_try="$ac_link"
37593 case "(($ac_try" in
37594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37595 *) ac_try_echo
=$ac_try;;
37597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37598 (eval "$ac_link") 2>conftest.er1
37600 grep -v '^ *+' conftest.er1
>conftest.err
37602 cat conftest.err
>&5
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); } && {
37605 test -z "$ac_c_werror_flag" ||
37606 test ! -s conftest.err
37607 } && test -s conftest
$ac_exeext &&
37608 $as_test_x conftest
$ac_exeext; then
37609 am_cv_func_iconv
=yes
37611 echo "$as_me: failed program was:" >&5
37612 sed 's/^/| /' conftest.
$ac_ext >&5
37617 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37618 conftest
$ac_exeext conftest.
$ac_ext
37619 if test "$am_cv_func_iconv" != yes; then
37620 am_save_LIBS
="$LIBS"
37621 LIBS
="$LIBS -liconv"
37622 cat >conftest.
$ac_ext <<_ACEOF
37625 cat confdefs.h
>>conftest.
$ac_ext
37626 cat >>conftest.
$ac_ext <<_ACEOF
37627 /* end confdefs.h. */
37628 #include <stdlib.h>
37633 iconv_t cd = iconv_open("","");
37634 iconv(cd,NULL,NULL,NULL,NULL);
37640 rm -f conftest.
$ac_objext conftest
$ac_exeext
37641 if { (ac_try
="$ac_link"
37642 case "(($ac_try" in
37643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37644 *) ac_try_echo=$ac_try;;
37646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37647 (eval "$ac_link") 2>conftest.er1
37649 grep -v '^ *+' conftest.er1 >conftest.err
37651 cat conftest.err >&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); } && {
37654 test -z "$ac_c_werror_flag" ||
37655 test ! -s conftest.err
37656 } && test -s conftest$ac_exeext &&
37657 $as_test_x conftest$ac_exeext; then
37658 am_cv_lib_iconv=yes
37659 am_cv_func_iconv=yes
37661 echo "$as_me: failed program was:" >&5
37662 sed 's/^/| /' conftest.$ac_ext >&5
37667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37668 conftest$ac_exeext conftest.$ac_ext
37669 LIBS="$am_save_LIBS"
37673 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37674 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37675 if test "$am_cv_func_iconv" = yes; then
37677 cat >>confdefs.h <<\_ACEOF
37678 #define HAVE_ICONV 1
37681 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37682 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37683 if test "${wx_cv_func_iconv_const+set}" = set; then
37684 echo $ECHO_N "(cached) $ECHO_C" >&6
37686 cat >conftest.$ac_ext <<_ACEOF
37689 cat confdefs.h >>conftest.$ac_ext
37690 cat >>conftest.$ac_ext <<_ACEOF
37691 /* end confdefs.h. */
37693 #include <stdlib.h>
37699 #if defined(__STDC__) || defined(__cplusplus)
37700 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37713 rm -f conftest.$ac_objext
37714 if { (ac_try="$ac_compile"
37715 case "(($ac_try" in
37716 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37717 *) ac_try_echo
=$ac_try;;
37719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37720 (eval "$ac_compile") 2>conftest.er1
37722 grep -v '^ *+' conftest.er1
>conftest.err
37724 cat conftest.err
>&5
37725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37726 (exit $ac_status); } && {
37727 test -z "$ac_c_werror_flag" ||
37728 test ! -s conftest.err
37729 } && test -s conftest.
$ac_objext; then
37730 wx_cv_func_iconv_const
="no"
37732 echo "$as_me: failed program was:" >&5
37733 sed 's/^/| /' conftest.
$ac_ext >&5
37735 wx_cv_func_iconv_const
="yes"
37739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37742 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37743 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37746 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37747 iconv_const
="const"
37751 cat >>confdefs.h
<<_ACEOF
37752 #define ICONV_CONST $iconv_const
37757 if test "$am_cv_lib_iconv" = yes; then
37762 LIBS
="$LIBICONV $LIBS"
37765 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37767 for ac_func
in sigaction
37769 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37770 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37772 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37773 echo $ECHO_N "(cached) $ECHO_C" >&6
37775 cat >conftest.
$ac_ext <<_ACEOF
37778 cat confdefs.h
>>conftest.
$ac_ext
37779 cat >>conftest.
$ac_ext <<_ACEOF
37780 /* end confdefs.h. */
37781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37783 #define $ac_func innocuous_$ac_func
37785 /* System header to define __stub macros and hopefully few prototypes,
37786 which can conflict with char $ac_func (); below.
37787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37788 <limits.h> exists even on freestanding compilers. */
37791 # include <limits.h>
37793 # include <assert.h>
37798 /* Override any GCC internal prototype to avoid an error.
37799 Use char because int might match the return type of a GCC
37800 builtin and then its argument prototype would still apply. */
37805 /* The GNU C library defines this for functions which it implements
37806 to always fail with ENOSYS. Some functions are actually named
37807 something starting with __ and the normal name is an alias. */
37808 #if defined __stub_$ac_func || defined __stub___$ac_func
37815 return $ac_func ();
37820 rm -f conftest.
$ac_objext conftest
$ac_exeext
37821 if { (ac_try
="$ac_link"
37822 case "(($ac_try" in
37823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37824 *) ac_try_echo=$ac_try;;
37826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37827 (eval "$ac_link") 2>conftest.er1
37829 grep -v '^ *+' conftest.er1 >conftest.err
37831 cat conftest.err >&5
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); } && {
37834 test -z "$ac_c_werror_flag" ||
37835 test ! -s conftest.err
37836 } && test -s conftest$ac_exeext &&
37837 $as_test_x conftest$ac_exeext; then
37838 eval "$as_ac_var=yes"
37840 echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.$ac_ext >&5
37843 eval "$as_ac_var=no"
37846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37847 conftest$ac_exeext conftest.$ac_ext
37849 ac_res=`eval echo '${'$as_ac_var'}'`
37850 { echo "$as_me:$LINENO: result: $ac_res" >&5
37851 echo "${ECHO_T}$ac_res" >&6; }
37852 if test `eval echo '${'$as_ac_var'}'` = yes; then
37853 cat >>confdefs.h <<_ACEOF
37854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37861 if test "$ac_cv_func_sigaction" = "no"; then
37862 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37863 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37864 wxUSE_ON_FATAL_EXCEPTION=no
37867 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37868 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37869 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37870 if test "${wx_cv_type_sa_handler+set}" = set; then
37871 echo $ECHO_N "(cached) $ECHO_C" >&6
37875 ac_cpp='$CXXCPP $CPPFLAGS'
37876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37880 cat >conftest.$ac_ext <<_ACEOF
37883 cat confdefs.h >>conftest.$ac_ext
37884 cat >>conftest.$ac_ext <<_ACEOF
37885 /* end confdefs.h. */
37886 #include <signal.h>
37891 extern void testSigHandler(int);
37893 struct sigaction sa;
37894 sa.sa_handler = testSigHandler;
37900 rm -f conftest.$ac_objext
37901 if { (ac_try="$ac_compile"
37902 case "(($ac_try" in
37903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37904 *) ac_try_echo
=$ac_try;;
37906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37907 (eval "$ac_compile") 2>conftest.er1
37909 grep -v '^ *+' conftest.er1
>conftest.err
37911 cat conftest.err
>&5
37912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37913 (exit $ac_status); } && {
37914 test -z "$ac_cxx_werror_flag" ||
37915 test ! -s conftest.err
37916 } && test -s conftest.
$ac_objext; then
37918 wx_cv_type_sa_handler
=int
37921 echo "$as_me: failed program was:" >&5
37922 sed 's/^/| /' conftest.
$ac_ext >&5
37925 wx_cv_type_sa_handler
=void
37929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37931 ac_cpp
='$CPP $CPPFLAGS'
37932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37938 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37939 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37941 cat >>confdefs.h
<<_ACEOF
37942 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37948 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37949 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37950 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37951 if test "${wx_cv_func_backtrace+set}" = set; then
37952 echo $ECHO_N "(cached) $ECHO_C" >&6
37956 ac_cpp
='$CXXCPP $CPPFLAGS'
37957 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37958 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37959 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37961 cat >conftest.
$ac_ext <<_ACEOF
37964 cat confdefs.h
>>conftest.
$ac_ext
37965 cat >>conftest.
$ac_ext <<_ACEOF
37966 /* end confdefs.h. */
37967 #include <execinfo.h>
37975 backtrace(trace, 1);
37976 messages = backtrace_symbols(trace, 1);
37982 rm -f conftest.
$ac_objext
37983 if { (ac_try
="$ac_compile"
37984 case "(($ac_try" in
37985 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37986 *) ac_try_echo=$ac_try;;
37988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37989 (eval "$ac_compile") 2>conftest.er1
37991 grep -v '^ *+' conftest.er1 >conftest.err
37993 cat conftest.err >&5
37994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37995 (exit $ac_status); } && {
37996 test -z "$ac_cxx_werror_flag" ||
37997 test ! -s conftest.err
37998 } && test -s conftest.$ac_objext; then
37999 wx_cv_func_backtrace=yes
38001 echo "$as_me: failed program was:" >&5
38002 sed 's/^/| /' conftest.$ac_ext >&5
38004 wx_cv_func_backtrace=no
38008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38010 ac_cpp='$CPP $CPPFLAGS'
38011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38018 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38019 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38022 if test "$wx_cv_func_backtrace" = "no"; then
38023 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38024 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38025 wxUSE_STACKWALKER=no
38027 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38028 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38029 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38030 echo $ECHO_N "(cached) $ECHO_C" >&6
38034 ac_cpp='$CXXCPP $CPPFLAGS'
38035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38039 cat >conftest.$ac_ext <<_ACEOF
38042 cat confdefs.h >>conftest.$ac_ext
38043 cat >>conftest.$ac_ext <<_ACEOF
38044 /* end confdefs.h. */
38045 #include <cxxabi.h>
38051 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38057 rm -f conftest.$ac_objext conftest$ac_exeext
38058 if { (ac_try="$ac_link"
38059 case "(($ac_try" in
38060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38061 *) ac_try_echo
=$ac_try;;
38063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38064 (eval "$ac_link") 2>conftest.er1
38066 grep -v '^ *+' conftest.er1
>conftest.err
38068 cat conftest.err
>&5
38069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070 (exit $ac_status); } && {
38071 test -z "$ac_cxx_werror_flag" ||
38072 test ! -s conftest.err
38073 } && test -s conftest
$ac_exeext &&
38074 $as_test_x conftest
$ac_exeext; then
38075 wx_cv_func_cxa_demangle
=yes
38077 echo "$as_me: failed program was:" >&5
38078 sed 's/^/| /' conftest.
$ac_ext >&5
38080 wx_cv_func_cxa_demangle
=no
38084 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38085 conftest
$ac_exeext conftest.
$ac_ext
38087 ac_cpp
='$CPP $CPPFLAGS'
38088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38095 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38096 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38098 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38099 cat >>confdefs.h
<<\_ACEOF
38100 #define HAVE_CXA_DEMANGLE 1
38107 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38108 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38109 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38110 wxUSE_STACKWALKER
=no
38116 for ac_func
in mkstemp mktemp
38118 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38121 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38122 echo $ECHO_N "(cached) $ECHO_C" >&6
38124 cat >conftest.
$ac_ext <<_ACEOF
38127 cat confdefs.h
>>conftest.
$ac_ext
38128 cat >>conftest.
$ac_ext <<_ACEOF
38129 /* end confdefs.h. */
38130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38132 #define $ac_func innocuous_$ac_func
38134 /* System header to define __stub macros and hopefully few prototypes,
38135 which can conflict with char $ac_func (); below.
38136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38137 <limits.h> exists even on freestanding compilers. */
38140 # include <limits.h>
38142 # include <assert.h>
38147 /* Override any GCC internal prototype to avoid an error.
38148 Use char because int might match the return type of a GCC
38149 builtin and then its argument prototype would still apply. */
38154 /* The GNU C library defines this for functions which it implements
38155 to always fail with ENOSYS. Some functions are actually named
38156 something starting with __ and the normal name is an alias. */
38157 #if defined __stub_$ac_func || defined __stub___$ac_func
38164 return $ac_func ();
38169 rm -f conftest.
$ac_objext conftest
$ac_exeext
38170 if { (ac_try
="$ac_link"
38171 case "(($ac_try" in
38172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38173 *) ac_try_echo=$ac_try;;
38175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38176 (eval "$ac_link") 2>conftest.er1
38178 grep -v '^ *+' conftest.er1 >conftest.err
38180 cat conftest.err >&5
38181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182 (exit $ac_status); } && {
38183 test -z "$ac_c_werror_flag" ||
38184 test ! -s conftest.err
38185 } && test -s conftest$ac_exeext &&
38186 $as_test_x conftest$ac_exeext; then
38187 eval "$as_ac_var=yes"
38189 echo "$as_me: failed program was:" >&5
38190 sed 's/^/| /' conftest.$ac_ext >&5
38192 eval "$as_ac_var=no"
38195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38196 conftest$ac_exeext conftest.$ac_ext
38198 ac_res=`eval echo '${'$as_ac_var'}'`
38199 { echo "$as_me:$LINENO: result: $ac_res" >&5
38200 echo "${ECHO_T}$ac_res" >&6; }
38201 if test `eval echo '${'$as_ac_var'}'` = yes; then
38202 cat >>confdefs.h <<_ACEOF
38203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38210 { echo "$as_me:$LINENO: checking for statfs" >&5
38211 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38212 if test "${wx_cv_func_statfs+set}" = set; then
38213 echo $ECHO_N "(cached) $ECHO_C" >&6
38215 cat >conftest.$ac_ext <<_ACEOF
38218 cat confdefs.h >>conftest.$ac_ext
38219 cat >>conftest.$ac_ext <<_ACEOF
38220 /* end confdefs.h. */
38222 #if defined(__BSD__)
38223 #include <sys/param.h>
38224 #include <sys/mount.h>
38226 #include <sys/vfs.h>
38244 rm -f conftest.$ac_objext
38245 if { (ac_try="$ac_compile"
38246 case "(($ac_try" in
38247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38248 *) ac_try_echo
=$ac_try;;
38250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38251 (eval "$ac_compile") 2>conftest.er1
38253 grep -v '^ *+' conftest.er1
>conftest.err
38255 cat conftest.err
>&5
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); } && {
38258 test -z "$ac_c_werror_flag" ||
38259 test ! -s conftest.err
38260 } && test -s conftest.
$ac_objext; then
38261 wx_cv_func_statfs
=yes
38263 echo "$as_me: failed program was:" >&5
38264 sed 's/^/| /' conftest.
$ac_ext >&5
38266 wx_cv_func_statfs
=no
38270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38273 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38274 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38276 if test "$wx_cv_func_statfs" = "yes"; then
38277 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38278 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38279 if test "${wx_cv_func_statfs_decl+set}" = set; then
38280 echo $ECHO_N "(cached) $ECHO_C" >&6
38283 ac_cpp
='$CXXCPP $CPPFLAGS'
38284 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38288 cat >conftest.
$ac_ext <<_ACEOF
38291 cat confdefs.h
>>conftest.
$ac_ext
38292 cat >>conftest.
$ac_ext <<_ACEOF
38293 /* end confdefs.h. */
38295 #if defined(__BSD__)
38296 #include <sys/param.h>
38297 #include <sys/mount.h>
38299 #include <sys/vfs.h>
38313 rm -f conftest.
$ac_objext
38314 if { (ac_try
="$ac_compile"
38315 case "(($ac_try" in
38316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38317 *) ac_try_echo=$ac_try;;
38319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38320 (eval "$ac_compile") 2>conftest.er1
38322 grep -v '^ *+' conftest.er1 >conftest.err
38324 cat conftest.err >&5
38325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38326 (exit $ac_status); } && {
38327 test -z "$ac_cxx_werror_flag" ||
38328 test ! -s conftest.err
38329 } && test -s conftest.$ac_objext; then
38330 wx_cv_func_statfs_decl=yes
38332 echo "$as_me: failed program was:" >&5
38333 sed 's/^/| /' conftest.$ac_ext >&5
38335 wx_cv_func_statfs_decl=no
38339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38341 ac_cpp='$CPP $CPPFLAGS'
38342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38348 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38349 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38351 if test "$wx_cv_func_statfs_decl" = "yes"; then
38352 cat >>confdefs.h <<\_ACEOF
38353 #define HAVE_STATFS_DECL 1
38358 wx_cv_type_statvfs_t="struct statfs"
38359 cat >>confdefs.h <<\_ACEOF
38360 #define HAVE_STATFS 1
38364 { echo "$as_me:$LINENO: checking for statvfs" >&5
38365 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38366 if test "${wx_cv_func_statvfs+set}" = set; then
38367 echo $ECHO_N "(cached) $ECHO_C" >&6
38369 cat >conftest.$ac_ext <<_ACEOF
38372 cat confdefs.h >>conftest.$ac_ext
38373 cat >>conftest.$ac_ext <<_ACEOF
38374 /* end confdefs.h. */
38376 #include <stddef.h>
38377 #include <sys/statvfs.h>
38383 statvfs("/", NULL);
38389 rm -f conftest.$ac_objext
38390 if { (ac_try="$ac_compile"
38391 case "(($ac_try" in
38392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38393 *) ac_try_echo
=$ac_try;;
38395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38396 (eval "$ac_compile") 2>conftest.er1
38398 grep -v '^ *+' conftest.er1
>conftest.err
38400 cat conftest.err
>&5
38401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38402 (exit $ac_status); } && {
38403 test -z "$ac_c_werror_flag" ||
38404 test ! -s conftest.err
38405 } && test -s conftest.
$ac_objext; then
38406 wx_cv_func_statvfs
=yes
38408 echo "$as_me: failed program was:" >&5
38409 sed 's/^/| /' conftest.
$ac_ext >&5
38411 wx_cv_func_statvfs
=no
38415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38418 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38419 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38421 if test "$wx_cv_func_statvfs" = "yes"; then
38422 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38423 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38424 if test "${wx_cv_type_statvfs_t+set}" = set; then
38425 echo $ECHO_N "(cached) $ECHO_C" >&6
38428 ac_cpp
='$CXXCPP $CPPFLAGS'
38429 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38430 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38431 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38433 cat >conftest.
$ac_ext <<_ACEOF
38436 cat confdefs.h
>>conftest.
$ac_ext
38437 cat >>conftest.
$ac_ext <<_ACEOF
38438 /* end confdefs.h. */
38440 #include <sys/statvfs.h>
38457 rm -f conftest.
$ac_objext
38458 if { (ac_try
="$ac_compile"
38459 case "(($ac_try" in
38460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38461 *) ac_try_echo=$ac_try;;
38463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38464 (eval "$ac_compile") 2>conftest.er1
38466 grep -v '^ *+' conftest.er1 >conftest.err
38468 cat conftest.err >&5
38469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470 (exit $ac_status); } && {
38471 test -z "$ac_cxx_werror_flag" ||
38472 test ! -s conftest.err
38473 } && test -s conftest.$ac_objext; then
38474 wx_cv_type_statvfs_t=statvfs_t
38476 echo "$as_me: failed program was:" >&5
38477 sed 's/^/| /' conftest.$ac_ext >&5
38480 cat >conftest.$ac_ext <<_ACEOF
38483 cat confdefs.h >>conftest.$ac_ext
38484 cat >>conftest.$ac_ext <<_ACEOF
38485 /* end confdefs.h. */
38487 #include <sys/statvfs.h>
38504 rm -f conftest.$ac_objext
38505 if { (ac_try="$ac_compile"
38506 case "(($ac_try" in
38507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38508 *) ac_try_echo
=$ac_try;;
38510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38511 (eval "$ac_compile") 2>conftest.er1
38513 grep -v '^ *+' conftest.er1
>conftest.err
38515 cat conftest.err
>&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); } && {
38518 test -z "$ac_cxx_werror_flag" ||
38519 test ! -s conftest.err
38520 } && test -s conftest.
$ac_objext; then
38521 wx_cv_type_statvfs_t
="struct statvfs"
38523 echo "$as_me: failed program was:" >&5
38524 sed 's/^/| /' conftest.
$ac_ext >&5
38526 wx_cv_type_statvfs_t
="unknown"
38530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38537 ac_cpp
='$CPP $CPPFLAGS'
38538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38544 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38545 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38547 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38548 cat >>confdefs.h
<<\_ACEOF
38549 #define HAVE_STATVFS 1
38554 wx_cv_type_statvfs_t
="unknown"
38558 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38559 cat >>confdefs.h
<<_ACEOF
38560 #define WX_STATFS_T $wx_cv_type_statvfs_t
38564 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38565 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38568 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38571 for ac_func
in fcntl flock
38573 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38576 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38577 echo $ECHO_N "(cached) $ECHO_C" >&6
38579 cat >conftest.
$ac_ext <<_ACEOF
38582 cat confdefs.h
>>conftest.
$ac_ext
38583 cat >>conftest.
$ac_ext <<_ACEOF
38584 /* end confdefs.h. */
38585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38587 #define $ac_func innocuous_$ac_func
38589 /* System header to define __stub macros and hopefully few prototypes,
38590 which can conflict with char $ac_func (); below.
38591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38592 <limits.h> exists even on freestanding compilers. */
38595 # include <limits.h>
38597 # include <assert.h>
38602 /* Override any GCC internal prototype to avoid an error.
38603 Use char because int might match the return type of a GCC
38604 builtin and then its argument prototype would still apply. */
38609 /* The GNU C library defines this for functions which it implements
38610 to always fail with ENOSYS. Some functions are actually named
38611 something starting with __ and the normal name is an alias. */
38612 #if defined __stub_$ac_func || defined __stub___$ac_func
38619 return $ac_func ();
38624 rm -f conftest.
$ac_objext conftest
$ac_exeext
38625 if { (ac_try
="$ac_link"
38626 case "(($ac_try" in
38627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38628 *) ac_try_echo=$ac_try;;
38630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38631 (eval "$ac_link") 2>conftest.er1
38633 grep -v '^ *+' conftest.er1 >conftest.err
38635 cat conftest.err >&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } && {
38638 test -z "$ac_c_werror_flag" ||
38639 test ! -s conftest.err
38640 } && test -s conftest$ac_exeext &&
38641 $as_test_x conftest$ac_exeext; then
38642 eval "$as_ac_var=yes"
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.$ac_ext >&5
38647 eval "$as_ac_var=no"
38650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38651 conftest$ac_exeext conftest.$ac_ext
38653 ac_res=`eval echo '${'$as_ac_var'}'`
38654 { echo "$as_me:$LINENO: result: $ac_res" >&5
38655 echo "${ECHO_T}$ac_res" >&6; }
38656 if test `eval echo '${'$as_ac_var'}'` = yes; then
38657 cat >>confdefs.h <<_ACEOF
38658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38665 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38666 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38667 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38668 wxUSE_SNGLINST_CHECKER=no
38674 for ac_func in setenv putenv
38676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38677 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38679 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38680 echo $ECHO_N "(cached) $ECHO_C" >&6
38682 cat >conftest.$ac_ext <<_ACEOF
38685 cat confdefs.h >>conftest.$ac_ext
38686 cat >>conftest.$ac_ext <<_ACEOF
38687 /* end confdefs.h. */
38688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38690 #define $ac_func innocuous_$ac_func
38692 /* System header to define __stub macros and hopefully few prototypes,
38693 which can conflict with char $ac_func (); below.
38694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38695 <limits.h> exists even on freestanding compilers. */
38698 # include <limits.h>
38700 # include <assert.h>
38705 /* Override any GCC internal prototype to avoid an error.
38706 Use char because int might match the return type of a GCC
38707 builtin and then its argument prototype would still apply. */
38712 /* The GNU C library defines this for functions which it implements
38713 to always fail with ENOSYS. Some functions are actually named
38714 something starting with __ and the normal name is an alias. */
38715 #if defined __stub_$ac_func || defined __stub___$ac_func
38722 return $ac_func ();
38727 rm -f conftest.$ac_objext conftest$ac_exeext
38728 if { (ac_try="$ac_link"
38729 case "(($ac_try" in
38730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38731 *) ac_try_echo
=$ac_try;;
38733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38734 (eval "$ac_link") 2>conftest.er1
38736 grep -v '^ *+' conftest.er1
>conftest.err
38738 cat conftest.err
>&5
38739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740 (exit $ac_status); } && {
38741 test -z "$ac_c_werror_flag" ||
38742 test ! -s conftest.err
38743 } && test -s conftest
$ac_exeext &&
38744 $as_test_x conftest
$ac_exeext; then
38745 eval "$as_ac_var=yes"
38747 echo "$as_me: failed program was:" >&5
38748 sed 's/^/| /' conftest.
$ac_ext >&5
38750 eval "$as_ac_var=no"
38753 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38754 conftest
$ac_exeext conftest.
$ac_ext
38756 ac_res
=`eval echo '${'$as_ac_var'}'`
38757 { echo "$as_me:$LINENO: result: $ac_res" >&5
38758 echo "${ECHO_T}$ac_res" >&6; }
38759 if test `eval echo '${'$as_ac_var'}'` = yes; then
38760 cat >>confdefs.h
<<_ACEOF
38761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38767 if test "$ac_cv_func_setenv" = "yes"; then
38769 for ac_func
in unsetenv
38771 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38774 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38775 echo $ECHO_N "(cached) $ECHO_C" >&6
38777 cat >conftest.
$ac_ext <<_ACEOF
38780 cat confdefs.h
>>conftest.
$ac_ext
38781 cat >>conftest.
$ac_ext <<_ACEOF
38782 /* end confdefs.h. */
38783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38785 #define $ac_func innocuous_$ac_func
38787 /* System header to define __stub macros and hopefully few prototypes,
38788 which can conflict with char $ac_func (); below.
38789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38790 <limits.h> exists even on freestanding compilers. */
38793 # include <limits.h>
38795 # include <assert.h>
38800 /* Override any GCC internal prototype to avoid an error.
38801 Use char because int might match the return type of a GCC
38802 builtin and then its argument prototype would still apply. */
38807 /* The GNU C library defines this for functions which it implements
38808 to always fail with ENOSYS. Some functions are actually named
38809 something starting with __ and the normal name is an alias. */
38810 #if defined __stub_$ac_func || defined __stub___$ac_func
38817 return $ac_func ();
38822 rm -f conftest.
$ac_objext conftest
$ac_exeext
38823 if { (ac_try
="$ac_link"
38824 case "(($ac_try" in
38825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38826 *) ac_try_echo=$ac_try;;
38828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38829 (eval "$ac_link") 2>conftest.er1
38831 grep -v '^ *+' conftest.er1 >conftest.err
38833 cat conftest.err >&5
38834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38835 (exit $ac_status); } && {
38836 test -z "$ac_c_werror_flag" ||
38837 test ! -s conftest.err
38838 } && test -s conftest$ac_exeext &&
38839 $as_test_x conftest$ac_exeext; then
38840 eval "$as_ac_var=yes"
38842 echo "$as_me: failed program was:" >&5
38843 sed 's/^/| /' conftest.$ac_ext >&5
38845 eval "$as_ac_var=no"
38848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38849 conftest$ac_exeext conftest.$ac_ext
38851 ac_res=`eval echo '${'$as_ac_var'}'`
38852 { echo "$as_me:$LINENO: result: $ac_res" >&5
38853 echo "${ECHO_T}$ac_res" >&6; }
38854 if test `eval echo '${'$as_ac_var'}'` = yes; then
38855 cat >>confdefs.h <<_ACEOF
38856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38864 HAVE_SOME_SLEEP_FUNC=0
38865 if test "$USE_BEOS" = 1; then
38866 cat >>confdefs.h <<\_ACEOF
38867 #define HAVE_SLEEP 1
38870 HAVE_SOME_SLEEP_FUNC=1
38873 if test "$USE_DARWIN" = 1; then
38874 cat >>confdefs.h <<\_ACEOF
38875 #define HAVE_USLEEP 1
38878 HAVE_SOME_SLEEP_FUNC=1
38881 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38884 for ac_func in nanosleep
38886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38887 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38889 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38890 echo $ECHO_N "(cached) $ECHO_C" >&6
38892 cat >conftest.$ac_ext <<_ACEOF
38895 cat confdefs.h >>conftest.$ac_ext
38896 cat >>conftest.$ac_ext <<_ACEOF
38897 /* end confdefs.h. */
38898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38900 #define $ac_func innocuous_$ac_func
38902 /* System header to define __stub macros and hopefully few prototypes,
38903 which can conflict with char $ac_func (); below.
38904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38905 <limits.h> exists even on freestanding compilers. */
38908 # include <limits.h>
38910 # include <assert.h>
38915 /* Override any GCC internal prototype to avoid an error.
38916 Use char because int might match the return type of a GCC
38917 builtin and then its argument prototype would still apply. */
38922 /* The GNU C library defines this for functions which it implements
38923 to always fail with ENOSYS. Some functions are actually named
38924 something starting with __ and the normal name is an alias. */
38925 #if defined __stub_$ac_func || defined __stub___$ac_func
38932 return $ac_func ();
38937 rm -f conftest.$ac_objext conftest$ac_exeext
38938 if { (ac_try="$ac_link"
38939 case "(($ac_try" in
38940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38941 *) ac_try_echo
=$ac_try;;
38943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38944 (eval "$ac_link") 2>conftest.er1
38946 grep -v '^ *+' conftest.er1
>conftest.err
38948 cat conftest.err
>&5
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); } && {
38951 test -z "$ac_c_werror_flag" ||
38952 test ! -s conftest.err
38953 } && test -s conftest
$ac_exeext &&
38954 $as_test_x conftest
$ac_exeext; then
38955 eval "$as_ac_var=yes"
38957 echo "$as_me: failed program was:" >&5
38958 sed 's/^/| /' conftest.
$ac_ext >&5
38960 eval "$as_ac_var=no"
38963 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38964 conftest
$ac_exeext conftest.
$ac_ext
38966 ac_res
=`eval echo '${'$as_ac_var'}'`
38967 { echo "$as_me:$LINENO: result: $ac_res" >&5
38968 echo "${ECHO_T}$ac_res" >&6; }
38969 if test `eval echo '${'$as_ac_var'}'` = yes; then
38970 cat >>confdefs.h
<<_ACEOF
38971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38973 cat >>confdefs.h
<<\_ACEOF
38974 #define HAVE_NANOSLEEP 1
38979 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38980 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38981 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38982 echo $ECHO_N "(cached) $ECHO_C" >&6
38984 ac_check_lib_save_LIBS
=$LIBS
38985 LIBS
="-lposix4 $LIBS"
38986 cat >conftest.
$ac_ext <<_ACEOF
38989 cat confdefs.h
>>conftest.
$ac_ext
38990 cat >>conftest.
$ac_ext <<_ACEOF
38991 /* end confdefs.h. */
38993 /* Override any GCC internal prototype to avoid an error.
38994 Use char because int might match the return type of a GCC
38995 builtin and then its argument prototype would still apply. */
39003 return nanosleep ();
39008 rm -f conftest.
$ac_objext conftest
$ac_exeext
39009 if { (ac_try
="$ac_link"
39010 case "(($ac_try" in
39011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39012 *) ac_try_echo=$ac_try;;
39014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39015 (eval "$ac_link") 2>conftest.er1
39017 grep -v '^ *+' conftest.er1 >conftest.err
39019 cat conftest.err >&5
39020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39021 (exit $ac_status); } && {
39022 test -z "$ac_c_werror_flag" ||
39023 test ! -s conftest.err
39024 } && test -s conftest$ac_exeext &&
39025 $as_test_x conftest$ac_exeext; then
39026 ac_cv_lib_posix4_nanosleep=yes
39028 echo "$as_me: failed program was:" >&5
39029 sed 's/^/| /' conftest.$ac_ext >&5
39031 ac_cv_lib_posix4_nanosleep=no
39034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39035 conftest$ac_exeext conftest.$ac_ext
39036 LIBS=$ac_check_lib_save_LIBS
39038 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39039 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39040 if test $ac_cv_lib_posix4_nanosleep = yes; then
39042 cat >>confdefs.h <<\_ACEOF
39043 #define HAVE_NANOSLEEP 1
39046 POSIX4_LINK=" -lposix4"
39051 for wx_func in usleep
39053 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39054 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39055 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39056 echo $ECHO_N "(cached) $ECHO_C" >&6
39059 cat >conftest.$ac_ext <<_ACEOF
39063 cat confdefs.h >>conftest.$ac_ext
39064 cat >>conftest.$ac_ext <<_ACEOF
39065 /* end confdefs.h. */
39068 $ac_includes_default
39084 rm -f conftest.$ac_objext conftest$ac_exeext
39085 if { (ac_try="$ac_link"
39086 case "(($ac_try" in
39087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39088 *) ac_try_echo
=$ac_try;;
39090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39091 (eval "$ac_link") 2>conftest.er1
39093 grep -v '^ *+' conftest.er1
>conftest.err
39095 cat conftest.err
>&5
39096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39097 (exit $ac_status); } && {
39098 test -z "$ac_c_werror_flag" ||
39099 test ! -s conftest.err
39100 } && test -s conftest
$ac_exeext &&
39101 $as_test_x conftest
$ac_exeext; then
39102 eval wx_cv_func_
$wx_func=yes
39104 echo "$as_me: failed program was:" >&5
39105 sed 's/^/| /' conftest.
$ac_ext >&5
39107 eval wx_cv_func_
$wx_func=no
39110 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39111 conftest
$ac_exeext conftest.
$ac_ext
39114 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39115 { echo "$as_me:$LINENO: result: $ac_res" >&5
39116 echo "${ECHO_T}$ac_res" >&6; }
39118 if eval test \
$wx_cv_func_$wx_func = yes
39120 cat >>confdefs.h
<<_ACEOF
39121 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39127 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39128 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39145 for wx_func
in uname
39147 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39148 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39149 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39150 echo $ECHO_N "(cached) $ECHO_C" >&6
39153 cat >conftest.
$ac_ext <<_ACEOF
39157 cat confdefs.h
>>conftest.
$ac_ext
39158 cat >>conftest.
$ac_ext <<_ACEOF
39159 /* end confdefs.h. */
39161 #include <sys/utsname.h>
39162 $ac_includes_default
39178 rm -f conftest.
$ac_objext conftest
$ac_exeext
39179 if { (ac_try
="$ac_link"
39180 case "(($ac_try" in
39181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39182 *) ac_try_echo=$ac_try;;
39184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39185 (eval "$ac_link") 2>conftest.er1
39187 grep -v '^ *+' conftest.er1 >conftest.err
39189 cat conftest.err >&5
39190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39191 (exit $ac_status); } && {
39192 test -z "$ac_c_werror_flag" ||
39193 test ! -s conftest.err
39194 } && test -s conftest$ac_exeext &&
39195 $as_test_x conftest$ac_exeext; then
39196 eval wx_cv_func_$wx_func=yes
39198 echo "$as_me: failed program was:" >&5
39199 sed 's/^/| /' conftest.$ac_ext >&5
39201 eval wx_cv_func_$wx_func=no
39204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39205 conftest$ac_exeext conftest.$ac_ext
39208 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39209 { echo "$as_me:$LINENO: result: $ac_res" >&5
39210 echo "${ECHO_T}$ac_res" >&6; }
39212 if eval test \$wx_cv_func_$wx_func = yes
39214 cat >>confdefs.h <<_ACEOF
39215 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39225 if test "$wx_cv_func_uname" != yes; then
39227 for wx_func in gethostname
39229 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39230 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39231 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39232 echo $ECHO_N "(cached) $ECHO_C" >&6
39235 cat >conftest.$ac_ext <<_ACEOF
39239 cat confdefs.h >>conftest.$ac_ext
39240 cat >>conftest.$ac_ext <<_ACEOF
39241 /* end confdefs.h. */
39244 $ac_includes_default
39260 rm -f conftest.$ac_objext conftest$ac_exeext
39261 if { (ac_try="$ac_link"
39262 case "(($ac_try" in
39263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39264 *) ac_try_echo
=$ac_try;;
39266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39267 (eval "$ac_link") 2>conftest.er1
39269 grep -v '^ *+' conftest.er1
>conftest.err
39271 cat conftest.err
>&5
39272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273 (exit $ac_status); } && {
39274 test -z "$ac_c_werror_flag" ||
39275 test ! -s conftest.err
39276 } && test -s conftest
$ac_exeext &&
39277 $as_test_x conftest
$ac_exeext; then
39278 eval wx_cv_func_
$wx_func=yes
39280 echo "$as_me: failed program was:" >&5
39281 sed 's/^/| /' conftest.
$ac_ext >&5
39283 eval wx_cv_func_
$wx_func=no
39286 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39287 conftest
$ac_exeext conftest.
$ac_ext
39290 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39291 { echo "$as_me:$LINENO: result: $ac_res" >&5
39292 echo "${ECHO_T}$ac_res" >&6; }
39294 if eval test \
$wx_cv_func_$wx_func = yes
39296 cat >>confdefs.h
<<_ACEOF
39297 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39310 for wx_func
in strtok_r
39312 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39313 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39314 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39315 echo $ECHO_N "(cached) $ECHO_C" >&6
39318 cat >conftest.
$ac_ext <<_ACEOF
39322 cat confdefs.h
>>conftest.
$ac_ext
39323 cat >>conftest.
$ac_ext <<_ACEOF
39324 /* end confdefs.h. */
39327 $ac_includes_default
39343 rm -f conftest.
$ac_objext conftest
$ac_exeext
39344 if { (ac_try
="$ac_link"
39345 case "(($ac_try" in
39346 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39347 *) ac_try_echo=$ac_try;;
39349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39350 (eval "$ac_link") 2>conftest.er1
39352 grep -v '^ *+' conftest.er1 >conftest.err
39354 cat conftest.err >&5
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); } && {
39357 test -z "$ac_c_werror_flag" ||
39358 test ! -s conftest.err
39359 } && test -s conftest$ac_exeext &&
39360 $as_test_x conftest$ac_exeext; then
39361 eval wx_cv_func_$wx_func=yes
39363 echo "$as_me: failed program was:" >&5
39364 sed 's/^/| /' conftest.$ac_ext >&5
39366 eval wx_cv_func_$wx_func=no
39369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39370 conftest$ac_exeext conftest.$ac_ext
39373 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39374 { echo "$as_me:$LINENO: result: $ac_res" >&5
39375 echo "${ECHO_T}$ac_res" >&6; }
39377 if eval test \$wx_cv_func_$wx_func = yes
39379 cat >>confdefs.h <<_ACEOF
39380 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39393 for ac_func in inet_addr
39395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39396 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39398 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39399 echo $ECHO_N "(cached) $ECHO_C" >&6
39401 cat >conftest.$ac_ext <<_ACEOF
39404 cat confdefs.h >>conftest.$ac_ext
39405 cat >>conftest.$ac_ext <<_ACEOF
39406 /* end confdefs.h. */
39407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39409 #define $ac_func innocuous_$ac_func
39411 /* System header to define __stub macros and hopefully few prototypes,
39412 which can conflict with char $ac_func (); below.
39413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39414 <limits.h> exists even on freestanding compilers. */
39417 # include <limits.h>
39419 # include <assert.h>
39424 /* Override any GCC internal prototype to avoid an error.
39425 Use char because int might match the return type of a GCC
39426 builtin and then its argument prototype would still apply. */
39431 /* The GNU C library defines this for functions which it implements
39432 to always fail with ENOSYS. Some functions are actually named
39433 something starting with __ and the normal name is an alias. */
39434 #if defined __stub_$ac_func || defined __stub___$ac_func
39441 return $ac_func ();
39446 rm -f conftest.$ac_objext conftest$ac_exeext
39447 if { (ac_try="$ac_link"
39448 case "(($ac_try" in
39449 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39450 *) ac_try_echo
=$ac_try;;
39452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39453 (eval "$ac_link") 2>conftest.er1
39455 grep -v '^ *+' conftest.er1
>conftest.err
39457 cat conftest.err
>&5
39458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39459 (exit $ac_status); } && {
39460 test -z "$ac_c_werror_flag" ||
39461 test ! -s conftest.err
39462 } && test -s conftest
$ac_exeext &&
39463 $as_test_x conftest
$ac_exeext; then
39464 eval "$as_ac_var=yes"
39466 echo "$as_me: failed program was:" >&5
39467 sed 's/^/| /' conftest.
$ac_ext >&5
39469 eval "$as_ac_var=no"
39472 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39473 conftest
$ac_exeext conftest.
$ac_ext
39475 ac_res
=`eval echo '${'$as_ac_var'}'`
39476 { echo "$as_me:$LINENO: result: $ac_res" >&5
39477 echo "${ECHO_T}$ac_res" >&6; }
39478 if test `eval echo '${'$as_ac_var'}'` = yes; then
39479 cat >>confdefs.h
<<_ACEOF
39480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39482 cat >>confdefs.h
<<\_ACEOF
39483 #define HAVE_INET_ADDR 1
39488 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39489 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39490 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39491 echo $ECHO_N "(cached) $ECHO_C" >&6
39493 ac_check_lib_save_LIBS
=$LIBS
39495 cat >conftest.
$ac_ext <<_ACEOF
39498 cat confdefs.h
>>conftest.
$ac_ext
39499 cat >>conftest.
$ac_ext <<_ACEOF
39500 /* end confdefs.h. */
39502 /* Override any GCC internal prototype to avoid an error.
39503 Use char because int might match the return type of a GCC
39504 builtin and then its argument prototype would still apply. */
39512 return inet_addr ();
39517 rm -f conftest.
$ac_objext conftest
$ac_exeext
39518 if { (ac_try
="$ac_link"
39519 case "(($ac_try" in
39520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39521 *) ac_try_echo=$ac_try;;
39523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39524 (eval "$ac_link") 2>conftest.er1
39526 grep -v '^ *+' conftest.er1 >conftest.err
39528 cat conftest.err >&5
39529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39530 (exit $ac_status); } && {
39531 test -z "$ac_c_werror_flag" ||
39532 test ! -s conftest.err
39533 } && test -s conftest$ac_exeext &&
39534 $as_test_x conftest$ac_exeext; then
39535 ac_cv_lib_nsl_inet_addr=yes
39537 echo "$as_me: failed program was:" >&5
39538 sed 's/^/| /' conftest.$ac_ext >&5
39540 ac_cv_lib_nsl_inet_addr=no
39543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39544 conftest$ac_exeext conftest.$ac_ext
39545 LIBS=$ac_check_lib_save_LIBS
39547 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39548 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39549 if test $ac_cv_lib_nsl_inet_addr = yes; then
39553 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39554 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39555 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39556 echo $ECHO_N "(cached) $ECHO_C" >&6
39558 ac_check_lib_save_LIBS=$LIBS
39559 LIBS="-lresolv $LIBS"
39560 cat >conftest.$ac_ext <<_ACEOF
39563 cat confdefs.h >>conftest.$ac_ext
39564 cat >>conftest.$ac_ext <<_ACEOF
39565 /* end confdefs.h. */
39567 /* Override any GCC internal prototype to avoid an error.
39568 Use char because int might match the return type of a GCC
39569 builtin and then its argument prototype would still apply. */
39577 return inet_addr ();
39582 rm -f conftest.$ac_objext conftest$ac_exeext
39583 if { (ac_try="$ac_link"
39584 case "(($ac_try" in
39585 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39586 *) ac_try_echo
=$ac_try;;
39588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39589 (eval "$ac_link") 2>conftest.er1
39591 grep -v '^ *+' conftest.er1
>conftest.err
39593 cat conftest.err
>&5
39594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39595 (exit $ac_status); } && {
39596 test -z "$ac_c_werror_flag" ||
39597 test ! -s conftest.err
39598 } && test -s conftest
$ac_exeext &&
39599 $as_test_x conftest
$ac_exeext; then
39600 ac_cv_lib_resolv_inet_addr
=yes
39602 echo "$as_me: failed program was:" >&5
39603 sed 's/^/| /' conftest.
$ac_ext >&5
39605 ac_cv_lib_resolv_inet_addr
=no
39608 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39609 conftest
$ac_exeext conftest.
$ac_ext
39610 LIBS
=$ac_check_lib_save_LIBS
39612 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39613 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39614 if test $ac_cv_lib_resolv_inet_addr = yes; then
39618 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39619 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39620 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39621 echo $ECHO_N "(cached) $ECHO_C" >&6
39623 ac_check_lib_save_LIBS
=$LIBS
39624 LIBS
="-lsocket $LIBS"
39625 cat >conftest.
$ac_ext <<_ACEOF
39628 cat confdefs.h
>>conftest.
$ac_ext
39629 cat >>conftest.
$ac_ext <<_ACEOF
39630 /* end confdefs.h. */
39632 /* Override any GCC internal prototype to avoid an error.
39633 Use char because int might match the return type of a GCC
39634 builtin and then its argument prototype would still apply. */
39642 return inet_addr ();
39647 rm -f conftest.
$ac_objext conftest
$ac_exeext
39648 if { (ac_try
="$ac_link"
39649 case "(($ac_try" in
39650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39651 *) ac_try_echo=$ac_try;;
39653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39654 (eval "$ac_link") 2>conftest.er1
39656 grep -v '^ *+' conftest.er1 >conftest.err
39658 cat conftest.err >&5
39659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39660 (exit $ac_status); } && {
39661 test -z "$ac_c_werror_flag" ||
39662 test ! -s conftest.err
39663 } && test -s conftest$ac_exeext &&
39664 $as_test_x conftest$ac_exeext; then
39665 ac_cv_lib_socket_inet_addr=yes
39667 echo "$as_me: failed program was:" >&5
39668 sed 's/^/| /' conftest.$ac_ext >&5
39670 ac_cv_lib_socket_inet_addr=no
39673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39674 conftest$ac_exeext conftest.$ac_ext
39675 LIBS=$ac_check_lib_save_LIBS
39677 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39678 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39679 if test $ac_cv_lib_socket_inet_addr = yes; then
39699 for ac_func in inet_aton
39701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39702 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39704 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39705 echo $ECHO_N "(cached) $ECHO_C" >&6
39707 cat >conftest.$ac_ext <<_ACEOF
39710 cat confdefs.h >>conftest.$ac_ext
39711 cat >>conftest.$ac_ext <<_ACEOF
39712 /* end confdefs.h. */
39713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39715 #define $ac_func innocuous_$ac_func
39717 /* System header to define __stub macros and hopefully few prototypes,
39718 which can conflict with char $ac_func (); below.
39719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39720 <limits.h> exists even on freestanding compilers. */
39723 # include <limits.h>
39725 # include <assert.h>
39730 /* Override any GCC internal prototype to avoid an error.
39731 Use char because int might match the return type of a GCC
39732 builtin and then its argument prototype would still apply. */
39737 /* The GNU C library defines this for functions which it implements
39738 to always fail with ENOSYS. Some functions are actually named
39739 something starting with __ and the normal name is an alias. */
39740 #if defined __stub_$ac_func || defined __stub___$ac_func
39747 return $ac_func ();
39752 rm -f conftest.$ac_objext conftest$ac_exeext
39753 if { (ac_try="$ac_link"
39754 case "(($ac_try" in
39755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39756 *) ac_try_echo
=$ac_try;;
39758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39759 (eval "$ac_link") 2>conftest.er1
39761 grep -v '^ *+' conftest.er1
>conftest.err
39763 cat conftest.err
>&5
39764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765 (exit $ac_status); } && {
39766 test -z "$ac_c_werror_flag" ||
39767 test ! -s conftest.err
39768 } && test -s conftest
$ac_exeext &&
39769 $as_test_x conftest
$ac_exeext; then
39770 eval "$as_ac_var=yes"
39772 echo "$as_me: failed program was:" >&5
39773 sed 's/^/| /' conftest.
$ac_ext >&5
39775 eval "$as_ac_var=no"
39778 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39779 conftest
$ac_exeext conftest.
$ac_ext
39781 ac_res
=`eval echo '${'$as_ac_var'}'`
39782 { echo "$as_me:$LINENO: result: $ac_res" >&5
39783 echo "${ECHO_T}$ac_res" >&6; }
39784 if test `eval echo '${'$as_ac_var'}'` = yes; then
39785 cat >>confdefs.h
<<_ACEOF
39786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39788 cat >>confdefs.h
<<\_ACEOF
39789 #define HAVE_INET_ATON 1
39794 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39795 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39796 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39797 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39798 echo $ECHO_N "(cached) $ECHO_C" >&6
39800 ac_check_lib_save_LIBS
=$LIBS
39801 LIBS
="-l$INET_LINK $LIBS"
39802 cat >conftest.
$ac_ext <<_ACEOF
39805 cat confdefs.h
>>conftest.
$ac_ext
39806 cat >>conftest.
$ac_ext <<_ACEOF
39807 /* end confdefs.h. */
39809 /* Override any GCC internal prototype to avoid an error.
39810 Use char because int might match the return type of a GCC
39811 builtin and then its argument prototype would still apply. */
39819 return inet_aton ();
39824 rm -f conftest.
$ac_objext conftest
$ac_exeext
39825 if { (ac_try
="$ac_link"
39826 case "(($ac_try" in
39827 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39828 *) ac_try_echo=$ac_try;;
39830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39831 (eval "$ac_link") 2>conftest.er1
39833 grep -v '^ *+' conftest.er1 >conftest.err
39835 cat conftest.err >&5
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); } && {
39838 test -z "$ac_c_werror_flag" ||
39839 test ! -s conftest.err
39840 } && test -s conftest$ac_exeext &&
39841 $as_test_x conftest$ac_exeext; then
39842 eval "$as_ac_Lib=yes"
39844 echo "$as_me: failed program was:" >&5
39845 sed 's/^/| /' conftest.$ac_ext >&5
39847 eval "$as_ac_Lib=no"
39850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39851 conftest$ac_exeext conftest.$ac_ext
39852 LIBS=$ac_check_lib_save_LIBS
39854 ac_res=`eval echo '${'$as_ac_Lib'}'`
39855 { echo "$as_me:$LINENO: result: $ac_res" >&5
39856 echo "${ECHO_T}$ac_res" >&6; }
39857 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39858 cat >>confdefs.h <<\_ACEOF
39859 #define HAVE_INET_ATON 1
39869 if test "x$INET_LINK" != "x"; then
39870 cat >>confdefs.h <<\_ACEOF
39871 #define HAVE_INET_ADDR 1
39874 INET_LINK=" -l$INET_LINK"
39878 for wx_func in fdopen
39880 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39881 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39882 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39883 echo $ECHO_N "(cached) $ECHO_C" >&6
39886 cat >conftest.$ac_ext <<_ACEOF
39890 cat confdefs.h >>conftest.$ac_ext
39891 cat >>conftest.$ac_ext <<_ACEOF
39892 /* end confdefs.h. */
39895 $ac_includes_default
39911 rm -f conftest.$ac_objext conftest$ac_exeext
39912 if { (ac_try="$ac_link"
39913 case "(($ac_try" in
39914 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39915 *) ac_try_echo
=$ac_try;;
39917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39918 (eval "$ac_link") 2>conftest.er1
39920 grep -v '^ *+' conftest.er1
>conftest.err
39922 cat conftest.err
>&5
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); } && {
39925 test -z "$ac_c_werror_flag" ||
39926 test ! -s conftest.err
39927 } && test -s conftest
$ac_exeext &&
39928 $as_test_x conftest
$ac_exeext; then
39929 eval wx_cv_func_
$wx_func=yes
39931 echo "$as_me: failed program was:" >&5
39932 sed 's/^/| /' conftest.
$ac_ext >&5
39934 eval wx_cv_func_
$wx_func=no
39937 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39938 conftest
$ac_exeext conftest.
$ac_ext
39941 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39942 { echo "$as_me:$LINENO: result: $ac_res" >&5
39943 echo "${ECHO_T}$ac_res" >&6; }
39945 if eval test \
$wx_cv_func_$wx_func = yes
39947 cat >>confdefs.h
<<_ACEOF
39948 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39959 if test "$wxUSE_TARSTREAM" = "yes"; then
39961 for wx_func
in sysconf
39963 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39964 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39965 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39966 echo $ECHO_N "(cached) $ECHO_C" >&6
39969 cat >conftest.
$ac_ext <<_ACEOF
39973 cat confdefs.h
>>conftest.
$ac_ext
39974 cat >>conftest.
$ac_ext <<_ACEOF
39975 /* end confdefs.h. */
39978 $ac_includes_default
39994 rm -f conftest.
$ac_objext conftest
$ac_exeext
39995 if { (ac_try
="$ac_link"
39996 case "(($ac_try" in
39997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39998 *) ac_try_echo=$ac_try;;
40000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40001 (eval "$ac_link") 2>conftest.er1
40003 grep -v '^ *+' conftest.er1 >conftest.err
40005 cat conftest.err >&5
40006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40007 (exit $ac_status); } && {
40008 test -z "$ac_c_werror_flag" ||
40009 test ! -s conftest.err
40010 } && test -s conftest$ac_exeext &&
40011 $as_test_x conftest$ac_exeext; then
40012 eval wx_cv_func_$wx_func=yes
40014 echo "$as_me: failed program was:" >&5
40015 sed 's/^/| /' conftest.$ac_ext >&5
40017 eval wx_cv_func_$wx_func=no
40020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40021 conftest$ac_exeext conftest.$ac_ext
40024 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40025 { echo "$as_me:$LINENO: result: $ac_res" >&5
40026 echo "${ECHO_T}$ac_res" >&6; }
40028 if eval test \$wx_cv_func_$wx_func = yes
40030 cat >>confdefs.h <<_ACEOF
40031 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40043 for wx_func in getpwuid_r
40045 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40046 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40047 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40048 echo $ECHO_N "(cached) $ECHO_C" >&6
40051 cat >conftest.$ac_ext <<_ACEOF
40055 cat confdefs.h >>conftest.$ac_ext
40056 cat >>conftest.$ac_ext <<_ACEOF
40057 /* end confdefs.h. */
40063 $ac_includes_default
40073 struct passwd pw, *ppw;
40075 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40083 rm -f conftest.$ac_objext conftest$ac_exeext
40084 if { (ac_try="$ac_link"
40085 case "(($ac_try" in
40086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40087 *) ac_try_echo
=$ac_try;;
40089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40090 (eval "$ac_link") 2>conftest.er1
40092 grep -v '^ *+' conftest.er1
>conftest.err
40094 cat conftest.err
>&5
40095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40096 (exit $ac_status); } && {
40097 test -z "$ac_c_werror_flag" ||
40098 test ! -s conftest.err
40099 } && test -s conftest
$ac_exeext &&
40100 $as_test_x conftest
$ac_exeext; then
40101 eval wx_cv_func_
$wx_func=yes
40103 echo "$as_me: failed program was:" >&5
40104 sed 's/^/| /' conftest.
$ac_ext >&5
40106 eval wx_cv_func_
$wx_func=no
40109 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40110 conftest
$ac_exeext conftest.
$ac_ext
40113 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40114 { echo "$as_me:$LINENO: result: $ac_res" >&5
40115 echo "${ECHO_T}$ac_res" >&6; }
40117 if eval test \
$wx_cv_func_$wx_func = yes
40119 cat >>confdefs.h
<<_ACEOF
40120 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40132 for wx_func
in getgrgid_r
40134 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40135 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40136 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40137 echo $ECHO_N "(cached) $ECHO_C" >&6
40140 cat >conftest.
$ac_ext <<_ACEOF
40144 cat confdefs.h
>>conftest.
$ac_ext
40145 cat >>conftest.
$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40152 $ac_includes_default
40162 struct group grp, *pgrp;
40164 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40172 rm -f conftest.
$ac_objext conftest
$ac_exeext
40173 if { (ac_try
="$ac_link"
40174 case "(($ac_try" in
40175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40176 *) ac_try_echo=$ac_try;;
40178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40179 (eval "$ac_link") 2>conftest.er1
40181 grep -v '^ *+' conftest.er1 >conftest.err
40183 cat conftest.err >&5
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); } && {
40186 test -z "$ac_c_werror_flag" ||
40187 test ! -s conftest.err
40188 } && test -s conftest$ac_exeext &&
40189 $as_test_x conftest$ac_exeext; then
40190 eval wx_cv_func_$wx_func=yes
40192 echo "$as_me: failed program was:" >&5
40193 sed 's/^/| /' conftest.$ac_ext >&5
40195 eval wx_cv_func_$wx_func=no
40198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40199 conftest$ac_exeext conftest.$ac_ext
40202 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40203 { echo "$as_me:$LINENO: result: $ac_res" >&5
40204 echo "${ECHO_T}$ac_res" >&6; }
40206 if eval test \$wx_cv_func_$wx_func = yes
40208 cat >>confdefs.h <<_ACEOF
40209 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40225 cat >confcache <<\_ACEOF
40226 # This file is a shell script that caches the results of configure
40227 # tests run on this system so they can be shared between configure
40228 # scripts and configure runs, see configure's option --config-cache.
40229 # It is not useful on other systems. If it contains results you don't
40230 # want to keep, you may remove or edit it.
40232 # config.status only pays attention to the cache file if you give it
40233 # the --recheck option to rerun configure.
40235 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
40236 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40237 # following values.
40241 # The following way of writing the cache mishandles newlines in values,
40242 # but we know of no workaround that is simple, portable, and efficient.
40243 # So, we kill variables containing newlines.
40244 # Ultrix sh set writes to stderr and can't be redirected directly,
40245 # and sets the high bit in the cache file unless we assign to the vars.
40247 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40248 eval ac_val
=\$
$ac_var
40252 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40253 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40256 _
| IFS
| as_nl
) ;; #(
40257 *) $as_unset $ac_var ;;
40263 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40264 *${as_nl}ac_space
=\
*)
40265 # `set' does not quote correctly, so add quotes (double-quote
40266 # substitution turns \\\\ into \\, and sed turns \\ into \).
40269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40272 # `set' quotes correctly as required by POSIX, so do not add quotes.
40273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40282 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40284 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40286 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40287 if test -w "$cache_file"; then
40288 test "x$cache_file" != "x/dev/null" &&
40289 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40290 echo "$as_me: updating cache $cache_file" >&6;}
40291 cat confcache
>$cache_file
40293 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40294 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40300 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40306 if test "$wxUSE_THREADS" = "yes" ; then
40307 if test "$USE_BEOS" = 1; then
40308 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40309 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40314 if test "$wxUSE_THREADS" = "yes" ; then
40317 THREAD_OPTS
="-pthread"
40318 if test "x$SUNCXX" = xyes
; then
40319 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
40323 *-*-solaris2* | *-*-sunos4* )
40324 if test "x$GCC" = "xyes"; then
40325 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40329 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40331 *-*-darwin* | *-*-cygwin* )
40335 THREAD_OPTS
="pthreads"
40338 if test "x$GCC" = "xyes"; then
40339 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40347 if test "x$GCC" = "xyes"; then
40357 if test "x$GCC" != "xyes"; then
40358 THREAD_OPTS
="-Ethread"
40365 THREAD_OPTS
="none pthread"
40369 THREAD_OPTS
="$THREAD_OPTS pthread none"
40374 for flag
in $THREAD_OPTS; do
40377 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40378 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40382 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40383 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40384 THREADS_CFLAGS
="$flag"
40388 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40389 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40390 THREADS_LINK
="-l$flag"
40395 save_CFLAGS
="$CFLAGS"
40396 LIBS
="$THREADS_LINK $LIBS"
40397 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40399 cat >conftest.
$ac_ext <<_ACEOF
40402 cat confdefs.h
>>conftest.
$ac_ext
40403 cat >>conftest.
$ac_ext <<_ACEOF
40404 /* end confdefs.h. */
40405 #include <pthread.h>
40409 pthread_create(0,0,0,0);
40414 rm -f conftest.
$ac_objext conftest
$ac_exeext
40415 if { (ac_try
="$ac_link"
40416 case "(($ac_try" in
40417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40418 *) ac_try_echo=$ac_try;;
40420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40421 (eval "$ac_link") 2>conftest.er1
40423 grep -v '^ *+' conftest.er1 >conftest.err
40425 cat conftest.err >&5
40426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40427 (exit $ac_status); } && {
40428 test -z "$ac_c_werror_flag" ||
40429 test ! -s conftest.err
40430 } && test -s conftest$ac_exeext &&
40431 $as_test_x conftest$ac_exeext; then
40434 echo "$as_me: failed program was:" >&5
40435 sed 's/^/| /' conftest.$ac_ext >&5
40440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40441 conftest$ac_exeext conftest.$ac_ext
40444 CFLAGS="$save_CFLAGS"
40446 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40447 echo "${ECHO_T}$THREADS_OK" >&6; }
40448 if test "x$THREADS_OK" = "xyes"; then
40456 if test "x$THREADS_OK" != "xyes"; then
40458 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40459 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40461 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40462 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40463 LIBS="$THREADS_LINK $LIBS"
40465 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40466 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40470 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40471 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40472 flag="-D_THREAD_SAFE"
40475 flag="-D_THREAD_SAFE"
40478 flag="-D_REENTRANT"
40479 if test "x$GCC" != "xyes"; then
40480 flag="$flag -D_RWSTD_MULTI_THREAD"
40483 *solaris* | alpha*-osf*)
40484 flag="-D_REENTRANT"
40487 { echo "$as_me:$LINENO: result: ${flag}" >&5
40488 echo "${ECHO_T}${flag}" >&6; }
40489 if test "x$flag" != xno; then
40490 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40493 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40497 if test "$wxUSE_THREADS" = "yes" ; then
40499 for ac_func in thr_setconcurrency
40501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40502 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40504 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40505 echo $ECHO_N "(cached) $ECHO_C" >&6
40507 cat >conftest.$ac_ext <<_ACEOF
40510 cat confdefs.h >>conftest.$ac_ext
40511 cat >>conftest.$ac_ext <<_ACEOF
40512 /* end confdefs.h. */
40513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40515 #define $ac_func innocuous_$ac_func
40517 /* System header to define __stub macros and hopefully few prototypes,
40518 which can conflict with char $ac_func (); below.
40519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40520 <limits.h> exists even on freestanding compilers. */
40523 # include <limits.h>
40525 # include <assert.h>
40530 /* Override any GCC internal prototype to avoid an error.
40531 Use char because int might match the return type of a GCC
40532 builtin and then its argument prototype would still apply. */
40537 /* The GNU C library defines this for functions which it implements
40538 to always fail with ENOSYS. Some functions are actually named
40539 something starting with __ and the normal name is an alias. */
40540 #if defined __stub_$ac_func || defined __stub___$ac_func
40547 return $ac_func ();
40552 rm -f conftest.$ac_objext conftest$ac_exeext
40553 if { (ac_try="$ac_link"
40554 case "(($ac_try" in
40555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40556 *) ac_try_echo
=$ac_try;;
40558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40559 (eval "$ac_link") 2>conftest.er1
40561 grep -v '^ *+' conftest.er1
>conftest.err
40563 cat conftest.err
>&5
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); } && {
40566 test -z "$ac_c_werror_flag" ||
40567 test ! -s conftest.err
40568 } && test -s conftest
$ac_exeext &&
40569 $as_test_x conftest
$ac_exeext; then
40570 eval "$as_ac_var=yes"
40572 echo "$as_me: failed program was:" >&5
40573 sed 's/^/| /' conftest.
$ac_ext >&5
40575 eval "$as_ac_var=no"
40578 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40579 conftest
$ac_exeext conftest.
$ac_ext
40581 ac_res
=`eval echo '${'$as_ac_var'}'`
40582 { echo "$as_me:$LINENO: result: $ac_res" >&5
40583 echo "${ECHO_T}$ac_res" >&6; }
40584 if test `eval echo '${'$as_ac_var'}'` = yes; then
40585 cat >>confdefs.h
<<_ACEOF
40586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40593 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40594 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40595 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40596 echo $ECHO_N "(cached) $ECHO_C" >&6
40600 ac_cpp
='$CXXCPP $CPPFLAGS'
40601 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40602 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40603 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40605 cat >conftest.
$ac_ext <<_ACEOF
40608 cat confdefs.h
>>conftest.
$ac_ext
40609 cat >>conftest.
$ac_ext <<_ACEOF
40610 /* end confdefs.h. */
40611 #include <pthread.h>
40612 void ThreadCleanupFunc(void *p);
40619 pthread_cleanup_push(ThreadCleanupFunc, p);
40620 pthread_cleanup_pop(0);
40626 rm -f conftest.
$ac_objext
40627 if { (ac_try
="$ac_compile"
40628 case "(($ac_try" in
40629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40630 *) ac_try_echo=$ac_try;;
40632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40633 (eval "$ac_compile") 2>conftest.er1
40635 grep -v '^ *+' conftest.er1 >conftest.err
40637 cat conftest.err >&5
40638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40639 (exit $ac_status); } && {
40640 test -z "$ac_cxx_werror_flag" ||
40641 test ! -s conftest.err
40642 } && test -s conftest.$ac_objext; then
40644 wx_cv_func_pthread_cleanup=yes
40647 echo "$as_me: failed program was:" >&5
40648 sed 's/^/| /' conftest.$ac_ext >&5
40651 wx_cv_func_pthread_cleanup=no
40656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40658 ac_cpp='$CPP $CPPFLAGS'
40659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40665 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40666 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40667 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40668 cat >>confdefs.h <<\_ACEOF
40669 #define wxHAVE_PTHREAD_CLEANUP 1
40675 for ac_header in sched.h
40677 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40678 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40681 echo $ECHO_N "(cached) $ECHO_C" >&6
40683 cat >conftest.$ac_ext <<_ACEOF
40686 cat confdefs.h >>conftest.$ac_ext
40687 cat >>conftest.$ac_ext <<_ACEOF
40688 /* end confdefs.h. */
40689 $ac_includes_default
40691 #include <$ac_header>
40693 rm -f conftest.$ac_objext
40694 if { (ac_try="$ac_compile"
40695 case "(($ac_try" in
40696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40697 *) ac_try_echo
=$ac_try;;
40699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40700 (eval "$ac_compile") 2>conftest.er1
40702 grep -v '^ *+' conftest.er1
>conftest.err
40704 cat conftest.err
>&5
40705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40706 (exit $ac_status); } && {
40707 test -z "$ac_c_werror_flag" ||
40708 test ! -s conftest.err
40709 } && test -s conftest.
$ac_objext; then
40710 eval "$as_ac_Header=yes"
40712 echo "$as_me: failed program was:" >&5
40713 sed 's/^/| /' conftest.
$ac_ext >&5
40715 eval "$as_ac_Header=no"
40718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40720 ac_res
=`eval echo '${'$as_ac_Header'}'`
40721 { echo "$as_me:$LINENO: result: $ac_res" >&5
40722 echo "${ECHO_T}$ac_res" >&6; }
40723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40724 cat >>confdefs.h
<<_ACEOF
40725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40732 if test "$ac_cv_header_sched_h" = "yes"; then
40733 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40734 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40735 if test "${ac_cv_func_sched_yield+set}" = set; then
40736 echo $ECHO_N "(cached) $ECHO_C" >&6
40738 cat >conftest.
$ac_ext <<_ACEOF
40741 cat confdefs.h
>>conftest.
$ac_ext
40742 cat >>conftest.
$ac_ext <<_ACEOF
40743 /* end confdefs.h. */
40744 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40746 #define sched_yield innocuous_sched_yield
40748 /* System header to define __stub macros and hopefully few prototypes,
40749 which can conflict with char sched_yield (); below.
40750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40751 <limits.h> exists even on freestanding compilers. */
40754 # include <limits.h>
40756 # include <assert.h>
40761 /* Override any GCC internal prototype to avoid an error.
40762 Use char because int might match the return type of a GCC
40763 builtin and then its argument prototype would still apply. */
40767 char sched_yield ();
40768 /* The GNU C library defines this for functions which it implements
40769 to always fail with ENOSYS. Some functions are actually named
40770 something starting with __ and the normal name is an alias. */
40771 #if defined __stub_sched_yield || defined __stub___sched_yield
40778 return sched_yield ();
40783 rm -f conftest.
$ac_objext conftest
$ac_exeext
40784 if { (ac_try
="$ac_link"
40785 case "(($ac_try" in
40786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40787 *) ac_try_echo=$ac_try;;
40789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40790 (eval "$ac_link") 2>conftest.er1
40792 grep -v '^ *+' conftest.er1 >conftest.err
40794 cat conftest.err >&5
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); } && {
40797 test -z "$ac_c_werror_flag" ||
40798 test ! -s conftest.err
40799 } && test -s conftest$ac_exeext &&
40800 $as_test_x conftest$ac_exeext; then
40801 ac_cv_func_sched_yield=yes
40803 echo "$as_me: failed program was:" >&5
40804 sed 's/^/| /' conftest.$ac_ext >&5
40806 ac_cv_func_sched_yield=no
40809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40810 conftest$ac_exeext conftest.$ac_ext
40812 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40813 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40814 if test $ac_cv_func_sched_yield = yes; then
40815 cat >>confdefs.h <<\_ACEOF
40816 #define HAVE_SCHED_YIELD 1
40821 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40822 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40823 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40824 echo $ECHO_N "(cached) $ECHO_C" >&6
40826 ac_check_lib_save_LIBS=$LIBS
40827 LIBS="-lposix4 $LIBS"
40828 cat >conftest.$ac_ext <<_ACEOF
40831 cat confdefs.h >>conftest.$ac_ext
40832 cat >>conftest.$ac_ext <<_ACEOF
40833 /* end confdefs.h. */
40835 /* Override any GCC internal prototype to avoid an error.
40836 Use char because int might match the return type of a GCC
40837 builtin and then its argument prototype would still apply. */
40841 char sched_yield ();
40845 return sched_yield ();
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 ac_cv_lib_posix4_sched_yield
=yes
40870 echo "$as_me: failed program was:" >&5
40871 sed 's/^/| /' conftest.
$ac_ext >&5
40873 ac_cv_lib_posix4_sched_yield
=no
40876 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40877 conftest
$ac_exeext conftest.
$ac_ext
40878 LIBS
=$ac_check_lib_save_LIBS
40880 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40881 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40882 if test $ac_cv_lib_posix4_sched_yield = yes; then
40883 cat >>confdefs.h
<<\_ACEOF
40884 #define HAVE_SCHED_YIELD 1
40886 POSIX4_LINK
=" -lposix4"
40888 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40889 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40900 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40901 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40902 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40903 echo $ECHO_N "(cached) $ECHO_C" >&6
40905 cat >conftest.
$ac_ext <<_ACEOF
40908 cat confdefs.h
>>conftest.
$ac_ext
40909 cat >>conftest.
$ac_ext <<_ACEOF
40910 /* end confdefs.h. */
40911 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40913 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40915 /* System header to define __stub macros and hopefully few prototypes,
40916 which can conflict with char pthread_attr_getschedpolicy (); below.
40917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40918 <limits.h> exists even on freestanding compilers. */
40921 # include <limits.h>
40923 # include <assert.h>
40926 #undef pthread_attr_getschedpolicy
40928 /* Override any GCC internal prototype to avoid an error.
40929 Use char because int might match the return type of a GCC
40930 builtin and then its argument prototype would still apply. */
40934 char pthread_attr_getschedpolicy ();
40935 /* The GNU C library defines this for functions which it implements
40936 to always fail with ENOSYS. Some functions are actually named
40937 something starting with __ and the normal name is an alias. */
40938 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40945 return pthread_attr_getschedpolicy ();
40950 rm -f conftest.
$ac_objext conftest
$ac_exeext
40951 if { (ac_try
="$ac_link"
40952 case "(($ac_try" in
40953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40954 *) ac_try_echo=$ac_try;;
40956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40957 (eval "$ac_link") 2>conftest.er1
40959 grep -v '^ *+' conftest.er1 >conftest.err
40961 cat conftest.err >&5
40962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40963 (exit $ac_status); } && {
40964 test -z "$ac_c_werror_flag" ||
40965 test ! -s conftest.err
40966 } && test -s conftest$ac_exeext &&
40967 $as_test_x conftest$ac_exeext; then
40968 ac_cv_func_pthread_attr_getschedpolicy=yes
40970 echo "$as_me: failed program was:" >&5
40971 sed 's/^/| /' conftest.$ac_ext >&5
40973 ac_cv_func_pthread_attr_getschedpolicy=no
40976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40977 conftest$ac_exeext conftest.$ac_ext
40979 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40980 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40981 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40982 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40983 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40984 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40985 echo $ECHO_N "(cached) $ECHO_C" >&6
40987 cat >conftest.$ac_ext <<_ACEOF
40990 cat confdefs.h >>conftest.$ac_ext
40991 cat >>conftest.$ac_ext <<_ACEOF
40992 /* end confdefs.h. */
40993 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40995 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40997 /* System header to define __stub macros and hopefully few prototypes,
40998 which can conflict with char pthread_attr_setschedparam (); below.
40999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41000 <limits.h> exists even on freestanding compilers. */
41003 # include <limits.h>
41005 # include <assert.h>
41008 #undef pthread_attr_setschedparam
41010 /* Override any GCC internal prototype to avoid an error.
41011 Use char because int might match the return type of a GCC
41012 builtin and then its argument prototype would still apply. */
41016 char pthread_attr_setschedparam ();
41017 /* The GNU C library defines this for functions which it implements
41018 to always fail with ENOSYS. Some functions are actually named
41019 something starting with __ and the normal name is an alias. */
41020 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41027 return pthread_attr_setschedparam ();
41032 rm -f conftest.$ac_objext conftest$ac_exeext
41033 if { (ac_try="$ac_link"
41034 case "(($ac_try" in
41035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41036 *) ac_try_echo
=$ac_try;;
41038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41039 (eval "$ac_link") 2>conftest.er1
41041 grep -v '^ *+' conftest.er1
>conftest.err
41043 cat conftest.err
>&5
41044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41045 (exit $ac_status); } && {
41046 test -z "$ac_c_werror_flag" ||
41047 test ! -s conftest.err
41048 } && test -s conftest
$ac_exeext &&
41049 $as_test_x conftest
$ac_exeext; then
41050 ac_cv_func_pthread_attr_setschedparam
=yes
41052 echo "$as_me: failed program was:" >&5
41053 sed 's/^/| /' conftest.
$ac_ext >&5
41055 ac_cv_func_pthread_attr_setschedparam
=no
41058 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41059 conftest
$ac_exeext conftest.
$ac_ext
41061 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41062 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41063 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41064 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41065 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41066 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41067 echo $ECHO_N "(cached) $ECHO_C" >&6
41069 cat >conftest.
$ac_ext <<_ACEOF
41072 cat confdefs.h
>>conftest.
$ac_ext
41073 cat >>conftest.
$ac_ext <<_ACEOF
41074 /* end confdefs.h. */
41075 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41077 #define sched_get_priority_max innocuous_sched_get_priority_max
41079 /* System header to define __stub macros and hopefully few prototypes,
41080 which can conflict with char sched_get_priority_max (); below.
41081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41082 <limits.h> exists even on freestanding compilers. */
41085 # include <limits.h>
41087 # include <assert.h>
41090 #undef sched_get_priority_max
41092 /* Override any GCC internal prototype to avoid an error.
41093 Use char because int might match the return type of a GCC
41094 builtin and then its argument prototype would still apply. */
41098 char sched_get_priority_max ();
41099 /* The GNU C library defines this for functions which it implements
41100 to always fail with ENOSYS. Some functions are actually named
41101 something starting with __ and the normal name is an alias. */
41102 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41109 return sched_get_priority_max ();
41114 rm -f conftest.
$ac_objext conftest
$ac_exeext
41115 if { (ac_try
="$ac_link"
41116 case "(($ac_try" in
41117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41118 *) ac_try_echo=$ac_try;;
41120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41121 (eval "$ac_link") 2>conftest.er1
41123 grep -v '^ *+' conftest.er1 >conftest.err
41125 cat conftest.err >&5
41126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41127 (exit $ac_status); } && {
41128 test -z "$ac_c_werror_flag" ||
41129 test ! -s conftest.err
41130 } && test -s conftest$ac_exeext &&
41131 $as_test_x conftest$ac_exeext; then
41132 ac_cv_func_sched_get_priority_max=yes
41134 echo "$as_me: failed program was:" >&5
41135 sed 's/^/| /' conftest.$ac_ext >&5
41137 ac_cv_func_sched_get_priority_max=no
41140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41141 conftest$ac_exeext conftest.$ac_ext
41143 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41144 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41145 if test $ac_cv_func_sched_get_priority_max = yes; then
41148 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41149 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41150 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41151 echo $ECHO_N "(cached) $ECHO_C" >&6
41153 ac_check_lib_save_LIBS=$LIBS
41154 LIBS="-lposix4 $LIBS"
41155 cat >conftest.$ac_ext <<_ACEOF
41158 cat confdefs.h >>conftest.$ac_ext
41159 cat >>conftest.$ac_ext <<_ACEOF
41160 /* end confdefs.h. */
41162 /* Override any GCC internal prototype to avoid an error.
41163 Use char because int might match the return type of a GCC
41164 builtin and then its argument prototype would still apply. */
41168 char sched_get_priority_max ();
41172 return sched_get_priority_max ();
41177 rm -f conftest.$ac_objext conftest$ac_exeext
41178 if { (ac_try="$ac_link"
41179 case "(($ac_try" in
41180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41181 *) ac_try_echo
=$ac_try;;
41183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41184 (eval "$ac_link") 2>conftest.er1
41186 grep -v '^ *+' conftest.er1
>conftest.err
41188 cat conftest.err
>&5
41189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190 (exit $ac_status); } && {
41191 test -z "$ac_c_werror_flag" ||
41192 test ! -s conftest.err
41193 } && test -s conftest
$ac_exeext &&
41194 $as_test_x conftest
$ac_exeext; then
41195 ac_cv_lib_posix4_sched_get_priority_max
=yes
41197 echo "$as_me: failed program was:" >&5
41198 sed 's/^/| /' conftest.
$ac_ext >&5
41200 ac_cv_lib_posix4_sched_get_priority_max
=no
41203 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41204 conftest
$ac_exeext conftest.
$ac_ext
41205 LIBS
=$ac_check_lib_save_LIBS
41207 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41208 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41209 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41212 POSIX4_LINK
=" -lposix4"
41226 if test "$HAVE_PRIOR_FUNCS" = 1; then
41227 cat >>confdefs.h
<<\_ACEOF
41228 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41232 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41233 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41236 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41237 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41238 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41239 echo $ECHO_N "(cached) $ECHO_C" >&6
41241 cat >conftest.
$ac_ext <<_ACEOF
41244 cat confdefs.h
>>conftest.
$ac_ext
41245 cat >>conftest.
$ac_ext <<_ACEOF
41246 /* end confdefs.h. */
41247 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41249 #define pthread_cancel innocuous_pthread_cancel
41251 /* System header to define __stub macros and hopefully few prototypes,
41252 which can conflict with char pthread_cancel (); below.
41253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41254 <limits.h> exists even on freestanding compilers. */
41257 # include <limits.h>
41259 # include <assert.h>
41262 #undef pthread_cancel
41264 /* Override any GCC internal prototype to avoid an error.
41265 Use char because int might match the return type of a GCC
41266 builtin and then its argument prototype would still apply. */
41270 char pthread_cancel ();
41271 /* The GNU C library defines this for functions which it implements
41272 to always fail with ENOSYS. Some functions are actually named
41273 something starting with __ and the normal name is an alias. */
41274 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41281 return pthread_cancel ();
41286 rm -f conftest.
$ac_objext conftest
$ac_exeext
41287 if { (ac_try
="$ac_link"
41288 case "(($ac_try" in
41289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41290 *) ac_try_echo=$ac_try;;
41292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41293 (eval "$ac_link") 2>conftest.er1
41295 grep -v '^ *+' conftest.er1 >conftest.err
41297 cat conftest.err >&5
41298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41299 (exit $ac_status); } && {
41300 test -z "$ac_c_werror_flag" ||
41301 test ! -s conftest.err
41302 } && test -s conftest$ac_exeext &&
41303 $as_test_x conftest$ac_exeext; then
41304 ac_cv_func_pthread_cancel=yes
41306 echo "$as_me: failed program was:" >&5
41307 sed 's/^/| /' conftest.$ac_ext >&5
41309 ac_cv_func_pthread_cancel=no
41312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41313 conftest$ac_exeext conftest.$ac_ext
41315 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41316 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41317 if test $ac_cv_func_pthread_cancel = yes; then
41318 cat >>confdefs.h <<\_ACEOF
41319 #define HAVE_PTHREAD_CANCEL 1
41323 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41324 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41328 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41329 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41330 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41331 echo $ECHO_N "(cached) $ECHO_C" >&6
41333 cat >conftest.$ac_ext <<_ACEOF
41336 cat confdefs.h >>conftest.$ac_ext
41337 cat >>conftest.$ac_ext <<_ACEOF
41338 /* end confdefs.h. */
41339 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41341 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41343 /* System header to define __stub macros and hopefully few prototypes,
41344 which can conflict with char pthread_mutex_timedlock (); below.
41345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41346 <limits.h> exists even on freestanding compilers. */
41349 # include <limits.h>
41351 # include <assert.h>
41354 #undef pthread_mutex_timedlock
41356 /* Override any GCC internal prototype to avoid an error.
41357 Use char because int might match the return type of a GCC
41358 builtin and then its argument prototype would still apply. */
41362 char pthread_mutex_timedlock ();
41363 /* The GNU C library defines this for functions which it implements
41364 to always fail with ENOSYS. Some functions are actually named
41365 something starting with __ and the normal name is an alias. */
41366 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41373 return pthread_mutex_timedlock ();
41378 rm -f conftest.$ac_objext conftest$ac_exeext
41379 if { (ac_try="$ac_link"
41380 case "(($ac_try" in
41381 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41382 *) ac_try_echo
=$ac_try;;
41384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41385 (eval "$ac_link") 2>conftest.er1
41387 grep -v '^ *+' conftest.er1
>conftest.err
41389 cat conftest.err
>&5
41390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41391 (exit $ac_status); } && {
41392 test -z "$ac_c_werror_flag" ||
41393 test ! -s conftest.err
41394 } && test -s conftest
$ac_exeext &&
41395 $as_test_x conftest
$ac_exeext; then
41396 ac_cv_func_pthread_mutex_timedlock
=yes
41398 echo "$as_me: failed program was:" >&5
41399 sed 's/^/| /' conftest.
$ac_ext >&5
41401 ac_cv_func_pthread_mutex_timedlock
=no
41404 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41405 conftest
$ac_exeext conftest.
$ac_ext
41407 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41408 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41409 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41410 cat >>confdefs.h
<<\_ACEOF
41411 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41415 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41416 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41420 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41421 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41422 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41423 echo $ECHO_N "(cached) $ECHO_C" >&6
41425 cat >conftest.
$ac_ext <<_ACEOF
41428 cat confdefs.h
>>conftest.
$ac_ext
41429 cat >>conftest.
$ac_ext <<_ACEOF
41430 /* end confdefs.h. */
41431 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41433 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41435 /* System header to define __stub macros and hopefully few prototypes,
41436 which can conflict with char pthread_attr_setstacksize (); below.
41437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41438 <limits.h> exists even on freestanding compilers. */
41441 # include <limits.h>
41443 # include <assert.h>
41446 #undef pthread_attr_setstacksize
41448 /* Override any GCC internal prototype to avoid an error.
41449 Use char because int might match the return type of a GCC
41450 builtin and then its argument prototype would still apply. */
41454 char pthread_attr_setstacksize ();
41455 /* The GNU C library defines this for functions which it implements
41456 to always fail with ENOSYS. Some functions are actually named
41457 something starting with __ and the normal name is an alias. */
41458 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41465 return pthread_attr_setstacksize ();
41470 rm -f conftest.
$ac_objext conftest
$ac_exeext
41471 if { (ac_try
="$ac_link"
41472 case "(($ac_try" in
41473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41474 *) ac_try_echo=$ac_try;;
41476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41477 (eval "$ac_link") 2>conftest.er1
41479 grep -v '^ *+' conftest.er1 >conftest.err
41481 cat conftest.err >&5
41482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41483 (exit $ac_status); } && {
41484 test -z "$ac_c_werror_flag" ||
41485 test ! -s conftest.err
41486 } && test -s conftest$ac_exeext &&
41487 $as_test_x conftest$ac_exeext; then
41488 ac_cv_func_pthread_attr_setstacksize=yes
41490 echo "$as_me: failed program was:" >&5
41491 sed 's/^/| /' conftest.$ac_ext >&5
41493 ac_cv_func_pthread_attr_setstacksize=no
41496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41497 conftest$ac_exeext conftest.$ac_ext
41499 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41500 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41501 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41502 cat >>confdefs.h <<\_ACEOF
41503 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41510 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41511 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41512 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41513 echo $ECHO_N "(cached) $ECHO_C" >&6
41516 cat >conftest.$ac_ext <<_ACEOF
41519 cat confdefs.h >>conftest.$ac_ext
41520 cat >>conftest.$ac_ext <<_ACEOF
41521 /* end confdefs.h. */
41522 #include <pthread.h>
41527 pthread_mutexattr_t attr;
41528 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41534 rm -f conftest.$ac_objext
41535 if { (ac_try="$ac_compile"
41536 case "(($ac_try" in
41537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41538 *) ac_try_echo
=$ac_try;;
41540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41541 (eval "$ac_compile") 2>conftest.er1
41543 grep -v '^ *+' conftest.er1
>conftest.err
41545 cat conftest.err
>&5
41546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547 (exit $ac_status); } && {
41548 test -z "$ac_c_werror_flag" ||
41549 test ! -s conftest.err
41550 } && test -s conftest.
$ac_objext; then
41551 wx_cv_type_pthread_mutexattr_t
=yes
41553 echo "$as_me: failed program was:" >&5
41554 sed 's/^/| /' conftest.
$ac_ext >&5
41556 wx_cv_type_pthread_mutexattr_t
=no
41560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41563 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41564 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41566 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41567 cat >>confdefs.h
<<\_ACEOF
41568 #define HAVE_PTHREAD_MUTEXATTR_T 1
41572 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41573 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41574 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41575 echo $ECHO_N "(cached) $ECHO_C" >&6
41578 cat >conftest.
$ac_ext <<_ACEOF
41581 cat confdefs.h
>>conftest.
$ac_ext
41582 cat >>conftest.
$ac_ext <<_ACEOF
41583 /* end confdefs.h. */
41584 #include <pthread.h>
41589 pthread_mutexattr_t attr;
41590 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41596 rm -f conftest.
$ac_objext
41597 if { (ac_try
="$ac_compile"
41598 case "(($ac_try" in
41599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41600 *) ac_try_echo=$ac_try;;
41602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41603 (eval "$ac_compile") 2>conftest.er1
41605 grep -v '^ *+' conftest.er1 >conftest.err
41607 cat conftest.err >&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); } && {
41610 test -z "$ac_c_werror_flag" ||
41611 test ! -s conftest.err
41612 } && test -s conftest.$ac_objext; then
41613 wx_cv_func_pthread_mutexattr_settype_decl=yes
41615 echo "$as_me: failed program was:" >&5
41616 sed 's/^/| /' conftest.$ac_ext >&5
41618 wx_cv_func_pthread_mutexattr_settype_decl=no
41622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41625 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41626 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41627 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41628 cat >>confdefs.h <<\_ACEOF
41629 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41634 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41635 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41636 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41637 echo $ECHO_N "(cached) $ECHO_C" >&6
41640 cat >conftest.$ac_ext <<_ACEOF
41643 cat confdefs.h >>conftest.$ac_ext
41644 cat >>conftest.$ac_ext <<_ACEOF
41645 /* end confdefs.h. */
41646 #include <pthread.h>
41651 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41657 rm -f conftest.$ac_objext
41658 if { (ac_try="$ac_compile"
41659 case "(($ac_try" in
41660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41661 *) ac_try_echo
=$ac_try;;
41663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41664 (eval "$ac_compile") 2>conftest.er1
41666 grep -v '^ *+' conftest.er1
>conftest.err
41668 cat conftest.err
>&5
41669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41670 (exit $ac_status); } && {
41671 test -z "$ac_c_werror_flag" ||
41672 test ! -s conftest.err
41673 } && test -s conftest.
$ac_objext; then
41675 wx_cv_type_pthread_rec_mutex_init
=yes
41678 echo "$as_me: failed program was:" >&5
41679 sed 's/^/| /' conftest.
$ac_ext >&5
41682 wx_cv_type_pthread_rec_mutex_init
=no
41687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41690 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41691 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41692 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41693 cat >>confdefs.h
<<\_ACEOF
41694 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41698 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41699 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41703 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41704 if test "$USE_NETBSD" = 1; then
41705 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41706 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41707 wxUSE_COMPILER_TLS
=no
41709 wxUSE_COMPILER_TLS
=yes
41713 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41714 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41715 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41716 if test "${wx_cv_cc___thread+set}" = set; then
41717 echo $ECHO_N "(cached) $ECHO_C" >&6
41720 cat >conftest.
$ac_ext <<_ACEOF
41723 cat confdefs.h
>>conftest.
$ac_ext
41724 cat >>conftest.
$ac_ext <<_ACEOF
41725 /* end confdefs.h. */
41726 #include <pthread.h>
41731 static __thread int n = 0;
41732 static __thread int *p = 0;
41738 rm -f conftest.
$ac_objext
41739 if { (ac_try
="$ac_compile"
41740 case "(($ac_try" in
41741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41742 *) ac_try_echo=$ac_try;;
41744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41745 (eval "$ac_compile") 2>conftest.er1
41747 grep -v '^ *+' conftest.er1 >conftest.err
41749 cat conftest.err >&5
41750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41751 (exit $ac_status); } && {
41752 test -z "$ac_c_werror_flag" ||
41753 test ! -s conftest.err
41754 } && test -s conftest.$ac_objext; then
41755 wx_cv_cc___thread=yes
41757 echo "$as_me: failed program was:" >&5
41758 sed 's/^/| /' conftest.$ac_ext >&5
41760 wx_cv_cc___thread=no
41764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41768 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41769 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41771 if test "$wx_cv_cc___thread" = "yes"; then
41777 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41778 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41780 if test "x$GCC" = "xyes" ; then
41782 if test -z "" ; then
41784 ax_gcc_option_test="int main()
41791 ax_gcc_option_test=""
41796 # Dump the test program to file
41797 cat <<EOF > conftest.c
41798 $ax_gcc_option_test
41801 # Dump back the file to the log, useful for debugging purposes
41802 { ac_try='cat conftest.c 1>&5'
41803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41804 (eval $ac_try) 2>&5
41806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41807 (exit $ac_status); }; }
41809 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41811 (eval $ac_try) 2>&5
41813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41814 (exit $ac_status); }; } ; then
41816 { echo "$as_me:$LINENO: result: yes" >&5
41817 echo "${ECHO_T}yes" >&6; }
41819 ax_gcc_version_option=yes
41824 { echo "$as_me:$LINENO: result: no" >&5
41825 echo "${ECHO_T}no" >&6; }
41827 ax_gcc_version_option=no
41835 { echo "$as_me:$LINENO: result: no gcc available" >&5
41836 echo "${ECHO_T}no gcc available" >&6; }
41841 if test "x$GXX" = "xyes"; then
41843 if test "x$ax_gxx_version_option" != "no"; then
41845 { echo "$as_me:$LINENO: checking gxx version" >&5
41846 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41847 if test "${ax_cv_gxx_version+set}" = set; then
41848 echo $ECHO_N "(cached) $ECHO_C" >&6
41851 ax_cv_gxx_version="`$CXX -dumpversion`"
41852 if test "x$ax_cv_gxx_version" = "x"; then
41854 ax_cv_gxx_version=""
41860 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41861 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41862 GXX_VERSION=$ax_cv_gxx_version
41871 if test -n "$ax_cv_gxx_version"; then
41872 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41873 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41874 case "$ax_cv_gxx_version" in
41876 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41877 echo "${ECHO_T}no, it's broken" >&6; }
41878 wx_cv_cc___thread=no
41881 { echo "$as_me:$LINENO: result: yes, it works" >&5
41882 echo "${ECHO_T}yes, it works" >&6; }
41888 if test "$wx_cv_cc___thread" = "yes"; then
41889 cat >>confdefs.h <<\_ACEOF
41890 #define HAVE___THREAD_KEYWORD 1
41898 if test "$wxUSE_THREADS" = "yes" ; then
41900 x86_64-*-mingw32* )
41903 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41904 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41905 if test "${wx_cv_cflags_mthread+set}" = set; then
41906 echo $ECHO_N "(cached) $ECHO_C" >&6
41909 CFLAGS_OLD="$CFLAGS"
41910 CFLAGS="-mthreads $CFLAGS"
41911 cat >conftest.$ac_ext <<_ACEOF
41914 cat confdefs.h >>conftest.$ac_ext
41915 cat >>conftest.$ac_ext <<_ACEOF
41916 /* end confdefs.h. */
41926 rm -f conftest.$ac_objext
41927 if { (ac_try="$ac_compile"
41928 case "(($ac_try" in
41929 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41930 *) ac_try_echo
=$ac_try;;
41932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41933 (eval "$ac_compile") 2>conftest.er1
41935 grep -v '^ *+' conftest.er1
>conftest.err
41937 cat conftest.err
>&5
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); } && {
41940 test -z "$ac_c_werror_flag" ||
41941 test ! -s conftest.err
41942 } && test -s conftest.
$ac_objext; then
41943 wx_cv_cflags_mthread
=yes
41945 echo "$as_me: failed program was:" >&5
41946 sed 's/^/| /' conftest.
$ac_ext >&5
41948 wx_cv_cflags_mthread
=no
41952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41956 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41957 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41959 if test "$wx_cv_cflags_mthread" = "yes"; then
41960 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41961 LDFLAGS
="$LDFLAGS -mthreads"
41963 CFLAGS
="$CFLAGS_OLD"
41967 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41968 LDFLAGS
="$LDFLAGS -Zmt"
41974 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41975 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41976 if test "${ac_cv_func_localtime_r+set}" = set; then
41977 echo $ECHO_N "(cached) $ECHO_C" >&6
41979 cat >conftest.
$ac_ext <<_ACEOF
41982 cat confdefs.h
>>conftest.
$ac_ext
41983 cat >>conftest.
$ac_ext <<_ACEOF
41984 /* end confdefs.h. */
41985 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41987 #define localtime_r innocuous_localtime_r
41989 /* System header to define __stub macros and hopefully few prototypes,
41990 which can conflict with char localtime_r (); below.
41991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41992 <limits.h> exists even on freestanding compilers. */
41995 # include <limits.h>
41997 # include <assert.h>
42002 /* Override any GCC internal prototype to avoid an error.
42003 Use char because int might match the return type of a GCC
42004 builtin and then its argument prototype would still apply. */
42008 char localtime_r ();
42009 /* The GNU C library defines this for functions which it implements
42010 to always fail with ENOSYS. Some functions are actually named
42011 something starting with __ and the normal name is an alias. */
42012 #if defined __stub_localtime_r || defined __stub___localtime_r
42019 return localtime_r ();
42024 rm -f conftest.
$ac_objext conftest
$ac_exeext
42025 if { (ac_try
="$ac_link"
42026 case "(($ac_try" in
42027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42028 *) ac_try_echo=$ac_try;;
42030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42031 (eval "$ac_link") 2>conftest.er1
42033 grep -v '^ *+' conftest.er1 >conftest.err
42035 cat conftest.err >&5
42036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037 (exit $ac_status); } && {
42038 test -z "$ac_c_werror_flag" ||
42039 test ! -s conftest.err
42040 } && test -s conftest$ac_exeext &&
42041 $as_test_x conftest$ac_exeext; then
42042 ac_cv_func_localtime_r=yes
42044 echo "$as_me: failed program was:" >&5
42045 sed 's/^/| /' conftest.$ac_ext >&5
42047 ac_cv_func_localtime_r=no
42050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42051 conftest$ac_exeext conftest.$ac_ext
42053 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42054 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42055 if test $ac_cv_func_localtime_r = yes; then
42056 cat >>confdefs.h <<\_ACEOF
42057 #define HAVE_LOCALTIME_R 1
42062 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42063 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42064 if test "${ac_cv_func_gmtime_r+set}" = set; then
42065 echo $ECHO_N "(cached) $ECHO_C" >&6
42067 cat >conftest.$ac_ext <<_ACEOF
42070 cat confdefs.h >>conftest.$ac_ext
42071 cat >>conftest.$ac_ext <<_ACEOF
42072 /* end confdefs.h. */
42073 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42075 #define gmtime_r innocuous_gmtime_r
42077 /* System header to define __stub macros and hopefully few prototypes,
42078 which can conflict with char gmtime_r (); below.
42079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42080 <limits.h> exists even on freestanding compilers. */
42083 # include <limits.h>
42085 # include <assert.h>
42090 /* Override any GCC internal prototype to avoid an error.
42091 Use char because int might match the return type of a GCC
42092 builtin and then its argument prototype would still apply. */
42097 /* The GNU C library defines this for functions which it implements
42098 to always fail with ENOSYS. Some functions are actually named
42099 something starting with __ and the normal name is an alias. */
42100 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42107 return gmtime_r ();
42112 rm -f conftest.$ac_objext conftest$ac_exeext
42113 if { (ac_try="$ac_link"
42114 case "(($ac_try" in
42115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42116 *) ac_try_echo
=$ac_try;;
42118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42119 (eval "$ac_link") 2>conftest.er1
42121 grep -v '^ *+' conftest.er1
>conftest.err
42123 cat conftest.err
>&5
42124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42125 (exit $ac_status); } && {
42126 test -z "$ac_c_werror_flag" ||
42127 test ! -s conftest.err
42128 } && test -s conftest
$ac_exeext &&
42129 $as_test_x conftest
$ac_exeext; then
42130 ac_cv_func_gmtime_r
=yes
42132 echo "$as_me: failed program was:" >&5
42133 sed 's/^/| /' conftest.
$ac_ext >&5
42135 ac_cv_func_gmtime_r
=no
42138 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42139 conftest
$ac_exeext conftest.
$ac_ext
42141 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42142 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42143 if test $ac_cv_func_gmtime_r = yes; then
42144 cat >>confdefs.h
<<\_ACEOF
42145 #define HAVE_GMTIME_R 1
42154 ac_cpp
='$CPP $CPPFLAGS'
42155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42159 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42160 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42162 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42163 echo $ECHO_N "(cached) $ECHO_C" >&6
42167 ################################################################
42169 ac_cv_func_which_gethostbyname_r
=unknown
42172 # ONE ARGUMENT (sanity check)
42175 # This should fail, as there is no variant of gethostbyname_r() that takes
42176 # a single argument. If it actually compiles, then we can assume that
42177 # netdb.h is not declaring the function, and the compiler is thereby
42178 # assuming an implicit prototype. In which case, we're out of luck.
42180 cat >conftest.
$ac_ext <<_ACEOF
42183 cat confdefs.h
>>conftest.
$ac_ext
42184 cat >>conftest.
$ac_ext <<_ACEOF
42185 /* end confdefs.h. */
42191 char *name = "www.gnu.org";
42192 (void)gethostbyname_r(name) /* ; */
42198 rm -f conftest.
$ac_objext
42199 if { (ac_try
="$ac_compile"
42200 case "(($ac_try" in
42201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42202 *) ac_try_echo=$ac_try;;
42204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42205 (eval "$ac_compile") 2>conftest.er1
42207 grep -v '^ *+' conftest.er1 >conftest.err
42209 cat conftest.err >&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); } && {
42212 test -z "$ac_c_werror_flag" ||
42213 test ! -s conftest.err
42214 } && test -s conftest.$ac_objext; then
42215 ac_cv_func_which_gethostbyname_r=no
42217 echo "$as_me: failed program was:" >&5
42218 sed 's/^/| /' conftest.$ac_ext >&5
42223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42230 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42232 cat >conftest.$ac_ext <<_ACEOF
42235 cat confdefs.h >>conftest.$ac_ext
42236 cat >>conftest.$ac_ext <<_ACEOF
42237 /* end confdefs.h. */
42243 char *name = "www.gnu.org";
42244 struct hostent ret, *retp;
42248 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42254 rm -f conftest.$ac_objext
42255 if { (ac_try="$ac_compile"
42256 case "(($ac_try" in
42257 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42258 *) ac_try_echo
=$ac_try;;
42260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42261 (eval "$ac_compile") 2>conftest.er1
42263 grep -v '^ *+' conftest.er1
>conftest.err
42265 cat conftest.err
>&5
42266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42267 (exit $ac_status); } && {
42268 test -z "$ac_c_werror_flag" ||
42269 test ! -s conftest.err
42270 } && test -s conftest.
$ac_objext; then
42271 ac_cv_func_which_gethostbyname_r
=six
42273 echo "$as_me: failed program was:" >&5
42274 sed 's/^/| /' conftest.
$ac_ext >&5
42279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42288 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42290 cat >conftest.
$ac_ext <<_ACEOF
42293 cat confdefs.h
>>conftest.
$ac_ext
42294 cat >>conftest.
$ac_ext <<_ACEOF
42295 /* end confdefs.h. */
42301 char *name = "www.gnu.org";
42302 struct hostent ret;
42306 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42312 rm -f conftest.
$ac_objext
42313 if { (ac_try
="$ac_compile"
42314 case "(($ac_try" in
42315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42316 *) ac_try_echo=$ac_try;;
42318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42319 (eval "$ac_compile") 2>conftest.er1
42321 grep -v '^ *+' conftest.er1 >conftest.err
42323 cat conftest.err >&5
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); } && {
42326 test -z "$ac_c_werror_flag" ||
42327 test ! -s conftest.err
42328 } && test -s conftest.$ac_objext; then
42329 ac_cv_func_which_gethostbyname_r=five
42331 echo "$as_me: failed program was:" >&5
42332 sed 's/^/| /' conftest.$ac_ext >&5
42337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42343 # (e.g. AIX, HP-UX, Tru64)
42346 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42348 cat >conftest.$ac_ext <<_ACEOF
42351 cat confdefs.h >>conftest.$ac_ext
42352 cat >>conftest.$ac_ext <<_ACEOF
42353 /* end confdefs.h. */
42359 char *name = "www.gnu.org";
42360 struct hostent ret;
42361 struct hostent_data data;
42362 (void)gethostbyname_r(name, &ret, &data) /* ; */
42368 rm -f conftest.$ac_objext
42369 if { (ac_try="$ac_compile"
42370 case "(($ac_try" in
42371 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42372 *) ac_try_echo
=$ac_try;;
42374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42375 (eval "$ac_compile") 2>conftest.er1
42377 grep -v '^ *+' conftest.er1
>conftest.err
42379 cat conftest.err
>&5
42380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381 (exit $ac_status); } && {
42382 test -z "$ac_c_werror_flag" ||
42383 test ! -s conftest.err
42384 } && test -s conftest.
$ac_objext; then
42385 ac_cv_func_which_gethostbyname_r
=three
42387 echo "$as_me: failed program was:" >&5
42388 sed 's/^/| /' conftest.
$ac_ext >&5
42393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42397 ################################################################
42402 case "$ac_cv_func_which_gethostbyname_r" in
42404 { echo "$as_me:$LINENO: result: three" >&5
42405 echo "${ECHO_T}three" >&6; }
42406 cat >>confdefs.h
<<\_ACEOF
42407 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42413 { echo "$as_me:$LINENO: result: five" >&5
42414 echo "${ECHO_T}five" >&6; }
42415 cat >>confdefs.h
<<\_ACEOF
42416 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42422 { echo "$as_me:$LINENO: result: six" >&5
42423 echo "${ECHO_T}six" >&6; }
42424 cat >>confdefs.h
<<\_ACEOF
42425 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42431 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42432 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42436 { echo "$as_me:$LINENO: result: can't tell" >&5
42437 echo "${ECHO_T}can't tell" >&6; }
42441 { { echo "$as_me:$LINENO: error: internal error" >&5
42442 echo "$as_me: error: internal error" >&2;}
42443 { (exit 1); exit 1; }; }
42448 ac_cpp
='$CPP $CPPFLAGS'
42449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42455 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42456 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42457 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42458 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42459 if test "${ac_cv_func_gethostbyname+set}" = set; then
42460 echo $ECHO_N "(cached) $ECHO_C" >&6
42462 cat >conftest.
$ac_ext <<_ACEOF
42465 cat confdefs.h
>>conftest.
$ac_ext
42466 cat >>conftest.
$ac_ext <<_ACEOF
42467 /* end confdefs.h. */
42468 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42470 #define gethostbyname innocuous_gethostbyname
42472 /* System header to define __stub macros and hopefully few prototypes,
42473 which can conflict with char gethostbyname (); below.
42474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42475 <limits.h> exists even on freestanding compilers. */
42478 # include <limits.h>
42480 # include <assert.h>
42483 #undef gethostbyname
42485 /* Override any GCC internal prototype to avoid an error.
42486 Use char because int might match the return type of a GCC
42487 builtin and then its argument prototype would still apply. */
42491 char gethostbyname ();
42492 /* The GNU C library defines this for functions which it implements
42493 to always fail with ENOSYS. Some functions are actually named
42494 something starting with __ and the normal name is an alias. */
42495 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42502 return gethostbyname ();
42507 rm -f conftest.
$ac_objext conftest
$ac_exeext
42508 if { (ac_try
="$ac_link"
42509 case "(($ac_try" in
42510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42511 *) ac_try_echo=$ac_try;;
42513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42514 (eval "$ac_link") 2>conftest.er1
42516 grep -v '^ *+' conftest.er1 >conftest.err
42518 cat conftest.err >&5
42519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42520 (exit $ac_status); } && {
42521 test -z "$ac_c_werror_flag" ||
42522 test ! -s conftest.err
42523 } && test -s conftest$ac_exeext &&
42524 $as_test_x conftest$ac_exeext; then
42525 ac_cv_func_gethostbyname=yes
42527 echo "$as_me: failed program was:" >&5
42528 sed 's/^/| /' conftest.$ac_ext >&5
42530 ac_cv_func_gethostbyname=no
42533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42534 conftest$ac_exeext conftest.$ac_ext
42536 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42537 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42538 if test $ac_cv_func_gethostbyname = yes; then
42539 cat >>confdefs.h <<\_ACEOF
42540 #define HAVE_GETHOSTBYNAME 1
42547 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42548 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42549 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42550 echo $ECHO_N "(cached) $ECHO_C" >&6
42554 ac_cpp='$CXXCPP $CPPFLAGS'
42555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42560 cat >conftest.$ac_ext <<_ACEOF
42563 cat confdefs.h >>conftest.$ac_ext
42564 cat >>conftest.$ac_ext <<_ACEOF
42565 /* end confdefs.h. */
42573 struct servent *se, *res;
42576 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42582 rm -f conftest.$ac_objext
42583 if { (ac_try="$ac_compile"
42584 case "(($ac_try" in
42585 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42586 *) ac_try_echo
=$ac_try;;
42588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42589 (eval "$ac_compile") 2>conftest.er1
42591 grep -v '^ *+' conftest.er1
>conftest.err
42593 cat conftest.err
>&5
42594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42595 (exit $ac_status); } && {
42596 test -z "$ac_cxx_werror_flag" ||
42597 test ! -s conftest.err
42598 } && test -s conftest.
$ac_objext; then
42599 ac_cv_func_which_getservbyname_r
=six
42601 echo "$as_me: failed program was:" >&5
42602 sed 's/^/| /' conftest.
$ac_ext >&5
42605 cat >conftest.
$ac_ext <<_ACEOF
42608 cat confdefs.h
>>conftest.
$ac_ext
42609 cat >>conftest.
$ac_ext <<_ACEOF
42610 /* end confdefs.h. */
42618 struct servent *se;
42621 (void) getservbyname_r(name, proto, se, buffer, buflen)
42627 rm -f conftest.
$ac_objext
42628 if { (ac_try
="$ac_compile"
42629 case "(($ac_try" in
42630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42631 *) ac_try_echo=$ac_try;;
42633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42634 (eval "$ac_compile") 2>conftest.er1
42636 grep -v '^ *+' conftest.er1 >conftest.err
42638 cat conftest.err >&5
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); } && {
42641 test -z "$ac_cxx_werror_flag" ||
42642 test ! -s conftest.err
42643 } && test -s conftest.$ac_objext; then
42644 ac_cv_func_which_getservbyname_r=five
42646 echo "$as_me: failed program was:" >&5
42647 sed 's/^/| /' conftest.$ac_ext >&5
42650 cat >conftest.$ac_ext <<_ACEOF
42653 cat confdefs.h >>conftest.$ac_ext
42654 cat >>conftest.$ac_ext <<_ACEOF
42655 /* end confdefs.h. */
42663 struct servent *se;
42664 struct servent_data data;
42665 (void) getservbyname_r(name, proto, se, &data);
42671 rm -f conftest.$ac_objext
42672 if { (ac_try="$ac_compile"
42673 case "(($ac_try" in
42674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42675 *) ac_try_echo
=$ac_try;;
42677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42678 (eval "$ac_compile") 2>conftest.er1
42680 grep -v '^ *+' conftest.er1
>conftest.err
42682 cat conftest.err
>&5
42683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42684 (exit $ac_status); } && {
42685 test -z "$ac_cxx_werror_flag" ||
42686 test ! -s conftest.err
42687 } && test -s conftest.
$ac_objext; then
42688 ac_cv_func_which_getservbyname_r
=four
42690 echo "$as_me: failed program was:" >&5
42691 sed 's/^/| /' conftest.
$ac_ext >&5
42693 ac_cv_func_which_getservbyname_r
=no
42697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42709 ac_cpp
='$CPP $CPPFLAGS'
42710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42717 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42718 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42720 if test $ac_cv_func_which_getservbyname_r = six
; then
42721 cat >>confdefs.h
<<\_ACEOF
42722 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42725 elif test $ac_cv_func_which_getservbyname_r = five
; then
42726 cat >>confdefs.h
<<\_ACEOF
42727 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42730 elif test $ac_cv_func_which_getservbyname_r = four
; then
42731 cat >>confdefs.h
<<\_ACEOF
42732 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42738 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42739 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42741 for ac_func
in getservbyname
42743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42746 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42747 echo $ECHO_N "(cached) $ECHO_C" >&6
42749 cat >conftest.
$ac_ext <<_ACEOF
42752 cat confdefs.h
>>conftest.
$ac_ext
42753 cat >>conftest.
$ac_ext <<_ACEOF
42754 /* end confdefs.h. */
42755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42757 #define $ac_func innocuous_$ac_func
42759 /* System header to define __stub macros and hopefully few prototypes,
42760 which can conflict with char $ac_func (); below.
42761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42762 <limits.h> exists even on freestanding compilers. */
42765 # include <limits.h>
42767 # include <assert.h>
42772 /* Override any GCC internal prototype to avoid an error.
42773 Use char because int might match the return type of a GCC
42774 builtin and then its argument prototype would still apply. */
42779 /* The GNU C library defines this for functions which it implements
42780 to always fail with ENOSYS. Some functions are actually named
42781 something starting with __ and the normal name is an alias. */
42782 #if defined __stub_$ac_func || defined __stub___$ac_func
42789 return $ac_func ();
42794 rm -f conftest.
$ac_objext conftest
$ac_exeext
42795 if { (ac_try
="$ac_link"
42796 case "(($ac_try" in
42797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42798 *) ac_try_echo=$ac_try;;
42800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42801 (eval "$ac_link") 2>conftest.er1
42803 grep -v '^ *+' conftest.er1 >conftest.err
42805 cat conftest.err >&5
42806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807 (exit $ac_status); } && {
42808 test -z "$ac_c_werror_flag" ||
42809 test ! -s conftest.err
42810 } && test -s conftest$ac_exeext &&
42811 $as_test_x conftest$ac_exeext; then
42812 eval "$as_ac_var=yes"
42814 echo "$as_me: failed program was:" >&5
42815 sed 's/^/| /' conftest.$ac_ext >&5
42817 eval "$as_ac_var=no"
42820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42821 conftest$ac_exeext conftest.$ac_ext
42823 ac_res=`eval echo '${'$as_ac_var'}'`
42824 { echo "$as_me:$LINENO: result: $ac_res" >&5
42825 echo "${ECHO_T}$ac_res" >&6; }
42826 if test `eval echo '${'$as_ac_var'}'` = yes; then
42827 cat >>confdefs.h <<_ACEOF
42828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42830 cat >>confdefs.h <<\_ACEOF
42831 #define HAVE_GETSERVBYNAME 1
42839 if test "$wxUSE_THREADS" = "yes"; then
42840 cat >>confdefs.h <<\_ACEOF
42841 #define wxUSE_THREADS 1
42845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42847 if test "$wx_cv_func_strtok_r" = "yes"; then
42848 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42849 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42850 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42851 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42852 { echo "$as_me:$LINENO: result: yes" >&5
42853 echo "${ECHO_T}yes" >&6; }
42855 { echo "$as_me:$LINENO: result: no" >&5
42856 echo "${ECHO_T}no" >&6; }
42861 if test "$WXGTK2" = 1 ; then
42862 cat >>confdefs.h <<_ACEOF
42863 #define __WXGTK20__ $WXGTK2
42869 if test "$WXGTK12" = 1 ; then
42870 cat >>confdefs.h <<_ACEOF
42871 #define __WXGTK12__ $WXGTK12
42876 if test "$WXGTK127" = 1 ; then
42877 cat >>confdefs.h <<_ACEOF
42878 #define __WXGTK127__ $WXGTK127
42883 if test "$WXGPE" = 1 ; then
42884 cat >>confdefs.h <<_ACEOF
42885 #define __WXGPE__ $WXGPE
42891 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42892 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42893 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42894 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42898 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42899 wxUSE_DEBUG_INFO=yes
42900 if test "$GCC" = yes; then
42901 DEBUG_CFLAGS="-ggdb"
42905 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42906 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42908 if test "$wxUSE_GTK" = 1 ; then
42909 if test "x$wxGTK_VERSION" = "x1" ; then
42910 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42915 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42916 cat >>confdefs.h <<\_ACEOF
42917 #define wxUSE_MEMORY_TRACING 1
42920 cat >>confdefs.h <<\_ACEOF
42921 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42924 cat >>confdefs.h <<\_ACEOF
42925 #define wxUSE_DEBUG_NEW_ALWAYS 1
42928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42931 if test "$wxUSE_DMALLOC" = "yes" ; then
42932 DMALLOC_LIBS="-ldmallocthcxx"
42936 if test "$wxUSE_PROFILE" = "yes" ; then
42937 PROFILE_FLAGS=" -pg"
42940 if test "$GCC" = "yes" ; then
42941 if test "$wxUSE_NO_RTTI" = "yes" ; then
42942 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42944 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42945 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42947 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42948 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42953 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42956 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42962 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42963 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42964 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42966 if test "$wxUSE_OPTIMISE" = "no" ; then
42967 if test "$GCC" = yes ; then
42968 OPTIMISE_CFLAGS="-O0"
42971 if test "$GCC" = yes ; then
42973 *-pc-os2_emx | *-pc-os2-emx )
42974 OPTIMISE_CFLAGS="-O2"
42977 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42981 OPTIMISE_CFLAGS="-O"
42987 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42988 cat >>confdefs.h <<\_ACEOF
42989 #define WXWIN_COMPATIBILITY_2_6 1
42993 WXWIN_COMPATIBILITY_2_8="yes"
42996 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42997 cat >>confdefs.h <<\_ACEOF
42998 #define WXWIN_COMPATIBILITY_2_8 1
43004 if test "$wxUSE_GUI" = "yes"; then
43005 cat >>confdefs.h <<\_ACEOF
43006 #define wxUSE_GUI 1
43013 if test "$wxUSE_UNIX" = "yes"; then
43014 cat >>confdefs.h <<\_ACEOF
43015 #define wxUSE_UNIX 1
43021 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43025 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43026 if test "$USE_DOS" = 1; then
43030 for ac_func in dlopen
43032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43033 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43035 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43036 echo $ECHO_N "(cached) $ECHO_C" >&6
43038 cat >conftest.$ac_ext <<_ACEOF
43041 cat confdefs.h >>conftest.$ac_ext
43042 cat >>conftest.$ac_ext <<_ACEOF
43043 /* end confdefs.h. */
43044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43046 #define $ac_func innocuous_$ac_func
43048 /* System header to define __stub macros and hopefully few prototypes,
43049 which can conflict with char $ac_func (); below.
43050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43051 <limits.h> exists even on freestanding compilers. */
43054 # include <limits.h>
43056 # include <assert.h>
43061 /* Override any GCC internal prototype to avoid an error.
43062 Use char because int might match the return type of a GCC
43063 builtin and then its argument prototype would still apply. */
43068 /* The GNU C library defines this for functions which it implements
43069 to always fail with ENOSYS. Some functions are actually named
43070 something starting with __ and the normal name is an alias. */
43071 #if defined __stub_$ac_func || defined __stub___$ac_func
43078 return $ac_func ();
43083 rm -f conftest.$ac_objext conftest$ac_exeext
43084 if { (ac_try="$ac_link"
43085 case "(($ac_try" in
43086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43087 *) ac_try_echo
=$ac_try;;
43089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43090 (eval "$ac_link") 2>conftest.er1
43092 grep -v '^ *+' conftest.er1
>conftest.err
43094 cat conftest.err
>&5
43095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43096 (exit $ac_status); } && {
43097 test -z "$ac_c_werror_flag" ||
43098 test ! -s conftest.err
43099 } && test -s conftest
$ac_exeext &&
43100 $as_test_x conftest
$ac_exeext; then
43101 eval "$as_ac_var=yes"
43103 echo "$as_me: failed program was:" >&5
43104 sed 's/^/| /' conftest.
$ac_ext >&5
43106 eval "$as_ac_var=no"
43109 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43110 conftest
$ac_exeext conftest.
$ac_ext
43112 ac_res
=`eval echo '${'$as_ac_var'}'`
43113 { echo "$as_me:$LINENO: result: $ac_res" >&5
43114 echo "${ECHO_T}$ac_res" >&6; }
43115 if test `eval echo '${'$as_ac_var'}'` = yes; then
43116 cat >>confdefs.h
<<_ACEOF
43117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43120 cat >>confdefs.h
<<\_ACEOF
43121 #define HAVE_DLOPEN 1
43128 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43129 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43130 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43131 echo $ECHO_N "(cached) $ECHO_C" >&6
43133 ac_check_lib_save_LIBS
=$LIBS
43135 cat >conftest.
$ac_ext <<_ACEOF
43138 cat confdefs.h
>>conftest.
$ac_ext
43139 cat >>conftest.
$ac_ext <<_ACEOF
43140 /* end confdefs.h. */
43142 /* Override any GCC internal prototype to avoid an error.
43143 Use char because int might match the return type of a GCC
43144 builtin and then its argument prototype would still apply. */
43157 rm -f conftest.
$ac_objext conftest
$ac_exeext
43158 if { (ac_try
="$ac_link"
43159 case "(($ac_try" in
43160 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43161 *) ac_try_echo=$ac_try;;
43163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43164 (eval "$ac_link") 2>conftest.er1
43166 grep -v '^ *+' conftest.er1 >conftest.err
43168 cat conftest.err >&5
43169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43170 (exit $ac_status); } && {
43171 test -z "$ac_c_werror_flag" ||
43172 test ! -s conftest.err
43173 } && test -s conftest$ac_exeext &&
43174 $as_test_x conftest$ac_exeext; then
43175 ac_cv_lib_dl_dlopen=yes
43177 echo "$as_me: failed program was:" >&5
43178 sed 's/^/| /' conftest.$ac_ext >&5
43180 ac_cv_lib_dl_dlopen=no
43183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43184 conftest$ac_exeext conftest.$ac_ext
43185 LIBS=$ac_check_lib_save_LIBS
43187 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43188 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43189 if test $ac_cv_lib_dl_dlopen = yes; then
43191 cat >>confdefs.h <<\_ACEOF
43192 #define HAVE_DLOPEN 1
43196 DL_LINK=" -ldl$DL_LINK"
43201 for ac_func in shl_load
43203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43204 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43206 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43207 echo $ECHO_N "(cached) $ECHO_C" >&6
43209 cat >conftest.$ac_ext <<_ACEOF
43212 cat confdefs.h >>conftest.$ac_ext
43213 cat >>conftest.$ac_ext <<_ACEOF
43214 /* end confdefs.h. */
43215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43217 #define $ac_func innocuous_$ac_func
43219 /* System header to define __stub macros and hopefully few prototypes,
43220 which can conflict with char $ac_func (); below.
43221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43222 <limits.h> exists even on freestanding compilers. */
43225 # include <limits.h>
43227 # include <assert.h>
43232 /* Override any GCC internal prototype to avoid an error.
43233 Use char because int might match the return type of a GCC
43234 builtin and then its argument prototype would still apply. */
43239 /* The GNU C library defines this for functions which it implements
43240 to always fail with ENOSYS. Some functions are actually named
43241 something starting with __ and the normal name is an alias. */
43242 #if defined __stub_$ac_func || defined __stub___$ac_func
43249 return $ac_func ();
43254 rm -f conftest.$ac_objext conftest$ac_exeext
43255 if { (ac_try="$ac_link"
43256 case "(($ac_try" in
43257 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43258 *) ac_try_echo
=$ac_try;;
43260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43261 (eval "$ac_link") 2>conftest.er1
43263 grep -v '^ *+' conftest.er1
>conftest.err
43265 cat conftest.err
>&5
43266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43267 (exit $ac_status); } && {
43268 test -z "$ac_c_werror_flag" ||
43269 test ! -s conftest.err
43270 } && test -s conftest
$ac_exeext &&
43271 $as_test_x conftest
$ac_exeext; then
43272 eval "$as_ac_var=yes"
43274 echo "$as_me: failed program was:" >&5
43275 sed 's/^/| /' conftest.
$ac_ext >&5
43277 eval "$as_ac_var=no"
43280 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43281 conftest
$ac_exeext conftest.
$ac_ext
43283 ac_res
=`eval echo '${'$as_ac_var'}'`
43284 { echo "$as_me:$LINENO: result: $ac_res" >&5
43285 echo "${ECHO_T}$ac_res" >&6; }
43286 if test `eval echo '${'$as_ac_var'}'` = yes; then
43287 cat >>confdefs.h
<<_ACEOF
43288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43291 cat >>confdefs.h
<<\_ACEOF
43292 #define HAVE_SHL_LOAD 1
43299 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43300 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43301 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43302 echo $ECHO_N "(cached) $ECHO_C" >&6
43304 ac_check_lib_save_LIBS
=$LIBS
43305 LIBS
="-lshl_load $LIBS"
43306 cat >conftest.
$ac_ext <<_ACEOF
43309 cat confdefs.h
>>conftest.
$ac_ext
43310 cat >>conftest.
$ac_ext <<_ACEOF
43311 /* end confdefs.h. */
43313 /* Override any GCC internal prototype to avoid an error.
43314 Use char because int might match the return type of a GCC
43315 builtin and then its argument prototype would still apply. */
43328 rm -f conftest.
$ac_objext conftest
$ac_exeext
43329 if { (ac_try
="$ac_link"
43330 case "(($ac_try" in
43331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43332 *) ac_try_echo=$ac_try;;
43334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43335 (eval "$ac_link") 2>conftest.er1
43337 grep -v '^ *+' conftest.er1 >conftest.err
43339 cat conftest.err >&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); } && {
43342 test -z "$ac_c_werror_flag" ||
43343 test ! -s conftest.err
43344 } && test -s conftest$ac_exeext &&
43345 $as_test_x conftest$ac_exeext; then
43346 ac_cv_lib_shl_load_dld=yes
43348 echo "$as_me: failed program was:" >&5
43349 sed 's/^/| /' conftest.$ac_ext >&5
43351 ac_cv_lib_shl_load_dld=no
43354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43355 conftest$ac_exeext conftest.$ac_ext
43356 LIBS=$ac_check_lib_save_LIBS
43358 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43359 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43360 if test $ac_cv_lib_shl_load_dld = yes; then
43363 DL_LINK=" -ldld$DL_LINK"
43379 if test "$HAVE_DL_FUNCS" = 1; then
43381 for ac_func in dlerror
43383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43384 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43386 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43387 echo $ECHO_N "(cached) $ECHO_C" >&6
43389 cat >conftest.$ac_ext <<_ACEOF
43392 cat confdefs.h >>conftest.$ac_ext
43393 cat >>conftest.$ac_ext <<_ACEOF
43394 /* end confdefs.h. */
43395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43397 #define $ac_func innocuous_$ac_func
43399 /* System header to define __stub macros and hopefully few prototypes,
43400 which can conflict with char $ac_func (); below.
43401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43402 <limits.h> exists even on freestanding compilers. */
43405 # include <limits.h>
43407 # include <assert.h>
43412 /* Override any GCC internal prototype to avoid an error.
43413 Use char because int might match the return type of a GCC
43414 builtin and then its argument prototype would still apply. */
43419 /* The GNU C library defines this for functions which it implements
43420 to always fail with ENOSYS. Some functions are actually named
43421 something starting with __ and the normal name is an alias. */
43422 #if defined __stub_$ac_func || defined __stub___$ac_func
43429 return $ac_func ();
43434 rm -f conftest.$ac_objext conftest$ac_exeext
43435 if { (ac_try="$ac_link"
43436 case "(($ac_try" in
43437 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43438 *) ac_try_echo
=$ac_try;;
43440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43441 (eval "$ac_link") 2>conftest.er1
43443 grep -v '^ *+' conftest.er1
>conftest.err
43445 cat conftest.err
>&5
43446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43447 (exit $ac_status); } && {
43448 test -z "$ac_c_werror_flag" ||
43449 test ! -s conftest.err
43450 } && test -s conftest
$ac_exeext &&
43451 $as_test_x conftest
$ac_exeext; then
43452 eval "$as_ac_var=yes"
43454 echo "$as_me: failed program was:" >&5
43455 sed 's/^/| /' conftest.
$ac_ext >&5
43457 eval "$as_ac_var=no"
43460 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43461 conftest
$ac_exeext conftest.
$ac_ext
43463 ac_res
=`eval echo '${'$as_ac_var'}'`
43464 { echo "$as_me:$LINENO: result: $ac_res" >&5
43465 echo "${ECHO_T}$ac_res" >&6; }
43466 if test `eval echo '${'$as_ac_var'}'` = yes; then
43467 cat >>confdefs.h
<<_ACEOF
43468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43470 cat >>confdefs.h
<<\_ACEOF
43471 #define HAVE_DLERROR 1
43476 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43477 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43478 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43479 echo $ECHO_N "(cached) $ECHO_C" >&6
43481 ac_check_lib_save_LIBS
=$LIBS
43483 cat >conftest.
$ac_ext <<_ACEOF
43486 cat confdefs.h
>>conftest.
$ac_ext
43487 cat >>conftest.
$ac_ext <<_ACEOF
43488 /* end confdefs.h. */
43490 /* Override any GCC internal prototype to avoid an error.
43491 Use char because int might match the return type of a GCC
43492 builtin and then its argument prototype would still apply. */
43505 rm -f conftest.
$ac_objext conftest
$ac_exeext
43506 if { (ac_try
="$ac_link"
43507 case "(($ac_try" in
43508 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43509 *) ac_try_echo=$ac_try;;
43511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43512 (eval "$ac_link") 2>conftest.er1
43514 grep -v '^ *+' conftest.er1 >conftest.err
43516 cat conftest.err >&5
43517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43518 (exit $ac_status); } && {
43519 test -z "$ac_c_werror_flag" ||
43520 test ! -s conftest.err
43521 } && test -s conftest$ac_exeext &&
43522 $as_test_x conftest$ac_exeext; then
43523 ac_cv_lib_dl_dlerror=yes
43525 echo "$as_me: failed program was:" >&5
43526 sed 's/^/| /' conftest.$ac_ext >&5
43528 ac_cv_lib_dl_dlerror=no
43531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43532 conftest$ac_exeext conftest.$ac_ext
43533 LIBS=$ac_check_lib_save_LIBS
43535 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43536 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43537 if test $ac_cv_lib_dl_dlerror = yes; then
43538 cat >>confdefs.h <<\_ACEOF
43539 #define HAVE_DLERROR 1
43552 if test "$USE_DARWIN" = 1; then
43556 if test "$HAVE_DL_FUNCS" = 0; then
43557 if test "$HAVE_SHL_FUNCS" = 0; then
43558 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43559 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43560 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43561 wxUSE_DYNAMIC_LOADER=no
43562 wxUSE_DYNLIB_CLASS=no
43564 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43565 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43572 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43573 cat >>confdefs.h <<\_ACEOF
43574 #define wxUSE_DYNAMIC_LOADER 1
43578 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43579 cat >>confdefs.h <<\_ACEOF
43580 #define wxUSE_DYNLIB_CLASS 1
43587 if test "$wxUSE_PLUGINS" = "yes" ; then
43588 if test "$wxUSE_SHARED" = "no" ; then
43589 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43590 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43593 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43594 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43595 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43598 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43599 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43600 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43603 if test "$wxUSE_PLUGINS" = "yes" ; then
43604 cat >>confdefs.h <<\_ACEOF
43605 #define wxUSE_PLUGINS 1
43612 if test "$wxUSE_FSWATCHER" = "yes"; then
43613 if test "$wxUSE_MSW" != "1"; then
43614 if test "$wxUSE_UNIX" = "yes"; then
43616 for ac_header in sys/inotify.h
43618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43619 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43621 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43622 echo $ECHO_N "(cached) $ECHO_C" >&6
43624 cat >conftest.$ac_ext <<_ACEOF
43627 cat confdefs.h >>conftest.$ac_ext
43628 cat >>conftest.$ac_ext <<_ACEOF
43629 /* end confdefs.h. */
43630 $ac_includes_default
43632 #include <$ac_header>
43634 rm -f conftest.$ac_objext
43635 if { (ac_try="$ac_compile"
43636 case "(($ac_try" in
43637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43638 *) ac_try_echo
=$ac_try;;
43640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43641 (eval "$ac_compile") 2>conftest.er1
43643 grep -v '^ *+' conftest.er1
>conftest.err
43645 cat conftest.err
>&5
43646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43647 (exit $ac_status); } && {
43648 test -z "$ac_c_werror_flag" ||
43649 test ! -s conftest.err
43650 } && test -s conftest.
$ac_objext; then
43651 eval "$as_ac_Header=yes"
43653 echo "$as_me: failed program was:" >&5
43654 sed 's/^/| /' conftest.
$ac_ext >&5
43656 eval "$as_ac_Header=no"
43659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43661 ac_res
=`eval echo '${'$as_ac_Header'}'`
43662 { echo "$as_me:$LINENO: result: $ac_res" >&5
43663 echo "${ECHO_T}$ac_res" >&6; }
43664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43665 cat >>confdefs.h
<<_ACEOF
43666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43673 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43674 cat >>confdefs.h
<<\_ACEOF
43675 #define wxHAS_INOTIFY 1
43680 for ac_header
in sys
/event.h
43682 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43683 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43685 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43686 echo $ECHO_N "(cached) $ECHO_C" >&6
43688 cat >conftest.
$ac_ext <<_ACEOF
43691 cat confdefs.h
>>conftest.
$ac_ext
43692 cat >>conftest.
$ac_ext <<_ACEOF
43693 /* end confdefs.h. */
43694 $ac_includes_default
43696 #include <$ac_header>
43698 rm -f conftest.
$ac_objext
43699 if { (ac_try
="$ac_compile"
43700 case "(($ac_try" in
43701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43702 *) ac_try_echo=$ac_try;;
43704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43705 (eval "$ac_compile") 2>conftest.er1
43707 grep -v '^ *+' conftest.er1 >conftest.err
43709 cat conftest.err >&5
43710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43711 (exit $ac_status); } && {
43712 test -z "$ac_c_werror_flag" ||
43713 test ! -s conftest.err
43714 } && test -s conftest.$ac_objext; then
43715 eval "$as_ac_Header=yes"
43717 echo "$as_me: failed program was:" >&5
43718 sed 's/^/| /' conftest.$ac_ext >&5
43720 eval "$as_ac_Header=no"
43723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43725 ac_res=`eval echo '${'$as_ac_Header'}'`
43726 { echo "$as_me:$LINENO: result: $ac_res" >&5
43727 echo "${ECHO_T}$ac_res" >&6; }
43728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43729 cat >>confdefs.h <<_ACEOF
43730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43737 if test "$ac_cv_header_sys_event_h" = "yes"; then
43738 cat >>confdefs.h <<\_ACEOF
43739 #define wxHAS_KQUEUE 1
43751 if test "$wxUSE_FSWATCHER" = "yes"; then
43752 cat >>confdefs.h <<\_ACEOF
43753 #define wxUSE_FSWATCHER 1
43756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43758 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43759 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43764 if test "$wxUSE_STL" = "yes"; then
43765 cat >>confdefs.h <<\_ACEOF
43766 #define wxUSE_STL 1
43771 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43772 cat >>confdefs.h <<\_ACEOF
43773 #define wxUSE_EXTENDED_RTTI 1
43778 if test "$wxUSE_ANY" = "yes"; then
43779 cat >>confdefs.h <<\_ACEOF
43780 #define wxUSE_ANY 1
43785 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43786 cat >>confdefs.h <<\_ACEOF
43787 #define wxUSE_APPLE_IEEE 1
43792 if test "$wxUSE_TIMER" = "yes"; then
43793 cat >>confdefs.h <<\_ACEOF
43794 #define wxUSE_TIMER 1
43799 if test "$USE_UNIX" = 1 ; then
43800 if test "$wxUSE_MGL" != 1; then
43801 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43802 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43803 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43804 echo $ECHO_N "(cached) $ECHO_C" >&6
43807 cat >conftest.$ac_ext <<_ACEOF
43810 cat confdefs.h >>conftest.$ac_ext
43811 cat >>conftest.$ac_ext <<_ACEOF
43812 /* end confdefs.h. */
43814 #include <sys/ioctl.h>
43815 #include <sys/soundcard.h>
43821 ioctl(0, SNDCTL_DSP_SPEED, 0);
43827 rm -f conftest.$ac_objext conftest$ac_exeext
43828 if { (ac_try="$ac_link"
43829 case "(($ac_try" in
43830 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43831 *) ac_try_echo
=$ac_try;;
43833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43834 (eval "$ac_link") 2>conftest.er1
43836 grep -v '^ *+' conftest.er1
>conftest.err
43838 cat conftest.err
>&5
43839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43840 (exit $ac_status); } && {
43841 test -z "$ac_c_werror_flag" ||
43842 test ! -s conftest.err
43843 } && test -s conftest
$ac_exeext &&
43844 $as_test_x conftest
$ac_exeext; then
43845 ac_cv_header_sys_soundcard
=yes
43847 echo "$as_me: failed program was:" >&5
43848 sed 's/^/| /' conftest.
$ac_ext >&5
43852 LIBS
="$saveLibs -lossaudio"
43853 cat >conftest.
$ac_ext <<_ACEOF
43856 cat confdefs.h
>>conftest.
$ac_ext
43857 cat >>conftest.
$ac_ext <<_ACEOF
43858 /* end confdefs.h. */
43860 #include <sys/ioctl.h>
43861 #include <sys/soundcard.h>
43867 ioctl(0, SNDCTL_DSP_SPEED, 0);
43873 rm -f conftest.
$ac_objext conftest
$ac_exeext
43874 if { (ac_try
="$ac_link"
43875 case "(($ac_try" in
43876 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43877 *) ac_try_echo=$ac_try;;
43879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43880 (eval "$ac_link") 2>conftest.er1
43882 grep -v '^ *+' conftest.er1 >conftest.err
43884 cat conftest.err >&5
43885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43886 (exit $ac_status); } && {
43887 test -z "$ac_c_werror_flag" ||
43888 test ! -s conftest.err
43889 } && test -s conftest$ac_exeext &&
43890 $as_test_x conftest$ac_exeext; then
43891 ac_cv_header_sys_soundcard=yes
43893 echo "$as_me: failed program was:" >&5
43894 sed 's/^/| /' conftest.$ac_ext >&5
43898 ac_cv_header_sys_soundcard=no
43903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43904 conftest$ac_exeext conftest.$ac_ext
43909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43910 conftest$ac_exeext conftest.$ac_ext
43913 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43914 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43917 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43918 cat >>confdefs.h <<\_ACEOF
43919 #define HAVE_SYS_SOUNDCARD_H 1
43926 if test "$wxUSE_SOUND" = "yes"; then
43927 if test "$USE_UNIX" = 1 ; then
43928 if test "$wxUSE_LIBSDL" != "no"; then
43930 # Check whether --with-sdl-prefix was given.
43931 if test "${with_sdl_prefix+set}" = set; then
43932 withval=$with_sdl_prefix; sdl_prefix="$withval"
43938 # Check whether --with-sdl-exec-prefix was given.
43939 if test "${with_sdl_exec_prefix+set}" = set; then
43940 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43945 # Check whether --enable-sdltest was given.
43946 if test "${enable_sdltest+set}" = set; then
43947 enableval=$enable_sdltest;
43953 if test x$sdl_exec_prefix != x ; then
43954 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43955 if test x${SDL_CONFIG+set} != xset ; then
43956 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43959 if test x$sdl_prefix != x ; then
43960 sdl_args="$sdl_args --prefix=$sdl_prefix"
43961 if test x${SDL_CONFIG+set} != xset ; then
43962 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43966 if test "x$prefix" != xNONE; then
43967 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43969 # Extract the first word of "sdl-config", so it can be a program name with args.
43970 set dummy sdl-config; ac_word=$2
43971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43973 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43974 echo $ECHO_N "(cached) $ECHO_C" >&6
43976 case $SDL_CONFIG in
43978 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43982 for as_dir in $PATH
43985 test -z "$as_dir" && as_dir=.
43986 for ac_exec_ext in '' $ac_executable_extensions; do
43987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43988 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43996 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44000 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44001 if test -n "$SDL_CONFIG"; then
44002 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44003 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44005 { echo "$as_me:$LINENO: result: no" >&5
44006 echo "${ECHO_T}no" >&6; }
44010 min_sdl_version=1.2.0
44011 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44012 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44014 if test "$SDL_CONFIG" = "no" ; then
44017 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44018 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44020 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44022 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44023 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44024 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44026 if test "x$enable_sdltest" = "xyes" ; then
44027 ac_save_CFLAGS="$CFLAGS"
44028 ac_save_CXXFLAGS="$CXXFLAGS"
44029 ac_save_LIBS="$LIBS"
44030 CFLAGS="$CFLAGS $SDL_CFLAGS"
44031 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44032 LIBS="$LIBS $SDL_LIBS"
44034 if test "$cross_compiling" = yes; then
44035 echo $ac_n "cross compiling; assumed OK... $ac_c"
44037 cat >conftest.$ac_ext <<_ACEOF
44040 cat confdefs.h >>conftest.$ac_ext
44041 cat >>conftest.$ac_ext <<_ACEOF
44042 /* end confdefs.h. */
44045 #include <stdlib.h>
44046 #include <string.h>
44050 my_strdup (char *str)
44056 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44057 strcpy (new_str, str);
44065 int main (int argc, char *argv[])
44067 int major, minor, micro;
44070 /* This hangs on some systems (?)
44071 system ("touch conf.sdltest");
44073 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44075 /* HP/UX 9 (%@#!) writes to sscanf strings */
44076 tmp_version = my_strdup("$min_sdl_version");
44077 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44078 printf("%s, bad version string\n", "$min_sdl_version");
44082 if (($sdl_major_version > major) ||
44083 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44084 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44090 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44091 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44092 printf("*** best to upgrade to the required version.\n");
44093 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44094 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44095 printf("*** config.cache before re-running configure\n");
44102 rm -f conftest$ac_exeext
44103 if { (ac_try="$ac_link"
44104 case "(($ac_try" in
44105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44106 *) ac_try_echo
=$ac_try;;
44108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44109 (eval "$ac_link") 2>&5
44111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44112 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44113 { (case "(($ac_try" in
44114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44115 *) ac_try_echo=$ac_try;;
44117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44118 (eval "$ac_try") 2>&5
44120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44121 (exit $ac_status); }; }; then
44124 echo "$as_me: program exited with status $ac_status" >&5
44125 echo "$as_me: failed program was:" >&5
44126 sed 's/^/| /' conftest.$ac_ext >&5
44128 ( exit $ac_status )
44131 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44135 CFLAGS="$ac_save_CFLAGS"
44136 CXXFLAGS="$ac_save_CXXFLAGS"
44137 LIBS="$ac_save_LIBS"
44140 if test "x$no_sdl" = x ; then
44141 { echo "$as_me:$LINENO: result: yes" >&5
44142 echo "${ECHO_T}yes" >&6; }
44144 EXTRALIBS_SDL="$SDL_LIBS"
44145 CFLAGS="$SDL_CFLAGS $CFLAGS"
44146 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44147 cat >>confdefs.h <<\_ACEOF
44148 #define wxUSE_LIBSDL 1
44153 { echo "$as_me:$LINENO: result: no" >&5
44154 echo "${ECHO_T}no" >&6; }
44155 if test "$SDL_CONFIG" = "no" ; then
44156 echo "*** The sdl-config script installed by SDL could not be found"
44157 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44158 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44159 echo "*** full path to sdl-config."
44161 if test -f conf.sdltest ; then
44164 echo "*** Could not run SDL test program, checking why..."
44165 CFLAGS="$CFLAGS $SDL_CFLAGS"
44166 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44167 LIBS="$LIBS $SDL_LIBS"
44168 cat >conftest.$ac_ext <<_ACEOF
44171 cat confdefs.h >>conftest.$ac_ext
44172 cat >>conftest.$ac_ext <<_ACEOF
44173 /* end confdefs.h. */
44178 int main(int argc, char *argv[])
44181 #define main K_and_R_C_main
44191 rm -f conftest.$ac_objext conftest$ac_exeext
44192 if { (ac_try="$ac_link"
44193 case "(($ac_try" in
44194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44195 *) ac_try_echo
=$ac_try;;
44197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44198 (eval "$ac_link") 2>conftest.er1
44200 grep -v '^ *+' conftest.er1
>conftest.err
44202 cat conftest.err
>&5
44203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44204 (exit $ac_status); } && {
44205 test -z "$ac_c_werror_flag" ||
44206 test ! -s conftest.err
44207 } && test -s conftest
$ac_exeext &&
44208 $as_test_x conftest
$ac_exeext; then
44209 echo "*** The test program compiled, but did not run. This usually means"
44210 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44211 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44212 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44213 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44214 echo "*** is required on your system"
44216 echo "*** If you have an old version installed, it is best to remove it, although"
44217 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44219 echo "$as_me: failed program was:" >&5
44220 sed 's/^/| /' conftest.
$ac_ext >&5
44222 echo "*** The test program failed to compile or link. See the file config.log for the"
44223 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44224 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44225 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44228 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44229 conftest
$ac_exeext conftest.
$ac_ext
44230 CFLAGS
="$ac_save_CFLAGS"
44231 CXXFLAGS
="$ac_save_CXXFLAGS"
44232 LIBS
="$ac_save_LIBS"
44243 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44248 if test "$wxUSE_MGL" = 1; then
44249 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44250 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44256 if test "$wxUSE_SOUND" = "yes"; then
44257 cat >>confdefs.h
<<\_ACEOF
44258 #define wxUSE_SOUND 1
44261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44264 if test "$WXGTK2" = 1; then
44267 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44268 if test -n "$ac_tool_prefix"; then
44269 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44270 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44273 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44274 echo $ECHO_N "(cached) $ECHO_C" >&6
44276 case $PKG_CONFIG in
44278 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44282 for as_dir
in $PATH
44285 test -z "$as_dir" && as_dir
=.
44286 for ac_exec_ext
in '' $ac_executable_extensions; do
44287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44288 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44299 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44300 if test -n "$PKG_CONFIG"; then
44301 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44302 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44304 { echo "$as_me:$LINENO: result: no" >&5
44305 echo "${ECHO_T}no" >&6; }
44310 if test -z "$ac_cv_path_PKG_CONFIG"; then
44311 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44312 # Extract the first word of "pkg-config", so it can be a program name with args.
44313 set dummy pkg
-config; ac_word
=$2
44314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44316 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44317 echo $ECHO_N "(cached) $ECHO_C" >&6
44319 case $ac_pt_PKG_CONFIG in
44321 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44325 for as_dir
in $PATH
44328 test -z "$as_dir" && as_dir
=.
44329 for ac_exec_ext
in '' $ac_executable_extensions; do
44330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44331 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44342 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44343 if test -n "$ac_pt_PKG_CONFIG"; then
44344 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44345 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44347 { echo "$as_me:$LINENO: result: no" >&5
44348 echo "${ECHO_T}no" >&6; }
44351 if test "x$ac_pt_PKG_CONFIG" = x
; then
44354 case $cross_compiling:$ac_tool_warned in
44356 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44357 whose name does not start with the host triplet. If you think this
44358 configuration is useful to you, please write to autoconf@gnu.org." >&5
44359 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44360 whose name does not start with the host triplet. If you think this
44361 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44362 ac_tool_warned
=yes ;;
44364 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44367 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44371 if test -n "$PKG_CONFIG"; then
44372 _pkg_min_version
=0.9.0
44373 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44374 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44375 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44376 { echo "$as_me:$LINENO: result: yes" >&5
44377 echo "${ECHO_T}yes" >&6; }
44379 { echo "$as_me:$LINENO: result: no" >&5
44380 echo "${ECHO_T}no" >&6; }
44386 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44388 if test "$wxUSE_GTKPRINT" = "yes" ; then
44392 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44393 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44395 if test -n "$PKG_CONFIG"; then
44396 if test -n "$GTKPRINT_CFLAGS"; then
44397 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
44399 if test -n "$PKG_CONFIG" && \
44400 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44401 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44404 (exit $ac_status); }; then
44405 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44413 if test -n "$PKG_CONFIG"; then
44414 if test -n "$GTKPRINT_LIBS"; then
44415 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
44417 if test -n "$PKG_CONFIG" && \
44418 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44419 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44422 (exit $ac_status); }; then
44423 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44434 if test $pkg_failed = yes; then
44436 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44437 _pkg_short_errors_supported
=yes
44439 _pkg_short_errors_supported
=no
44441 if test $_pkg_short_errors_supported = yes; then
44442 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44444 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44446 # Put the nasty error message in config.log where it belongs
44447 echo "$GTKPRINT_PKG_ERRORS" >&5
44450 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44451 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44452 wxUSE_GTKPRINT
="no"
44455 elif test $pkg_failed = untried
; then
44457 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44458 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44459 wxUSE_GTKPRINT
="no"
44463 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
44464 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
44465 { echo "$as_me:$LINENO: result: yes" >&5
44466 echo "${ECHO_T}yes" >&6; }
44468 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
44469 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
44470 cat >>confdefs.h
<<\_ACEOF
44471 #define wxUSE_GTKPRINT 1
44478 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44482 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44483 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44485 if test -n "$PKG_CONFIG"; then
44486 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44487 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44489 if test -n "$PKG_CONFIG" && \
44490 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44491 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44494 (exit $ac_status); }; then
44495 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44503 if test -n "$PKG_CONFIG"; then
44504 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44505 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44507 if test -n "$PKG_CONFIG" && \
44508 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44509 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44512 (exit $ac_status); }; then
44513 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44524 if test $pkg_failed = yes; then
44526 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44527 _pkg_short_errors_supported
=yes
44529 _pkg_short_errors_supported
=no
44531 if test $_pkg_short_errors_supported = yes; then
44532 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44534 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44536 # Put the nasty error message in config.log where it belongs
44537 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44540 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44541 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44542 wxUSE_LIBGNOMEPRINT
="no"
44545 elif test $pkg_failed = untried
; then
44547 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44548 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44549 wxUSE_LIBGNOMEPRINT
="no"
44553 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44554 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44555 { echo "$as_me:$LINENO: result: yes" >&5
44556 echo "${ECHO_T}yes" >&6; }
44558 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44559 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44560 cat >>confdefs.h
<<\_ACEOF
44561 #define wxUSE_LIBGNOMEPRINT 1
44569 if test "$wxUSE_MIMETYPE" = "yes" ; then
44570 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44574 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44575 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44577 if test -n "$PKG_CONFIG"; then
44578 if test -n "$GNOMEVFS_CFLAGS"; then
44579 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44581 if test -n "$PKG_CONFIG" && \
44582 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44583 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44586 (exit $ac_status); }; then
44587 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44595 if test -n "$PKG_CONFIG"; then
44596 if test -n "$GNOMEVFS_LIBS"; then
44597 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44599 if test -n "$PKG_CONFIG" && \
44600 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44601 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44604 (exit $ac_status); }; then
44605 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44616 if test $pkg_failed = yes; then
44618 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44619 _pkg_short_errors_supported
=yes
44621 _pkg_short_errors_supported
=no
44623 if test $_pkg_short_errors_supported = yes; then
44624 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44626 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44628 # Put the nasty error message in config.log where it belongs
44629 echo "$GNOMEVFS_PKG_ERRORS" >&5
44632 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44633 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44634 wxUSE_LIBGNOMEVFS
="no"
44637 elif test $pkg_failed = untried
; then
44639 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44640 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44641 wxUSE_LIBGNOMEVFS
="no"
44645 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44646 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44647 { echo "$as_me:$LINENO: result: yes" >&5
44648 echo "${ECHO_T}yes" >&6; }
44650 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44651 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44652 cat >>confdefs.h
<<\_ACEOF
44653 #define wxUSE_LIBGNOMEVFS 1
44661 if test "$wxUSE_LIBHILDON" = "yes" ; then
44664 { echo "$as_me:$LINENO: checking for HILDON" >&5
44665 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44667 if test -n "$PKG_CONFIG"; then
44668 if test -n "$HILDON_CFLAGS"; then
44669 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44671 if test -n "$PKG_CONFIG" && \
44672 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44673 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44676 (exit $ac_status); }; then
44677 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44685 if test -n "$PKG_CONFIG"; then
44686 if test -n "$HILDON_LIBS"; then
44687 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44689 if test -n "$PKG_CONFIG" && \
44690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44691 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); }; then
44695 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44706 if test $pkg_failed = yes; then
44708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44709 _pkg_short_errors_supported
=yes
44711 _pkg_short_errors_supported
=no
44713 if test $_pkg_short_errors_supported = yes; then
44714 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44716 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44718 # Put the nasty error message in config.log where it belongs
44719 echo "$HILDON_PKG_ERRORS" >&5
44722 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44723 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44724 wxUSE_LIBHILDON
="no"
44728 elif test $pkg_failed = untried
; then
44730 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44731 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44732 wxUSE_LIBHILDON
="no"
44737 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44738 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44739 { echo "$as_me:$LINENO: result: yes" >&5
44740 echo "${ECHO_T}yes" >&6; }
44742 EXTRALIBS_HILDON
="$HILDON_LIBS"
44743 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44744 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44745 cat >>confdefs.h
<<\_ACEOF
44746 #define wxUSE_LIBHILDON 1
44753 if test "$ac_hildon_lgpl" = 0 ; then
44756 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44757 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44759 if test -n "$PKG_CONFIG"; then
44760 if test -n "$HILDON2_CFLAGS"; then
44761 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
44763 if test -n "$PKG_CONFIG" && \
44764 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44765 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44768 (exit $ac_status); }; then
44769 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44777 if test -n "$PKG_CONFIG"; then
44778 if test -n "$HILDON2_LIBS"; then
44779 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
44781 if test -n "$PKG_CONFIG" && \
44782 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44783 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44786 (exit $ac_status); }; then
44787 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44798 if test $pkg_failed = yes; then
44800 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44801 _pkg_short_errors_supported
=yes
44803 _pkg_short_errors_supported
=no
44805 if test $_pkg_short_errors_supported = yes; then
44806 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44808 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44810 # Put the nasty error message in config.log where it belongs
44811 echo "$HILDON2_PKG_ERRORS" >&5
44814 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44815 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44816 wxUSE_LIBHILDON2
="no"
44819 elif test $pkg_failed = untried
; then
44821 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44822 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44823 wxUSE_LIBHILDON2
="no"
44827 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44828 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44829 { echo "$as_me:$LINENO: result: yes" >&5
44830 echo "${ECHO_T}yes" >&6; }
44832 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44833 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44834 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44835 cat >>confdefs.h
<<\_ACEOF
44836 #define wxUSE_LIBHILDON2 1
44845 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44846 cat >>confdefs.h
<<\_ACEOF
44847 #define wxUSE_CMDLINE_PARSER 1
44852 if test "$wxUSE_STOPWATCH" = "yes"; then
44853 cat >>confdefs.h
<<\_ACEOF
44854 #define wxUSE_STOPWATCH 1
44859 if test "$wxUSE_DATETIME" = "yes"; then
44860 cat >>confdefs.h
<<\_ACEOF
44861 #define wxUSE_DATETIME 1
44866 if test "$wxUSE_FILE" = "yes"; then
44867 cat >>confdefs.h
<<\_ACEOF
44868 #define wxUSE_FILE 1
44873 if test "$wxUSE_FFILE" = "yes"; then
44874 cat >>confdefs.h
<<\_ACEOF
44875 #define wxUSE_FFILE 1
44880 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44881 if test "$wxUSE_STREAMS" != yes; then
44882 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44883 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44884 wxUSE_ARCHIVE_STREAMS
=no
44886 cat >>confdefs.h
<<\_ACEOF
44887 #define wxUSE_ARCHIVE_STREAMS 1
44893 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44894 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44895 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44896 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44897 elif test "$wxUSE_ZLIB" = "no"; then
44898 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44899 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44901 cat >>confdefs.h
<<\_ACEOF
44902 #define wxUSE_ZIPSTREAM 1
44908 if test "$wxUSE_TARSTREAM" = "yes"; then
44909 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44910 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44911 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44913 cat >>confdefs.h
<<\_ACEOF
44914 #define wxUSE_TARSTREAM 1
44920 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44921 cat >>confdefs.h
<<\_ACEOF
44922 #define wxUSE_FILE_HISTORY 1
44927 if test "$wxUSE_FILESYSTEM" = "yes"; then
44928 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44929 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44930 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44931 wxUSE_FILESYSTEM
=no
44933 cat >>confdefs.h
<<\_ACEOF
44934 #define wxUSE_FILESYSTEM 1
44940 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44941 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44942 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44943 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44945 cat >>confdefs.h
<<\_ACEOF
44946 #define wxUSE_FS_ARCHIVE 1
44952 if test "$wxUSE_FS_ZIP" = "yes"; then
44953 if test "$wxUSE_FS_ARCHIVE" != yes; then
44954 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44955 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44957 cat >>confdefs.h
<<\_ACEOF
44958 #define wxUSE_FS_ZIP 1
44964 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44965 if test "$USE_UNIX" != 1; then
44966 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44967 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44968 wxUSE_ON_FATAL_EXCEPTION
=no
44970 cat >>confdefs.h
<<\_ACEOF
44971 #define wxUSE_ON_FATAL_EXCEPTION 1
44977 if test "$wxUSE_STACKWALKER" = "yes"; then
44978 cat >>confdefs.h
<<\_ACEOF
44979 #define wxUSE_STACKWALKER 1
44984 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44985 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44986 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44987 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44988 wxUSE_DEBUGREPORT
=no
44990 cat >>confdefs.h
<<\_ACEOF
44991 #define wxUSE_DEBUGREPORT 1
44994 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45000 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45001 cat >>confdefs.h
<<\_ACEOF
45002 #define wxUSE_SNGLINST_CHECKER 1
45007 if test "$wxUSE_BUSYINFO" = "yes"; then
45008 cat >>confdefs.h
<<\_ACEOF
45009 #define wxUSE_BUSYINFO 1
45014 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45015 cat >>confdefs.h
<<\_ACEOF
45016 #define wxUSE_STD_CONTAINERS 1
45021 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45022 cat >>confdefs.h
<<\_ACEOF
45023 #define wxUSE_STD_IOSTREAM 1
45028 if test "$wxUSE_STD_STRING" = "yes"; then
45029 cat >>confdefs.h
<<\_ACEOF
45030 #define wxUSE_STD_STRING 1
45035 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45036 cat >>confdefs.h
<<\_ACEOF
45037 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45042 if test "$wxUSE_STDPATHS" = "yes"; then
45043 cat >>confdefs.h
<<\_ACEOF
45044 #define wxUSE_STDPATHS 1
45049 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45050 cat >>confdefs.h
<<\_ACEOF
45051 #define wxUSE_TEXTBUFFER 1
45056 if test "$wxUSE_TEXTFILE" = "yes"; then
45057 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45058 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45059 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45061 cat >>confdefs.h
<<\_ACEOF
45062 #define wxUSE_TEXTFILE 1
45068 if test "$wxUSE_CONFIG" = "yes" ; then
45069 if test "$wxUSE_TEXTFILE" != "yes"; then
45070 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45071 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45073 cat >>confdefs.h
<<\_ACEOF
45074 #define wxUSE_CONFIG 1
45077 cat >>confdefs.h
<<\_ACEOF
45078 #define wxUSE_CONFIG_NATIVE 1
45081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45085 if test "$wxUSE_INTL" = "yes" ; then
45086 if test "$wxUSE_FILE" != "yes"; then
45087 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45088 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45090 cat >>confdefs.h
<<\_ACEOF
45091 #define wxUSE_INTL 1
45094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45095 GUIDIST
="$GUIDIST INTL_DIST"
45099 if test "$wxUSE_XLOCALE" = "yes" ; then
45100 cat >>confdefs.h
<<\_ACEOF
45101 #define wxUSE_XLOCALE 1
45104 { echo "$as_me:$LINENO: checking for locale_t" >&5
45105 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45106 if test "${ac_cv_type_locale_t+set}" = set; then
45107 echo $ECHO_N "(cached) $ECHO_C" >&6
45109 cat >conftest.
$ac_ext <<_ACEOF
45112 cat confdefs.h
>>conftest.
$ac_ext
45113 cat >>conftest.
$ac_ext <<_ACEOF
45114 /* end confdefs.h. */
45115 #include <xlocale.h>
45116 #include <locale.h>
45118 typedef locale_t ac__type_new_;
45122 if ((ac__type_new_ *) 0)
45124 if (sizeof (ac__type_new_))
45130 rm -f conftest.
$ac_objext
45131 if { (ac_try
="$ac_compile"
45132 case "(($ac_try" in
45133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45134 *) ac_try_echo=$ac_try;;
45136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45137 (eval "$ac_compile") 2>conftest.er1
45139 grep -v '^ *+' conftest.er1 >conftest.err
45141 cat conftest.err >&5
45142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45143 (exit $ac_status); } && {
45144 test -z "$ac_c_werror_flag" ||
45145 test ! -s conftest.err
45146 } && test -s conftest.$ac_objext; then
45147 ac_cv_type_locale_t=yes
45149 echo "$as_me: failed program was:" >&5
45150 sed 's/^/| /' conftest.$ac_ext >&5
45152 ac_cv_type_locale_t=no
45155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45157 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45158 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45159 if test $ac_cv_type_locale_t = yes; then
45161 cat >>confdefs.h <<_ACEOF
45162 #define HAVE_LOCALE_T 1
45170 if test "$wxUSE_LOG" = "yes"; then
45171 cat >>confdefs.h <<\_ACEOF
45172 #define wxUSE_LOG 1
45176 if test "$wxUSE_LOGGUI" = "yes"; then
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_LOGGUI 1
45183 if test "$wxUSE_LOGWINDOW" = "yes"; then
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_LOGWINDOW 1
45190 if test "$wxUSE_LOGDIALOG" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_LOG_DIALOG 1
45197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45200 if test "$wxUSE_LONGLONG" = "yes"; then
45201 cat >>confdefs.h <<\_ACEOF
45202 #define wxUSE_LONGLONG 1
45207 if test "$wxUSE_GEOMETRY" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_GEOMETRY 1
45214 if test "$wxUSE_BASE64" = "yes"; then
45215 cat >>confdefs.h <<\_ACEOF
45216 #define wxUSE_BASE64 1
45221 if test "$wxUSE_STREAMS" = "yes" ; then
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_STREAMS 1
45228 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45229 cat >>confdefs.h <<\_ACEOF
45230 #define wxUSE_PRINTF_POS_PARAMS 1
45235 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45236 cat >>confdefs.h <<\_ACEOF
45237 #define wxUSE_OBJC_UNIQUIFYING 1
45243 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45244 cat >>confdefs.h <<\_ACEOF
45245 #define wxUSE_CONSOLE_EVENTLOOP 1
45249 if test "$wxUSE_UNIX" = "yes"; then
45250 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45251 cat >>confdefs.h <<\_ACEOF
45252 #define wxUSE_SELECT_DISPATCHER 1
45257 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45259 for ac_header in sys/epoll.h
45261 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45262 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45265 echo $ECHO_N "(cached) $ECHO_C" >&6
45267 cat >conftest.$ac_ext <<_ACEOF
45270 cat confdefs.h >>conftest.$ac_ext
45271 cat >>conftest.$ac_ext <<_ACEOF
45272 /* end confdefs.h. */
45273 $ac_includes_default
45275 #include <$ac_header>
45277 rm -f conftest.$ac_objext
45278 if { (ac_try="$ac_compile"
45279 case "(($ac_try" in
45280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45281 *) ac_try_echo
=$ac_try;;
45283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45284 (eval "$ac_compile") 2>conftest.er1
45286 grep -v '^ *+' conftest.er1
>conftest.err
45288 cat conftest.err
>&5
45289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45290 (exit $ac_status); } && {
45291 test -z "$ac_c_werror_flag" ||
45292 test ! -s conftest.err
45293 } && test -s conftest.
$ac_objext; then
45294 eval "$as_ac_Header=yes"
45296 echo "$as_me: failed program was:" >&5
45297 sed 's/^/| /' conftest.
$ac_ext >&5
45299 eval "$as_ac_Header=no"
45302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45304 ac_res
=`eval echo '${'$as_ac_Header'}'`
45305 { echo "$as_me:$LINENO: result: $ac_res" >&5
45306 echo "${ECHO_T}$ac_res" >&6; }
45307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45308 cat >>confdefs.h
<<_ACEOF
45309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45316 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45317 cat >>confdefs.h
<<\_ACEOF
45318 #define wxUSE_EPOLL_DISPATCHER 1
45322 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45323 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45332 for ac_func
in gettimeofday ftime
45334 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45335 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45337 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45338 echo $ECHO_N "(cached) $ECHO_C" >&6
45340 cat >conftest.
$ac_ext <<_ACEOF
45343 cat confdefs.h
>>conftest.
$ac_ext
45344 cat >>conftest.
$ac_ext <<_ACEOF
45345 /* end confdefs.h. */
45346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45348 #define $ac_func innocuous_$ac_func
45350 /* System header to define __stub macros and hopefully few prototypes,
45351 which can conflict with char $ac_func (); below.
45352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45353 <limits.h> exists even on freestanding compilers. */
45356 # include <limits.h>
45358 # include <assert.h>
45363 /* Override any GCC internal prototype to avoid an error.
45364 Use char because int might match the return type of a GCC
45365 builtin and then its argument prototype would still apply. */
45370 /* The GNU C library defines this for functions which it implements
45371 to always fail with ENOSYS. Some functions are actually named
45372 something starting with __ and the normal name is an alias. */
45373 #if defined __stub_$ac_func || defined __stub___$ac_func
45380 return $ac_func ();
45385 rm -f conftest.
$ac_objext conftest
$ac_exeext
45386 if { (ac_try
="$ac_link"
45387 case "(($ac_try" in
45388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45389 *) ac_try_echo=$ac_try;;
45391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45392 (eval "$ac_link") 2>conftest.er1
45394 grep -v '^ *+' conftest.er1 >conftest.err
45396 cat conftest.err >&5
45397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398 (exit $ac_status); } && {
45399 test -z "$ac_c_werror_flag" ||
45400 test ! -s conftest.err
45401 } && test -s conftest$ac_exeext &&
45402 $as_test_x conftest$ac_exeext; then
45403 eval "$as_ac_var=yes"
45405 echo "$as_me: failed program was:" >&5
45406 sed 's/^/| /' conftest.$ac_ext >&5
45408 eval "$as_ac_var=no"
45411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45412 conftest$ac_exeext conftest.$ac_ext
45414 ac_res=`eval echo '${'$as_ac_var'}'`
45415 { echo "$as_me:$LINENO: result: $ac_res" >&5
45416 echo "${ECHO_T}$ac_res" >&6; }
45417 if test `eval echo '${'$as_ac_var'}'` = yes; then
45418 cat >>confdefs.h <<_ACEOF
45419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45426 if test "$ac_cv_func_gettimeofday" = "yes"; then
45427 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45428 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45429 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45430 echo $ECHO_N "(cached) $ECHO_C" >&6
45433 cat >conftest.$ac_ext <<_ACEOF
45436 cat confdefs.h >>conftest.$ac_ext
45437 cat >>conftest.$ac_ext <<_ACEOF
45438 /* end confdefs.h. */
45440 #include <sys/time.h>
45441 #include <unistd.h>
45448 gettimeofday(&tv, NULL);
45454 rm -f conftest.$ac_objext
45455 if { (ac_try="$ac_compile"
45456 case "(($ac_try" in
45457 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45458 *) ac_try_echo
=$ac_try;;
45460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45461 (eval "$ac_compile") 2>conftest.er1
45463 grep -v '^ *+' conftest.er1
>conftest.err
45465 cat conftest.err
>&5
45466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45467 (exit $ac_status); } && {
45468 test -z "$ac_c_werror_flag" ||
45469 test ! -s conftest.err
45470 } && test -s conftest.
$ac_objext; then
45471 wx_cv_func_gettimeofday_has_2_args
=yes
45473 echo "$as_me: failed program was:" >&5
45474 sed 's/^/| /' conftest.
$ac_ext >&5
45476 cat >conftest.
$ac_ext <<_ACEOF
45479 cat confdefs.h
>>conftest.
$ac_ext
45480 cat >>conftest.
$ac_ext <<_ACEOF
45481 /* end confdefs.h. */
45483 #include <sys/time.h>
45484 #include <unistd.h>
45497 rm -f conftest.
$ac_objext
45498 if { (ac_try
="$ac_compile"
45499 case "(($ac_try" in
45500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45501 *) ac_try_echo=$ac_try;;
45503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45504 (eval "$ac_compile") 2>conftest.er1
45506 grep -v '^ *+' conftest.er1 >conftest.err
45508 cat conftest.err >&5
45509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45510 (exit $ac_status); } && {
45511 test -z "$ac_c_werror_flag" ||
45512 test ! -s conftest.err
45513 } && test -s conftest.$ac_objext; then
45514 wx_cv_func_gettimeofday_has_2_args=no
45516 echo "$as_me: failed program was:" >&5
45517 sed 's/^/| /' conftest.$ac_ext >&5
45520 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45521 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45522 wx_cv_func_gettimeofday_has_2_args=unknown
45527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45534 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45535 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45537 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45538 cat >>confdefs.h <<\_ACEOF
45539 #define WX_GETTIMEOFDAY_NO_TZ 1
45545 if test "$wxUSE_DATETIME" = "yes"; then
45546 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45547 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45548 if test "${wx_cv_var_timezone+set}" = set; then
45549 echo $ECHO_N "(cached) $ECHO_C" >&6
45553 ac_cpp='$CXXCPP $CPPFLAGS'
45554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45558 cat >conftest.$ac_ext <<_ACEOF
45561 cat confdefs.h >>conftest.$ac_ext
45562 cat >>conftest.$ac_ext <<_ACEOF
45563 /* end confdefs.h. */
45578 rm -f conftest.$ac_objext
45579 if { (ac_try="$ac_compile"
45580 case "(($ac_try" in
45581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45582 *) ac_try_echo
=$ac_try;;
45584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45585 (eval "$ac_compile") 2>conftest.er1
45587 grep -v '^ *+' conftest.er1
>conftest.err
45589 cat conftest.err
>&5
45590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45591 (exit $ac_status); } && {
45592 test -z "$ac_cxx_werror_flag" ||
45593 test ! -s conftest.err
45594 } && test -s conftest.
$ac_objext; then
45596 wx_cv_var_timezone
=timezone
45599 echo "$as_me: failed program was:" >&5
45600 sed 's/^/| /' conftest.
$ac_ext >&5
45603 cat >conftest.
$ac_ext <<_ACEOF
45606 cat confdefs.h
>>conftest.
$ac_ext
45607 cat >>conftest.
$ac_ext <<_ACEOF
45608 /* end confdefs.h. */
45623 rm -f conftest.
$ac_objext
45624 if { (ac_try
="$ac_compile"
45625 case "(($ac_try" in
45626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45627 *) ac_try_echo=$ac_try;;
45629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45630 (eval "$ac_compile") 2>conftest.er1
45632 grep -v '^ *+' conftest.er1 >conftest.err
45634 cat conftest.err >&5
45635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45636 (exit $ac_status); } && {
45637 test -z "$ac_cxx_werror_flag" ||
45638 test ! -s conftest.err
45639 } && test -s conftest.$ac_objext; then
45641 wx_cv_var_timezone=_timezone
45644 echo "$as_me: failed program was:" >&5
45645 sed 's/^/| /' conftest.$ac_ext >&5
45648 cat >conftest.$ac_ext <<_ACEOF
45651 cat confdefs.h >>conftest.$ac_ext
45652 cat >>conftest.$ac_ext <<_ACEOF
45653 /* end confdefs.h. */
45668 rm -f conftest.$ac_objext
45669 if { (ac_try="$ac_compile"
45670 case "(($ac_try" in
45671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45672 *) ac_try_echo
=$ac_try;;
45674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45675 (eval "$ac_compile") 2>conftest.er1
45677 grep -v '^ *+' conftest.er1
>conftest.err
45679 cat conftest.err
>&5
45680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45681 (exit $ac_status); } && {
45682 test -z "$ac_cxx_werror_flag" ||
45683 test ! -s conftest.err
45684 } && test -s conftest.
$ac_objext; then
45686 wx_cv_var_timezone
=__timezone
45689 echo "$as_me: failed program was:" >&5
45690 sed 's/^/| /' conftest.
$ac_ext >&5
45693 if test "$USE_DOS" = 0 ; then
45694 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45695 echo "$as_me: WARNING: no timezone variable" >&2;}
45701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45713 ac_cpp
='$CPP $CPPFLAGS'
45714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45721 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45722 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45724 if test "x$wx_cv_var_timezone" != x
; then
45725 cat >>confdefs.h
<<_ACEOF
45726 #define WX_TIMEZONE $wx_cv_var_timezone
45732 for ac_func
in localtime
45734 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45735 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45737 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45738 echo $ECHO_N "(cached) $ECHO_C" >&6
45740 cat >conftest.
$ac_ext <<_ACEOF
45743 cat confdefs.h
>>conftest.
$ac_ext
45744 cat >>conftest.
$ac_ext <<_ACEOF
45745 /* end confdefs.h. */
45746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45748 #define $ac_func innocuous_$ac_func
45750 /* System header to define __stub macros and hopefully few prototypes,
45751 which can conflict with char $ac_func (); below.
45752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45753 <limits.h> exists even on freestanding compilers. */
45756 # include <limits.h>
45758 # include <assert.h>
45763 /* Override any GCC internal prototype to avoid an error.
45764 Use char because int might match the return type of a GCC
45765 builtin and then its argument prototype would still apply. */
45770 /* The GNU C library defines this for functions which it implements
45771 to always fail with ENOSYS. Some functions are actually named
45772 something starting with __ and the normal name is an alias. */
45773 #if defined __stub_$ac_func || defined __stub___$ac_func
45780 return $ac_func ();
45785 rm -f conftest.
$ac_objext conftest
$ac_exeext
45786 if { (ac_try
="$ac_link"
45787 case "(($ac_try" in
45788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45789 *) ac_try_echo=$ac_try;;
45791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45792 (eval "$ac_link") 2>conftest.er1
45794 grep -v '^ *+' conftest.er1 >conftest.err
45796 cat conftest.err >&5
45797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45798 (exit $ac_status); } && {
45799 test -z "$ac_c_werror_flag" ||
45800 test ! -s conftest.err
45801 } && test -s conftest$ac_exeext &&
45802 $as_test_x conftest$ac_exeext; then
45803 eval "$as_ac_var=yes"
45805 echo "$as_me: failed program was:" >&5
45806 sed 's/^/| /' conftest.$ac_ext >&5
45808 eval "$as_ac_var=no"
45811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45812 conftest$ac_exeext conftest.$ac_ext
45814 ac_res=`eval echo '${'$as_ac_var'}'`
45815 { echo "$as_me:$LINENO: result: $ac_res" >&5
45816 echo "${ECHO_T}$ac_res" >&6; }
45817 if test `eval echo '${'$as_ac_var'}'` = yes; then
45818 cat >>confdefs.h <<_ACEOF
45819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45826 if test "$ac_cv_func_localtime" = "yes"; then
45827 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45828 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45829 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45830 echo $ECHO_N "(cached) $ECHO_C" >&6
45833 cat >conftest.$ac_ext <<_ACEOF
45836 cat confdefs.h >>conftest.$ac_ext
45837 cat >>conftest.$ac_ext <<_ACEOF
45838 /* end confdefs.h. */
45853 rm -f conftest.$ac_objext
45854 if { (ac_try="$ac_compile"
45855 case "(($ac_try" in
45856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45857 *) ac_try_echo
=$ac_try;;
45859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45860 (eval "$ac_compile") 2>conftest.er1
45862 grep -v '^ *+' conftest.er1
>conftest.err
45864 cat conftest.err
>&5
45865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45866 (exit $ac_status); } && {
45867 test -z "$ac_c_werror_flag" ||
45868 test ! -s conftest.err
45869 } && test -s conftest.
$ac_objext; then
45871 wx_cv_struct_tm_has_gmtoff
=yes
45874 echo "$as_me: failed program was:" >&5
45875 sed 's/^/| /' conftest.
$ac_ext >&5
45877 wx_cv_struct_tm_has_gmtoff
=no
45881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45884 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45885 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45888 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45889 cat >>confdefs.h
<<\_ACEOF
45890 #define WX_GMTOFF_IN_TM 1
45895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45899 if test "$wxUSE_SOCKETS" = "yes"; then
45900 if test "$wxUSE_MGL" = 1; then
45901 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45902 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45907 if test "$wxUSE_SOCKETS" = "yes"; then
45908 if test "$TOOLKIT" != "MSW"; then
45909 { echo "$as_me:$LINENO: checking for socket" >&5
45910 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45911 if test "${ac_cv_func_socket+set}" = set; then
45912 echo $ECHO_N "(cached) $ECHO_C" >&6
45914 cat >conftest.
$ac_ext <<_ACEOF
45917 cat confdefs.h
>>conftest.
$ac_ext
45918 cat >>conftest.
$ac_ext <<_ACEOF
45919 /* end confdefs.h. */
45920 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45922 #define socket innocuous_socket
45924 /* System header to define __stub macros and hopefully few prototypes,
45925 which can conflict with char socket (); below.
45926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45927 <limits.h> exists even on freestanding compilers. */
45930 # include <limits.h>
45932 # include <assert.h>
45937 /* Override any GCC internal prototype to avoid an error.
45938 Use char because int might match the return type of a GCC
45939 builtin and then its argument prototype would still apply. */
45944 /* The GNU C library defines this for functions which it implements
45945 to always fail with ENOSYS. Some functions are actually named
45946 something starting with __ and the normal name is an alias. */
45947 #if defined __stub_socket || defined __stub___socket
45959 rm -f conftest.
$ac_objext conftest
$ac_exeext
45960 if { (ac_try
="$ac_link"
45961 case "(($ac_try" in
45962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45963 *) ac_try_echo=$ac_try;;
45965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45966 (eval "$ac_link") 2>conftest.er1
45968 grep -v '^ *+' conftest.er1 >conftest.err
45970 cat conftest.err >&5
45971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45972 (exit $ac_status); } && {
45973 test -z "$ac_c_werror_flag" ||
45974 test ! -s conftest.err
45975 } && test -s conftest$ac_exeext &&
45976 $as_test_x conftest$ac_exeext; then
45977 ac_cv_func_socket=yes
45979 echo "$as_me: failed program was:" >&5
45980 sed 's/^/| /' conftest.$ac_ext >&5
45982 ac_cv_func_socket=no
45985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45986 conftest$ac_exeext conftest.$ac_ext
45988 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45989 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45990 if test $ac_cv_func_socket = yes; then
45994 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45995 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45996 if test "${ac_cv_lib_socket_socket+set}" = set; then
45997 echo $ECHO_N "(cached) $ECHO_C" >&6
45999 ac_check_lib_save_LIBS=$LIBS
46000 LIBS="-lsocket $LIBS"
46001 cat >conftest.$ac_ext <<_ACEOF
46004 cat confdefs.h >>conftest.$ac_ext
46005 cat >>conftest.$ac_ext <<_ACEOF
46006 /* end confdefs.h. */
46008 /* Override any GCC internal prototype to avoid an error.
46009 Use char because int might match the return type of a GCC
46010 builtin and then its argument prototype would still apply. */
46023 rm -f conftest.$ac_objext conftest$ac_exeext
46024 if { (ac_try="$ac_link"
46025 case "(($ac_try" in
46026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46027 *) ac_try_echo
=$ac_try;;
46029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46030 (eval "$ac_link") 2>conftest.er1
46032 grep -v '^ *+' conftest.er1
>conftest.err
46034 cat conftest.err
>&5
46035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46036 (exit $ac_status); } && {
46037 test -z "$ac_c_werror_flag" ||
46038 test ! -s conftest.err
46039 } && test -s conftest
$ac_exeext &&
46040 $as_test_x conftest
$ac_exeext; then
46041 ac_cv_lib_socket_socket
=yes
46043 echo "$as_me: failed program was:" >&5
46044 sed 's/^/| /' conftest.
$ac_ext >&5
46046 ac_cv_lib_socket_socket
=no
46049 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46050 conftest
$ac_exeext conftest.
$ac_ext
46051 LIBS
=$ac_check_lib_save_LIBS
46053 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46054 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46055 if test $ac_cv_lib_socket_socket = yes; then
46056 if test "$INET_LINK" != " -lsocket"; then
46057 INET_LINK
="$INET_LINK -lsocket"
46061 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46062 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46075 if test "$wxUSE_SOCKETS" = "yes" ; then
46076 if test "$TOOLKIT" != "MSW"; then
46077 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46078 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46079 if test "${wx_cv_type_getsockname3+set}" = set; then
46080 echo $ECHO_N "(cached) $ECHO_C" >&6
46084 ac_cpp
='$CXXCPP $CPPFLAGS'
46085 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46086 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46087 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46089 cat >conftest.
$ac_ext <<_ACEOF
46092 cat confdefs.h
>>conftest.
$ac_ext
46093 cat >>conftest.
$ac_ext <<_ACEOF
46094 /* end confdefs.h. */
46096 #include <sys/types.h>
46097 #include <sys/socket.h>
46104 getsockname(0, 0, &len);
46110 rm -f conftest.
$ac_objext
46111 if { (ac_try
="$ac_compile"
46112 case "(($ac_try" in
46113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46114 *) ac_try_echo=$ac_try;;
46116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46117 (eval "$ac_compile") 2>conftest.er1
46119 grep -v '^ *+' conftest.er1 >conftest.err
46121 cat conftest.err >&5
46122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46123 (exit $ac_status); } && {
46124 test -z "$ac_cxx_werror_flag" ||
46125 test ! -s conftest.err
46126 } && test -s conftest.$ac_objext; then
46127 wx_cv_type_getsockname3=socklen_t
46129 echo "$as_me: failed program was:" >&5
46130 sed 's/^/| /' conftest.$ac_ext >&5
46133 CFLAGS_OLD="$CFLAGS"
46134 if test "$GCC" = yes ; then
46135 CFLAGS="-Werror $CFLAGS"
46138 cat >conftest.$ac_ext <<_ACEOF
46141 cat confdefs.h >>conftest.$ac_ext
46142 cat >>conftest.$ac_ext <<_ACEOF
46143 /* end confdefs.h. */
46145 #include <sys/types.h>
46146 #include <sys/socket.h>
46153 getsockname(0, 0, &len);
46159 rm -f conftest.$ac_objext
46160 if { (ac_try="$ac_compile"
46161 case "(($ac_try" in
46162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46163 *) ac_try_echo
=$ac_try;;
46165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46166 (eval "$ac_compile") 2>conftest.er1
46168 grep -v '^ *+' conftest.er1
>conftest.err
46170 cat conftest.err
>&5
46171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46172 (exit $ac_status); } && {
46173 test -z "$ac_cxx_werror_flag" ||
46174 test ! -s conftest.err
46175 } && test -s conftest.
$ac_objext; then
46176 wx_cv_type_getsockname3
=size_t
46178 echo "$as_me: failed program was:" >&5
46179 sed 's/^/| /' conftest.
$ac_ext >&5
46181 cat >conftest.
$ac_ext <<_ACEOF
46184 cat confdefs.h
>>conftest.
$ac_ext
46185 cat >>conftest.
$ac_ext <<_ACEOF
46186 /* end confdefs.h. */
46188 #include <sys/types.h>
46189 #include <sys/socket.h>
46196 getsockname(0, 0, &len);
46202 rm -f conftest.
$ac_objext
46203 if { (ac_try
="$ac_compile"
46204 case "(($ac_try" in
46205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46206 *) ac_try_echo=$ac_try;;
46208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46209 (eval "$ac_compile") 2>conftest.er1
46211 grep -v '^ *+' conftest.er1 >conftest.err
46213 cat conftest.err >&5
46214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46215 (exit $ac_status); } && {
46216 test -z "$ac_cxx_werror_flag" ||
46217 test ! -s conftest.err
46218 } && test -s conftest.$ac_objext; then
46219 wx_cv_type_getsockname3=int
46221 echo "$as_me: failed program was:" >&5
46222 sed 's/^/| /' conftest.$ac_ext >&5
46224 wx_cv_type_getsockname3=unknown
46228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46234 CFLAGS="$CFLAGS_OLD"
46239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46241 ac_cpp='$CPP $CPPFLAGS'
46242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46248 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46249 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46251 if test "$wx_cv_type_getsockname3" = "unknown"; then
46253 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46254 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46256 cat >>confdefs.h <<_ACEOF
46257 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46261 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46262 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46263 if test "${wx_cv_type_getsockopt5+set}" = set; then
46264 echo $ECHO_N "(cached) $ECHO_C" >&6
46268 ac_cpp='$CXXCPP $CPPFLAGS'
46269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46273 cat >conftest.$ac_ext <<_ACEOF
46276 cat confdefs.h >>conftest.$ac_ext
46277 cat >>conftest.$ac_ext <<_ACEOF
46278 /* end confdefs.h. */
46280 #include <sys/types.h>
46281 #include <sys/socket.h>
46288 getsockopt(0, 0, 0, 0, &len);
46294 rm -f conftest.$ac_objext
46295 if { (ac_try="$ac_compile"
46296 case "(($ac_try" in
46297 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46298 *) ac_try_echo
=$ac_try;;
46300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46301 (eval "$ac_compile") 2>conftest.er1
46303 grep -v '^ *+' conftest.er1
>conftest.err
46305 cat conftest.err
>&5
46306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46307 (exit $ac_status); } && {
46308 test -z "$ac_cxx_werror_flag" ||
46309 test ! -s conftest.err
46310 } && test -s conftest.
$ac_objext; then
46311 wx_cv_type_getsockopt5
=socklen_t
46313 echo "$as_me: failed program was:" >&5
46314 sed 's/^/| /' conftest.
$ac_ext >&5
46317 cat >conftest.
$ac_ext <<_ACEOF
46320 cat confdefs.h
>>conftest.
$ac_ext
46321 cat >>conftest.
$ac_ext <<_ACEOF
46322 /* end confdefs.h. */
46324 #include <sys/types.h>
46325 #include <sys/socket.h>
46332 getsockopt(0, 0, 0, 0, &len);
46338 rm -f conftest.
$ac_objext
46339 if { (ac_try
="$ac_compile"
46340 case "(($ac_try" in
46341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46342 *) ac_try_echo=$ac_try;;
46344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46345 (eval "$ac_compile") 2>conftest.er1
46347 grep -v '^ *+' conftest.er1 >conftest.err
46349 cat conftest.err >&5
46350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46351 (exit $ac_status); } && {
46352 test -z "$ac_cxx_werror_flag" ||
46353 test ! -s conftest.err
46354 } && test -s conftest.$ac_objext; then
46355 wx_cv_type_getsockopt5=size_t
46357 echo "$as_me: failed program was:" >&5
46358 sed 's/^/| /' conftest.$ac_ext >&5
46360 cat >conftest.$ac_ext <<_ACEOF
46363 cat confdefs.h >>conftest.$ac_ext
46364 cat >>conftest.$ac_ext <<_ACEOF
46365 /* end confdefs.h. */
46367 #include <sys/types.h>
46368 #include <sys/socket.h>
46375 getsockopt(0, 0, 0, 0, &len);
46381 rm -f conftest.$ac_objext
46382 if { (ac_try="$ac_compile"
46383 case "(($ac_try" in
46384 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46385 *) ac_try_echo
=$ac_try;;
46387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46388 (eval "$ac_compile") 2>conftest.er1
46390 grep -v '^ *+' conftest.er1
>conftest.err
46392 cat conftest.err
>&5
46393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46394 (exit $ac_status); } && {
46395 test -z "$ac_cxx_werror_flag" ||
46396 test ! -s conftest.err
46397 } && test -s conftest.
$ac_objext; then
46398 wx_cv_type_getsockopt5
=int
46400 echo "$as_me: failed program was:" >&5
46401 sed 's/^/| /' conftest.
$ac_ext >&5
46403 wx_cv_type_getsockopt5
=unknown
46407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46418 ac_cpp
='$CPP $CPPFLAGS'
46419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46425 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46426 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46428 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46430 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46431 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46433 cat >>confdefs.h
<<_ACEOF
46434 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46441 if test "$wxUSE_SOCKETS" = "yes" ; then
46442 if test "$wxUSE_IPV6" = "yes"; then
46443 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46444 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46445 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46446 echo $ECHO_N "(cached) $ECHO_C" >&6
46449 cat >conftest.
$ac_ext <<_ACEOF
46452 cat confdefs.h
>>conftest.
$ac_ext
46453 cat >>conftest.
$ac_ext <<_ACEOF
46454 /* end confdefs.h. */
46456 #include <sys/types.h>
46457 #include <sys/socket.h>
46458 #include <netinet/in.h>
46464 struct sockaddr_in6 sa6;
46470 rm -f conftest.
$ac_objext
46471 if { (ac_try
="$ac_compile"
46472 case "(($ac_try" in
46473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46474 *) ac_try_echo=$ac_try;;
46476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46477 (eval "$ac_compile") 2>conftest.er1
46479 grep -v '^ *+' conftest.er1 >conftest.err
46481 cat conftest.err >&5
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); } && {
46484 test -z "$ac_c_werror_flag" ||
46485 test ! -s conftest.err
46486 } && test -s conftest.$ac_objext; then
46487 wx_cv_type_sockaddr_in6=yes
46489 echo "$as_me: failed program was:" >&5
46490 sed 's/^/| /' conftest.$ac_ext >&5
46492 wx_cv_type_sockaddr_in6=no
46496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46500 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46501 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46503 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_IPV6 1
46509 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46510 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_SOCKETS 1
46518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46521 if test "$wxUSE_PROTOCOL" = "yes"; then
46522 if test "$wxUSE_SOCKETS" != "yes"; then
46523 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46524 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46529 if test "$wxUSE_PROTOCOL" = "yes"; then
46530 cat >>confdefs.h <<\_ACEOF
46531 #define wxUSE_PROTOCOL 1
46535 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46536 cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_PROTOCOL_HTTP 1
46541 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_PROTOCOL_FTP 1
46547 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46548 cat >>confdefs.h <<\_ACEOF
46549 #define wxUSE_PROTOCOL_FILE 1
46554 if test "$wxUSE_FS_INET" = "yes"; then
46555 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46556 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46561 if test "$wxUSE_URL" = "yes"; then
46562 if test "$wxUSE_PROTOCOL" != "yes"; then
46563 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46564 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46567 if test "$wxUSE_URL" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_URL 1
46575 if test "$wxUSE_VARIANT" = "yes"; then
46576 cat >>confdefs.h <<\_ACEOF
46577 #define wxUSE_VARIANT 1
46582 if test "$wxUSE_FS_INET" = "yes"; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_FS_INET 1
46590 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46593 if test "$TOOLKIT" = "MSW"; then
46596 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46597 if test "$USE_DARWIN" = 1; then
46598 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46599 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46601 ac_cpp='$CXXCPP $CPPFLAGS'
46602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46606 cat >conftest.$ac_ext <<_ACEOF
46609 cat confdefs.h >>conftest.$ac_ext
46610 cat >>conftest.$ac_ext <<_ACEOF
46611 /* end confdefs.h. */
46612 #include <IOKit/hid/IOHIDLib.h>
46616 IOHIDQueueInterface *qi = NULL;
46617 IOHIDCallbackFunction cb = NULL;
46618 qi->setEventCallout(NULL, cb, NULL, NULL);
46623 rm -f conftest.$ac_objext
46624 if { (ac_try="$ac_compile"
46625 case "(($ac_try" in
46626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46627 *) ac_try_echo
=$ac_try;;
46629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46630 (eval "$ac_compile") 2>conftest.er1
46632 grep -v '^ *+' conftest.er1
>conftest.err
46634 cat conftest.err
>&5
46635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46636 (exit $ac_status); } && {
46637 test -z "$ac_cxx_werror_flag" ||
46638 test ! -s conftest.err
46639 } && test -s conftest.
$ac_objext; then
46643 echo "$as_me: failed program was:" >&5
46644 sed 's/^/| /' conftest.
$ac_ext >&5
46649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46651 ac_cpp
='$CPP $CPPFLAGS'
46652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46656 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46657 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46661 if test "$wxUSE_MGL" != 1; then
46663 for ac_header
in linux
/joystick.h
46665 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46666 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46668 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46669 echo $ECHO_N "(cached) $ECHO_C" >&6
46671 cat >conftest.
$ac_ext <<_ACEOF
46674 cat confdefs.h
>>conftest.
$ac_ext
46675 cat >>conftest.
$ac_ext <<_ACEOF
46676 /* end confdefs.h. */
46677 $ac_includes_default
46679 #include <$ac_header>
46681 rm -f conftest.
$ac_objext
46682 if { (ac_try
="$ac_compile"
46683 case "(($ac_try" in
46684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46685 *) ac_try_echo=$ac_try;;
46687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46688 (eval "$ac_compile") 2>conftest.er1
46690 grep -v '^ *+' conftest.er1 >conftest.err
46692 cat conftest.err >&5
46693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46694 (exit $ac_status); } && {
46695 test -z "$ac_c_werror_flag" ||
46696 test ! -s conftest.err
46697 } && test -s conftest.$ac_objext; then
46698 eval "$as_ac_Header=yes"
46700 echo "$as_me: failed program was:" >&5
46701 sed 's/^/| /' conftest.$ac_ext >&5
46703 eval "$as_ac_Header=no"
46706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46708 ac_res=`eval echo '${'$as_ac_Header'}'`
46709 { echo "$as_me:$LINENO: result: $ac_res" >&5
46710 echo "${ECHO_T}$ac_res" >&6; }
46711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46712 cat >>confdefs.h <<_ACEOF
46713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46723 if test "$wxUSE_JOYSTICK" = "yes"; then
46724 cat >>confdefs.h <<\_ACEOF
46725 #define wxUSE_JOYSTICK 1
46728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46730 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46731 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46737 if test "$wxUSE_FONTENUM" = "yes" ; then
46738 cat >>confdefs.h <<\_ACEOF
46739 #define wxUSE_FONTENUM 1
46744 if test "$wxUSE_FONTMAP" = "yes" ; then
46745 cat >>confdefs.h <<\_ACEOF
46746 #define wxUSE_FONTMAP 1
46751 if test "$wxUSE_UNICODE" = "yes" ; then
46752 cat >>confdefs.h <<\_ACEOF
46753 #define wxUSE_UNICODE 1
46757 if test "$USE_WIN32" != 1; then
46758 wxUSE_UNICODE_MSLU=no
46761 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46762 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46763 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46764 if test "${ac_cv_lib_unicows_main+set}" = set; then
46765 echo $ECHO_N "(cached) $ECHO_C" >&6
46767 ac_check_lib_save_LIBS=$LIBS
46768 LIBS="-lunicows $LIBS"
46769 cat >conftest.$ac_ext <<_ACEOF
46772 cat confdefs.h >>conftest.$ac_ext
46773 cat >>conftest.$ac_ext <<_ACEOF
46774 /* end confdefs.h. */
46785 rm -f conftest.$ac_objext conftest$ac_exeext
46786 if { (ac_try="$ac_link"
46787 case "(($ac_try" in
46788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46789 *) ac_try_echo
=$ac_try;;
46791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46792 (eval "$ac_link") 2>conftest.er1
46794 grep -v '^ *+' conftest.er1
>conftest.err
46796 cat conftest.err
>&5
46797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46798 (exit $ac_status); } && {
46799 test -z "$ac_c_werror_flag" ||
46800 test ! -s conftest.err
46801 } && test -s conftest
$ac_exeext &&
46802 $as_test_x conftest
$ac_exeext; then
46803 ac_cv_lib_unicows_main
=yes
46805 echo "$as_me: failed program was:" >&5
46806 sed 's/^/| /' conftest.
$ac_ext >&5
46808 ac_cv_lib_unicows_main
=no
46811 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46812 conftest
$ac_exeext conftest.
$ac_ext
46813 LIBS
=$ac_check_lib_save_LIBS
46815 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46816 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46817 if test $ac_cv_lib_unicows_main = yes; then
46819 cat >>confdefs.h
<<\_ACEOF
46820 #define wxUSE_UNICODE_MSLU 1
46826 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46827 Applications will only run on Windows NT/2000/XP!" >&5
46828 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46829 Applications will only run on Windows NT/2000/XP!" >&2;}
46830 wxUSE_UNICODE_MSLU
=no
46837 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46838 cat >>confdefs.h
<<\_ACEOF
46839 #define wxUSE_UNICODE_UTF8 1
46843 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46844 cat >>confdefs.h
<<\_ACEOF
46845 #define wxUSE_UTF8_LOCALE_ONLY 1
46852 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46853 cat >>confdefs.h
<<\_ACEOF
46854 #define wxUSE_CONSTRAINTS 1
46857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46860 if test "$wxUSE_MDI" = "yes"; then
46861 cat >>confdefs.h
<<\_ACEOF
46862 #define wxUSE_MDI 1
46866 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46867 cat >>confdefs.h
<<\_ACEOF
46868 #define wxUSE_MDI_ARCHITECTURE 1
46871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46875 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46876 cat >>confdefs.h
<<\_ACEOF
46877 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46883 if test "$wxUSE_HELP" = "yes"; then
46884 cat >>confdefs.h
<<\_ACEOF
46885 #define wxUSE_HELP 1
46888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46890 if test "$wxUSE_MSW" = 1; then
46891 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46892 cat >>confdefs.h
<<\_ACEOF
46893 #define wxUSE_MS_HTML_HELP 1
46899 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46900 if test "$wxUSE_HTML" = "yes"; then
46901 cat >>confdefs.h
<<\_ACEOF
46902 #define wxUSE_WXHTML_HELP 1
46906 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46907 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46908 wxUSE_WXHTML_HELP
=no
46913 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46914 cat >>confdefs.h
<<\_ACEOF
46915 #define wxUSE_PRINTING_ARCHITECTURE 1
46918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46921 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46922 cat >>confdefs.h
<<\_ACEOF
46923 #define wxUSE_POSTSCRIPT 1
46928 cat >>confdefs.h
<<\_ACEOF
46929 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46933 if test "$wxUSE_SVG" = "yes"; then
46934 cat >>confdefs.h
<<\_ACEOF
46935 #define wxUSE_SVG 1
46941 if test "$wxUSE_METAFILE" = "yes"; then
46942 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46943 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46944 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46950 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46951 -o "$wxUSE_CLIPBOARD" = "yes" \
46952 -o "$wxUSE_OLE" = "yes" \
46953 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46954 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46955 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46956 if test "${ac_cv_header_ole2_h+set}" = set; then
46957 echo $ECHO_N "(cached) $ECHO_C" >&6
46959 cat >conftest.
$ac_ext <<_ACEOF
46962 cat confdefs.h
>>conftest.
$ac_ext
46963 cat >>conftest.
$ac_ext <<_ACEOF
46964 /* end confdefs.h. */
46969 rm -f conftest.
$ac_objext
46970 if { (ac_try
="$ac_compile"
46971 case "(($ac_try" in
46972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46973 *) ac_try_echo=$ac_try;;
46975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46976 (eval "$ac_compile") 2>conftest.er1
46978 grep -v '^ *+' conftest.er1 >conftest.err
46980 cat conftest.err >&5
46981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46982 (exit $ac_status); } && {
46983 test -z "$ac_c_werror_flag" ||
46984 test ! -s conftest.err
46985 } && test -s conftest.$ac_objext; then
46986 ac_cv_header_ole2_h=yes
46988 echo "$as_me: failed program was:" >&5
46989 sed 's/^/| /' conftest.$ac_ext >&5
46991 ac_cv_header_ole2_h=no
46994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46996 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46997 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47001 if test "$ac_cv_header_ole2_h" = "yes" ; then
47002 if test "$GCC" = yes ; then
47003 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47004 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47005 cat >conftest.$ac_ext <<_ACEOF
47008 cat confdefs.h >>conftest.$ac_ext
47009 cat >>conftest.$ac_ext <<_ACEOF
47010 /* end confdefs.h. */
47011 #include <windows.h>
47021 rm -f conftest.$ac_objext
47022 if { (ac_try="$ac_compile"
47023 case "(($ac_try" in
47024 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47025 *) ac_try_echo
=$ac_try;;
47027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47028 (eval "$ac_compile") 2>conftest.er1
47030 grep -v '^ *+' conftest.er1
>conftest.err
47032 cat conftest.err
>&5
47033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47034 (exit $ac_status); } && {
47035 test -z "$ac_c_werror_flag" ||
47036 test ! -s conftest.err
47037 } && test -s conftest.
$ac_objext; then
47038 { echo "$as_me:$LINENO: result: no" >&5
47039 echo "${ECHO_T}no" >&6; }
47041 echo "$as_me: failed program was:" >&5
47042 sed 's/^/| /' conftest.
$ac_ext >&5
47044 { echo "$as_me:$LINENO: result: yes" >&5
47045 echo "${ECHO_T}yes" >&6; }
47046 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47050 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47051 if test "$wxUSE_OLE" = "yes" ; then
47052 cat >>confdefs.h
<<\_ACEOF
47053 #define wxUSE_OLE 1
47056 cat >>confdefs.h
<<\_ACEOF
47057 #define wxUSE_OLE_AUTOMATION 1
47060 cat >>confdefs.h
<<\_ACEOF
47061 #define wxUSE_ACTIVEX 1
47064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
47068 if test "$wxUSE_DATAOBJ" = "yes" ; then
47069 cat >>confdefs.h
<<\_ACEOF
47070 #define wxUSE_DATAOBJ 1
47075 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47076 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47079 wxUSE_DRAG_AND_DROP
=no
47084 if test "$wxUSE_METAFILE" = "yes"; then
47085 cat >>confdefs.h
<<\_ACEOF
47086 #define wxUSE_METAFILE 1
47090 cat >>confdefs.h
<<\_ACEOF
47091 #define wxUSE_ENH_METAFILE 1
47097 if test "$wxUSE_IPC" = "yes"; then
47098 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47099 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47100 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47104 if test "$wxUSE_IPC" = "yes"; then
47105 cat >>confdefs.h
<<\_ACEOF
47106 #define wxUSE_IPC 1
47109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47113 if test "$wxUSE_DATAOBJ" = "yes"; then
47114 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47115 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47116 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47119 cat >>confdefs.h
<<\_ACEOF
47120 #define wxUSE_DATAOBJ 1
47125 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47126 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47128 wxUSE_DRAG_AND_DROP
=no
47131 if test "$wxUSE_CLIPBOARD" = "yes"; then
47132 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47133 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47134 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47138 if test "$wxUSE_CLIPBOARD" = "yes"; then
47139 cat >>confdefs.h
<<\_ACEOF
47140 #define wxUSE_CLIPBOARD 1
47146 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47147 if test "$wxUSE_GTK" = 1; then
47148 if test "$WXGTK12" != 1; then
47149 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47150 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47151 wxUSE_DRAG_AND_DROP
=no
47155 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47156 "$wxUSE_DFB" = 1; then
47157 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47158 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47159 wxUSE_DRAG_AND_DROP
=no
47162 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47163 cat >>confdefs.h
<<\_ACEOF
47164 #define wxUSE_DRAG_AND_DROP 1
47171 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
47175 if test "$wxUSE_CLIPBOARD" = "yes"; then
47176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
47179 if test "$wxUSE_SPLINES" = "yes" ; then
47180 cat >>confdefs.h
<<\_ACEOF
47181 #define wxUSE_SPLINES 1
47186 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47187 cat >>confdefs.h
<<\_ACEOF
47188 #define wxUSE_MOUSEWHEEL 1
47193 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47194 cat >>confdefs.h
<<\_ACEOF
47195 #define wxUSE_UIACTIONSIMULATOR 1
47198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
47201 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47202 cat >>confdefs.h
<<\_ACEOF
47203 #define wxUSE_DC_TRANSFORM_MATRIX 1
47210 if test "$wxUSE_CONTROLS" = "yes"; then
47214 if test "$wxUSE_MARKUP" = "yes"; then
47215 cat >>confdefs.h
<<\_ACEOF
47216 #define wxUSE_MARKUP 1
47221 if test "$wxUSE_ACCEL" = "yes"; then
47222 cat >>confdefs.h
<<\_ACEOF
47223 #define wxUSE_ACCEL 1
47229 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47230 cat >>confdefs.h
<<\_ACEOF
47231 #define wxUSE_ANIMATIONCTRL 1
47235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
47238 if test "$wxUSE_BUTTON" = "yes"; then
47239 cat >>confdefs.h
<<\_ACEOF
47240 #define wxUSE_BUTTON 1
47246 if test "$wxUSE_BMPBUTTON" = "yes"; then
47247 cat >>confdefs.h
<<\_ACEOF
47248 #define wxUSE_BMPBUTTON 1
47254 if test "$wxUSE_CALCTRL" = "yes"; then
47255 cat >>confdefs.h
<<\_ACEOF
47256 #define wxUSE_CALENDARCTRL 1
47260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
47263 if test "$wxUSE_CARET" = "yes"; then
47264 cat >>confdefs.h
<<\_ACEOF
47265 #define wxUSE_CARET 1
47269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
47272 if test "$wxUSE_COLLPANE" = "yes"; then
47273 cat >>confdefs.h
<<\_ACEOF
47274 #define wxUSE_COLLPANE 1
47278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
47281 if test "$wxUSE_COMBOBOX" = "yes"; then
47282 cat >>confdefs.h
<<\_ACEOF
47283 #define wxUSE_COMBOBOX 1
47289 if test "$wxUSE_COMBOCTRL" = "yes"; then
47290 cat >>confdefs.h
<<\_ACEOF
47291 #define wxUSE_COMBOCTRL 1
47297 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47298 cat >>confdefs.h
<<\_ACEOF
47299 #define wxUSE_COMMANDLINKBUTTON 1
47305 if test "$wxUSE_CHOICE" = "yes"; then
47306 cat >>confdefs.h
<<\_ACEOF
47307 #define wxUSE_CHOICE 1
47313 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47314 cat >>confdefs.h
<<\_ACEOF
47315 #define wxUSE_CHOICEBOOK 1
47321 if test "$wxUSE_CHECKBOX" = "yes"; then
47322 cat >>confdefs.h
<<\_ACEOF
47323 #define wxUSE_CHECKBOX 1
47329 if test "$wxUSE_CHECKLST" = "yes"; then
47330 cat >>confdefs.h
<<\_ACEOF
47331 #define wxUSE_CHECKLISTBOX 1
47337 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47338 cat >>confdefs.h
<<\_ACEOF
47339 #define wxUSE_COLOURPICKERCTRL 1
47345 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47346 cat >>confdefs.h
<<\_ACEOF
47347 #define wxUSE_DATEPICKCTRL 1
47353 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47354 cat >>confdefs.h
<<\_ACEOF
47355 #define wxUSE_DIRPICKERCTRL 1
47361 if test "$wxUSE_FILECTRL" = "yes"; then
47362 cat >>confdefs.h
<<\_ACEOF
47363 #define wxUSE_FILECTRL 1
47369 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47370 cat >>confdefs.h
<<\_ACEOF
47371 #define wxUSE_FILEPICKERCTRL 1
47377 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47378 cat >>confdefs.h
<<\_ACEOF
47379 #define wxUSE_FONTPICKERCTRL 1
47385 if test "$wxUSE_DISPLAY" = "yes"; then
47386 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47387 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47388 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47391 cat >>confdefs.h
<<\_ACEOF
47392 #define wxUSE_DISPLAY 1
47395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
47399 if test "$wxUSE_DETECT_SM" = "yes"; then
47400 cat >>confdefs.h
<<\_ACEOF
47401 #define wxUSE_DETECT_SM 1
47406 if test "$wxUSE_GAUGE" = "yes"; then
47407 cat >>confdefs.h
<<\_ACEOF
47408 #define wxUSE_GAUGE 1
47414 if test "$wxUSE_GRID" = "yes"; then
47415 cat >>confdefs.h
<<\_ACEOF
47416 #define wxUSE_GRID 1
47420 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47423 if test "$wxUSE_HEADERCTRL" = "yes"; then
47424 cat >>confdefs.h
<<\_ACEOF
47425 #define wxUSE_HEADERCTRL 1
47431 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47432 cat >>confdefs.h
<<\_ACEOF
47433 #define wxUSE_HYPERLINKCTRL 1
47439 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47440 cat >>confdefs.h
<<\_ACEOF
47441 #define wxUSE_BITMAPCOMBOBOX 1
47447 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47448 cat >>confdefs.h
<<\_ACEOF
47449 #define wxUSE_DATAVIEWCTRL 1
47453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
47456 if test "$wxUSE_IMAGLIST" = "yes"; then
47457 cat >>confdefs.h
<<\_ACEOF
47458 #define wxUSE_IMAGLIST 1
47463 if test "$wxUSE_INFOBAR" = "yes"; then
47464 cat >>confdefs.h
<<\_ACEOF
47465 #define wxUSE_INFOBAR 1
47470 if test "$wxUSE_LISTBOOK" = "yes"; then
47471 cat >>confdefs.h
<<\_ACEOF
47472 #define wxUSE_LISTBOOK 1
47478 if test "$wxUSE_LISTBOX" = "yes"; then
47479 cat >>confdefs.h
<<\_ACEOF
47480 #define wxUSE_LISTBOX 1
47486 if test "$wxUSE_LISTCTRL" = "yes"; then
47487 if test "$wxUSE_IMAGLIST" = "yes"; then
47488 cat >>confdefs.h
<<\_ACEOF
47489 #define wxUSE_LISTCTRL 1
47493 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47495 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47496 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47500 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47501 cat >>confdefs.h
<<\_ACEOF
47502 #define wxUSE_EDITABLELISTBOX 1
47508 if test "$wxUSE_NOTEBOOK" = "yes"; then
47509 cat >>confdefs.h
<<\_ACEOF
47510 #define wxUSE_NOTEBOOK 1
47514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47517 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47518 cat >>confdefs.h
<<\_ACEOF
47519 #define wxUSE_NOTIFICATION_MESSAGE 1
47524 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47525 cat >>confdefs.h
<<\_ACEOF
47526 #define wxUSE_ODCOMBOBOX 1
47530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47533 if test "$wxUSE_RADIOBOX" = "yes"; then
47534 cat >>confdefs.h
<<\_ACEOF
47535 #define wxUSE_RADIOBOX 1
47541 if test "$wxUSE_RADIOBTN" = "yes"; then
47542 cat >>confdefs.h
<<\_ACEOF
47543 #define wxUSE_RADIOBTN 1
47549 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47550 cat >>confdefs.h
<<\_ACEOF
47551 #define wxUSE_REARRANGECTRL 1
47556 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47557 cat >>confdefs.h
<<\_ACEOF
47558 #define wxUSE_RICHMSGDLG 1
47563 if test "$wxUSE_SASH" = "yes"; then
47564 cat >>confdefs.h
<<\_ACEOF
47565 #define wxUSE_SASH 1
47568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47571 if test "$wxUSE_SCROLLBAR" = "yes"; then
47572 cat >>confdefs.h
<<\_ACEOF
47573 #define wxUSE_SCROLLBAR 1
47577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
47580 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47581 cat >>confdefs.h
<<\_ACEOF
47582 #define wxUSE_SEARCHCTRL 1
47588 if test "$wxUSE_SLIDER" = "yes"; then
47589 cat >>confdefs.h
<<\_ACEOF
47590 #define wxUSE_SLIDER 1
47596 if test "$wxUSE_SPINBTN" = "yes"; then
47597 cat >>confdefs.h
<<\_ACEOF
47598 #define wxUSE_SPINBTN 1
47604 if test "$wxUSE_SPINCTRL" = "yes"; then
47605 cat >>confdefs.h
<<\_ACEOF
47606 #define wxUSE_SPINCTRL 1
47612 if test "$wxUSE_SPLITTER" = "yes"; then
47613 cat >>confdefs.h
<<\_ACEOF
47614 #define wxUSE_SPLITTER 1
47617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47620 if test "$wxUSE_STATBMP" = "yes"; then
47621 cat >>confdefs.h
<<\_ACEOF
47622 #define wxUSE_STATBMP 1
47628 if test "$wxUSE_STATBOX" = "yes"; then
47629 cat >>confdefs.h
<<\_ACEOF
47630 #define wxUSE_STATBOX 1
47636 if test "$wxUSE_STATTEXT" = "yes"; then
47637 cat >>confdefs.h
<<\_ACEOF
47638 #define wxUSE_STATTEXT 1
47644 if test "$wxUSE_STATLINE" = "yes"; then
47645 cat >>confdefs.h
<<\_ACEOF
47646 #define wxUSE_STATLINE 1
47652 if test "$wxUSE_STATUSBAR" = "yes"; then
47653 cat >>confdefs.h
<<\_ACEOF
47654 #define wxUSE_NATIVE_STATUSBAR 1
47657 cat >>confdefs.h
<<\_ACEOF
47658 #define wxUSE_STATUSBAR 1
47663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47666 if test "$wxUSE_TEXTCTRL" = "yes"; then
47667 cat >>confdefs.h
<<\_ACEOF
47668 #define wxUSE_TEXTCTRL 1
47672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47674 cat >>confdefs.h
<<\_ACEOF
47675 #define wxUSE_RICHEDIT 1
47678 cat >>confdefs.h
<<\_ACEOF
47679 #define wxUSE_RICHEDIT2 1
47684 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47685 if test "$wxUSE_OLD_COCOA" = 1 ; then
47686 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47687 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47691 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47692 cat >>confdefs.h
<<\_ACEOF
47693 #define wxUSE_TOGGLEBTN 1
47700 if test "$wxUSE_TOOLBAR" = "yes"; then
47701 cat >>confdefs.h
<<\_ACEOF
47702 #define wxUSE_TOOLBAR 1
47707 if test "$wxUSE_UNIVERSAL" = "yes"; then
47708 wxUSE_TOOLBAR_NATIVE
="no"
47710 wxUSE_TOOLBAR_NATIVE
="yes"
47711 cat >>confdefs.h
<<\_ACEOF
47712 #define wxUSE_TOOLBAR_NATIVE 1
47717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47720 if test "$wxUSE_TOOLTIPS" = "yes"; then
47721 if test "$wxUSE_MOTIF" = 1; then
47722 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47723 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47725 if test "$wxUSE_UNIVERSAL" = "yes"; then
47726 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47727 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47729 cat >>confdefs.h
<<\_ACEOF
47730 #define wxUSE_TOOLTIPS 1
47737 if test "$wxUSE_TREEBOOK" = "yes"; then
47738 cat >>confdefs.h
<<\_ACEOF
47739 #define wxUSE_TREEBOOK 1
47745 if test "$wxUSE_TOOLBOOK" = "yes"; then
47746 cat >>confdefs.h
<<\_ACEOF
47747 #define wxUSE_TOOLBOOK 1
47753 if test "$wxUSE_TREECTRL" = "yes"; then
47754 if test "$wxUSE_IMAGLIST" = "yes"; then
47755 cat >>confdefs.h
<<\_ACEOF
47756 #define wxUSE_TREECTRL 1
47760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47762 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47763 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47767 if test "$wxUSE_POPUPWIN" = "yes"; then
47768 if test "$wxUSE_OLD_COCOA" = 1 ; then
47769 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47770 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47772 if test "$wxUSE_PM" = 1; then
47773 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47774 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47776 cat >>confdefs.h
<<\_ACEOF
47777 #define wxUSE_POPUPWIN 1
47780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47787 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47788 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47789 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47790 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47792 cat >>confdefs.h
<<\_ACEOF
47793 #define wxUSE_DIALUP_MANAGER 1
47796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47800 if test "$wxUSE_TIPWINDOW" = "yes"; then
47801 if test "$wxUSE_PM" = 1; then
47802 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47803 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47805 cat >>confdefs.h
<<\_ACEOF
47806 #define wxUSE_TIPWINDOW 1
47812 if test "$USES_CONTROLS" = 1; then
47813 cat >>confdefs.h
<<\_ACEOF
47814 #define wxUSE_CONTROLS 1
47820 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47821 cat >>confdefs.h
<<\_ACEOF
47822 #define wxUSE_ACCESSIBILITY 1
47825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47828 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47829 cat >>confdefs.h
<<\_ACEOF
47830 #define wxUSE_ARTPROVIDER_STD 1
47835 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47836 if test "$wxUSE_GTK" != 1; then
47837 if test "$wxUSE_LIBPNG" != no
-a \
47838 "$wxUSE_IMAGE" = yes -a \
47839 "$wxUSE_STREAMS" = yes; then
47840 wxUSE_ARTPROVIDER_TANGO
="yes"
47845 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47846 cat >>confdefs.h
<<\_ACEOF
47847 #define wxUSE_ARTPROVIDER_TANGO 1
47852 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47853 cat >>confdefs.h
<<\_ACEOF
47854 #define wxUSE_DRAGIMAGE 1
47857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47860 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47861 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47862 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47863 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47865 cat >>confdefs.h
<<\_ACEOF
47866 #define wxUSE_EXCEPTIONS 1
47869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47874 if test "$wxUSE_HTML" = "yes"; then
47875 cat >>confdefs.h
<<\_ACEOF
47876 #define wxUSE_HTML 1
47880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47882 if test "$wxUSE_WEBKIT" = "yes"; then
47883 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47884 old_CPPFLAGS
="$CPPFLAGS"
47885 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47886 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47887 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47888 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47889 echo $ECHO_N "(cached) $ECHO_C" >&6
47891 cat >conftest.
$ac_ext <<_ACEOF
47894 cat confdefs.h
>>conftest.
$ac_ext
47895 cat >>conftest.
$ac_ext <<_ACEOF
47896 /* end confdefs.h. */
47898 #include <Carbon/Carbon.h>
47899 #include <WebKit/WebKit.h>
47902 #include <WebKit/HIWebView.h>
47904 rm -f conftest.
$ac_objext
47905 if { (ac_try
="$ac_compile"
47906 case "(($ac_try" in
47907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47908 *) ac_try_echo=$ac_try;;
47910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47911 (eval "$ac_compile") 2>conftest.er1
47913 grep -v '^ *+' conftest.er1 >conftest.err
47915 cat conftest.err >&5
47916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47917 (exit $ac_status); } && {
47918 test -z "$ac_c_werror_flag" ||
47919 test ! -s conftest.err
47920 } && test -s conftest.$ac_objext; then
47921 ac_cv_header_WebKit_HIWebView_h=yes
47923 echo "$as_me: failed program was:" >&5
47924 sed 's/^/| /' conftest.$ac_ext >&5
47926 ac_cv_header_WebKit_HIWebView_h=no
47929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47931 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47932 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47933 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47935 cat >>confdefs.h <<\_ACEOF
47936 #define wxUSE_WEBKIT 1
47939 WEBKIT_LINK="-framework WebKit"
47943 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47944 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47950 CPPFLAGS="$old_CPPFLAGS"
47951 elif test "$wxUSE_OLD_COCOA" = 1; then
47952 cat >>confdefs.h <<\_ACEOF
47953 #define wxUSE_WEBKIT 1
47959 if test "$wxUSE_WEBKIT" = "yes"; then
47960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47965 if test "$wxUSE_XRC" = "yes"; then
47966 if test "$wxUSE_XML" != "yes"; then
47967 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47968 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47971 cat >>confdefs.h <<\_ACEOF
47972 #define wxUSE_XRC 1
47976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47981 if test "$wxUSE_AUI" = "yes"; then
47982 cat >>confdefs.h <<\_ACEOF
47983 #define wxUSE_AUI 1
47987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47991 if test "$wxUSE_PROPGRID" = "yes"; then
47992 cat >>confdefs.h <<\_ACEOF
47993 #define wxUSE_PROPGRID 1
47997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48001 if test "$wxUSE_RIBBON" = "yes"; then
48002 cat >>confdefs.h <<\_ACEOF
48003 #define wxUSE_RIBBON 1
48007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48011 if test "$wxUSE_STC" = "yes"; then
48012 cat >>confdefs.h <<\_ACEOF
48013 #define wxUSE_STC 1
48017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48019 # Extract the first word of "python", so it can be a program name with args.
48020 set dummy python; ac_word=$2
48021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48023 if test "${ac_cv_path_PYTHON+set}" = set; then
48024 echo $ECHO_N "(cached) $ECHO_C" >&6
48028 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48032 for as_dir in $PATH
48035 test -z "$as_dir" && as_dir=.
48036 for ac_exec_ext in '' $ac_executable_extensions; do
48037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48038 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48049 PYTHON=$ac_cv_path_PYTHON
48050 if test -n "$PYTHON"; then
48051 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48052 echo "${ECHO_T}$PYTHON" >&6; }
48054 { echo "$as_me:$LINENO: result: no" >&5
48055 echo "${ECHO_T}no" >&6; }
48059 if test "x$PYTHON" = "x"; then
48065 if test "$wxUSE_MENUS" = "yes"; then
48066 cat >>confdefs.h <<\_ACEOF
48067 #define wxUSE_MENUS 1
48070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48073 if test "$wxUSE_METAFILE" = "yes"; then
48074 cat >>confdefs.h <<\_ACEOF
48075 #define wxUSE_METAFILE 1
48080 if test "$wxUSE_MIMETYPE" = "yes"; then
48081 cat >>confdefs.h <<\_ACEOF
48082 #define wxUSE_MIMETYPE 1
48087 if test "$wxUSE_MINIFRAME" = "yes"; then
48088 cat >>confdefs.h <<\_ACEOF
48089 #define wxUSE_MINIFRAME 1
48094 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48095 cat >>confdefs.h <<\_ACEOF
48096 #define wxUSE_SYSTEM_OPTIONS 1
48101 if test "$wxUSE_TASKBARICON" = "yes"; then
48102 cat >>confdefs.h <<\_ACEOF
48103 #define wxUSE_TASKBARICON 1
48106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48110 if test "$wxUSE_VALIDATORS" = "yes"; then
48111 cat >>confdefs.h <<\_ACEOF
48112 #define wxUSE_VALIDATORS 1
48115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48118 if test "$wxUSE_PALETTE" = "yes" ; then
48119 if test "$wxUSE_DFB" = 1; then
48120 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48121 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_PALETTE 1
48131 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48132 LIBS=" -lunicows $LIBS"
48136 if test "$wxUSE_RICHTEXT" = "yes"; then
48137 cat >>confdefs.h <<\_ACEOF
48138 #define wxUSE_RICHTEXT 1
48142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48146 if test "$wxUSE_IMAGE" = "yes" ; then
48147 cat >>confdefs.h <<\_ACEOF
48148 #define wxUSE_IMAGE 1
48152 if test "$wxUSE_GIF" = "yes" ; then
48153 cat >>confdefs.h <<\_ACEOF
48154 #define wxUSE_GIF 1
48159 if test "$wxUSE_PCX" = "yes" ; then
48160 cat >>confdefs.h <<\_ACEOF
48161 #define wxUSE_PCX 1
48166 if test "$wxUSE_TGA" = "yes" ; then
48167 cat >>confdefs.h <<\_ACEOF
48168 #define wxUSE_TGA 1
48173 if test "$wxUSE_IFF" = "yes" ; then
48174 cat >>confdefs.h <<\_ACEOF
48175 #define wxUSE_IFF 1
48180 if test "$wxUSE_PNM" = "yes" ; then
48181 cat >>confdefs.h <<\_ACEOF
48182 #define wxUSE_PNM 1
48187 if test "$wxUSE_XPM" = "yes" ; then
48188 cat >>confdefs.h <<\_ACEOF
48189 #define wxUSE_XPM 1
48194 if test "$wxUSE_ICO_CUR" = "yes" ; then
48195 cat >>confdefs.h <<\_ACEOF
48196 #define wxUSE_ICO_CUR 1
48203 if test "$wxUSE_ABOUTDLG" = "yes"; then
48204 cat >>confdefs.h <<\_ACEOF
48205 #define wxUSE_ABOUTDLG 1
48210 if test "$wxUSE_CHOICEDLG" = "yes"; then
48211 cat >>confdefs.h <<\_ACEOF
48212 #define wxUSE_CHOICEDLG 1
48217 if test "$wxUSE_COLOURDLG" = "yes"; then
48218 cat >>confdefs.h <<\_ACEOF
48219 #define wxUSE_COLOURDLG 1
48224 if test "$wxUSE_FILEDLG" = "yes"; then
48225 cat >>confdefs.h <<\_ACEOF
48226 #define wxUSE_FILEDLG 1
48231 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48232 cat >>confdefs.h <<\_ACEOF
48233 #define wxUSE_FINDREPLDLG 1
48238 if test "$wxUSE_FONTDLG" = "yes"; then
48239 cat >>confdefs.h <<\_ACEOF
48240 #define wxUSE_FONTDLG 1
48245 if test "$wxUSE_DIRDLG" = "yes"; then
48246 if test "$wxUSE_TREECTRL" != "yes"; then
48247 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48248 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48250 cat >>confdefs.h <<\_ACEOF
48251 #define wxUSE_DIRDLG 1
48257 if test "$wxUSE_MSGDLG" = "yes"; then
48258 cat >>confdefs.h <<\_ACEOF
48259 #define wxUSE_MSGDLG 1
48264 if test "$wxUSE_NUMBERDLG" = "yes"; then
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_NUMBERDLG 1
48271 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48272 cat >>confdefs.h <<\_ACEOF
48273 #define wxUSE_PROGRESSDLG 1
48278 if test "$wxUSE_SPLASH" = "yes"; then
48279 cat >>confdefs.h <<\_ACEOF
48280 #define wxUSE_SPLASH 1
48283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48286 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48287 cat >>confdefs.h <<\_ACEOF
48288 #define wxUSE_STARTUP_TIPS 1
48293 if test "$wxUSE_TEXTDLG" = "yes"; then
48294 cat >>confdefs.h <<\_ACEOF
48295 #define wxUSE_TEXTDLG 1
48300 if test "$wxUSE_WIZARDDLG" = "yes"; then
48301 cat >>confdefs.h <<\_ACEOF
48302 #define wxUSE_WIZARDDLG 1
48305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48309 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48310 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48311 cat >>confdefs.h <<\_ACEOF
48312 #define wxUSE_OWNER_DRAWN 1
48319 if test "$wxUSE_MSW" = 1 ; then
48321 if test "$wxUSE_DC_CACHEING" = "yes"; then
48322 cat >>confdefs.h <<\_ACEOF
48323 #define wxUSE_DC_CACHEING 1
48328 if test "$wxUSE_DIB" = "yes"; then
48329 cat >>confdefs.h <<\_ACEOF
48330 #define wxUSE_WXDIB 1
48335 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48336 cat >>confdefs.h <<\_ACEOF
48337 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48342 if test "$wxUSE_UXTHEME" = "yes"; then
48343 cat >>confdefs.h <<\_ACEOF
48344 #define wxUSE_UXTHEME 1
48351 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48352 cat >>confdefs.h <<\_ACEOF
48353 #define wxUSE_AUTOID_MANAGEMENT 1
48358 if test "$USE_WIN32" = 1 ; then
48359 if test "$wxUSE_INICONF" = "yes"; then
48360 cat >>confdefs.h <<\_ACEOF
48361 #define wxUSE_INICONF 1
48366 if test "$wxUSE_REGKEY" = "yes"; then
48367 cat >>confdefs.h <<\_ACEOF
48368 #define wxUSE_REGKEY 1
48375 if test "$wxUSE_MAC" = 1; then
48376 wxUSE_GRAPHICS_CONTEXT="yes"
48379 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48381 if test "$wxUSE_MSW" = 1; then
48382 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48383 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48384 if test "${wx_cv_lib_gdiplus+set}" = set; then
48385 echo $ECHO_N "(cached) $ECHO_C" >&6
48389 ac_cpp='$CXXCPP $CPPFLAGS'
48390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48394 cat >conftest.$ac_ext <<_ACEOF
48397 cat confdefs.h >>conftest.$ac_ext
48398 cat >>conftest.$ac_ext <<_ACEOF
48399 /* end confdefs.h. */
48400 #include <windows.h>
48401 #include <gdiplus.h>
48406 using namespace Gdiplus;
48412 rm -f conftest.$ac_objext
48413 if { (ac_try="$ac_compile"
48414 case "(($ac_try" in
48415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48416 *) ac_try_echo
=$ac_try;;
48418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48419 (eval "$ac_compile") 2>conftest.er1
48421 grep -v '^ *+' conftest.er1
>conftest.err
48423 cat conftest.err
>&5
48424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48425 (exit $ac_status); } && {
48426 test -z "$ac_cxx_werror_flag" ||
48427 test ! -s conftest.err
48428 } && test -s conftest.
$ac_objext; then
48429 wx_cv_lib_gdiplus
=yes
48431 echo "$as_me: failed program was:" >&5
48432 sed 's/^/| /' conftest.
$ac_ext >&5
48434 wx_cv_lib_gdiplus
=no
48438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48440 ac_cpp
='$CPP $CPPFLAGS'
48441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48448 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48449 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48450 if test "$wx_cv_lib_gdiplus" = "yes"; then
48453 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48456 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48457 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48459 if test -n "$PKG_CONFIG"; then
48460 if test -n "$CAIRO_CFLAGS"; then
48461 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48463 if test -n "$PKG_CONFIG" && \
48464 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48465 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48468 (exit $ac_status); }; then
48469 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48477 if test -n "$PKG_CONFIG"; then
48478 if test -n "$CAIRO_LIBS"; then
48479 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48481 if test -n "$PKG_CONFIG" && \
48482 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48483 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48486 (exit $ac_status); }; then
48487 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48498 if test $pkg_failed = yes; then
48500 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48501 _pkg_short_errors_supported
=yes
48503 _pkg_short_errors_supported
=no
48505 if test $_pkg_short_errors_supported = yes; then
48506 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48508 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48510 # Put the nasty error message in config.log where it belongs
48511 echo "$CAIRO_PKG_ERRORS" >&5
48513 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48514 echo "$as_me: WARNING: Cairo library not found" >&2;}
48516 elif test $pkg_failed = untried
; then
48517 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48518 echo "$as_me: WARNING: Cairo library not found" >&2;}
48521 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48522 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48523 { echo "$as_me:$LINENO: result: yes" >&5
48524 echo "${ECHO_T}yes" >&6; }
48527 if test "$wx_has_graphics" = 1; then
48529 LIBS
="$LIBS $CAIRO_LIBS"
48531 for ac_func
in cairo_push_group
48533 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48534 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48536 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48537 echo $ECHO_N "(cached) $ECHO_C" >&6
48539 cat >conftest.
$ac_ext <<_ACEOF
48542 cat confdefs.h
>>conftest.
$ac_ext
48543 cat >>conftest.
$ac_ext <<_ACEOF
48544 /* end confdefs.h. */
48545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48547 #define $ac_func innocuous_$ac_func
48549 /* System header to define __stub macros and hopefully few prototypes,
48550 which can conflict with char $ac_func (); below.
48551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48552 <limits.h> exists even on freestanding compilers. */
48555 # include <limits.h>
48557 # include <assert.h>
48562 /* Override any GCC internal prototype to avoid an error.
48563 Use char because int might match the return type of a GCC
48564 builtin and then its argument prototype would still apply. */
48569 /* The GNU C library defines this for functions which it implements
48570 to always fail with ENOSYS. Some functions are actually named
48571 something starting with __ and the normal name is an alias. */
48572 #if defined __stub_$ac_func || defined __stub___$ac_func
48579 return $ac_func ();
48584 rm -f conftest.
$ac_objext conftest
$ac_exeext
48585 if { (ac_try
="$ac_link"
48586 case "(($ac_try" in
48587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48588 *) ac_try_echo=$ac_try;;
48590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48591 (eval "$ac_link") 2>conftest.er1
48593 grep -v '^ *+' conftest.er1 >conftest.err
48595 cat conftest.err >&5
48596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48597 (exit $ac_status); } && {
48598 test -z "$ac_c_werror_flag" ||
48599 test ! -s conftest.err
48600 } && test -s conftest$ac_exeext &&
48601 $as_test_x conftest$ac_exeext; then
48602 eval "$as_ac_var=yes"
48604 echo "$as_me: failed program was:" >&5
48605 sed 's/^/| /' conftest.$ac_ext >&5
48607 eval "$as_ac_var=no"
48610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48611 conftest$ac_exeext conftest.$ac_ext
48613 ac_res=`eval echo '${'$as_ac_var'}'`
48614 { echo "$as_me:$LINENO: result: $ac_res" >&5
48615 echo "${ECHO_T}$ac_res" >&6; }
48616 if test `eval echo '${'$as_ac_var'}'` = yes; then
48617 cat >>confdefs.h <<_ACEOF
48618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48625 if test "$ac_cv_func_cairo_push_group" = "no"; then
48627 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48628 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48630 cat >>confdefs.h <<\_ACEOF
48631 #define wxUSE_CAIRO 1
48635 if test "$wxUSE_GTK" != 1; then
48636 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48637 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48645 if test "$wx_has_graphics" = 1; then
48646 cat >>confdefs.h <<\_ACEOF
48647 #define wxUSE_GRAPHICS_CONTEXT 1
48651 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48652 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48659 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48662 if test "$wxUSE_GTK" = 1; then
48663 wxUSE_GSTREAMER="no"
48665 GST_VERSION_MAJOR=0
48666 GST_VERSION_MINOR=10
48667 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48669 if test "$wxUSE_GSTREAMER8" = "no"; then
48672 { echo "$as_me:$LINENO: checking for GST" >&5
48673 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48675 if test -n "$PKG_CONFIG"; then
48676 if test -n "$GST_CFLAGS"; then
48677 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48679 if test -n "$PKG_CONFIG" && \
48680 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48681 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48684 (exit $ac_status); }; then
48685 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
48693 if test -n "$PKG_CONFIG"; then
48694 if test -n "$GST_LIBS"; then
48695 pkg_cv_GST_LIBS="$GST_LIBS"
48697 if test -n "$PKG_CONFIG" && \
48698 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48699 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48702 (exit $ac_status); }; then
48703 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
48714 if test $pkg_failed = yes; then
48716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48717 _pkg_short_errors_supported=yes
48719 _pkg_short_errors_supported=no
48721 if test $_pkg_short_errors_supported = yes; then
48722 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48724 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48726 # Put the nasty error message in config.log where it belongs
48727 echo "$GST_PKG_ERRORS" >&5
48730 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48731 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48732 GST_VERSION_MINOR=8
48735 elif test $pkg_failed = untried; then
48737 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48738 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48739 GST_VERSION_MINOR=8
48743 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48744 GST_LIBS=$pkg_cv_GST_LIBS
48745 { echo "$as_me:$LINENO: result: yes" >&5
48746 echo "${ECHO_T}yes" >&6; }
48748 wxUSE_GSTREAMER="yes"
48749 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48753 GST_VERSION_MINOR=8
48756 if test $GST_VERSION_MINOR = "8"; then
48757 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48760 { echo "$as_me:$LINENO: checking for GST" >&5
48761 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48763 if test -n "$PKG_CONFIG"; then
48764 if test -n "$GST_CFLAGS"; then
48765 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48767 if test -n "$PKG_CONFIG" && \
48768 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48769 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48772 (exit $ac_status); }; then
48773 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
48781 if test -n "$PKG_CONFIG"; then
48782 if test -n "$GST_LIBS"; then
48783 pkg_cv_GST_LIBS="$GST_LIBS"
48785 if test -n "$PKG_CONFIG" && \
48786 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48787 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48790 (exit $ac_status); }; then
48791 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
48802 if test $pkg_failed = yes; then
48804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48805 _pkg_short_errors_supported=yes
48807 _pkg_short_errors_supported=no
48809 if test $_pkg_short_errors_supported = yes; then
48810 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48812 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48814 # Put the nasty error message in config.log where it belongs
48815 echo "$GST_PKG_ERRORS" >&5
48818 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48819 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48821 elif test $pkg_failed = untried; then
48823 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48824 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48827 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48828 GST_LIBS=$pkg_cv_GST_LIBS
48829 { echo "$as_me:$LINENO: result: yes" >&5
48830 echo "${ECHO_T}yes" >&6; }
48831 wxUSE_GSTREAMER="yes"
48836 if test "$wxUSE_GSTREAMER" = "yes"; then
48837 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48838 EXTRALIBS_MEDIA="$GST_LIBS"
48840 cat >>confdefs.h <<\_ACEOF
48841 #define wxUSE_GSTREAMER 1
48849 if test $USE_MEDIA = 1; then
48850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48851 cat >>confdefs.h <<\_ACEOF
48852 #define wxUSE_MEDIACTRL 1
48856 if test "$wxUSE_MEDIACTRL" = "yes"; then
48857 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48858 echo "$as_me: error: GStreamer not available" >&2;}
48859 { (exit 1); exit 1; }; }
48861 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48862 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48868 if test "$cross_compiling" != "no"; then
48871 OSINFO=`uname
-s -r -m`
48872 OSINFO="\"$OSINFO\""
48875 cat >>confdefs.h <<_ACEOF
48876 #define WXWIN_OS_DESCRIPTION $OSINFO
48881 if test "x$prefix" != "xNONE"; then
48884 wxPREFIX=$ac_default_prefix
48887 cat >>confdefs.h <<_ACEOF
48888 #define wxINSTALL_PREFIX "$wxPREFIX"
48894 STD_BASE_LIBS="base"
48896 BUILT_WX_LIBS="base"
48897 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48899 if test "$wxUSE_SOCKETS" = "yes" ; then
48900 STD_BASE_LIBS="net $STD_BASE_LIBS"
48901 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48903 if test "$wxUSE_XML" = "yes" ; then
48904 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48905 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48908 if test "$wxUSE_GUI" = "yes"; then
48909 STD_GUI_LIBS="adv core"
48910 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48912 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48913 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48914 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48916 if test "$wxUSE_HTML" = "yes" ; then
48917 STD_GUI_LIBS="html $STD_GUI_LIBS"
48918 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48920 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48921 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48923 if test "$wxUSE_OPENGL" = "yes" ; then
48924 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48926 if test "$wxUSE_AUI" = "yes" ; then
48927 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48929 if test "$wxUSE_PROPGRID" = "yes" ; then
48930 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48932 if test "$wxUSE_RIBBON" = "yes" ; then
48933 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48935 if test "$wxUSE_RICHTEXT" = "yes" ; then
48936 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48938 if test "$wxUSE_STC" = "yes" ; then
48939 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48941 if test "$wxUSE_XRC" = "yes" ; then
48942 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48943 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48954 if test "$wxUSE_MAC" = 1 ; then
48955 if test "$USE_DARWIN" = 1; then
48956 if test "$wxUSE_OSX_IPHONE" = 1; then
48957 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48959 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48963 if test "$wxUSE_OLD_COCOA" = 1 ; then
48964 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48965 if test "$wxUSE_MEDIACTRL" = "yes"; then
48966 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48969 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48970 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48973 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48974 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48976 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48978 if test "$wxUSE_GUI" = "yes"; then
48981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48982 erase event exec font image minimal render \
48983 shaped svg taborder vscroll widgets wrapsizer"
48985 if test "$wxUSE_MONOLITHIC" != "yes"; then
48986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48988 if test "$TOOLKIT" = "MSW"; then
48989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48990 if test "$wxUSE_UNIVERSAL" != "yes"; then
48991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48994 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48998 SAMPLES_SUBDIRS="console"
48999 if test "$wxUSE_SOCKETS" = "yes" ; then
49000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49002 if test "$wxUSE_IPC" = "yes" ; then
49003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49008 if test "x$INTELCC" = "xyes" ; then
49009 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49010 elif test "$GCC" = yes ; then
49011 CWARNINGS="-Wall -Wundef"
49014 if test "x$INTELCXX" = "xyes" ; then
49015 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49016 elif test "$GXX" = yes ; then
49017 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49018 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49019 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49020 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49021 echo $ECHO_N "(cached) $ECHO_C" >&6
49023 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49026 ac_cpp='$CXXCPP $CPPFLAGS'
49027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49031 ac_save_CXXFLAGS="$CXXFLAGS"
49032 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49033 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49034 cat >conftest.$ac_ext <<_ACEOF
49037 cat confdefs.h >>conftest.$ac_ext
49038 cat >>conftest.$ac_ext <<_ACEOF
49039 /* end confdefs.h. */
49049 rm -f conftest.$ac_objext
49050 if { (ac_try="$ac_compile"
49051 case "(($ac_try" in
49052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49053 *) ac_try_echo
=$ac_try;;
49055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49056 (eval "$ac_compile") 2>conftest.er1
49058 grep -v '^ *+' conftest.er1
>conftest.err
49060 cat conftest.err
>&5
49061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49062 (exit $ac_status); } && {
49063 test -z "$ac_cxx_werror_flag" ||
49064 test ! -s conftest.err
49065 } && test -s conftest.
$ac_objext; then
49066 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49068 echo "$as_me: failed program was:" >&5
49069 sed 's/^/| /' conftest.
$ac_ext >&5
49074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49076 CXXFLAGS
="$ac_save_CXXFLAGS"
49078 ac_cpp
='$CPP $CPPFLAGS'
49079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49085 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49086 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49087 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49091 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
49092 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49093 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49096 (exit $ac_status); }
49097 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49098 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49101 (exit $ac_status); }
49102 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49108 if test "$wxUSE_MAC" = 1 ; then
49109 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
49114 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49115 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49118 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49119 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49120 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49123 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49124 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49125 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49126 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49127 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49129 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49132 if test "x$MWCC" = "xyes"; then
49134 CC
="$CC -cwd source -I-"
49135 CXX
="$CXX -cwd source -I-"
49140 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49141 EXTRALIBS_XML
="$EXPAT_LINK"
49142 EXTRALIBS_HTML
="$MSPACK_LINK"
49143 EXTRALIBS_MEDIA
="$GST_LIBS"
49144 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49145 if test "$wxUSE_GUI" = "yes"; then
49146 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49148 if test "$wxUSE_OPENGL" = "yes"; then
49149 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49152 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49154 WXCONFIG_LIBS
="$LIBS"
49156 if test "$wxUSE_REGEX" = "builtin" ; then
49157 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49159 if test "$wxUSE_EXPAT" = "builtin" ; then
49160 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49162 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49163 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49165 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49166 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49168 if test "$wxUSE_LIBPNG" = "builtin" ; then
49169 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49171 if test "$wxUSE_ZLIB" = "builtin" ; then
49172 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49175 for i
in $wxconfig_3rdparty ; do
49176 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49180 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49183 case "$wxUNIV_THEMES" in
49185 cat >>confdefs.h
<<\_ACEOF
49186 #define wxUSE_ALL_THEMES 1
49192 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49193 cat >>confdefs.h
<<_ACEOF
49194 #define wxUSE_THEME_$t 1
49210 if test $wxUSE_MONOLITHIC = "yes" ; then
49216 if test $wxUSE_PLUGINS = "yes" ; then
49222 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49228 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49260 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49273 TOOLKIT_DESC
="GTK+"
49274 if test "$WXGTK2" = 1; then
49275 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49276 if test "$wxUSE_GTKPRINT" = "yes" ; then
49277 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49279 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49280 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49282 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49283 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49285 if test "$wxUSE_LIBHILDON" = "yes"; then
49286 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49288 if test "$wxUSE_LIBHILDON2" = "yes"; then
49289 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49292 if test "$TOOLKIT_EXTRA" != ""; then
49293 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49299 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49303 TOOLKIT_DESC
="base only"
49307 if test "$wxUSE_WINE" = "yes"; then
49308 BAKEFILE_FORCE_PLATFORM
=win32
49311 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49313 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49314 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49315 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49316 echo $ECHO_N "(cached) $ECHO_C" >&6
49319 echo '#include <stdio.h>
49320 const wchar_t test_var[] = L"awidetest";' > conftest.h
49322 echo '#include "conftest.h"
49325 printf("%ls", test_var);
49329 wx_cv_gcc_pch_bug
="pch not supported"
49331 if $CXX conftest.h
>/dev
/null
2>&1
49335 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49337 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49338 grep awidetest
>/dev
/null
49340 wx_cv_gcc_pch_bug
=no
49342 wx_cv_gcc_pch_bug
=yes
49347 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49350 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49351 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49353 if test "$wx_cv_gcc_pch_bug" = yes; then
49364 if test "x$BAKEFILE_HOST" = "x"; then
49365 if test "x${host}" = "x" ; then
49366 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49367 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49368 { (exit 1); exit 1; }; }
49371 BAKEFILE_HOST
="${host}"
49374 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49376 if test -n "$ac_tool_prefix"; then
49377 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49378 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49381 if test "${ac_cv_prog_RANLIB+set}" = set; then
49382 echo $ECHO_N "(cached) $ECHO_C" >&6
49384 if test -n "$RANLIB"; then
49385 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49388 for as_dir
in $PATH
49391 test -z "$as_dir" && as_dir
=.
49392 for ac_exec_ext
in '' $ac_executable_extensions; do
49393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49394 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49404 RANLIB
=$ac_cv_prog_RANLIB
49405 if test -n "$RANLIB"; then
49406 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49407 echo "${ECHO_T}$RANLIB" >&6; }
49409 { echo "$as_me:$LINENO: result: no" >&5
49410 echo "${ECHO_T}no" >&6; }
49415 if test -z "$ac_cv_prog_RANLIB"; then
49416 ac_ct_RANLIB
=$RANLIB
49417 # Extract the first word of "ranlib", so it can be a program name with args.
49418 set dummy ranlib
; ac_word
=$2
49419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49421 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49422 echo $ECHO_N "(cached) $ECHO_C" >&6
49424 if test -n "$ac_ct_RANLIB"; then
49425 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49428 for as_dir
in $PATH
49431 test -z "$as_dir" && as_dir
=.
49432 for ac_exec_ext
in '' $ac_executable_extensions; do
49433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49434 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49444 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49445 if test -n "$ac_ct_RANLIB"; then
49446 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49447 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49449 { echo "$as_me:$LINENO: result: no" >&5
49450 echo "${ECHO_T}no" >&6; }
49453 if test "x$ac_ct_RANLIB" = x
; then
49456 case $cross_compiling:$ac_tool_warned in
49458 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49459 whose name does not start with the host triplet. If you think this
49460 configuration is useful to you, please write to autoconf@gnu.org." >&5
49461 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49462 whose name does not start with the host triplet. If you think this
49463 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49464 ac_tool_warned
=yes ;;
49466 RANLIB
=$ac_ct_RANLIB
49469 RANLIB
="$ac_cv_prog_RANLIB"
49472 # Find a good install program. We prefer a C program (faster),
49473 # so one script is as good as another. But avoid the broken or
49474 # incompatible versions:
49475 # SysV /etc/install, /usr/sbin/install
49476 # SunOS /usr/etc/install
49477 # IRIX /sbin/install
49479 # AmigaOS /C/install, which installs bootblocks on floppy discs
49480 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49481 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49482 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49483 # OS/2's system install, which has a completely different semantic
49484 # ./install, which can be erroneously created by make from ./install.sh.
49485 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49486 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49487 if test -z "$INSTALL"; then
49488 if test "${ac_cv_path_install+set}" = set; then
49489 echo $ECHO_N "(cached) $ECHO_C" >&6
49491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49492 for as_dir
in $PATH
49495 test -z "$as_dir" && as_dir
=.
49496 # Account for people who put trailing slashes in PATH elements.
49498 .
/ | .
// | /cC
/* | \
49499 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49500 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49503 # OSF1 and SCO ODT 3.0 have their own names for install.
49504 # Don't use installbsd from OSF since it installs stuff as root
49506 for ac_prog
in ginstall scoinst
install; do
49507 for ac_exec_ext
in '' $ac_executable_extensions; do
49508 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49509 if test $ac_prog = install &&
49510 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49511 # AIX install. It has an incompatible calling convention.
49513 elif test $ac_prog = install &&
49514 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49515 # program-specific install script used by HP pwplus--don't use.
49518 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49531 if test "${ac_cv_path_install+set}" = set; then
49532 INSTALL
=$ac_cv_path_install
49534 # As a last resort, use the slow shell script. Don't cache a
49535 # value for INSTALL within a source directory, because that will
49536 # break other packages using the cache if that directory is
49537 # removed, or if the value is a relative name.
49538 INSTALL
=$ac_install_sh
49541 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49542 echo "${ECHO_T}$INSTALL" >&6; }
49544 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49545 # It thinks the first close brace ends the variable substitution.
49546 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49548 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49550 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49552 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49553 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49555 if test "$LN_S" = "ln -s"; then
49556 { echo "$as_me:$LINENO: result: yes" >&5
49557 echo "${ECHO_T}yes" >&6; }
49559 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49560 echo "${ECHO_T}no, using $LN_S" >&6; }
49564 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49565 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49566 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49567 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49568 echo $ECHO_N "(cached) $ECHO_C" >&6
49570 cat >conftest.
make <<\_ACEOF
49573 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49575 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49576 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49577 *@@@
%%%=?
*=@@@
%%%*)
49578 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49580 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49582 rm -f conftest.
make
49584 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49585 { echo "$as_me:$LINENO: result: yes" >&5
49586 echo "${ECHO_T}yes" >&6; }
49589 { echo "$as_me:$LINENO: result: no" >&5
49590 echo "${ECHO_T}no" >&6; }
49591 SET_MAKE
="MAKE=${MAKE-make}"
49596 if test "x$SUNCXX" = "xyes"; then
49598 AROPTIONS
="-xar -o"
49600 elif test "x$SGICC" = "xyes"; then
49605 if test -n "$ac_tool_prefix"; then
49606 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49607 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49610 if test "${ac_cv_prog_AR+set}" = set; then
49611 echo $ECHO_N "(cached) $ECHO_C" >&6
49613 if test -n "$AR"; then
49614 ac_cv_prog_AR
="$AR" # Let the user override the test.
49616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49617 for as_dir
in $PATH
49620 test -z "$as_dir" && as_dir
=.
49621 for ac_exec_ext
in '' $ac_executable_extensions; do
49622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49623 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49634 if test -n "$AR"; then
49635 { echo "$as_me:$LINENO: result: $AR" >&5
49636 echo "${ECHO_T}$AR" >&6; }
49638 { echo "$as_me:$LINENO: result: no" >&5
49639 echo "${ECHO_T}no" >&6; }
49644 if test -z "$ac_cv_prog_AR"; then
49646 # Extract the first word of "ar", so it can be a program name with args.
49647 set dummy
ar; ac_word
=$2
49648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49650 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49651 echo $ECHO_N "(cached) $ECHO_C" >&6
49653 if test -n "$ac_ct_AR"; then
49654 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49657 for as_dir
in $PATH
49660 test -z "$as_dir" && as_dir
=.
49661 for ac_exec_ext
in '' $ac_executable_extensions; do
49662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49663 ac_cv_prog_ac_ct_AR
="ar"
49664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49673 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49674 if test -n "$ac_ct_AR"; then
49675 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49676 echo "${ECHO_T}$ac_ct_AR" >&6; }
49678 { echo "$as_me:$LINENO: result: no" >&5
49679 echo "${ECHO_T}no" >&6; }
49682 if test "x$ac_ct_AR" = x
; then
49685 case $cross_compiling:$ac_tool_warned in
49687 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49688 whose name does not start with the host triplet. If you think this
49689 configuration is useful to you, please write to autoconf@gnu.org." >&5
49690 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49691 whose name does not start with the host triplet. If you think this
49692 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49693 ac_tool_warned
=yes ;;
49698 AR
="$ac_cv_prog_AR"
49705 if test -n "$ac_tool_prefix"; then
49706 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49707 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49710 if test "${ac_cv_prog_STRIP+set}" = set; then
49711 echo $ECHO_N "(cached) $ECHO_C" >&6
49713 if test -n "$STRIP"; then
49714 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49717 for as_dir
in $PATH
49720 test -z "$as_dir" && as_dir
=.
49721 for ac_exec_ext
in '' $ac_executable_extensions; do
49722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49723 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49733 STRIP
=$ac_cv_prog_STRIP
49734 if test -n "$STRIP"; then
49735 { echo "$as_me:$LINENO: result: $STRIP" >&5
49736 echo "${ECHO_T}$STRIP" >&6; }
49738 { echo "$as_me:$LINENO: result: no" >&5
49739 echo "${ECHO_T}no" >&6; }
49744 if test -z "$ac_cv_prog_STRIP"; then
49746 # Extract the first word of "strip", so it can be a program name with args.
49747 set dummy strip
; ac_word
=$2
49748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49750 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49751 echo $ECHO_N "(cached) $ECHO_C" >&6
49753 if test -n "$ac_ct_STRIP"; then
49754 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49757 for as_dir
in $PATH
49760 test -z "$as_dir" && as_dir
=.
49761 for ac_exec_ext
in '' $ac_executable_extensions; do
49762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49763 ac_cv_prog_ac_ct_STRIP
="strip"
49764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49773 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49774 if test -n "$ac_ct_STRIP"; then
49775 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49776 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49778 { echo "$as_me:$LINENO: result: no" >&5
49779 echo "${ECHO_T}no" >&6; }
49782 if test "x$ac_ct_STRIP" = x
; then
49785 case $cross_compiling:$ac_tool_warned in
49787 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49788 whose name does not start with the host triplet. If you think this
49789 configuration is useful to you, please write to autoconf@gnu.org." >&5
49790 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49791 whose name does not start with the host triplet. If you think this
49792 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49793 ac_tool_warned
=yes ;;
49798 STRIP
="$ac_cv_prog_STRIP"
49801 if test -n "$ac_tool_prefix"; then
49802 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49803 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49806 if test "${ac_cv_prog_NM+set}" = set; then
49807 echo $ECHO_N "(cached) $ECHO_C" >&6
49809 if test -n "$NM"; then
49810 ac_cv_prog_NM
="$NM" # Let the user override the test.
49812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49813 for as_dir
in $PATH
49816 test -z "$as_dir" && as_dir
=.
49817 for ac_exec_ext
in '' $ac_executable_extensions; do
49818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49819 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49830 if test -n "$NM"; then
49831 { echo "$as_me:$LINENO: result: $NM" >&5
49832 echo "${ECHO_T}$NM" >&6; }
49834 { echo "$as_me:$LINENO: result: no" >&5
49835 echo "${ECHO_T}no" >&6; }
49840 if test -z "$ac_cv_prog_NM"; then
49842 # Extract the first word of "nm", so it can be a program name with args.
49843 set dummy nm
; ac_word
=$2
49844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49846 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49847 echo $ECHO_N "(cached) $ECHO_C" >&6
49849 if test -n "$ac_ct_NM"; then
49850 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49853 for as_dir
in $PATH
49856 test -z "$as_dir" && as_dir
=.
49857 for ac_exec_ext
in '' $ac_executable_extensions; do
49858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49859 ac_cv_prog_ac_ct_NM
="nm"
49860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49869 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49870 if test -n "$ac_ct_NM"; then
49871 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49872 echo "${ECHO_T}$ac_ct_NM" >&6; }
49874 { echo "$as_me:$LINENO: result: no" >&5
49875 echo "${ECHO_T}no" >&6; }
49878 if test "x$ac_ct_NM" = x
; then
49881 case $cross_compiling:$ac_tool_warned in
49883 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49884 whose name does not start with the host triplet. If you think this
49885 configuration is useful to you, please write to autoconf@gnu.org." >&5
49886 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49887 whose name does not start with the host triplet. If you think this
49888 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49889 ac_tool_warned
=yes ;;
49894 NM
="$ac_cv_prog_NM"
49898 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49899 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49900 INSTALL_TEST_DIR
=acbftest$$
49901 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
49902 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
49903 rmdir $INSTALL_TEST_DIR
49904 INSTALL_DIR
='$(INSTALL) -d'
49905 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49906 echo "${ECHO_T}$INSTALL -d" >&6; }
49908 INSTALL_DIR
="mkdir -p"
49909 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49910 echo "${ECHO_T}mkdir -p" >&6; }
49915 case ${BAKEFILE_HOST} in
49916 *-*-cygwin* | *-*-mingw32* )
49917 LDFLAGS_GUI
="-mwindows"
49923 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49924 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49925 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49926 echo $ECHO_N "(cached) $ECHO_C" >&6
49929 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
49930 egrep -s GNU
> /dev
/null
); then
49931 bakefile_cv_prog_makeisgnu
="yes"
49933 bakefile_cv_prog_makeisgnu
="no"
49937 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49938 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49940 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49957 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49958 case "${BAKEFILE_HOST}" in
49965 *-pc-os2_emx | *-pc-os2-emx )
49975 powerpc
-apple-macos* )
49984 case "$BAKEFILE_FORCE_PLATFORM" in
50005 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50006 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50007 { (exit 1); exit 1; }; }
50022 # Check whether --enable-omf was given.
50023 if test "${enable_omf+set}" = set; then
50024 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50028 case "${BAKEFILE_HOST}" in
50030 if test "x$GCC" = "xyes"; then
50031 CFLAGS
="$CFLAGS -fno-common"
50032 CXXFLAGS
="$CXXFLAGS -fno-common"
50034 if test "x$XLCC" = "xyes"; then
50035 CFLAGS
="$CFLAGS -qnocommon"
50036 CXXFLAGS
="$CXXFLAGS -qnocommon"
50040 *-pc-os2_emx | *-pc-os2-emx )
50041 if test "x$bk_os2_use_omf" = "xyes" ; then
50044 LDFLAGS
="-Zomf $LDFLAGS"
50045 CFLAGS
="-Zomf $CFLAGS"
50046 CXXFLAGS
="-Zomf $CXXFLAGS"
50054 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50060 SO_SUFFIX_MODULE
="so"
50065 DLLPREFIX_MODULE
=""
50069 case "${BAKEFILE_HOST}" in
50074 SO_SUFFIX_MODULE
="sl"
50078 SO_SUFFIX_MODULE
="a"
50082 SO_SUFFIX_MODULE
="dll"
50083 DLLIMP_SUFFIX
="dll.a"
50090 SO_SUFFIX_MODULE
="dll"
50091 DLLIMP_SUFFIX
="dll.a"
50101 *-pc-os2_emx | *-pc-os2-emx )
50103 SO_SUFFIX_MODULE
="dll"
50104 DLLIMP_SUFFIX
=$OS2_LIBEXT
50108 LIBEXT
=".$OS2_LIBEXT"
50113 SO_SUFFIX_MODULE
="bundle"
50117 if test "x$DLLIMP_SUFFIX" = "x" ; then
50118 DLLIMP_SUFFIX
="$SO_SUFFIX"
50133 if test "x$GCC" = "xyes"; then
50137 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50138 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50141 case "${BAKEFILE_HOST}" in
50143 if test "x$GCC" != "xyes"; then
50144 LDFLAGS
="$LDFLAGS -L/usr/lib"
50146 SHARED_LD_CC
="${CC} -b -o"
50147 SHARED_LD_CXX
="${CXX} -b -o"
50153 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50155 elif test "x$SUNCXX" = "xyes"; then
50156 SHARED_LD_CC
="${CC} -G -o"
50157 SHARED_LD_CXX
="${CXX} -G -o"
50163 if test "x$SUNCXX" = xyes
; then
50164 SHARED_LD_CC
="${CC} -G -o"
50165 SHARED_LD_CXX
="${CXX} -G -o"
50173 cat <<EOF >shared-ld-sh
50175 #-----------------------------------------------------------------------------
50176 #-- Name: distrib/mac/shared-ld-sh
50177 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50178 #-- Author: Gilles Depeyrot
50179 #-- Copyright: (c) 2002 Gilles Depeyrot
50180 #-- Licence: any use permitted
50181 #-----------------------------------------------------------------------------
50186 linking_flag="-dynamiclib"
50187 ldargs="-r -keep_private_externs -nostdlib"
50189 if test "x${D}CXX" = "x"; then
50193 while test ${D}# -gt 0; do
50200 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50201 # collect these options and values
50202 args="${D}{args} ${D}1 ${D}2"
50207 # collect these options and values
50208 ldargs="${D}{ldargs} ${D}1 ${D}2"
50213 # collect these load args
50214 ldargs="${D}{ldargs} ${D}1"
50217 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50218 # collect these options
50219 args="${D}{args} ${D}1"
50222 -dynamiclib|-bundle)
50223 linking_flag="${D}1"
50227 echo "shared-ld: unhandled option '${D}1'"
50231 *.o | *.a | *.dylib)
50232 # collect object files
50233 objects="${D}{objects} ${D}1"
50237 echo "shared-ld: unhandled argument '${D}1'"
50248 # Link one module containing all the others
50250 if test ${D}{verbose} = 1; then
50251 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50253 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50257 # Link the shared library from the single module created, but only if the
50258 # previous command didn't fail:
50260 if test ${D}{status} = 0; then
50261 if test ${D}{verbose} = 1; then
50262 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50264 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50269 # Remove intermediate module
50271 rm -f master.${D}${D}.o
50276 chmod +x shared
-ld-sh
50278 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50279 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50282 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50283 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50284 if test "${bakefile_cv_gcc31+set}" = set; then
50285 echo $ECHO_N "(cached) $ECHO_C" >&6
50288 cat >conftest.
$ac_ext <<_ACEOF
50291 cat confdefs.h
>>conftest.
$ac_ext
50292 cat >>conftest.
$ac_ext <<_ACEOF
50293 /* end confdefs.h. */
50299 #if (__GNUC__ < 3) || \
50300 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50308 rm -f conftest.
$ac_objext
50309 if { (ac_try
="$ac_compile"
50310 case "(($ac_try" in
50311 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50312 *) ac_try_echo=$ac_try;;
50314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50315 (eval "$ac_compile") 2>conftest.er1
50317 grep -v '^ *+' conftest.er1 >conftest.err
50319 cat conftest.err >&5
50320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50321 (exit $ac_status); } && {
50322 test -z "$ac_c_werror_flag" ||
50323 test ! -s conftest.err
50324 } && test -s conftest.$ac_objext; then
50326 bakefile_cv_gcc31=yes
50329 echo "$as_me: failed program was:" >&5
50330 sed 's/^/| /' conftest.$ac_ext >&5
50333 bakefile_cv_gcc31=no
50338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50341 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50342 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50343 if test "$bakefile_cv_gcc31" = "no"; then
50344 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50345 SHARED_LD_CXX="$SHARED_LD_CC"
50347 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50348 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50351 if test "x$GCC" == "xyes"; then
50352 PIC_FLAG="-dynamic -fPIC"
50354 if test "x$XLCC" = "xyes"; then
50355 PIC_FLAG="-dynamic -DPIC"
50360 if test "x$GCC" = "xyes"; then
50363 case "${BAKEFILE_HOST}" in
50365 LD_EXPFULL="-Wl,-bexpfull"
50369 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50370 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50372 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50373 set dummy makeC++SharedLib; ac_word=$2
50374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50376 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50377 echo $ECHO_N "(cached) $ECHO_C" >&6
50379 if test -n "$AIX_CXX_LD"; then
50380 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50383 for as_dir in $PATH
50386 test -z "$as_dir" && as_dir=.
50387 for ac_exec_ext in '' $ac_executable_extensions; do
50388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50389 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50397 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50400 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50401 if test -n "$AIX_CXX_LD"; then
50402 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50403 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50405 { echo "$as_me:$LINENO: result: no" >&5
50406 echo "${ECHO_T}no" >&6; }
50410 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50411 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50416 SHARED_LD_CC="${LD} -nostart -o"
50417 SHARED_LD_CXX="${LD} -nostart -o"
50421 if test "x$GCC" != "xyes"; then
50426 *-*-cygwin* | *-*-mingw32* )
50428 SHARED_LD_CC="\$(CC) -shared -o"
50429 SHARED_LD_CXX="\$(CXX) -shared -o"
50433 *-pc-os2_emx | *-pc-os2-emx )
50434 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50435 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50439 cat <<EOF >dllar.sh
50442 # dllar - a tool to build both a .dll and an .a file
50443 # from a set of object (.o) files for EMX/OS2.
50445 # Written by Andrew Zabolotny, bit@freya.etu.ru
50446 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50448 # This script will accept a set of files on the command line.
50449 # All the public symbols from the .o files will be exported into
50450 # a .DEF file, then linker will be run (through gcc) against them to
50451 # build a shared library consisting of all given .o files. All libraries
50452 # (.a) will be first decompressed into component .o files then act as
50453 # described above. You can optionally give a description (-d "description")
50454 # which will be put into .DLL. To see the list of accepted options (as well
50455 # as command-line format) simply run this program without options. The .DLL
50456 # is built to be imported by name (there is no guarantee that new versions
50457 # of the library you build will have same ordinals for same symbols).
50459 # dllar is free software; you can redistribute it and/or modify
50460 # it under the terms of the GNU General Public License as published by
50461 # the Free Software Foundation; either version 2, or (at your option)
50462 # any later version.
50464 # dllar is distributed in the hope that it will be useful,
50465 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50466 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50467 # GNU General Public License for more details.
50469 # You should have received a copy of the GNU General Public License
50470 # along with dllar; see the file COPYING. If not, write to the Free
50471 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50474 # To successfuly run this program you will need:
50475 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50476 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50478 # (used to build the .dll)
50480 # (used to create .def file from .o files)
50482 # (used to create .a file from .def file)
50483 # - GNU text utilites (cat, sort, uniq)
50484 # used to process emxexp output
50485 # - GNU file utilities (mv, rm)
50487 # - lxlite (optional, see flag below)
50488 # (used for general .dll cleanup)
50495 # basnam, variant of basename, which does _not_ remove the path, _iff_
50496 # second argument (suffix to remove) is given
50500 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50503 echo ${D}1 | sed 's/'${D}2'${D}//'
50506 echo "error in basnam ${D}*"
50512 # Cleanup temporary files and output
50515 for i in ${D}inputFiles ; do
50518 rm -rf \`basnam
${D}i
!\
`
50525 # Kill result in case of failure as there is just to many stupid make/nmake
50526 # things out there which doesn't do this.
50527 if [ ${D}# -eq 0 ]; then
50528 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50532 # Print usage and exit script with rc=1.
50534 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50535 echo ' [-name-mangler-script script.sh]'
50536 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50537 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50538 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50539 echo ' [*.o] [*.a]'
50540 echo '*> "output_file" should have no extension.'
50541 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50542 echo ' The import library name is derived from this and is set to "name".a,'
50543 echo ' unless overridden by -import'
50544 echo '*> "importlib_name" should have no extension.'
50545 echo ' If it has the .o, or .a extension, it is automatically removed.'
50546 echo ' This name is used as the import library name and may be longer and'
50547 echo ' more descriptive than the DLL name which has to follow the old '
50548 echo ' 8.3 convention of FAT.'
50549 echo '*> "script.sh may be given to override the output_file name by a'
50550 echo ' different name. It is mainly useful if the regular make process'
50551 echo ' of some package does not take into account OS/2 restriction of'
50552 echo ' DLL name lengths. It takes the importlib name as input and is'
50553 echo ' supposed to procude a shorter name as output. The script should'
50554 echo ' expect to get importlib_name without extension and should produce'
50555 echo ' a (max.) 8 letter name without extension.'
50556 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50557 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50558 echo ' These flags will be put at the start of GCC command line.'
50559 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50560 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50561 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50562 echo ' If the last character of a symbol is "*", all symbols beginning'
50563 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50564 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50565 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50566 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50567 echo ' C runtime DLLs.'
50568 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50569 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50570 echo ' unchanged to GCC at the end of command line.'
50571 echo '*> If you create a DLL from a library and you do not specify -o,'
50572 echo ' the basename for DLL and import library will be set to library name,'
50573 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50574 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50575 echo ' library will be renamed into gcc_s.a.'
50578 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50579 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50584 # Execute a command.
50585 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50586 # @Uses Whatever CleanUp() uses.
50592 if [ ${D}rcCmd -ne 0 ]; then
50593 echo "command failed, exit code="${D}rcCmd
50608 CFLAGS="-s -Zcrtdll"
50610 EXPORT_BY_ORDINALS=0
50615 case ${D}curDirS in
50619 curDirS=${D}{curDirS}"/"
50622 # Parse commandline
50625 while [ ${D}1 ]; do
50628 EXPORT_BY_ORDINALS=1;
50638 -name-mangler-script)
50659 exclude_symbols=${D}{exclude_symbols}${D}1" "
50663 library_flags=${D}{library_flags}${D}1" "
50682 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50685 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50686 if [ ${D}omfLinking -eq 1 ]; then
50687 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50689 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50694 if [ ${D}libsToLink -ne 0 ]; then
50695 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50697 for file in ${D}1 ; do
50698 if [ -f ${D}file ]; then
50699 inputFiles="${D}{inputFiles} ${D}file"
50703 if [ ${D}found -eq 0 ]; then
50704 echo "ERROR: No file(s) found: "${D}1
50711 done # iterate cmdline words
50714 if [ -z "${D}inputFiles" ]; then
50715 echo "dllar: no input files"
50719 # Now extract all .o files from .a files
50721 for file in ${D}inputFiles ; do
50732 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50737 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50739 if [ ${D}? -ne 0 ]; then
50740 echo "Failed to create subdirectory ./${D}dirname"
50744 # Append '!' to indicate archive
50745 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50746 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50749 for subfile in ${D}dirname/*.o* ; do
50750 if [ -f ${D}subfile ]; then
50752 if [ -s ${D}subfile ]; then
50753 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50754 newInputFiles="${D}newInputFiles ${D}subfile"
50758 if [ ${D}found -eq 0 ]; then
50759 echo "WARNING: there are no files in archive \\'${D}file\\'"
50763 newInputFiles="${D}{newInputFiles} ${D}file"
50767 inputFiles="${D}newInputFiles"
50769 # Output filename(s).
50771 if [ -z ${D}outFile ]; then
50773 set outFile ${D}inputFiles; outFile=${D}2
50776 # If it is an archive, remove the '!' and the '_%' suffixes
50777 case ${D}outFile in
50779 outFile=\`basnam
${D}outFile _
%!\
`
50784 case ${D}outFile in
50786 outFile=\`basnam
${D}outFile .dll\
`
50789 outFile=\`basnam
${D}outFile .DLL\
`
50792 outFile=\`basnam
${D}outFile .o\
`
50795 outFile=\`basnam
${D}outFile .obj\
`
50798 outFile=\`basnam
${D}outFile .a\
`
50801 outFile=\`basnam
${D}outFile .lib\
`
50806 case ${D}outimpFile in
50808 outimpFile=\`basnam
${D}outimpFile .a\
`
50811 outimpFile=\`basnam
${D}outimpFile .lib\
`
50816 if [ -z ${D}outimpFile ]; then
50817 outimpFile=${D}outFile
50819 defFile="${D}{outFile}.def"
50820 arcFile="${D}{outimpFile}.a"
50821 arcFile2="${D}{outimpFile}.lib"
50823 #create ${D}dllFile as something matching 8.3 restrictions,
50824 if [ -z ${D}renameScript ] ; then
50825 dllFile="${D}outFile"
50827 dllFile=\`${D}renameScript
${D}outimpFile\
`
50830 if [ ${D}do_backup -ne 0 ] ; then
50831 if [ -f ${D}arcFile ] ; then
50832 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50834 if [ -f ${D}arcFile2 ] ; then
50835 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50839 # Extract public symbols from all the object files.
50840 tmpdefFile=${D}{defFile}_%
50841 rm -f ${D}tmpdefFile
50842 for file in ${D}inputFiles ; do
50847 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50852 # Create the def file.
50854 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50855 dllFile="${D}{dllFile}.dll"
50856 if [ ! -z ${D}description ]; then
50857 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50859 echo "EXPORTS" >> ${D}defFile
50861 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50862 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50864 # Checks if the export is ok or not.
50865 for word in ${D}exclude_symbols; do
50866 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50867 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50871 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50872 sed "=" < ${D}tmpdefFile | \\
50876 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50878 ' > ${D}{tmpdefFile}%
50879 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50881 rm -f ${D}{tmpdefFile}%
50883 cat ${D}tmpdefFile >> ${D}defFile
50884 rm -f ${D}tmpdefFile
50886 # Do linking, create implib, and apply lxlite.
50888 for file in ${D}inputFiles ; do
50893 gccCmdl="${D}gccCmdl ${D}file"
50897 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50898 touch "${D}{outFile}.dll"
50900 doCommand "emximp -o ${D}arcFile ${D}defFile"
50901 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50903 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50906 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50908 doCommand "emxomf -s -l ${D}arcFile"
50918 powerpc-apple-macos* | \
50919 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50929 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50930 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50931 { (exit 1); exit 1; }; }
50934 if test "x$PIC_FLAG" != "x" ; then
50935 PIC_FLAG="$PIC_FLAG -DPIC"
50938 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50939 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50941 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50942 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50957 USE_SOTWOSYMLINKS=0
50961 case "${BAKEFILE_HOST}" in
50962 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50963 *-*-k*bsd*-gnu | *-*-mirbsd* )
50964 if test "x$SUNCXX" = "xyes"; then
50967 SONAME_FLAG="-Wl,-soname,"
50971 USE_SOTWOSYMLINKS=1
50983 USE_SOTWOSYMLINKS=1
51001 # Check whether --enable-dependency-tracking was given.
51002 if test "${enable_dependency_tracking+set}" = set; then
51003 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51007 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51008 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51011 if test "x$bk_use_trackdeps" = "xno" ; then
51013 { echo "$as_me:$LINENO: result: disabled" >&5
51014 echo "${ECHO_T}disabled" >&6; }
51018 if test "x$GCC" = "xyes"; then
51020 case "${BAKEFILE_HOST}" in
51022 DEPSFLAG="-no-cpp-precomp -MMD"
51028 { echo "$as_me:$LINENO: result: gcc" >&5
51029 echo "${ECHO_T}gcc" >&6; }
51030 elif test "x$MWCC" = "xyes"; then
51033 { echo "$as_me:$LINENO: result: mwcc" >&5
51034 echo "${ECHO_T}mwcc" >&6; }
51035 elif test "x$SUNCC" = "xyes"; then
51038 { echo "$as_me:$LINENO: result: Sun cc" >&5
51039 echo "${ECHO_T}Sun cc" >&6; }
51040 elif test "x$SGICC" = "xyes"; then
51043 { echo "$as_me:$LINENO: result: SGI cc" >&5
51044 echo "${ECHO_T}SGI cc" >&6; }
51045 elif test "x$HPCC" = "xyes"; then
51048 { echo "$as_me:$LINENO: result: HP cc" >&5
51049 echo "${ECHO_T}HP cc" >&6; }
51050 elif test "x$COMPAQCC" = "xyes"; then
51053 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51054 echo "${ECHO_T}Compaq cc" >&6; }
51057 { echo "$as_me:$LINENO: result: none" >&5
51058 echo "${ECHO_T}none" >&6; }
51061 if test $DEPS_TRACKING = 1 ; then
51067 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51068 # script. It is used to track C/C++ files dependencies in portable way.
51070 # Permission is given to use this file in any way.
51072 DEPSMODE=${DEPSMODE}
51073 DEPSFLAG="${DEPSFLAG}"
51076 if test ${D}DEPSMODE = gcc ; then
51077 ${D}* ${D}{DEPSFLAG}
51080 # determine location of created files:
51081 while test ${D}# -gt 0; do
51095 objfilebase=\`basename ${D}objfile\
`
51096 builddir=\`dirname ${D}objfile\
`
51097 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51098 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51099 depsdir=${D}builddir/${D}DEPSDIRBASE
51100 mkdir -p ${D}depsdir
51102 # if the compiler failed, we're done:
51103 if test ${D}{status} != 0 ; then
51108 # move created file to the location we want it in:
51109 if test -f ${D}depfile ; then
51110 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51113 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51114 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
51115 if test ! -f ${D}depfile ; then
51116 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51117 depfile="${D}objfile.d"
51119 if test -f ${D}depfile ; then
51120 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51126 elif test ${D}DEPSMODE = mwcc ; then
51127 ${D}* || exit ${D}?
51128 # Run mwcc again with -MM and redirect into the dep file we want
51129 # NOTE: We can't use shift here because we need ${D}* to be valid
51131 for arg in ${D}* ; do
51132 if test "${D}prevarg" = "-o"; then
51146 objfilebase=\`basename ${D}objfile\
`
51147 builddir=\`dirname ${D}objfile\
`
51148 depsdir=${D}builddir/${D}DEPSDIRBASE
51149 mkdir -p ${D}depsdir
51151 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51154 elif test ${D}DEPSMODE = unixcc; then
51155 ${D}* || exit ${D}?
51156 # Run compiler again with deps flag and redirect into the dep file.
51157 # It doesn't work if the '-o FILE' option is used, but without it the
51158 # dependency file will contain the wrong name for the object. So it is
51159 # removed from the command line, and the dep file is fixed with sed.
51161 while test ${D}# -gt 0; do
51168 eval arg${D}#=\\${D}1
51169 cmd="${D}cmd \\${D}arg${D}#"
51175 objfilebase=\`basename ${D}objfile\
`
51176 builddir=\`dirname ${D}objfile\
`
51177 depsdir=${D}builddir/${D}DEPSDIRBASE
51178 mkdir -p ${D}depsdir
51180 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51190 BK_DEPS="`pwd`/bk-deps"
51198 case ${BAKEFILE_HOST} in
51199 *-*-cygwin* | *-*-mingw32* )
51200 if test -n "$ac_tool_prefix"; then
51201 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51202 set dummy ${ac_tool_prefix}windres; ac_word=$2
51203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51205 if test "${ac_cv_prog_WINDRES+set}" = set; then
51206 echo $ECHO_N "(cached) $ECHO_C" >&6
51208 if test -n "$WINDRES"; then
51209 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51212 for as_dir in $PATH
51215 test -z "$as_dir" && as_dir=.
51216 for ac_exec_ext in '' $ac_executable_extensions; do
51217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51218 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51228 WINDRES=$ac_cv_prog_WINDRES
51229 if test -n "$WINDRES"; then
51230 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51231 echo "${ECHO_T}$WINDRES" >&6; }
51233 { echo "$as_me:$LINENO: result: no" >&5
51234 echo "${ECHO_T}no" >&6; }
51239 if test -z "$ac_cv_prog_WINDRES"; then
51240 ac_ct_WINDRES=$WINDRES
51241 # Extract the first word of "windres", so it can be a program name with args.
51242 set dummy windres; ac_word=$2
51243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51245 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51246 echo $ECHO_N "(cached) $ECHO_C" >&6
51248 if test -n "$ac_ct_WINDRES"; then
51249 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51252 for as_dir in $PATH
51255 test -z "$as_dir" && as_dir=.
51256 for ac_exec_ext in '' $ac_executable_extensions; do
51257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51258 ac_cv_prog_ac_ct_WINDRES="windres"
51259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51268 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51269 if test -n "$ac_ct_WINDRES"; then
51270 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51271 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51273 { echo "$as_me:$LINENO: result: no" >&5
51274 echo "${ECHO_T}no" >&6; }
51277 if test "x$ac_ct_WINDRES" = x; then
51280 case $cross_compiling:$ac_tool_warned in
51282 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51283 whose name does not start with the host triplet. If you think this
51284 configuration is useful to you, please write to autoconf@gnu.org." >&5
51285 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51286 whose name does not start with the host triplet. If you think this
51287 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51288 ac_tool_warned=yes ;;
51290 WINDRES=$ac_ct_WINDRES
51293 WINDRES="$ac_cv_prog_WINDRES"
51298 *-*-darwin* | powerpc-apple-macos* )
51299 # Extract the first word of "Rez", so it can be a program name with args.
51300 set dummy Rez; ac_word=$2
51301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51303 if test "${ac_cv_prog_REZ+set}" = set; then
51304 echo $ECHO_N "(cached) $ECHO_C" >&6
51306 if test -n "$REZ"; then
51307 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51310 for as_dir in $PATH
51313 test -z "$as_dir" && as_dir=.
51314 for ac_exec_ext in '' $ac_executable_extensions; do
51315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51316 ac_cv_prog_REZ="Rez"
51317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51324 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51327 REZ=$ac_cv_prog_REZ
51328 if test -n "$REZ"; then
51329 { echo "$as_me:$LINENO: result: $REZ" >&5
51330 echo "${ECHO_T}$REZ" >&6; }
51332 { echo "$as_me:$LINENO: result: no" >&5
51333 echo "${ECHO_T}no" >&6; }
51337 # Extract the first word of "SetFile", so it can be a program name with args.
51338 set dummy SetFile; ac_word=$2
51339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51341 if test "${ac_cv_prog_SETFILE+set}" = set; then
51342 echo $ECHO_N "(cached) $ECHO_C" >&6
51344 if test -n "$SETFILE"; then
51345 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51348 for as_dir in $PATH
51351 test -z "$as_dir" && as_dir=.
51352 for ac_exec_ext in '' $ac_executable_extensions; do
51353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51354 ac_cv_prog_SETFILE="SetFile"
51355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51362 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51365 SETFILE=$ac_cv_prog_SETFILE
51366 if test -n "$SETFILE"; then
51367 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51368 echo "${ECHO_T}$SETFILE" >&6; }
51370 { echo "$as_me:$LINENO: result: no" >&5
51371 echo "${ECHO_T}no" >&6; }
51386 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51389 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51393 # Check whether --enable-precomp-headers was given.
51394 if test "${enable_precomp_headers+set}" = set; then
51395 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51404 case ${BAKEFILE_HOST} in
51410 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51411 if test "x$GCC" = "xyes"; then
51412 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51413 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51414 cat >conftest.$ac_ext <<_ACEOF
51417 cat confdefs.h >>conftest.$ac_ext
51418 cat >>conftest.$ac_ext <<_ACEOF
51419 /* end confdefs.h. */
51425 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51426 There is no PCH support
51429 There is no PCH support
51431 #if (__GNUC__ == 3) && \
51432 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51433 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51434 ( defined(__INTEL_COMPILER) )
51435 There is no PCH support
51442 rm -f conftest.$ac_objext
51443 if { (ac_try="$ac_compile"
51444 case "(($ac_try" in
51445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51446 *) ac_try_echo
=$ac_try;;
51448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51449 (eval "$ac_compile") 2>conftest.er1
51451 grep -v '^ *+' conftest.er1
>conftest.err
51453 cat conftest.err
>&5
51454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51455 (exit $ac_status); } && {
51456 test -z "$ac_c_werror_flag" ||
51457 test ! -s conftest.err
51458 } && test -s conftest.
$ac_objext; then
51460 { echo "$as_me:$LINENO: result: yes" >&5
51461 echo "${ECHO_T}yes" >&6; }
51465 echo "$as_me: failed program was:" >&5
51466 sed 's/^/| /' conftest.
$ac_ext >&5
51469 if test "$INTELCXX8" = "yes"; then
51470 { echo "$as_me:$LINENO: result: yes" >&5
51471 echo "${ECHO_T}yes" >&6; }
51473 if test "$INTELCXX10" = "yes"; then
51474 ICC_PCH_CREATE_SWITCH
="-pch-create"
51475 ICC_PCH_USE_SWITCH
="-pch-use"
51477 ICC_PCH_CREATE_SWITCH
="-create-pch"
51478 ICC_PCH_USE_SWITCH
="-use-pch"
51481 { echo "$as_me:$LINENO: result: no" >&5
51482 echo "${ECHO_T}no" >&6; }
51487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51488 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51492 cat <<EOF >bk-make-pch
51495 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51496 # script. It is used to generated precompiled headers.
51498 # Permission is given to use this file in any way.
51505 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51510 while test ${D}{#} -gt 0; do
51514 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51515 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51516 headerfile="${D}{incdir}/${D}{header}"
51519 -use-pch|-use_pch|-pch-use )
51524 if test ${D}add_to_cmdline = 1 ; then
51525 compiler="${D}{compiler} ${D}{1}"
51530 if test "x${D}{headerfile}" = "x" ; then
51531 echo "error: can't find header ${D}{header} in include paths" >&2
51533 if test -f ${D}{outfile} ; then
51534 rm -f ${D}{outfile}
51536 mkdir -p \`dirname ${D}{outfile}\`
51538 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51539 mkdir -p ${D}{builddir}/.deps
51540 if test "x${GCC_PCH}" = "x1" ; then
51541 # can do this because gcc is >= 3.4:
51542 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51543 elif test "x${ICC_PCH}" = "x1" ; then
51544 filename=pch_gen-${D}${D}
51545 file=${D}{filename}.c
51546 dfile=${D}{filename}.d
51547 cat > ${D}file <<EOT
51548 #include "${D}header"
51550 # using -MF icc complains about differing command lines in creation/use
51551 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51552 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51553 rm -f ${D}file ${D}dfile ${D}{filename}.o
51559 chmod +x bk
-make-pch
51560 BK_MAKE_PCH
="`pwd`/bk-make-pch"
51571 COND_BUILD_DEBUG
="#"
51572 if test "x$BUILD" = "xdebug" ; then
51573 COND_BUILD_DEBUG
=""
51576 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
51577 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51578 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
51581 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
51582 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51583 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
51586 COND_BUILD_DEBUG_UNICODE_0
="#"
51587 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51588 COND_BUILD_DEBUG_UNICODE_0
=""
51591 COND_BUILD_DEBUG_UNICODE_1
="#"
51592 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51593 COND_BUILD_DEBUG_UNICODE_1
=""
51596 COND_BUILD_RELEASE
="#"
51597 if test "x$BUILD" = "xrelease" ; then
51598 COND_BUILD_RELEASE
=""
51601 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
51602 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51603 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
51606 COND_BUILD_RELEASE_UNICODE_0
="#"
51607 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51608 COND_BUILD_RELEASE_UNICODE_0
=""
51611 COND_BUILD_RELEASE_UNICODE_1
="#"
51612 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51613 COND_BUILD_RELEASE_UNICODE_1
=""
51616 COND_BUILD_debug
="#"
51617 if test "x$BUILD" = "xdebug" ; then
51618 COND_BUILD_debug
=""
51621 COND_BUILD_debug_DEBUG_FLAG_default
="#"
51622 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51623 COND_BUILD_debug_DEBUG_FLAG_default
=""
51626 COND_BUILD_debug_DEBUG_INFO_default
="#"
51627 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51628 COND_BUILD_debug_DEBUG_INFO_default
=""
51631 COND_BUILD_debug_UNICODE_0
="#"
51632 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51633 COND_BUILD_debug_UNICODE_0
=""
51636 COND_BUILD_debug_UNICODE_1
="#"
51637 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51638 COND_BUILD_debug_UNICODE_1
=""
51641 COND_BUILD_release
="#"
51642 if test "x$BUILD" = "xrelease" ; then
51643 COND_BUILD_release
=""
51646 COND_BUILD_release_DEBUG_INFO_default
="#"
51647 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51648 COND_BUILD_release_DEBUG_INFO_default
=""
51651 COND_BUILD_release_UNICODE_0
="#"
51652 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51653 COND_BUILD_release_UNICODE_0
=""
51656 COND_BUILD_release_UNICODE_1
="#"
51657 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51658 COND_BUILD_release_UNICODE_1
=""
51661 COND_DEBUG_FLAG_0
="#"
51662 if test "x$DEBUG_FLAG" = "x0" ; then
51663 COND_DEBUG_FLAG_0
=""
51666 COND_DEBUG_FLAG_1
="#"
51667 if test "x$DEBUG_FLAG" = "x1" ; then
51668 COND_DEBUG_FLAG_1
=""
51671 COND_DEBUG_INFO_0
="#"
51672 if test "x$DEBUG_INFO" = "x0" ; then
51673 COND_DEBUG_INFO_0
=""
51676 COND_DEBUG_INFO_1
="#"
51677 if test "x$DEBUG_INFO" = "x1" ; then
51678 COND_DEBUG_INFO_1
=""
51681 COND_DEPS_TRACKING_0
="#"
51682 if test "x$DEPS_TRACKING" = "x0" ; then
51683 COND_DEPS_TRACKING_0
=""
51686 COND_DEPS_TRACKING_1
="#"
51687 if test "x$DEPS_TRACKING" = "x1" ; then
51688 COND_DEPS_TRACKING_1
=""
51692 if test "x$GCC_PCH" = "x1" ; then
51697 if test "x$ICC_PCH" = "x1" ; then
51701 COND_MONOLITHIC_0
="#"
51702 if test "x$MONOLITHIC" = "x0" ; then
51703 COND_MONOLITHIC_0
=""
51706 COND_MONOLITHIC_0_SHARED_0
="#"
51707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51708 COND_MONOLITHIC_0_SHARED_0
=""
51711 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
51712 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51713 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
51716 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
51717 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
51721 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
51722 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51723 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
51726 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
51727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
51731 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
51732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51733 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
51736 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
51737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51738 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
51741 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
51742 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51743 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
51746 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
51747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51748 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
51751 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
51752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51753 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
51756 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
51757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51758 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
51761 COND_MONOLITHIC_0_SHARED_1
="#"
51762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51763 COND_MONOLITHIC_0_SHARED_1
=""
51766 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
51767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51768 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
51771 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
51772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
51776 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
51777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51778 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
51781 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
51782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51783 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
51786 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
51787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51788 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
51791 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
51792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51793 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
51796 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
51797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51798 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
51801 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
51802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51803 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
51806 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
51807 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51808 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
51811 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
51812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51813 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
51816 COND_MONOLITHIC_0_USE_AUI_1
="#"
51817 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51818 COND_MONOLITHIC_0_USE_AUI_1
=""
51821 COND_MONOLITHIC_0_USE_GUI_1
="#"
51822 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51823 COND_MONOLITHIC_0_USE_GUI_1
=""
51826 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
51827 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51828 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
51831 COND_MONOLITHIC_0_USE_HTML_1
="#"
51832 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51833 COND_MONOLITHIC_0_USE_HTML_1
=""
51836 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
51837 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51838 COND_MONOLITHIC_0_USE_MEDIA_1
=""
51841 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
51842 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51843 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
51846 COND_MONOLITHIC_0_USE_QA_1
="#"
51847 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51848 COND_MONOLITHIC_0_USE_QA_1
=""
51851 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
51852 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51853 COND_MONOLITHIC_0_USE_RIBBON_1
=""
51856 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
51857 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51858 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
51861 COND_MONOLITHIC_0_USE_STC_1
="#"
51862 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51863 COND_MONOLITHIC_0_USE_STC_1
=""
51866 COND_MONOLITHIC_0_USE_XRC_1
="#"
51867 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51868 COND_MONOLITHIC_0_USE_XRC_1
=""
51871 COND_MONOLITHIC_1
="#"
51872 if test "x$MONOLITHIC" = "x1" ; then
51873 COND_MONOLITHIC_1
=""
51876 COND_MONOLITHIC_1_SHARED_0
="#"
51877 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51878 COND_MONOLITHIC_1_SHARED_0
=""
51881 COND_MONOLITHIC_1_SHARED_1
="#"
51882 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51883 COND_MONOLITHIC_1_SHARED_1
=""
51886 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
51887 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51888 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
51891 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
51892 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51893 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
51896 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
51897 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51898 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
51901 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
51902 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51903 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
51906 COND_PLATFORM_MACOSX_1
="#"
51907 if test "x$PLATFORM_MACOSX" = "x1" ; then
51908 COND_PLATFORM_MACOSX_1
=""
51911 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
51912 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51913 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
51916 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
51917 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51918 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
51921 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
51922 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51923 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
51926 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
51927 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51928 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
51931 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
51932 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51933 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
51936 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
51937 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51938 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
51941 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
51942 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51943 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
51946 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
51947 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51948 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
51951 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
51952 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51953 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
51956 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
51957 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51958 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
51961 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
51962 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51963 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
51966 COND_PLATFORM_MACOS_1
="#"
51967 if test "x$PLATFORM_MACOS" = "x1" ; then
51968 COND_PLATFORM_MACOS_1
=""
51971 COND_PLATFORM_MAC_0
="#"
51972 if test "x$PLATFORM_MAC" = "x0" ; then
51973 COND_PLATFORM_MAC_0
=""
51976 COND_PLATFORM_MAC_1
="#"
51977 if test "x$PLATFORM_MAC" = "x1" ; then
51978 COND_PLATFORM_MAC_1
=""
51981 COND_PLATFORM_MSDOS_0
="#"
51982 if test "x$PLATFORM_MSDOS" = "x0" ; then
51983 COND_PLATFORM_MSDOS_0
=""
51986 COND_PLATFORM_MSDOS_1
="#"
51987 if test "x$PLATFORM_MSDOS" = "x1" ; then
51988 COND_PLATFORM_MSDOS_1
=""
51991 COND_PLATFORM_OS2_1
="#"
51992 if test "x$PLATFORM_OS2" = "x1" ; then
51993 COND_PLATFORM_OS2_1
=""
51996 COND_PLATFORM_UNIX_0
="#"
51997 if test "x$PLATFORM_UNIX" = "x0" ; then
51998 COND_PLATFORM_UNIX_0
=""
52001 COND_PLATFORM_UNIX_1
="#"
52002 if test "x$PLATFORM_UNIX" = "x1" ; then
52003 COND_PLATFORM_UNIX_1
=""
52006 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
52007 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52008 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
52011 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
52012 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52013 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
52016 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
52017 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52018 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
52021 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
52022 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52023 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
52026 COND_PLATFORM_WIN32_0
="#"
52027 if test "x$PLATFORM_WIN32" = "x0" ; then
52028 COND_PLATFORM_WIN32_0
=""
52031 COND_PLATFORM_WIN32_1
="#"
52032 if test "x$PLATFORM_WIN32" = "x1" ; then
52033 COND_PLATFORM_WIN32_1
=""
52036 COND_PLATFORM_WIN32_1_SHARED_0
="#"
52037 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52038 COND_PLATFORM_WIN32_1_SHARED_0
=""
52042 if test "x$SHARED" = "x0" ; then
52046 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
52047 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52048 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
52051 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
52052 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52053 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
52056 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
52057 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52058 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
52061 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
52062 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52063 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
52066 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
52067 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52068 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
52071 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
52072 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52073 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
52076 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
52077 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52078 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
52081 COND_SHARED_0_USE_STC_1
="#"
52082 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52083 COND_SHARED_0_USE_STC_1
=""
52086 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
52087 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52088 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
52091 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
52092 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52093 COND_SHARED_0_wxUSE_REGEX_builtin
=""
52096 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
52097 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52098 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
52102 if test "x$SHARED" = "x1" ; then
52106 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
52107 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52108 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
52112 if test "x$TOOLKIT" = "x" ; then
52116 COND_TOOLKIT_COCOA
="#"
52117 if test "x$TOOLKIT" = "xCOCOA" ; then
52118 COND_TOOLKIT_COCOA
=""
52121 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
52122 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52123 COND_TOOLKIT_COCOA_USE_GUI_1
=""
52126 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
52127 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52128 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
52131 COND_TOOLKIT_DFB
="#"
52132 if test "x$TOOLKIT" = "xDFB" ; then
52133 COND_TOOLKIT_DFB
=""
52136 COND_TOOLKIT_DFB_USE_GUI_1
="#"
52137 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52138 COND_TOOLKIT_DFB_USE_GUI_1
=""
52141 COND_TOOLKIT_GTK
="#"
52142 if test "x$TOOLKIT" = "xGTK" ; then
52143 COND_TOOLKIT_GTK
=""
52146 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
52147 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52148 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
52151 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
52152 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52153 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
52156 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
52157 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52158 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
52161 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
52162 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52163 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
52166 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
52167 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52168 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
52171 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
52172 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52173 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
52176 COND_TOOLKIT_GTK_USE_GUI_1
="#"
52177 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52178 COND_TOOLKIT_GTK_USE_GUI_1
=""
52181 COND_TOOLKIT_MAC
="#"
52182 if test "x$TOOLKIT" = "xMAC" ; then
52183 COND_TOOLKIT_MAC
=""
52186 COND_TOOLKIT_MGL
="#"
52187 if test "x$TOOLKIT" = "xMGL" ; then
52188 COND_TOOLKIT_MGL
=""
52191 COND_TOOLKIT_MGL_USE_GUI_1
="#"
52192 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52193 COND_TOOLKIT_MGL_USE_GUI_1
=""
52196 COND_TOOLKIT_MOTIF
="#"
52197 if test "x$TOOLKIT" = "xMOTIF" ; then
52198 COND_TOOLKIT_MOTIF
=""
52201 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
52202 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52203 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
52206 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
52207 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52208 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
52211 COND_TOOLKIT_MSW
="#"
52212 if test "x$TOOLKIT" = "xMSW" ; then
52213 COND_TOOLKIT_MSW
=""
52216 COND_TOOLKIT_MSW_USE_GUI_1
="#"
52217 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52218 COND_TOOLKIT_MSW_USE_GUI_1
=""
52221 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
52222 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52223 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
52226 COND_TOOLKIT_MSW_WXUNIV_0
="#"
52227 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52228 COND_TOOLKIT_MSW_WXUNIV_0
=""
52231 COND_TOOLKIT_OSX_CARBON
="#"
52232 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52233 COND_TOOLKIT_OSX_CARBON
=""
52236 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
52237 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52238 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
52241 COND_TOOLKIT_OSX_COCOA
="#"
52242 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52243 COND_TOOLKIT_OSX_COCOA
=""
52246 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
52247 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52248 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
52251 COND_TOOLKIT_OSX_IPHONE
="#"
52252 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52253 COND_TOOLKIT_OSX_IPHONE
=""
52256 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
52257 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52258 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
52261 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
52262 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52263 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
52266 COND_TOOLKIT_PM
="#"
52267 if test "x$TOOLKIT" = "xPM" ; then
52271 COND_TOOLKIT_PM_USE_GUI_1
="#"
52272 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52273 COND_TOOLKIT_PM_USE_GUI_1
=""
52276 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
52277 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52278 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
52281 COND_TOOLKIT_WINCE
="#"
52282 if test "x$TOOLKIT" = "xWINCE" ; then
52283 COND_TOOLKIT_WINCE
=""
52286 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
52287 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52288 COND_TOOLKIT_WINCE_USE_GUI_1
=""
52291 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
52292 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52293 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
52296 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
52297 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52298 COND_TOOLKIT_WINCE_WXUNIV_0
=""
52301 COND_TOOLKIT_X11
="#"
52302 if test "x$TOOLKIT" = "xX11" ; then
52303 COND_TOOLKIT_X11
=""
52306 COND_TOOLKIT_X11_USE_GUI_1
="#"
52307 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52308 COND_TOOLKIT_X11_USE_GUI_1
=""
52312 if test "x$UNICODE" = "x1" ; then
52316 COND_USE_CAIRO_1
="#"
52317 if test "x$USE_CAIRO" = "x1" ; then
52318 COND_USE_CAIRO_1
=""
52321 COND_USE_EXCEPTIONS_0
="#"
52322 if test "x$USE_EXCEPTIONS" = "x0" ; then
52323 COND_USE_EXCEPTIONS_0
=""
52326 COND_USE_EXCEPTIONS_1
="#"
52327 if test "x$USE_EXCEPTIONS" = "x1" ; then
52328 COND_USE_EXCEPTIONS_1
=""
52332 if test "x$USE_GUI" = "x0" ; then
52337 if test "x$USE_GUI" = "x1" ; then
52341 COND_USE_GUI_1_USE_OPENGL_1
="#"
52342 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52343 COND_USE_GUI_1_USE_OPENGL_1
=""
52346 COND_USE_GUI_1_WXUNIV_0
="#"
52347 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52348 COND_USE_GUI_1_WXUNIV_0
=""
52351 COND_USE_GUI_1_WXUNIV_1
="#"
52352 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52353 COND_USE_GUI_1_WXUNIV_1
=""
52356 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52357 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52358 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52361 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52362 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52363 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52366 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52367 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52368 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52371 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
52372 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52373 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
52376 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
52377 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52378 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
52381 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
52382 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52383 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
52386 COND_USE_OPENGL_1
="#"
52387 if test "x$USE_OPENGL" = "x1" ; then
52388 COND_USE_OPENGL_1
=""
52392 if test "x$USE_PCH" = "x1" ; then
52396 COND_USE_PLUGINS_0
="#"
52397 if test "x$USE_PLUGINS" = "x0" ; then
52398 COND_USE_PLUGINS_0
=""
52401 COND_USE_RTTI_0
="#"
52402 if test "x$USE_RTTI" = "x0" ; then
52406 COND_USE_RTTI_1
="#"
52407 if test "x$USE_RTTI" = "x1" ; then
52411 COND_USE_SOTWOSYMLINKS_1
="#"
52412 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52413 COND_USE_SOTWOSYMLINKS_1
=""
52416 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
52417 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52418 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
52421 COND_USE_SOVERLINUX_1
="#"
52422 if test "x$USE_SOVERLINUX" = "x1" ; then
52423 COND_USE_SOVERLINUX_1
=""
52426 COND_USE_SOVERSION_0
="#"
52427 if test "x$USE_SOVERSION" = "x0" ; then
52428 COND_USE_SOVERSION_0
=""
52431 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
52432 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52433 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
52436 COND_USE_SOVERSOLARIS_1
="#"
52437 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52438 COND_USE_SOVERSOLARIS_1
=""
52442 if test "x$USE_STC" = "x1" ; then
52446 COND_USE_THREADS_0
="#"
52447 if test "x$USE_THREADS" = "x0" ; then
52448 COND_USE_THREADS_0
=""
52451 COND_USE_THREADS_1
="#"
52452 if test "x$USE_THREADS" = "x1" ; then
52453 COND_USE_THREADS_1
=""
52457 if test "x$USE_XRC" = "x1" ; then
52461 COND_WINDOWS_IMPLIB_1
="#"
52462 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52463 COND_WINDOWS_IMPLIB_1
=""
52466 COND_WITH_PLUGIN_SDL_1
="#"
52467 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52468 COND_WITH_PLUGIN_SDL_1
=""
52472 if test "x$WXUNIV" = "x0" ; then
52477 if test "x$WXUNIV" = "x1" ; then
52481 COND_WXUSE_EXPAT_BUILTIN
="#"
52482 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52483 COND_WXUSE_EXPAT_BUILTIN
=""
52486 COND_WXUSE_LIBJPEG_BUILTIN
="#"
52487 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52488 COND_WXUSE_LIBJPEG_BUILTIN
=""
52491 COND_WXUSE_LIBPNG_BUILTIN
="#"
52492 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52493 COND_WXUSE_LIBPNG_BUILTIN
=""
52496 COND_WXUSE_LIBTIFF_BUILTIN
="#"
52497 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52498 COND_WXUSE_LIBTIFF_BUILTIN
=""
52501 COND_WXUSE_REGEX_BUILTIN
="#"
52502 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52503 COND_WXUSE_REGEX_BUILTIN
=""
52506 COND_WXUSE_ZLIB_BUILTIN
="#"
52507 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52508 COND_WXUSE_ZLIB_BUILTIN
=""
52511 COND_wxUSE_EXPAT_builtin
="#"
52512 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52513 COND_wxUSE_EXPAT_builtin
=""
52516 COND_wxUSE_LIBJPEG_builtin
="#"
52517 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52518 COND_wxUSE_LIBJPEG_builtin
=""
52521 COND_wxUSE_LIBPNG_builtin
="#"
52522 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52523 COND_wxUSE_LIBPNG_builtin
=""
52526 COND_wxUSE_LIBTIFF_builtin
="#"
52527 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52528 COND_wxUSE_LIBTIFF_builtin
=""
52531 COND_wxUSE_REGEX_builtin
="#"
52532 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52533 COND_wxUSE_REGEX_builtin
=""
52536 COND_wxUSE_ZLIB_builtin
="#"
52537 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52538 COND_wxUSE_ZLIB_builtin
=""
52543 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52544 { { 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
52545 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;}
52546 { (exit 1); exit 1; }; }
52549 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52550 { { 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
52551 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;}
52552 { (exit 1); exit 1; }; }
52559 ?
:* ) # Drive letter, considered as absolute.
52562 INSTALL
=`pwd`/${INSTALL} ;;
52565 if test "$wxUSE_GUI" = "yes"; then
52567 if test "$wxUSE_MSW" = 1 ; then
52568 if test "x$WINDRES" = "x"; then
52569 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52570 echo "$as_me: error: Required windres program not found" >&2;}
52571 { (exit 1); exit 1; }; }
52577 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52578 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52579 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52581 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52583 # Extract the first word of "DeRez", so it can be a program name with args.
52584 set dummy DeRez
; ac_word
=$2
52585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52587 if test "${ac_cv_prog_DEREZ+set}" = set; then
52588 echo $ECHO_N "(cached) $ECHO_C" >&6
52590 if test -n "$DEREZ"; then
52591 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
52593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52594 for as_dir
in $PATH
52597 test -z "$as_dir" && as_dir
=.
52598 for ac_exec_ext
in '' $ac_executable_extensions; do
52599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52600 ac_cv_prog_DEREZ
="DeRez"
52601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52608 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
52611 DEREZ
=$ac_cv_prog_DEREZ
52612 if test -n "$DEREZ"; then
52613 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52614 echo "${ECHO_T}$DEREZ" >&6; }
52616 { echo "$as_me:$LINENO: result: no" >&5
52617 echo "${ECHO_T}no" >&6; }
52622 MACSETFILE
="\$(SETFILE)"
52624 if test "$wxUSE_OSX_CARBON" = 1; then
52625 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52627 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
52629 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52630 RESCOMP
="cat /dev/null \| $REZ"
52631 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52637 if test "$wxUSE_PM" = 1; then
52639 WXCONFIG_RESFLAGS
="-ep"
52641 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
52643 POSTLINK_COMMAND
="@true"
52650 if test $GCC_PCH = 1
52652 if test "$wx_cv_gcc_pch_bug" = yes; then
52653 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52654 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52655 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52656 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52657 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52658 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52661 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52662 # the headers that benefit from precompilation are mostly C++ headers.
52663 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
52664 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52665 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52669 if test "$wxUSE_MAC" = 1 ; then
52670 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52671 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
52677 if test "$wxUSE_SHARED" = "yes"; then
52679 *-pc-os2_emx | *-pc-os2-emx )
52680 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52681 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52682 cp -p ${srcdir}/src
/os
2/dllnames.sh .
52683 cp -p ${srcdir}/src
/os
2/dllar.sh .
52687 if test "$wxUSE_OMF" = "yes"; then
52689 *-pc-os2_emx | *-pc-os2-emx )
52690 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
52691 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52692 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52697 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52702 if test "$GCC" = yes; then
52703 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
52704 LIBS
=`echo $LIBS | sed 's/-mt//'`
52705 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52710 if test "x$SUNCXX" = xyes
; then
52711 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
52712 LIBS
=`echo $LIBS | sed 's/-pthread//'`
52713 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52718 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
52719 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52720 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
52721 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52723 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52784 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52785 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52786 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52787 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
52788 echo $ECHO_N "(cached) $ECHO_C" >&6
52790 cat >conftest.
make <<\_ACEOF
52793 @
echo '@@@%%%=$(MAKE)=@@@%%%'
52795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52796 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52797 *@@@
%%%=?
*=@@@
%%%*)
52798 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
52800 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
52802 rm -f conftest.
make
52804 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
52805 { echo "$as_me:$LINENO: result: yes" >&5
52806 echo "${ECHO_T}yes" >&6; }
52809 { echo "$as_me:$LINENO: result: no" >&5
52810 echo "${ECHO_T}no" >&6; }
52811 SET_MAKE
="MAKE=${MAKE-make}"
52816 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52819 if test "$USE_WIN32" = 1; then
52820 ac_config_commands
="$ac_config_commands rcdefs.h"
52824 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52827 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52830 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
52833 if test "$wx_cv_version_script" = "yes"; then
52834 ac_config_files
="$ac_config_files version-script"
52837 ac_config_files
="$ac_config_files Makefile"
52840 ac_config_commands
="$ac_config_commands wx-config"
52844 if test "$wxWITH_SUBDIRS" != "no"; then
52845 if test "$wxUSE_GUI" = "yes"; then
52846 SUBDIRS
="samples demos utils"
52848 SUBDIRS
="samples utils"
52853 # Check whether --with-cppunit-prefix was given.
52854 if test "${with_cppunit_prefix+set}" = set; then
52855 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
52857 cppunit_config_prefix
=""
52861 # Check whether --with-cppunit-exec-prefix was given.
52862 if test "${with_cppunit_exec_prefix+set}" = set; then
52863 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
52865 cppunit_config_exec_prefix
=""
52869 if test x
$cppunit_config_exec_prefix != x
; then
52870 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52871 if test x
${CPPUNIT_CONFIG+set} != xset
; then
52872 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
52875 if test x
$cppunit_config_prefix != x
; then
52876 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
52877 if test x
${CPPUNIT_CONFIG+set} != xset
; then
52878 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
52882 # Extract the first word of "cppunit-config", so it can be a program name with args.
52883 set dummy cppunit
-config; ac_word
=$2
52884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52886 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52887 echo $ECHO_N "(cached) $ECHO_C" >&6
52889 case $CPPUNIT_CONFIG in
52891 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52895 for as_dir
in $PATH
52898 test -z "$as_dir" && as_dir
=.
52899 for ac_exec_ext
in '' $ac_executable_extensions; do
52900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52901 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
52902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52909 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
52913 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
52914 if test -n "$CPPUNIT_CONFIG"; then
52915 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52916 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52918 { echo "$as_me:$LINENO: result: no" >&5
52919 echo "${ECHO_T}no" >&6; }
52923 cppunit_version_min
=1.8.0
52925 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52926 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52928 if test "$CPPUNIT_CONFIG" = "no" ; then
52929 { echo "$as_me:$LINENO: result: no" >&5
52930 echo "${ECHO_T}no" >&6; }
52933 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
52934 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
52935 cppunit_version
=`$CPPUNIT_CONFIG --version`
52937 cppunit_major_version
=`echo $cppunit_version | \
52938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52939 cppunit_minor_version
=`echo $cppunit_version | \
52940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52941 cppunit_micro_version
=`echo $cppunit_version | \
52942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52944 cppunit_major_min
=`echo $cppunit_version_min | \
52945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52946 cppunit_minor_min
=`echo $cppunit_version_min | \
52947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52948 cppunit_micro_min
=`echo $cppunit_version_min | \
52949 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52951 cppunit_version_proper
=`expr \
52952 $cppunit_major_version \> $cppunit_major_min \| \
52953 $cppunit_major_version \= $cppunit_major_min \& \
52954 $cppunit_minor_version \> $cppunit_minor_min \| \
52955 $cppunit_major_version \= $cppunit_major_min \& \
52956 $cppunit_minor_version \= $cppunit_minor_min \& \
52957 $cppunit_micro_version \>= $cppunit_micro_min `
52959 if test "$cppunit_version_proper" = "1" ; then
52960 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52961 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52963 { echo "$as_me:$LINENO: result: no" >&5
52964 echo "${ECHO_T}no" >&6; }
52969 if test "x$no_cppunit" = x
; then
52970 SUBDIRS
="$SUBDIRS tests"
52981 for subdir
in $SUBDIRS; do
52982 if test -d ${srcdir}/${subdir} ; then
52983 if test "$wxUSE_GUI" = "yes"; then
52984 if test ${subdir} = "samples"; then
52985 makefiles
="samples/Makefile.in $makefiles"
52986 for sample
in $SAMPLES_SUBDIRS; do
52987 if test -d $srcdir/samples
/$sample; then
52988 makefiles
="samples/$sample/Makefile.in $makefiles"
52992 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
52993 eval "disabled=\$$disabled_var"
52994 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
52995 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52998 if test ${subdir} = "samples"; then
52999 makefiles
="samples/Makefile.in $makefiles"
53000 for sample
in `echo $SAMPLES_SUBDIRS`; do
53001 if test -d $srcdir/samples
/$sample; then
53002 makefiles
="samples/$sample/Makefile.in $makefiles"
53005 elif test ${subdir} = "utils"; then
53007 for util
in ifacecheck
; do
53008 if test -d $srcdir/utils
/$util ; then
53009 makefiles
="utils/$util/src/Makefile.in \
53014 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
53018 for mkin
in $makefiles ; do
53019 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53020 ac_config_files
="$ac_config_files $mk"
53026 cat >confcache
<<\_ACEOF
53027 # This file is a shell script that caches the results of configure
53028 # tests run on this system so they can be shared between configure
53029 # scripts and configure runs, see configure's option --config-cache.
53030 # It is not useful on other systems. If it contains results you don't
53031 # want to keep, you may remove or edit it.
53033 # config.status only pays attention to the cache file if you give it
53034 # the --recheck option to rerun configure.
53036 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53037 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53038 # following values.
53042 # The following way of writing the cache mishandles newlines in values,
53043 # but we know of no workaround that is simple, portable, and efficient.
53044 # So, we kill variables containing newlines.
53045 # Ultrix sh set writes to stderr and can't be redirected directly,
53046 # and sets the high bit in the cache file unless we assign to the vars.
53048 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53049 eval ac_val
=\$
$ac_var
53053 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53054 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53057 _
| IFS
| as_nl
) ;; #(
53058 *) $as_unset $ac_var ;;
53064 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53065 *${as_nl}ac_space
=\
*)
53066 # `set' does not quote correctly, so add quotes (double-quote
53067 # substitution turns \\\\ into \\, and sed turns \\ into \).
53070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53073 # `set' quotes correctly as required by POSIX, so do not add quotes.
53074 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53083 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53085 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53087 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53088 if test -w "$cache_file"; then
53089 test "x$cache_file" != "x/dev/null" &&
53090 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53091 echo "$as_me: updating cache $cache_file" >&6;}
53092 cat confcache
>$cache_file
53094 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53095 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53100 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53101 # Let make expand exec_prefix.
53102 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53104 DEFS
=-DHAVE_CONFIG_H
53108 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53109 # 1. Remove the extension, and $U if already installed.
53110 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53111 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53112 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53113 # will be set to the directory where LIBOBJS objects are built.
53114 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53115 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53117 LIBOBJS
=$ac_libobjs
53119 LTLIBOBJS
=$ac_ltlibobjs
53123 : ${CONFIG_STATUS=./config.status}
53124 ac_clean_files_save
=$ac_clean_files
53125 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53126 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53127 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53128 cat >$CONFIG_STATUS <<_ACEOF
53130 # Generated by $as_me.
53131 # Run this file to recreate the current configuration.
53132 # Compiler output produced by configure, useful for debugging
53133 # configure, is in config.log if it exists.
53136 ac_cs_recheck=false
53138 SHELL=\${CONFIG_SHELL-$SHELL}
53141 cat >>$CONFIG_STATUS <<\_ACEOF
53142 ## --------------------- ##
53143 ## M4sh Initialization. ##
53144 ## --------------------- ##
53146 # Be more Bourne compatible
53147 DUALCASE
=1; export DUALCASE
# for MKS sh
53148 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53151 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53152 # is contrary to our usage. Disable this feature.
53153 alias -g '${1+"$@"}'='"$@"'
53154 setopt NO_GLOB_SUBST
53156 case `(set -o) 2>/dev/null` in
53157 *posix
*) set -o posix
;;
53166 # Avoid depending upon Character Ranges.
53167 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53168 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53169 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53170 as_cr_digits
='0123456789'
53171 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53173 # The user is always right.
53174 if test "${PATH_SEPARATOR+set}" != set; then
53175 echo "#! /bin/sh" >conf$$.sh
53176 echo "exit 0" >>conf$$.sh
53178 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53186 # Support unset when possible.
53187 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53195 # We need space, tab and new line, in precisely that order. Quoting is
53196 # there to prevent editors from complaining about space-tab.
53197 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53198 # splitting by setting IFS to empty value.)
53203 # Find who we are. Look in the path if we contain no directory separator.
53205 *[\\/]* ) as_myself
=$0 ;;
53206 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53207 for as_dir
in $PATH
53210 test -z "$as_dir" && as_dir
=.
53211 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53217 # We did not find ourselves, most probably we were run as `sh COMMAND'
53218 # in which case we are not to be found in the path.
53219 if test "x$as_myself" = x
; then
53222 if test ! -f "$as_myself"; then
53223 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53224 { (exit 1); exit 1; }
53227 # Work around bugs in pre-3.0 UWIN ksh.
53228 for as_var
in ENV MAIL MAILPATH
53229 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53237 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53238 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53239 LC_TELEPHONE LC_TIME
53241 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53242 eval $as_var=C
; export $as_var
53244 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53248 # Required to use basename.
53249 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53250 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53256 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53257 as_basename
=basename
53263 # Name of the executable.
53264 as_me
=`$as_basename -- "$0" ||
53265 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53266 X"$0" : 'X\(//\)$' \| \
53267 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53269 sed '/^.*\/\([^/][^/]*\)\/*$/{
53288 as_lineno_1
=$LINENO
53289 as_lineno_2
=$LINENO
53290 test "x$as_lineno_1" != "x$as_lineno_2" &&
53291 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53293 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53294 # uniformly replaced by the line number. The first 'sed' inserts a
53295 # line-number line after each line using $LINENO; the second 'sed'
53296 # does the real work. The second script uses 'N' to pair each
53297 # line-number line with the line containing $LINENO, and appends
53298 # trailing '-' during substitution so that $LINENO is not a special
53299 # case at line end.
53300 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53301 # scripts with optimization help from Paolo Bonzini. Blame Lee
53302 # E. McMahon (1931-1989) for sed's syntax. :-)
53314 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53317 ' >$as_me.lineno
&&
53318 chmod +x
"$as_me.lineno" ||
53319 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53320 { (exit 1); exit 1; }; }
53322 # Don't try to exec as it changes $[0], causing all sort of problems
53323 # (the dirname of $[0] is not the place where we might find the
53324 # original and so on. Autoconf is especially sensitive to this).
53325 .
"./$as_me.lineno"
53326 # Exit status is that of the last command.
53331 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53337 ECHO_C
= ECHO_N
= ECHO_T
=
53338 case `echo -n x` in
53340 case `echo 'x\c'` in
53341 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53348 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53349 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53355 rm -f conf$$ conf$$.exe conf$$.
file
53356 if test -d conf$$.dir
; then
53357 rm -f conf$$.dir
/conf$$.
file
53363 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53365 # ... but there are two gotchas:
53366 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53367 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53368 # In both cases, we have to default to `cp -p'.
53369 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53371 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53376 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53377 rmdir conf$$.dir
2>/dev
/null
53379 if mkdir -p .
2>/dev
/null
; then
53382 test -d .
/-p && rmdir .
/-p
53386 if test -x / >/dev
/null
2>&1; then
53387 as_test_x
='test -x'
53389 if ls -dL / >/dev
/null
2>&1; then
53396 if test -d "$1"; then
53402 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53403 ???[sx]*):;;*)false;;esac;fi
53407 as_executable_p
=$as_test_x
53409 # Sed expression to map a string onto a valid CPP name.
53410 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53412 # Sed expression to map a string onto a valid variable name.
53413 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53418 # Save the log message, to keep $[0] and so on meaningful, and to
53419 # report actual input values of CONFIG_FILES etc. instead of their
53420 # values after options handling.
53422 This file was extended by wxWidgets $as_me 2.9.2, which was
53423 generated by GNU Autoconf 2.61. Invocation command line was
53425 CONFIG_FILES = $CONFIG_FILES
53426 CONFIG_HEADERS = $CONFIG_HEADERS
53427 CONFIG_LINKS = $CONFIG_LINKS
53428 CONFIG_COMMANDS = $CONFIG_COMMANDS
53431 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53436 cat >>$CONFIG_STATUS <<_ACEOF
53437 # Files that config.status was made for.
53438 config_files="$ac_config_files"
53439 config_headers="$ac_config_headers"
53440 config_commands="$ac_config_commands"
53444 cat >>$CONFIG_STATUS <<\_ACEOF
53446 \`$as_me' instantiates files from templates according to the
53447 current configuration.
53449 Usage: $0 [OPTIONS] [FILE]...
53451 -h, --help print this help, then exit
53452 -V, --version print version number and configuration settings, then exit
53453 -q, --quiet do not print progress messages
53454 -d, --debug don't remove temporary files
53455 --recheck update $as_me by reconfiguring in the same conditions
53456 --file=FILE[:TEMPLATE]
53457 instantiate the configuration file FILE
53458 --header=FILE[:TEMPLATE]
53459 instantiate the configuration header FILE
53461 Configuration files:
53464 Configuration headers:
53467 Configuration commands:
53470 Report bugs to <bug-autoconf@gnu.org>."
53473 cat >>$CONFIG_STATUS <<_ACEOF
53475 wxWidgets config.status 2.9.2
53476 configured by $0, generated by GNU Autoconf 2.61,
53477 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53479 Copyright (C) 2006 Free Software Foundation, Inc.
53480 This config.status script is free software; the Free Software Foundation
53481 gives unlimited permission to copy, distribute and modify it."
53488 cat >>$CONFIG_STATUS <<\_ACEOF
53489 # If no file are specified by the user, then we need to provide default
53490 # value. By we need to know if files were specified by the user.
53496 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53497 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53508 # Handling of the options.
53509 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53511 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53512 echo "$ac_cs_version"; exit ;;
53513 --debug | --debu | --deb | --de | --d | -d )
53515 --file | --fil | --fi | --f )
53517 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53518 ac_need_defaults
=false
;;
53519 --header | --heade | --head | --hea )
53521 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53522 ac_need_defaults
=false
;;
53524 # Conflict between --help and --header
53525 { echo "$as_me: error: ambiguous option: $1
53526 Try \`$0 --help' for more information." >&2
53527 { (exit 1); exit 1; }; };;
53528 --help | --hel | -h )
53529 echo "$ac_cs_usage"; exit ;;
53530 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53531 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53534 # This is an error.
53535 -*) { echo "$as_me: error: unrecognized option: $1
53536 Try \`$0 --help' for more information." >&2
53537 { (exit 1); exit 1; }; } ;;
53539 *) ac_config_targets
="$ac_config_targets $1"
53540 ac_need_defaults
=false
;;
53546 ac_configure_extra_args
=
53548 if $ac_cs_silent; then
53550 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53554 cat >>$CONFIG_STATUS <<_ACEOF
53555 if \$ac_cs_recheck; then
53556 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53557 CONFIG_SHELL=$SHELL
53558 export CONFIG_SHELL
53559 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53563 cat >>$CONFIG_STATUS <<\_ACEOF
53567 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53568 ## Running $as_me. ##
53574 cat >>$CONFIG_STATUS <<_ACEOF
53580 infile="$srcdir/include/wx/msw/genrcdefs.h"
53581 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53584 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53585 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53586 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53592 cat >>$CONFIG_STATUS <<\_ACEOF
53594 # Handling of arguments.
53595 for ac_config_target
in $ac_config_targets
53597 case $ac_config_target in
53598 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53599 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53600 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53601 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53602 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53603 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53604 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53605 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53606 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53608 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53609 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53610 { (exit 1); exit 1; }; };;
53615 # If the user did not use the arguments to specify the items to instantiate,
53616 # then the envvar interface is used. Set only those that are not.
53617 # We use the long form for the default assignment because of an extremely
53618 # bizarre bug on SunOS 4.1.3.
53619 if $ac_need_defaults; then
53620 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53621 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53622 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53625 # Have a temporary directory for convenience. Make it in the build tree
53626 # simply because there is no reason against having it here, and in addition,
53627 # creating and moving files from /tmp can sometimes cause problems.
53628 # Hook for its removal unless debugging.
53629 # Note that there is a small window in which the directory will not be cleaned:
53630 # after its creation but before its name has been assigned to `$tmp'.
53634 trap 'exit_status=$?
53635 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53637 trap '{ (exit 1); exit 1; }' 1 2 13 15
53639 # Create a (secure) tmp directory for tmp files.
53642 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53643 test -n "$tmp" && test -d "$tmp"
53646 tmp
=.
/conf$$
-$RANDOM
53647 (umask 077 && mkdir "$tmp")
53650 echo "$me: cannot create a temporary directory in ." >&2
53651 { (exit 1); exit 1; }
53655 # Set up the sed scripts for CONFIG_FILES section.
53658 # No need to generate the scripts if there are no CONFIG_FILES.
53659 # This happens for instance when ./config.status config.h
53660 if test -n "$CONFIG_FILES"; then
53667 for ac_last_try
in false false false false false
:; do
53668 cat >conf$
$subs.
sed <<_ACEOF
53669 SHELL!$SHELL$ac_delim
53670 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53671 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53672 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53673 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53674 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53675 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53676 exec_prefix!$exec_prefix$ac_delim
53677 prefix!$prefix$ac_delim
53678 program_transform_name!$program_transform_name$ac_delim
53679 bindir!$bindir$ac_delim
53680 sbindir!$sbindir$ac_delim
53681 libexecdir!$libexecdir$ac_delim
53682 datarootdir!$datarootdir$ac_delim
53683 datadir!$datadir$ac_delim
53684 sysconfdir!$sysconfdir$ac_delim
53685 sharedstatedir!$sharedstatedir$ac_delim
53686 localstatedir!$localstatedir$ac_delim
53687 includedir!$includedir$ac_delim
53688 oldincludedir!$oldincludedir$ac_delim
53689 docdir!$docdir$ac_delim
53690 infodir!$infodir$ac_delim
53691 htmldir!$htmldir$ac_delim
53692 dvidir!$dvidir$ac_delim
53693 pdfdir!$pdfdir$ac_delim
53694 psdir!$psdir$ac_delim
53695 libdir!$libdir$ac_delim
53696 localedir!$localedir$ac_delim
53697 mandir!$mandir$ac_delim
53698 DEFS!$DEFS$ac_delim
53699 ECHO_C!$ECHO_C$ac_delim
53700 ECHO_N!$ECHO_N$ac_delim
53701 ECHO_T!$ECHO_T$ac_delim
53702 LIBS!$LIBS$ac_delim
53703 build_alias!$build_alias$ac_delim
53704 host_alias!$host_alias$ac_delim
53705 target_alias!$target_alias$ac_delim
53706 build!$build$ac_delim
53707 build_cpu!$build_cpu$ac_delim
53708 build_vendor!$build_vendor$ac_delim
53709 build_os!$build_os$ac_delim
53710 host!$host$ac_delim
53711 host_cpu!$host_cpu$ac_delim
53712 host_vendor!$host_vendor$ac_delim
53713 host_os!$host_os$ac_delim
53714 wx_top_builddir!$wx_top_builddir$ac_delim
53716 CFLAGS!$CFLAGS$ac_delim
53717 LDFLAGS!$LDFLAGS$ac_delim
53718 CPPFLAGS!$CPPFLAGS$ac_delim
53719 ac_ct_CC!$ac_ct_CC$ac_delim
53720 EXEEXT!$EXEEXT$ac_delim
53721 OBJEXT!$OBJEXT$ac_delim
53723 GREP!$GREP$ac_delim
53724 EGREP!$EGREP$ac_delim
53726 CXXFLAGS!$CXXFLAGS$ac_delim
53727 ac_ct_CXX!$ac_ct_CXX$ac_delim
53729 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53730 CXXCPP!$CXXCPP$ac_delim
53731 subdirs!$subdirs$ac_delim
53732 PKG_CONFIG!$PKG_CONFIG$ac_delim
53733 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53734 GTK_LIBS!$GTK_LIBS$ac_delim
53735 GTK_CONFIG!$GTK_CONFIG$ac_delim
53736 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53737 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53738 XMKMF!$XMKMF$ac_delim
53739 X_CFLAGS!$X_CFLAGS$ac_delim
53740 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53741 X_LIBS!$X_LIBS$ac_delim
53742 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53743 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53744 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53745 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53746 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53747 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53748 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53749 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53750 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53751 LIBICONV!$LIBICONV$ac_delim
53752 GXX_VERSION!$GXX_VERSION$ac_delim
53753 SDL_CONFIG!$SDL_CONFIG$ac_delim
53754 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53755 SDL_LIBS!$SDL_LIBS$ac_delim
53756 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53757 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53758 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53759 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53760 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53761 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53762 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53763 HILDON_LIBS!$HILDON_LIBS$ac_delim
53764 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53765 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53768 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53770 elif $ac_last_try; then
53771 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53772 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53773 { (exit 1); exit 1; }; }
53775 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53779 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53780 if test -n "$ac_eof"; then
53781 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53782 ac_eof
=`expr $ac_eof + 1`
53785 cat >>$CONFIG_STATUS <<_ACEOF
53786 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53787 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53790 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53791 s/^/s,@/; s/!/@,|#_!!_#|/
53794 s/'"$ac_delim"'$/,g/; t
53796 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53797 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53798 rm -f conf$
$subs.
sed
53799 cat >>$CONFIG_STATUS <<_ACEOF
53805 for ac_last_try
in false false false false false
:; do
53806 cat >conf$
$subs.
sed <<_ACEOF
53807 PYTHON!$PYTHON$ac_delim
53808 COND_PYTHON!$COND_PYTHON$ac_delim
53809 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53810 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53811 GST_CFLAGS!$GST_CFLAGS$ac_delim
53812 GST_LIBS!$GST_LIBS$ac_delim
53813 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53814 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53815 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53816 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53817 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53818 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53819 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53820 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53821 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53822 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53823 VENDOR!$VENDOR$ac_delim
53824 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53825 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53826 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53827 WXUNIV!$WXUNIV$ac_delim
53828 MONOLITHIC!$MONOLITHIC$ac_delim
53829 USE_PLUGINS!$USE_PLUGINS$ac_delim
53830 CXXWARNINGS!$CXXWARNINGS$ac_delim
53831 EXTRALIBS!$EXTRALIBS$ac_delim
53832 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53833 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53834 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53835 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53836 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53837 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53838 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53839 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53840 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53841 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53842 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53843 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53844 UNICODE!$UNICODE$ac_delim
53845 DEBUG_INFO!$DEBUG_INFO$ac_delim
53846 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53847 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53848 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53849 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53850 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53851 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53852 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53853 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53854 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53855 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53856 RANLIB!$RANLIB$ac_delim
53857 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53858 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53859 INSTALL_DATA!$INSTALL_DATA$ac_delim
53860 LN_S!$LN_S$ac_delim
53861 SET_MAKE!$SET_MAKE$ac_delim
53862 MAKE_SET!$MAKE_SET$ac_delim
53863 AROPTIONS!$AROPTIONS$ac_delim
53864 STRIP!$STRIP$ac_delim
53866 INSTALL_DIR!$INSTALL_DIR$ac_delim
53867 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53868 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53869 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53870 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53871 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53872 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53873 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53874 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53875 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53876 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53877 SO_SUFFIX!$SO_SUFFIX$ac_delim
53878 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53879 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53880 LIBPREFIX!$LIBPREFIX$ac_delim
53881 LIBEXT!$LIBEXT$ac_delim
53882 DLLPREFIX!$DLLPREFIX$ac_delim
53883 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53884 dlldir!$dlldir$ac_delim
53885 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53886 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53887 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53888 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53889 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53890 PIC_FLAG!$PIC_FLAG$ac_delim
53891 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53892 USE_SOVERSION!$USE_SOVERSION$ac_delim
53893 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53894 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53895 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53896 USE_MACVERSION!$USE_MACVERSION$ac_delim
53897 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53898 SONAME_FLAG!$SONAME_FLAG$ac_delim
53899 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53900 BK_DEPS!$BK_DEPS$ac_delim
53901 WINDRES!$WINDRES$ac_delim
53903 SETFILE!$SETFILE$ac_delim
53906 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53908 elif $ac_last_try; then
53909 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53910 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53911 { (exit 1); exit 1; }; }
53913 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53917 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53918 if test -n "$ac_eof"; then
53919 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53920 ac_eof
=`expr $ac_eof + 1`
53923 cat >>$CONFIG_STATUS <<_ACEOF
53924 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53925 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53928 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53929 s/^/s,@/; s/!/@,|#_!!_#|/
53932 s/'"$ac_delim"'$/,g/; t
53934 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53935 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53936 rm -f conf$
$subs.
sed
53937 cat >>$CONFIG_STATUS <<_ACEOF
53943 for ac_last_try
in false false false false false
:; do
53944 cat >conf$
$subs.
sed <<_ACEOF
53945 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53946 GCC_PCH!$GCC_PCH$ac_delim
53947 ICC_PCH!$ICC_PCH$ac_delim
53948 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53949 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53950 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53951 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53952 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53953 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53954 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53955 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53956 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53957 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53958 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53959 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53960 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53961 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53962 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53963 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53964 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53965 COND_BUILD_release!$COND_BUILD_release$ac_delim
53966 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53967 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53968 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53969 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53970 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53971 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53972 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53973 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53974 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53975 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53976 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53977 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53978 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53979 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53980 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53981 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53982 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53983 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53984 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53985 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53986 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53987 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53988 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53989 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53990 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53991 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53992 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53993 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53994 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53995 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53996 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53997 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53998 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53999 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54000 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54001 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54002 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54003 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54004 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54005 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54006 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54007 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54008 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54009 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54010 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54011 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54012 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54013 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54014 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54015 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54016 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54017 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54018 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54019 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54020 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54021 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54022 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
54023 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54024 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
54025 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54026 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
54027 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54028 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54029 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54030 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54031 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54032 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54033 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54034 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54035 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54036 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54037 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54038 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54039 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54040 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54041 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54044 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54046 elif $ac_last_try; then
54047 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54048 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54049 { (exit 1); exit 1; }; }
54051 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54055 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54056 if test -n "$ac_eof"; then
54057 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54058 ac_eof
=`expr $ac_eof + 1`
54061 cat >>$CONFIG_STATUS <<_ACEOF
54062 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54063 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54066 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54067 s/^/s,@/; s/!/@,|#_!!_#|/
54070 s/'"$ac_delim"'$/,g/; t
54072 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54073 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54074 rm -f conf$
$subs.
sed
54075 cat >>$CONFIG_STATUS <<_ACEOF
54081 for ac_last_try
in false false false false false
:; do
54082 cat >conf$
$subs.
sed <<_ACEOF
54083 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54084 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54085 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54086 COND_SHARED_0!$COND_SHARED_0$ac_delim
54087 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54088 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54089 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54090 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54091 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54092 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54093 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54094 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54095 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54096 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54097 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54098 COND_SHARED_1!$COND_SHARED_1$ac_delim
54099 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54100 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54101 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54102 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54103 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54104 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54105 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54106 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54107 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54108 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54109 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54110 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54111 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54112 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54113 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54114 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54115 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54116 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54117 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54118 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54119 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54120 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54121 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54122 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54123 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54124 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54125 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54126 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54127 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54128 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54129 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54130 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54131 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54132 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54133 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54134 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54135 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54136 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54137 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54138 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54139 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54140 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54141 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54142 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54143 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54144 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54145 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54146 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54147 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54148 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54149 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54150 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54151 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54152 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54153 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54154 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54155 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54156 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54157 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54158 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54159 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54160 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54161 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54162 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54163 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54164 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54165 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54166 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54167 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54168 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54169 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54170 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54171 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54172 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54173 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54174 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54175 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54176 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54177 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54178 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54179 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54182 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54184 elif $ac_last_try; then
54185 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54186 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54187 { (exit 1); exit 1; }; }
54189 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54193 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54194 if test -n "$ac_eof"; then
54195 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54196 ac_eof
=`expr $ac_eof + 1`
54199 cat >>$CONFIG_STATUS <<_ACEOF
54200 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54201 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54204 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54205 s/^/s,@/; s/!/@,|#_!!_#|/
54208 s/'"$ac_delim"'$/,g/; t
54210 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54211 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54212 rm -f conf$
$subs.
sed
54213 cat >>$CONFIG_STATUS <<_ACEOF
54219 for ac_last_try
in false false false false false
:; do
54220 cat >conf$
$subs.
sed <<_ACEOF
54221 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54222 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54223 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54224 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54225 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54226 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54227 DEREZ!$DEREZ$ac_delim
54228 SHARED!$SHARED$ac_delim
54229 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54230 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54231 USE_GUI!$USE_GUI$ac_delim
54232 AFMINSTALL!$AFMINSTALL$ac_delim
54233 WIN32INSTALL!$WIN32INSTALL$ac_delim
54234 TOOLKIT!$TOOLKIT$ac_delim
54235 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54236 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54237 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54238 cross_compiling!$cross_compiling$ac_delim
54239 WIDGET_SET!$WIDGET_SET$ac_delim
54240 WX_RELEASE!$WX_RELEASE$ac_delim
54241 WX_VERSION!$WX_VERSION$ac_delim
54242 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54243 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54244 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54245 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54246 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54247 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54248 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54249 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54250 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54251 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54252 GUIDIST!$GUIDIST$ac_delim
54253 DISTDIR!$DISTDIR$ac_delim
54254 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54255 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54256 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54257 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54258 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54259 RESCOMP!$RESCOMP$ac_delim
54260 RESFLAGS!$RESFLAGS$ac_delim
54261 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54262 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54263 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54264 LIBWXMACRES!$LIBWXMACRES$ac_delim
54265 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54266 MACSETFILE!$MACSETFILE$ac_delim
54268 DLLTOOL!$DLLTOOL$ac_delim
54269 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54270 LIBOBJS!$LIBOBJS$ac_delim
54271 LTLIBOBJS!$LTLIBOBJS$ac_delim
54274 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54276 elif $ac_last_try; then
54277 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54278 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54279 { (exit 1); exit 1; }; }
54281 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54285 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54286 if test -n "$ac_eof"; then
54287 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54288 ac_eof
=`expr $ac_eof + 1`
54291 cat >>$CONFIG_STATUS <<_ACEOF
54292 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54293 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54296 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54297 s/^/s,@/; s/!/@,|#_!!_#|/
54300 s/'"$ac_delim"'$/,g/; t
54302 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54303 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54304 rm -f conf$
$subs.
sed
54305 cat >>$CONFIG_STATUS <<_ACEOF
54312 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54313 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54314 # trailing colons and then remove the whole line if VPATH becomes empty
54315 # (actually we leave an empty line to preserve line numbers).
54316 if test "x$srcdir" = x.
; then
54317 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54318 s/:*\$(srcdir):*/:/
54319 s/:*\${srcdir}:*/:/
54321 s/^\([^=]*=[ ]*\):*/\1/
54327 cat >>$CONFIG_STATUS <<\_ACEOF
54328 fi # test -n "$CONFIG_FILES"
54331 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54334 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54336 case $ac_mode$ac_tag in
54338 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54339 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54340 { (exit 1); exit 1; }; };;
54341 :[FH
]-) ac_tag
=-:-;;
54342 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54359 -) ac_f
="$tmp/stdin";;
54360 *) # Look for the file first in the build tree, then in the source tree
54361 # (if the path is not absolute). The absolute path cannot be DOS-style,
54362 # because $ac_f cannot contain `:'.
54366 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54368 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54369 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54370 { (exit 1); exit 1; }; };;
54372 ac_file_inputs
="$ac_file_inputs $ac_f"
54375 # Let's still pretend it is `configure' which instantiates (i.e., don't
54376 # use $as_me), people would be surprised to read:
54377 # /* config.h. Generated by config.status. */
54378 configure_input
="Generated from "`IFS=:
54379 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54380 if test x
"$ac_file" != x
-; then
54381 configure_input
="$ac_file. $configure_input"
54382 { echo "$as_me:$LINENO: creating $ac_file" >&5
54383 echo "$as_me: creating $ac_file" >&6;}
54387 *:-:* | *:-) cat >"$tmp/stdin";;
54392 ac_dir
=`$as_dirname -- "$ac_file" ||
54393 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54394 X"$ac_file" : 'X\(//\)[^/]' \| \
54395 X"$ac_file" : 'X\(//\)$' \| \
54396 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54402 /^X\(\/\/\)[^/].*/{
54417 -*) as_dir
=.
/$as_dir;;
54419 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54423 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54424 *) as_qdir
=$as_dir;;
54426 as_dirs
="'$as_qdir' $as_dirs"
54427 as_dir
=`$as_dirname -- "$as_dir" ||
54428 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54429 X"$as_dir" : 'X\(//\)[^/]' \| \
54430 X"$as_dir" : 'X\(//\)$' \| \
54431 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54437 /^X\(\/\/\)[^/].*/{
54450 test -d "$as_dir" && break
54452 test -z "$as_dirs" || eval "mkdir $as_dirs"
54453 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54454 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54455 { (exit 1); exit 1; }; }; }
54459 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54461 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54462 # A ".." for each directory in $ac_dir_suffix.
54463 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54464 case $ac_top_builddir_sub in
54465 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54466 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54469 ac_abs_top_builddir
=$ac_pwd
54470 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54471 # for backward compatibility:
54472 ac_top_builddir
=$ac_top_build_prefix
54475 .
) # We are building in place.
54477 ac_top_srcdir
=$ac_top_builddir_sub
54478 ac_abs_top_srcdir
=$ac_pwd ;;
54479 [\\/]* | ?
:[\\/]* ) # Absolute name.
54480 ac_srcdir
=$srcdir$ac_dir_suffix;
54481 ac_top_srcdir
=$srcdir
54482 ac_abs_top_srcdir
=$srcdir ;;
54483 *) # Relative name.
54484 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54485 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54486 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54488 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54498 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54499 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54503 cat >>$CONFIG_STATUS <<\_ACEOF
54504 # If the template does not know about datarootdir, expand it.
54505 # FIXME: This hack should be removed a few years after 2.60.
54506 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54508 case `sed -n '/datarootdir/ {
54517 ' $ac_file_inputs` in
54518 *datarootdir
*) ac_datarootdir_seen
=yes;;
54519 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54520 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54521 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54523 cat >>$CONFIG_STATUS <<_ACEOF
54524 ac_datarootdir_hack='
54525 s&@datadir@&$datadir&g
54526 s&@docdir@&$docdir&g
54527 s&@infodir@&$infodir&g
54528 s&@localedir@&$localedir&g
54529 s&@mandir@&$mandir&g
54530 s&\\\${datarootdir}&$datarootdir&g' ;;
54534 # Neutralize VPATH when `$srcdir' = `.'.
54535 # Shell code in configure.ac might set extrasub.
54536 # FIXME: do we really want to maintain this feature?
54537 cat >>$CONFIG_STATUS <<_ACEOF
54541 cat >>$CONFIG_STATUS <<\_ACEOF
54543 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54544 s
&@configure_input@
&$configure_input&;t t
54545 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54546 s
&@srcdir@
&$ac_srcdir&;t t
54547 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54548 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54549 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54550 s
&@builddir@
&$ac_builddir&;t t
54551 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54552 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54553 s
&@INSTALL@
&$ac_INSTALL&;t t
54554 $ac_datarootdir_hack
54555 " $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
54557 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54558 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54559 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54560 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54561 which seems to be undefined. Please make sure it is defined." >&5
54562 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54563 which seems to be undefined. Please make sure it is defined." >&2;}
54567 -) cat "$tmp/out"; rm -f "$tmp/out";;
54568 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54577 # Transform confdefs.h into a sed script `conftest.defines', that
54578 # substitutes the proper values into config.h.in to produce config.h.
54579 rm -f conftest.defines conftest.
tail
54580 # First, append a space to every undef/define line, to ease matching.
54581 echo 's/$/ /' >conftest.defines
54582 # Then, protect against being on the right side of a sed subst, or in
54583 # an unquoted here document, in config.status. If some macros were
54584 # called several times there might be several #defines for the same
54585 # symbol, which is useless. But do not sort them, since the last
54586 # AC_DEFINE must be honored.
54587 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54588 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54589 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54590 # PARAMS is the parameter list in the macro definition--in most cases, it's
54591 # just an empty string.
54592 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54593 ac_dB
='\\)[ (].*,\\1define\\2'
54601 s/^[ ]*#[ ]*define[ ][ ]*//
54606 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54607 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54608 ' >>conftest.defines
54610 # Remove the space that was appended to ease matching.
54611 # Then replace #undef with comments. This is necessary, for
54612 # example, in the case of _POSIX_SOURCE, which is predefined and required
54613 # on some systems where configure will not decide to define it.
54614 # (The regexp can be short, since the line contains either #define or #undef.)
54616 s,^[ #]*u.*,/* & */,' >>conftest.defines
54618 # Break up conftest.defines:
54619 ac_max_sed_lines
=50
54621 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54622 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54623 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54625 ac_in
='$ac_file_inputs'
54626 ac_out
='"$tmp/out1"'
54627 ac_nxt
='"$tmp/out2"'
54631 # Write a here document:
54632 cat >>$CONFIG_STATUS <<_ACEOF
54633 # First, check the format of the line:
54634 cat >"\$tmp/defines.sed" <<\\CEOF
54635 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54636 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54640 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54642 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54643 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54644 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54645 grep . conftest.
tail >/dev
/null
|| break
54646 rm -f conftest.defines
54647 mv conftest.
tail conftest.defines
54649 rm -f conftest.defines conftest.
tail
54651 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54652 cat >>$CONFIG_STATUS <<\_ACEOF
54653 if test x
"$ac_file" != x
-; then
54654 echo "/* $configure_input */" >"$tmp/config.h"
54655 cat "$ac_result" >>"$tmp/config.h"
54656 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54657 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54658 echo "$as_me: $ac_file is unchanged" >&6;}
54661 mv "$tmp/config.h" $ac_file
54664 echo "/* $configure_input */"
54670 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54671 echo "$as_me: executing $ac_file commands" >&6;}
54676 case $ac_file$ac_mode in
54678 mkdir -p $outdir &&
54679 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54681 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54682 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54683 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
54684 "wx-config":C
) rm -f wx
-config
54685 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54692 { (exit 0); exit 0; }
54694 chmod +x
$CONFIG_STATUS
54695 ac_clean_files
=$ac_clean_files_save
54698 # configure is writing to config.log, and then calls config.status.
54699 # config.status does its own redirection, appending to config.log.
54700 # Unfortunately, on DOS this fails, as config.log is still kept open
54701 # by configure, so config.status won't be able to write to it; its
54702 # output is simply discarded. So we exec the FD to /dev/null,
54703 # effectively closing config.log, so it can be properly (re)opened and
54704 # appended to by config.status. When coming back to configure, we
54705 # need to make the FD available again.
54706 if test "$no_create" != yes; then
54708 ac_config_status_args
=
54709 test "$silent" = yes &&
54710 ac_config_status_args
="$ac_config_status_args --quiet"
54712 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54714 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54715 # would make configure fail if this is the last instruction.
54716 $ac_cs_success || { (exit 1); exit 1; }
54720 # CONFIG_SUBDIRS section.
54722 if test "$no_recursion" != yes; then
54724 # Remove --cache-file and --srcdir arguments so they do not pile up.
54725 ac_sub_configure_args
=
54727 eval "set x $ac_configure_args"
54731 if test -n "$ac_prev"; then
54736 -cache-file | --cache-file | --cache-fil | --cache-fi \
54737 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54738 ac_prev
=cache_file
;;
54739 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54740 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54743 --config-cache | -C)
54745 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54747 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54749 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54751 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54755 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54757 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54761 # Always prepend --prefix to ensure using the same prefix
54762 # in subdir configurations.
54763 ac_arg
="--prefix=$prefix"
54765 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54767 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54770 if test "$silent" = yes; then
54771 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54775 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54777 # Do not complain, so a configure script can configure whichever
54778 # parts of a large source tree are present.
54779 test -d "$srcdir/$ac_dir" || continue
54781 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54782 echo "$as_me:$LINENO: $ac_msg" >&5
54786 -*) as_dir
=.
/$as_dir;;
54788 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54792 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54793 *) as_qdir
=$as_dir;;
54795 as_dirs
="'$as_qdir' $as_dirs"
54796 as_dir
=`$as_dirname -- "$as_dir" ||
54797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54798 X"$as_dir" : 'X\(//\)[^/]' \| \
54799 X"$as_dir" : 'X\(//\)$' \| \
54800 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54806 /^X\(\/\/\)[^/].*/{
54819 test -d "$as_dir" && break
54821 test -z "$as_dirs" || eval "mkdir $as_dirs"
54822 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54823 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54824 { (exit 1); exit 1; }; }; }
54828 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54830 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54831 # A ".." for each directory in $ac_dir_suffix.
54832 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54833 case $ac_top_builddir_sub in
54834 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54835 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54838 ac_abs_top_builddir
=$ac_pwd
54839 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54840 # for backward compatibility:
54841 ac_top_builddir
=$ac_top_build_prefix
54844 .
) # We are building in place.
54846 ac_top_srcdir
=$ac_top_builddir_sub
54847 ac_abs_top_srcdir
=$ac_pwd ;;
54848 [\\/]* | ?
:[\\/]* ) # Absolute name.
54849 ac_srcdir
=$srcdir$ac_dir_suffix;
54850 ac_top_srcdir
=$srcdir
54851 ac_abs_top_srcdir
=$srcdir ;;
54852 *) # Relative name.
54853 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54854 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54855 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54857 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54862 # Check for guested configure; otherwise get Cygnus style configure.
54863 if test -f "$ac_srcdir/configure.gnu"; then
54864 ac_sub_configure
=$ac_srcdir/configure.gnu
54865 elif test -f "$ac_srcdir/configure"; then
54866 ac_sub_configure
=$ac_srcdir/configure
54867 elif test -f "$ac_srcdir/configure.in"; then
54868 # This should be Cygnus configure.
54869 ac_sub_configure
=$ac_aux_dir/configure
54871 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54872 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54876 # The recursion is here.
54877 if test -n "$ac_sub_configure"; then
54878 # Make the cache file name correct relative to the subdirectory.
54879 case $cache_file in
54880 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54881 *) # Relative name.
54882 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54885 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54886 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54887 # The eval makes quoting arguments work.
54888 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54889 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54890 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54891 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54892 { (exit 1); exit 1; }; }
54901 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54903 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54904 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54905 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54906 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54907 if test "$wxUSE_UNICODE" = "yes"; then
54908 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54909 echo " (using UTF-8)"
54911 echo " (using wchar_t)"
54917 echo " What level of wxWidgets compatibility should be enabled?"
54918 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54919 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54921 echo " Which libraries should wxWidgets use?"
54922 echo " STL ${wxUSE_STL}"
54923 echo " jpeg ${wxUSE_LIBJPEG-none}"
54924 echo " png ${wxUSE_LIBPNG-none}"
54925 echo " regex ${wxUSE_REGEX}"
54926 echo " tiff ${wxUSE_LIBTIFF-none}"
54927 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54928 echo " xpm ${wxUSE_LIBXPM-none}"
54930 echo " zlib ${wxUSE_ZLIB}"
54931 echo " expat ${wxUSE_EXPAT}"
54932 echo " libmspack ${wxUSE_LIBMSPACK}"
54933 echo " sdl ${wxUSE_LIBSDL}"