2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
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.1'
579 PACKAGE_STRING
='wxWidgets 2.9.1'
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
707 LIBGNOMEPRINTUI_CFLAGS
815 ICC_PCH_CREATE_SWITCH
819 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
820 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
821 COND_BUILD_DEBUG_UNICODE_0
822 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
825 COND_BUILD_RELEASE_UNICODE_0
826 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug_DEBUG_FLAG_default
829 COND_BUILD_debug_DEBUG_INFO_default
830 COND_BUILD_debug_UNICODE_0
831 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release_DEBUG_INFO_default
834 COND_BUILD_release_UNICODE_0
835 COND_BUILD_release_UNICODE_1
845 COND_MONOLITHIC_0_SHARED_0
846 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
855 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
856 COND_MONOLITHIC_0_SHARED_1
857 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
866 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
867 COND_MONOLITHIC_0_USE_AUI_1
868 COND_MONOLITHIC_0_USE_GUI_1
869 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
870 COND_MONOLITHIC_0_USE_HTML_1
871 COND_MONOLITHIC_0_USE_MEDIA_1
872 COND_MONOLITHIC_0_USE_PROPGRID_1
873 COND_MONOLITHIC_0_USE_QA_1
874 COND_MONOLITHIC_0_USE_RIBBON_1
875 COND_MONOLITHIC_0_USE_RICHTEXT_1
876 COND_MONOLITHIC_0_USE_STC_1
877 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1_SHARED_0
880 COND_MONOLITHIC_1_SHARED_1
881 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
882 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_1
886 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
887 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
892 COND_PLATFORM_MACOSX_1_USE_GUI_1
893 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
894 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
895 COND_PLATFORM_MACOS_1
898 COND_PLATFORM_MSDOS_0
899 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
904 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
905 COND_PLATFORM_UNIX_1_USE_GUI_1
906 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
907 COND_PLATFORM_WIN32_0
908 COND_PLATFORM_WIN32_1
909 COND_PLATFORM_WIN32_1_SHARED_0
911 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
912 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
913 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
914 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
915 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
916 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
917 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
918 COND_SHARED_0_USE_STC_1
919 COND_SHARED_0_wxUSE_EXPAT_builtin
920 COND_SHARED_0_wxUSE_REGEX_builtin
921 COND_SHARED_0_wxUSE_ZLIB_builtin
923 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
926 COND_TOOLKIT_COCOA_USE_GUI_1
927 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_DFB_USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_GTK_USE_GUI_1
940 COND_TOOLKIT_MGL_USE_GUI_1
942 COND_TOOLKIT_MOTIF_USE_GUI_1
943 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
945 COND_TOOLKIT_MSW_USE_GUI_1
946 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW_WXUNIV_0
948 COND_TOOLKIT_OSX_CARBON
949 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
950 COND_TOOLKIT_OSX_COCOA
951 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
952 COND_TOOLKIT_OSX_IPHONE
954 COND_TOOLKIT_PM_USE_GUI_1
955 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
957 COND_TOOLKIT_WINCE_USE_GUI_1
958 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_WINCE_WXUNIV_0
961 COND_TOOLKIT_X11_USE_GUI_1
964 COND_USE_EXCEPTIONS_0
965 COND_USE_EXCEPTIONS_1
968 COND_USE_GUI_1_USE_OPENGL_1
969 COND_USE_GUI_1_WXUNIV_0
970 COND_USE_GUI_1_WXUNIV_1
971 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
972 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
973 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
974 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
975 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
976 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_SOTWOSYMLINKS_1
983 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
984 COND_USE_SOVERLINUX_1
986 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
987 COND_USE_SOVERSOLARIS_1
992 COND_WINDOWS_IMPLIB_1
993 COND_WITH_PLUGIN_SDL_1
996 COND_WXUSE_EXPAT_BUILTIN
997 COND_WXUSE_LIBJPEG_BUILTIN
998 COND_WXUSE_LIBPNG_BUILTIN
999 COND_WXUSE_LIBTIFF_BUILTIN
1000 COND_WXUSE_REGEX_BUILTIN
1001 COND_WXUSE_ZLIB_BUILTIN
1002 COND_wxUSE_EXPAT_builtin
1003 COND_wxUSE_LIBJPEG_builtin
1004 COND_wxUSE_LIBPNG_builtin
1005 COND_wxUSE_LIBTIFF_builtin
1006 COND_wxUSE_REGEX_builtin
1007 COND_wxUSE_ZLIB_builtin
1010 WX_LIBRARY_BASENAME_NOGUI
1011 WX_LIBRARY_BASENAME_GUI
1031 WXCONFIG_LDFLAGS_GUI
1043 WX_RESOURCES_MACOSX_ASCII
1044 WX_RESOURCES_MACOSX_DATA
1054 ac_precious_vars
='build_alias
1078 LIBGNOMEPRINTUI_CFLAGS
1079 LIBGNOMEPRINTUI_LIBS
1090 ac_subdirs_all
='src/tiff
1093 # Initialize some variables set by options.
1095 ac_init_version
=false
1096 # The variables have the same names as the options, with
1097 # dashes changed to underlines.
1098 cache_file
=/dev
/null
1105 program_transform_name
=s
,x
,x
,
1113 # Installation directory options.
1114 # These are left unexpanded so users can "make install exec_prefix=/foo"
1115 # and all the variables that are supposed to be based on exec_prefix
1116 # by default will actually change.
1117 # Use braces instead of parens because sh, perl, etc. also accept them.
1118 # (The list follows the same order as the GNU Coding Standards.)
1119 bindir
='${exec_prefix}/bin'
1120 sbindir
='${exec_prefix}/sbin'
1121 libexecdir
='${exec_prefix}/libexec'
1122 datarootdir
='${prefix}/share'
1123 datadir
='${datarootdir}'
1124 sysconfdir
='${prefix}/etc'
1125 sharedstatedir
='${prefix}/com'
1126 localstatedir
='${prefix}/var'
1127 includedir
='${prefix}/include'
1128 oldincludedir
='/usr/include'
1129 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1130 infodir
='${datarootdir}/info'
1135 libdir
='${exec_prefix}/lib'
1136 localedir
='${datarootdir}/locale'
1137 mandir
='${datarootdir}/man'
1143 # If the previous option needs an argument, assign it.
1144 if test -n "$ac_prev"; then
1145 eval $ac_prev=\
$ac_option
1151 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1155 # Accept the important Cygnus configure options, so we can diagnose typos.
1157 case $ac_dashdash$ac_option in
1161 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1163 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1164 bindir
=$ac_optarg ;;
1166 -build | --build | --buil | --bui | --bu)
1167 ac_prev
=build_alias
;;
1168 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1169 build_alias
=$ac_optarg ;;
1171 -cache-file | --cache-file | --cache-fil | --cache-fi \
1172 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1173 ac_prev
=cache_file
;;
1174 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1175 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1176 cache_file
=$ac_optarg ;;
1178 --config-cache | -C)
1179 cache_file
=config.cache
;;
1181 -datadir | --datadir | --datadi | --datad)
1183 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1184 datadir
=$ac_optarg ;;
1186 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1187 | --dataroo | --dataro | --datar)
1188 ac_prev
=datarootdir
;;
1189 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1190 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1191 datarootdir
=$ac_optarg ;;
1193 -disable-* | --disable-*)
1194 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1197 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1198 { (exit 1); exit 1; }; }
1199 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1200 eval enable_
$ac_feature=no
;;
1202 -docdir | --docdir | --docdi | --doc | --do)
1204 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1205 docdir
=$ac_optarg ;;
1207 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1209 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1210 dvidir
=$ac_optarg ;;
1212 -enable-* | --enable-*)
1213 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1216 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1219 eval enable_
$ac_feature=\
$ac_optarg ;;
1221 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1222 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1223 | --exec | --exe | --ex)
1224 ac_prev
=exec_prefix
;;
1225 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1226 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1227 | --exec=* | --exe=* | --ex=*)
1228 exec_prefix
=$ac_optarg ;;
1230 -gas | --gas | --ga | --g)
1231 # Obsolete; use --with-gas.
1234 -help | --help | --hel | --he | -h)
1235 ac_init_help
=long
;;
1236 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1237 ac_init_help
=recursive
;;
1238 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1239 ac_init_help
=short
;;
1241 -host | --host | --hos | --ho)
1242 ac_prev
=host_alias
;;
1243 -host=* | --host=* | --hos=* | --ho=*)
1244 host_alias
=$ac_optarg ;;
1246 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1248 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1250 htmldir
=$ac_optarg ;;
1252 -includedir | --includedir | --includedi | --included | --include \
1253 | --includ | --inclu | --incl | --inc)
1254 ac_prev
=includedir
;;
1255 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1256 | --includ=* | --inclu=* | --incl=* | --inc=*)
1257 includedir
=$ac_optarg ;;
1259 -infodir | --infodir | --infodi | --infod | --info | --inf)
1261 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1262 infodir
=$ac_optarg ;;
1264 -libdir | --libdir | --libdi | --libd)
1266 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1267 libdir
=$ac_optarg ;;
1269 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1270 | --libexe | --libex | --libe)
1271 ac_prev
=libexecdir
;;
1272 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1273 | --libexe=* | --libex=* | --libe=*)
1274 libexecdir
=$ac_optarg ;;
1276 -localedir | --localedir | --localedi | --localed | --locale)
1277 ac_prev
=localedir
;;
1278 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1279 localedir
=$ac_optarg ;;
1281 -localstatedir | --localstatedir | --localstatedi | --localstated \
1282 | --localstate | --localstat | --localsta | --localst | --locals)
1283 ac_prev
=localstatedir
;;
1284 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1285 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1286 localstatedir
=$ac_optarg ;;
1288 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1290 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1291 mandir
=$ac_optarg ;;
1293 -nfp | --nfp | --nf)
1294 # Obsolete; use --without-fp.
1297 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1298 | --no-cr | --no-c | -n)
1301 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1302 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1305 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1306 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1307 | --oldin | --oldi | --old | --ol | --o)
1308 ac_prev
=oldincludedir
;;
1309 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1310 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1311 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1312 oldincludedir
=$ac_optarg ;;
1314 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1316 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1317 prefix
=$ac_optarg ;;
1319 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1320 | --program-pre | --program-pr | --program-p)
1321 ac_prev
=program_prefix
;;
1322 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1323 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1324 program_prefix
=$ac_optarg ;;
1326 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1327 | --program-suf | --program-su | --program-s)
1328 ac_prev
=program_suffix
;;
1329 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1330 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1331 program_suffix
=$ac_optarg ;;
1333 -program-transform-name | --program-transform-name \
1334 | --program-transform-nam | --program-transform-na \
1335 | --program-transform-n | --program-transform- \
1336 | --program-transform | --program-transfor \
1337 | --program-transfo | --program-transf \
1338 | --program-trans | --program-tran \
1339 | --progr-tra | --program-tr | --program-t)
1340 ac_prev
=program_transform_name
;;
1341 -program-transform-name=* | --program-transform-name=* \
1342 | --program-transform-nam=* | --program-transform-na=* \
1343 | --program-transform-n=* | --program-transform-=* \
1344 | --program-transform=* | --program-transfor=* \
1345 | --program-transfo=* | --program-transf=* \
1346 | --program-trans=* | --program-tran=* \
1347 | --progr-tra=* | --program-tr=* | --program-t=*)
1348 program_transform_name
=$ac_optarg ;;
1350 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1352 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1353 pdfdir
=$ac_optarg ;;
1355 -psdir | --psdir | --psdi | --psd | --ps)
1357 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1361 | -silent | --silent | --silen | --sile | --sil)
1364 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1366 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1368 sbindir
=$ac_optarg ;;
1370 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1371 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1372 | --sharedst | --shareds | --shared | --share | --shar \
1374 ac_prev
=sharedstatedir
;;
1375 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1376 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1377 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1379 sharedstatedir
=$ac_optarg ;;
1381 -site | --site | --sit)
1383 -site=* | --site=* | --sit=*)
1386 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1388 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1389 srcdir
=$ac_optarg ;;
1391 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1392 | --syscon | --sysco | --sysc | --sys | --sy)
1393 ac_prev
=sysconfdir
;;
1394 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1395 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1396 sysconfdir
=$ac_optarg ;;
1398 -target | --target | --targe | --targ | --tar | --ta | --t)
1399 ac_prev
=target_alias
;;
1400 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1401 target_alias
=$ac_optarg ;;
1403 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1406 -version | --version | --versio | --versi | --vers | -V)
1407 ac_init_version
=: ;;
1410 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1411 # Reject names that are not valid shell variable names.
1412 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1413 { echo "$as_me: error: invalid package name: $ac_package" >&2
1414 { (exit 1); exit 1; }; }
1415 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1416 eval with_
$ac_package=\
$ac_optarg ;;
1418 -without-* | --without-*)
1419 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1420 # Reject names that are not valid shell variable names.
1421 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1422 { echo "$as_me: error: invalid package name: $ac_package" >&2
1423 { (exit 1); exit 1; }; }
1424 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1425 eval with_
$ac_package=no
;;
1428 # Obsolete; use --with-x.
1431 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1432 | --x-incl | --x-inc | --x-in | --x-i)
1433 ac_prev
=x_includes
;;
1434 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1435 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1436 x_includes
=$ac_optarg ;;
1438 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1439 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1440 ac_prev
=x_libraries
;;
1441 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1442 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1443 x_libraries
=$ac_optarg ;;
1445 -*) { echo "$as_me: error: unrecognized option: $ac_option
1446 Try \`$0 --help' for more information." >&2
1447 { (exit 1); exit 1; }; }
1451 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1452 # Reject names that are not valid shell variable names.
1453 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1454 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1455 { (exit 1); exit 1; }; }
1456 eval $ac_envvar=\
$ac_optarg
1457 export $ac_envvar ;;
1460 # FIXME: should be removed in autoconf 3.0.
1461 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1462 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1463 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1464 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1470 if test -n "$ac_prev"; then
1471 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1472 { echo "$as_me: error: missing argument to $ac_option" >&2
1473 { (exit 1); exit 1; }; }
1476 # Be sure to have absolute directory names.
1477 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1478 datadir sysconfdir sharedstatedir localstatedir includedir \
1479 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1480 libdir localedir mandir
1482 eval ac_val
=\$
$ac_var
1484 [\\/$
]* | ?
:[\\/]* ) continue;;
1485 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1487 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1488 { (exit 1); exit 1; }; }
1491 # There might be people who depend on the old broken behavior: `$host'
1492 # used to hold the argument of --host etc.
1493 # FIXME: To remove some day.
1496 target
=$target_alias
1498 # FIXME: To remove some day.
1499 if test "x$host_alias" != x
; then
1500 if test "x$build_alias" = x
; then
1501 cross_compiling
=maybe
1502 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1503 If a cross compiler is detected then cross compile mode will be used." >&2
1504 elif test "x$build_alias" != "x$host_alias"; then
1510 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1512 test "$silent" = yes && exec 6>/dev
/null
1515 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1516 ac_ls_di
=`ls -di .` &&
1517 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1518 { echo "$as_me: error: Working directory cannot be determined" >&2
1519 { (exit 1); exit 1; }; }
1520 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1521 { echo "$as_me: error: pwd does not report name of working directory" >&2
1522 { (exit 1); exit 1; }; }
1525 # Find the source files, if location was not specified.
1526 if test -z "$srcdir"; then
1527 ac_srcdir_defaulted
=yes
1528 # Try the directory containing this script, then the parent directory.
1529 ac_confdir
=`$as_dirname -- "$0" ||
1530 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1531 X"$0" : 'X\(//\)[^/]' \| \
1532 X"$0" : 'X\(//\)$' \| \
1533 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1553 if test ! -r "$srcdir/$ac_unique_file"; then
1557 ac_srcdir_defaulted
=no
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1561 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1562 { (exit 1); exit 1; }; }
1564 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1566 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1567 { (exit 1); exit 1; }; }
1569 # When building in place, set srcdir=.
1570 if test "$ac_abs_confdir" = "$ac_pwd"; then
1573 # Remove unnecessary trailing slashes from srcdir.
1574 # Double slashes in file names in object file debugging info
1575 # mess up M-x gdb in Emacs.
1577 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1579 for ac_var
in $ac_precious_vars; do
1580 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1581 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1582 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1583 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1587 # Report the --help message.
1589 if test "$ac_init_help" = "long"; then
1590 # Omit some internal or obsolete options to make the list less imposing.
1591 # This message is too long to be a string in the A/UX 3.1 sh.
1593 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1595 Usage: $0 [OPTION]... [VAR=VALUE]...
1597 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1598 VAR=VALUE. See below for descriptions of some of the useful variables.
1600 Defaults for the options are specified in brackets.
1603 -h, --help display this help and exit
1604 --help=short display options specific to this package
1605 --help=recursive display the short help of all the included packages
1606 -V, --version display version information and exit
1607 -q, --quiet, --silent do not print \`checking...' messages
1608 --cache-file=FILE cache test results in FILE [disabled]
1609 -C, --config-cache alias for \`--cache-file=config.cache'
1610 -n, --no-create do not create output files
1611 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1613 Installation directories:
1614 --prefix=PREFIX install architecture-independent files in PREFIX
1615 [$ac_default_prefix]
1616 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1619 By default, \`make install' will install all the files in
1620 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1621 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1622 for instance \`--prefix=\$HOME'.
1624 For better control, use the options below.
1626 Fine tuning of the installation directories:
1627 --bindir=DIR user executables [EPREFIX/bin]
1628 --sbindir=DIR system admin executables [EPREFIX/sbin]
1629 --libexecdir=DIR program executables [EPREFIX/libexec]
1630 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1631 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1632 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1633 --libdir=DIR object code libraries [EPREFIX/lib]
1634 --includedir=DIR C header files [PREFIX/include]
1635 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1636 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1637 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1638 --infodir=DIR info documentation [DATAROOTDIR/info]
1639 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1640 --mandir=DIR man documentation [DATAROOTDIR/man]
1641 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1642 --htmldir=DIR html documentation [DOCDIR]
1643 --dvidir=DIR dvi documentation [DOCDIR]
1644 --pdfdir=DIR pdf documentation [DOCDIR]
1645 --psdir=DIR ps documentation [DOCDIR]
1651 --x-includes=DIR X include files are
in DIR
1652 --x-libraries=DIR X library files are
in DIR
1655 --build=BUILD configure
for building on BUILD
[guessed
]
1656 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1660 if test -n "$ac_init_help"; then
1661 case $ac_init_help in
1662 short
| recursive
) echo "Configuration of wxWidgets 2.9.1:";;
1667 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1668 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1669 --disable-gui don
't build GUI parts of the library
1670 --enable-monolithic build wxWidgets as single library
1671 --enable-plugins build parts of wxWidgets as loadable components
1672 --enable-official_build official build of wxWidgets (win32 DLL only)
1673 --enable-vendor=VENDOR vendor name (win32 DLL only)
1674 --disable-all-features disable all optional features to build minimal library
1675 --enable-universal use wxWidgets GUI controls instead of native ones
1676 --enable-nanox use NanoX
1677 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1678 --enable-gpe use GNOME PDA Environment features if possible
1679 --enable-debug build library for debugging
1680 --disable-debug_flag disable all debugging support
1681 --enable-debug_info generate debug information
1682 --enable-debug_gdb create code with extra GDB debugging information
1683 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1684 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1685 --disable-shared create static library instead of shared
1686 --enable-stl use STL for containers
1687 --enable-std_iostreams use standard C++ stream classes
1688 --enable-std_string use standard C++ string classes
1689 --disable-unicode compile without Unicode support
1690 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1691 --enable-utf8 use UTF-8 representation for strings (Unix only)
1692 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1693 --enable-extended_rtti use extended RTTI (XTI)
1694 --enable-omf use OMF object format
1695 --disable-optimise compile without optimisations
1696 --enable-profile create code with profiling information
1697 --enable-no_rtti create code without RTTI information
1698 --enable-no_exceptions create code without C++ exceptions handling
1699 --enable-permissive compile code disregarding strict ANSI
1700 --enable-no_deps create code without dependency information
1701 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1702 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1703 --enable-compat26 enable wxWidgets
2.6 compatibility
1704 --disable-compat28 disable wxWidgets
2.8 compatibility
1705 --disable-rpath disable use of rpath
for uninstalled builds
1706 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1707 --disable-visibility disable use of ELF symbols visibility even
if supported
1708 --disable-tls disable use of compiler TLS support
1709 --enable-intl use internationalization system
1710 --enable-xlocale use x
-locale support
(requires wxLocale
)
1711 --enable-config use wxConfig
(and derived
) classes
1712 --enable-protocols use wxProtocol and derived classes
1713 --enable-ftp use wxFTP
(requires wxProtocol
1714 --enable-http use wxHTTP
(requires wxProtocol
1715 --enable-fileproto use wxFileProto class
(requires wxProtocol
1716 --enable-sockets use socket
/network classes
1717 --enable-ipv6 enable IPv6 support
in wxSocket
1718 --enable-ole use OLE classes
(Win32 only
)
1719 --enable-dataobj use data object classes
1720 --enable-ipc use interprocess communication
(wxSocket etc.
)
1721 --enable-baseevtloop use event loop
in console programs too
1722 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1723 --enable-selectloop use wxSelectDispatcher class
1724 --enable-any use wxAny class
1725 --enable-apple_ieee use the Apple IEEE codec
1726 --enable-arcstream use wxArchive streams
1727 --enable-base64 use base64 encoding
/decoding functions
1728 --enable-backtrace use wxStackWalker class
for getting backtraces
1729 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1730 --enable-cmdline use wxCmdLineParser class
1731 --enable-datetime use wxDateTime class
1732 --enable-debugreport use wxDebugReport class
1733 --enable-dialupman use dialup network classes
1734 --enable-dynlib use wxLibrary class
for DLL loading
1735 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1736 --enable-exceptions build exception
-safe library
1737 --enable-ffile use wxFFile class
1738 --enable-file use wxFile class
1739 --enable-filehistory use wxFileHistory class
1740 --enable-filesystem use virtual
file systems classes
1741 --enable-fontenum use wxFontEnumerator class
1742 --enable-fontmap use font encodings conversion classes
1743 --enable-fs_archive use virtual archive filesystems
1744 --enable-fs_inet use virtual HTTP
/FTP filesystems
1745 --enable-fs_zip now replaced by fs_archive
1746 --enable-fswatcher use wxFileSystemWatcher class
1747 --enable-geometry use geometry class
1748 --enable-log use logging system
1749 --enable-longlong use wxLongLong class
1750 --enable-mimetype use wxMimeTypesManager
1751 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1752 --enable-snglinst use wxSingleInstanceChecker class
1753 --enable-sound use wxSound class
1754 --enable-stdpaths use wxStandardPaths class
1755 --enable-stopwatch use wxStopWatch class
1756 --enable-streams use wxStream etc classes
1757 --enable-sysoptions use wxSystemOptions
1758 --enable-tarstream use wxTar streams
1759 --enable-textbuf use wxTextBuffer class
1760 --enable-textfile use wxTextFile class
1761 --enable-timer use wxTimer class
1762 --enable-variant use wxVariant class
1763 --enable-zipstream use wxZip streams
1764 --enable-url use wxURL class
1765 --enable-protocol use wxProtocol class
1766 --enable-protocol-http HTTP support
in wxProtocol
1767 --enable-protocol-ftp FTP support
in wxProtocol
1768 --enable-protocol-file FILE support
in wxProtocol
1769 --enable-threads use threads
1770 --enable-iniconf use wxIniConfig
(Win32 only
)
1771 --enable-regkey use wxRegKey class
(Win32 only
)
1772 --enable-docview use document view architecture
1773 --enable-help use
help subsystem
1774 --enable-mshtmlhelp use MS HTML Help
(win32
)
1775 --enable-html use wxHTML sub
-library
1776 --enable-htmlhelp use wxHTML
-based help
1777 --enable-xrc use XRC resources sub
-library
1778 --enable-aui use AUI docking library
1779 --enable-propgrid use wxPropertyGrid library
1780 --enable-ribbon use wxRibbon library
1781 --enable-stc use wxStyledTextCtrl library
1782 --enable-constraints use layout
-constraints system
1783 --enable-loggui use standard GUI logger
1784 --enable-logwin use wxLogWindow
1785 --enable-logdialog use wxLogDialog
1786 --enable-mdi use multiple document interface architecture
1787 --enable-mdidoc use docview architecture with MDI
1788 --enable-mediactrl use wxMediaCtrl class
1789 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1790 --enable-webkit use wxWebKitCtrl
(Mac
)
1791 --enable-richtext use wxRichTextCtrl
1792 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1793 --enable-printarch use printing architecture
1794 --enable-svg use wxSVGFileDC device context
1795 --enable-graphics_ctx use graphics context
2D drawing API
1796 --enable-clipboard use wxClipboard class
1797 --enable-dnd use Drag
'n'Drop classes
1798 --enable-metafile use win32 metafiles
1799 --disable-controls disable compilation of all standard controls
1800 --enable-accel use accelerators
1801 --enable-animatectrl use wxAnimationCtrl class
1802 --enable-bmpbutton use wxBitmapButton class
1803 --enable-bmpcombobox use wxBitmapComboBox class
1804 --enable-button use wxButton class
1805 --enable-calendar use wxCalendarCtrl class
1806 --enable-caret use wxCaret class
1807 --enable-checkbox use wxCheckBox class
1808 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1809 --enable-choice use wxChoice class
1810 --enable-choicebook use wxChoicebook class
1811 --enable-collpane use wxCollapsiblePane class
1812 --enable-colourpicker use wxColourPickerCtrl class
1813 --enable-combobox use wxComboBox class
1814 --enable-comboctrl use wxComboCtrl class
1815 --enable-dataviewctrl use wxDataViewCtrl class
1816 --enable-datepick use wxDatePickerCtrl class
1817 --enable-detect_sm use code to detect X11 session manager
1818 --enable-dirpicker use wxDirPickerCtrl class
1819 --enable-display use wxDisplay class
1820 --enable-editablebox use wxEditableListBox class
1821 --enable-filectrl use wxFileCtrl class
1822 --enable-filepicker use wxFilePickerCtrl class
1823 --enable-fontpicker use wxFontPickerCtrl class
1824 --enable-gauge use wxGauge class
1825 --enable-grid use wxGrid class
1826 --enable-headerctrl use wxHeaderCtrl class
1827 --enable-hyperlink use wxHyperlinkCtrl class
1828 --enable-imaglist use wxImageList class
1829 --enable-infobar use wxInfoBar class
1830 --enable-listbook use wxListbook class
1831 --enable-listbox use wxListBox class
1832 --enable-listctrl use wxListCtrl class
1833 --enable-notebook use wxNotebook class
1834 --enable-notifmsg use wxNotificationMessage class
1835 --enable-odcombobox use wxOwnerDrawnComboBox class
1836 --enable-popupwin use wxPopUpWindow class
1837 --enable-radiobox use wxRadioBox class
1838 --enable-radiobtn use wxRadioButton class
1839 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1840 --enable-sash use wxSashWindow class
1841 --enable-scrollbar use wxScrollBar class and scrollable windows
1842 --enable-searchctrl use wxSearchCtrl class
1843 --enable-slider use wxSlider class
1844 --enable-spinbtn use wxSpinButton class
1845 --enable-spinctrl use wxSpinCtrl class
1846 --enable-splitter use wxSplitterWindow class
1847 --enable-statbmp use wxStaticBitmap class
1848 --enable-statbox use wxStaticBox class
1849 --enable-statline use wxStaticLine class
1850 --enable-stattext use wxStaticText class
1851 --enable-statusbar use wxStatusBar class
1852 --enable-taskbaricon use wxTaskBarIcon class
1853 --enable-tbarnative use native wxToolBar class
1854 --enable-textctrl use wxTextCtrl class
1855 --enable-tipwindow use wxTipWindow class
1856 --enable-togglebtn use wxToggleButton class
1857 --enable-toolbar use wxToolBar class
1858 --enable-toolbook use wxToolbook class
1859 --enable-treebook use wxTreebook class
1860 --enable-treectrl use wxTreeCtrl class
1861 --enable-commondlg use all common dialogs
1862 --enable-aboutdlg use wxAboutBox
1863 --enable-choicedlg use wxChoiceDialog
1864 --enable-coldlg use wxColourDialog
1865 --enable-filedlg use wxFileDialog
1866 --enable-finddlg use wxFindReplaceDialog
1867 --enable-fontdlg use wxFontDialog
1868 --enable-dirdlg use wxDirDialog
1869 --enable-msgdlg use wxMessageDialog
1870 --enable-numberdlg use wxNumberEntryDialog
1871 --enable-splash use wxSplashScreen
1872 --enable-textdlg use wxTextDialog
1873 --enable-tipdlg use startup tips
1874 --enable-progressdlg use wxProgressDialog
1875 --enable-wizarddlg use wxWizard
1876 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1877 --enable-miniframe use wxMiniFrame class
1878 --enable-tooltips use wxToolTip class
1879 --enable-splines use spline drawing code
1880 --enable-mousewheel use mousewheel
1881 --enable-validators use wxValidator and derived classes
1882 --enable-busyinfo use wxBusyInfo
1883 --enable-joystick use wxJoystick
1884 --enable-metafiles use wxMetaFile
(Win32 only
)
1885 --enable-dragimage use wxDragImage
1886 --enable-accessibility enable accessibility support
1887 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1888 --enable-palette use wxPalette class
1889 --enable-image use wxImage class
1890 --enable-gif use gif images
(GIF
file format
)
1891 --enable-pcx use pcx images
(PCX
file format
)
1892 --enable-tga use tga images
(TGA
file format
)
1893 --enable-iff use iff images
(IFF
file format
)
1894 --enable-pnm use pnm images
(PNM
file format
)
1895 --enable-xpm use xpm images
(XPM
file format
)
1896 --enable-ico_cur use Windows ICO and CUR formats
1897 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1898 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1899 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1900 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1901 --enable-wxdib use wxDIB class
(Win32 only
)
1902 --enable-autoidman use automatic ids management
1903 --disable-largefile omit support
for large files
1904 --disable-gtktest do not try to compile and run a
test GTK
+ program
1905 --disable-gtktest Do not try to compile and run a
test GTK program
1906 --disable-sdltest Do not try to compile and run a
test SDL program
1907 --enable-omf use OMF object format
(OS
/2)
1908 --disable-dependency-tracking
1909 don
't use dependency tracking even if the compiler
1911 --disable-precomp-headers
1912 don't use precompiled headers even
if compiler can
1915 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1916 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1917 --without-subdirs don
't generate makefiles for samples/demos/...
1918 --with-flavour=NAME specify a name to identify this build
1919 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1920 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1921 --with-motif use Motif/Lesstif
1922 --with-osx_carbon use Mac OS X (Carbon)
1923 --with-osx_cocoa use Mac OS X (Cocoa)
1924 --with-osx_iphone use iPhone OS X port
1925 --with-osx use Mac OS X (default port, currently Carbon)
1926 --with-carbon same as --with-osx_carbon
1927 --with-cocoa same as --with-osx_cocoa
1928 --with-iphone same as --with-osx_iphone
1929 --with-mac same as --with-osx
1930 --with-old_cocoa use old, deprecated, Cocoa port
1931 --with-wine use Wine
1932 --with-msw use MS-Windows
1933 --with-pm use OS/2 Presentation Manager
1934 --with-mgl use SciTech MGL
1935 --with-directfb use DirectFB
1936 --with-microwin use MicroWindows
1938 --with-libpng use libpng (PNG image format)
1939 --with-libjpeg use libjpeg (JPEG file format)
1940 --with-libtiff use libtiff (TIFF file format)
1941 --with-libxpm use libxpm (XPM file format)
1942 --with-libiconv use libiconv (character conversion)
1943 --with-libmspack use libmspack (CHM help files loading)
1944 --without-gtkprint don't use GTK printing support
1945 --without-gnomeprint don
't use GNOME printing libraries
1946 --with-gnomevfs use GNOME VFS for associating MIME types
1947 --with-hildon use Hildon framework for Nokia 770/800/810
1948 --with-opengl use OpenGL (or Mesa)
1949 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1950 --with-sdl use SDL for audio on Unix
1951 --with-regex enable support for wxRegEx class
1952 --with-zlib use zlib for LZW compression
1953 --with-expat enable XML support using expat parser
1954 --with-macosx-sdk=PATH use an OS X SDK at PATH
1955 --with-macosx-version-min=VER build binaries which require at least this OS X version
1956 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1957 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1958 --with-x use the X Window System
1959 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1960 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1961 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1962 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1963 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1965 Some influential environment variables:
1966 CC C compiler command
1967 CFLAGS C compiler flags
1968 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1969 nonstandard directory <lib dir>
1970 LIBS libraries to pass to the linker, e.g. -l<library>
1971 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1972 you have headers in a nonstandard directory <include dir>
1974 CXX C++ compiler command
1975 CXXFLAGS C++ compiler flags
1976 PKG_CONFIG path to pkg-config utility
1978 C compiler flags for DIRECTFB, overriding pkg-config
1980 linker flags for DIRECTFB, overriding pkg-config
1981 XMKMF Path to xmkmf, Makefile generator for X Window System
1983 C compiler flags for PANGOX, overriding pkg-config
1984 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1986 C compiler flags for PANGOFT2, overriding pkg-config
1988 linker flags for PANGOFT2, overriding pkg-config
1990 C compiler flags for PANGOXFT, overriding pkg-config
1992 linker flags for PANGOXFT, overriding pkg-config
1994 C compiler flags for GTKPRINT, overriding pkg-config
1996 linker flags for GTKPRINT, overriding pkg-config
1997 LIBGNOMEPRINTUI_CFLAGS
1998 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1999 LIBGNOMEPRINTUI_LIBS
2000 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2002 C compiler flags for GNOMEVFS, overriding pkg-config
2004 linker flags for GNOMEVFS, overriding pkg-config
2006 C compiler flags for HILDON, overriding pkg-config
2007 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2009 C compiler flags for HILDON2, overriding pkg-config
2011 linker flags for HILDON2, overriding pkg-config
2013 C compiler flags for CAIRO, overriding pkg-config
2014 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2015 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2016 GST_LIBS linker flags for GST, overriding pkg-config
2018 Use these variables to override the choices made by `configure' or to
help
2019 it to
find libraries and programs with nonstandard names
/locations.
2021 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2026 if test "$ac_init_help" = "recursive"; then
2027 # If there are subdirs, report their specific --help.
2028 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2029 test -d "$ac_dir" || continue
2033 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2035 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2036 # A ".." for each directory in $ac_dir_suffix.
2037 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2038 case $ac_top_builddir_sub in
2039 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2040 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2043 ac_abs_top_builddir
=$ac_pwd
2044 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2045 # for backward compatibility:
2046 ac_top_builddir
=$ac_top_build_prefix
2049 .
) # We are building in place.
2051 ac_top_srcdir
=$ac_top_builddir_sub
2052 ac_abs_top_srcdir
=$ac_pwd ;;
2053 [\\/]* | ?
:[\\/]* ) # Absolute name.
2054 ac_srcdir
=$srcdir$ac_dir_suffix;
2055 ac_top_srcdir
=$srcdir
2056 ac_abs_top_srcdir
=$srcdir ;;
2058 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2059 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2060 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2062 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2064 cd "$ac_dir" || { ac_status
=$?
; continue; }
2065 # Check for guested configure.
2066 if test -f "$ac_srcdir/configure.gnu"; then
2068 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2069 elif test -f "$ac_srcdir/configure"; then
2071 $SHELL "$ac_srcdir/configure" --help=recursive
2073 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2075 cd "$ac_pwd" || { ac_status
=$?
; break; }
2079 test -n "$ac_init_help" && exit $ac_status
2080 if $ac_init_version; then
2082 wxWidgets configure
2.9.1
2083 generated by GNU Autoconf
2.61
2085 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2086 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2087 This configure
script is free software
; the Free Software Foundation
2088 gives unlimited permission to copy
, distribute and modify it.
2092 cat >config.log
<<_ACEOF
2093 This file contains any messages produced by compilers while
2094 running configure, to aid debugging if configure makes a mistake.
2096 It was created by wxWidgets $as_me 2.9.1, which was
2097 generated by GNU Autoconf 2.61. Invocation command line was
2109 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2110 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2111 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2112 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2113 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2115 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2116 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2118 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2119 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2120 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2121 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2122 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2123 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2124 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2132 test -z "$as_dir" && as_dir
=.
2133 echo "PATH: $as_dir"
2149 # Keep a trace of the command line.
2150 # Strip out --no-create and --no-recursion so they do not pile up.
2151 # Strip out --silent because we don't want to record it for future runs.
2152 # Also quote any args containing shell meta-characters.
2153 # Make two passes to allow for proper duplicate-argument suppression.
2157 ac_must_keep_next
=false
2163 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2164 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2165 | -silent | --silent | --silen | --sile | --sil)
2168 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2171 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2173 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2174 if test $ac_must_keep_next = true
; then
2175 ac_must_keep_next
=false
# Got value, back to normal.
2178 *=* | --config-cache | -C | -disable-* | --disable-* \
2179 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2180 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2181 | -with-* | --with-* | -without-* | --without-* | --x)
2182 case "$ac_configure_args0 " in
2183 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2186 -* ) ac_must_keep_next
=true
;;
2189 ac_configure_args
="$ac_configure_args '$ac_arg'"
2194 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2195 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2197 # When interrupted or exit'd, cleanup temporary files, and complete
2198 # config.log. We remove comments because anyway the quotes in there
2199 # would cause problems or look ugly.
2200 # WARNING: Use '\'' to represent an apostrophe within the trap.
2201 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2202 trap 'exit_status=$?
2203 # Save into config.log some information that might help in debugging.
2208 ## ---------------- ##
2209 ## Cache variables. ##
2210 ## ---------------- ##
2213 # The following way of writing the cache mishandles newlines in values,
2215 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2216 eval ac_val=\$$ac_var
2220 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2221 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2224 _ | IFS | as_nl) ;; #(
2225 *) $as_unset $ac_var ;;
2230 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2231 *${as_nl}ac_space=\ *)
2233 "s/'\''/'\''\\\\'\'''\''/g;
2234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2237 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2245 ## ----------------- ##
2246 ## Output variables. ##
2247 ## ----------------- ##
2250 for ac_var in $ac_subst_vars
2252 eval ac_val=\$$ac_var
2254 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2256 echo "$ac_var='\''$ac_val'\''"
2260 if test -n "$ac_subst_files"; then
2262 ## ------------------- ##
2263 ## File substitutions. ##
2264 ## ------------------- ##
2267 for ac_var
in $ac_subst_files
2269 eval ac_val
=\$
$ac_var
2271 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2273 echo "$ac_var='\''$ac_val'\''"
2278 if test -s confdefs.h; then
2288 test "$ac_signal" != 0 &&
2289 echo "$as_me: caught signal $ac_signal"
2290 echo "$as_me: exit $exit_status"
2292 rm -f core *.core core.conftest.* &&
2293 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2296 for ac_signal
in 1 2 13 15; do
2297 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2301 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2302 rm -f -r conftest
* confdefs.h
2304 # Predefined preprocessor variables.
2306 cat >>confdefs.h
<<_ACEOF
2307 #define PACKAGE_NAME "$PACKAGE_NAME"
2311 cat >>confdefs.h
<<_ACEOF
2312 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2316 cat >>confdefs.h
<<_ACEOF
2317 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2321 cat >>confdefs.h
<<_ACEOF
2322 #define PACKAGE_STRING "$PACKAGE_STRING"
2326 cat >>confdefs.h
<<_ACEOF
2327 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2331 # Let the site file select an alternate cache file if it wants to.
2332 # Prefer explicitly selected file to automatically selected ones.
2333 if test -n "$CONFIG_SITE"; then
2334 set x
"$CONFIG_SITE"
2335 elif test "x$prefix" != xNONE
; then
2336 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2338 set x
"$ac_default_prefix/share/config.site" \
2339 "$ac_default_prefix/etc/config.site"
2344 if test -r "$ac_site_file"; then
2345 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2346 echo "$as_me: loading site script $ac_site_file" >&6;}
2347 sed 's/^/| /' "$ac_site_file" >&5
2352 if test -r "$cache_file"; then
2353 # Some versions of bash will fail to source /dev/null (special
2354 # files actually), so we avoid doing that.
2355 if test -f "$cache_file"; then
2356 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2357 echo "$as_me: loading cache $cache_file" >&6;}
2359 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2360 *) .
"./$cache_file";;
2364 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2365 echo "$as_me: creating cache $cache_file" >&6;}
2369 # Check that the precious variables saved in the cache have kept the same
2371 ac_cache_corrupted
=false
2372 for ac_var
in $ac_precious_vars; do
2373 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2374 eval ac_new_set
=\
$ac_env_${ac_var}_set
2375 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2376 eval ac_new_val
=\
$ac_env_${ac_var}_value
2377 case $ac_old_set,$ac_new_set in
2379 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2380 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2381 ac_cache_corrupted
=: ;;
2383 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2384 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2385 ac_cache_corrupted
=: ;;
2388 if test "x$ac_old_val" != "x$ac_new_val"; then
2389 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2390 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2391 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2392 echo "$as_me: former value: $ac_old_val" >&2;}
2393 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2394 echo "$as_me: current value: $ac_new_val" >&2;}
2395 ac_cache_corrupted
=:
2398 # Pass precious variables to config.status.
2399 if test "$ac_new_set" = set; then
2401 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2402 *) ac_arg
=$ac_var=$ac_new_val ;;
2404 case " $ac_configure_args " in
2405 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2406 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2410 if $ac_cache_corrupted; then
2411 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2412 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2413 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2414 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2415 { (exit 1); exit 1; }; }
2443 ac_cpp
='$CPP $CPPFLAGS'
2444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2453 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2454 if test -f "$ac_dir/install-sh"; then
2456 ac_install_sh
="$ac_aux_dir/install-sh -c"
2458 elif test -f "$ac_dir/install.sh"; then
2460 ac_install_sh
="$ac_aux_dir/install.sh -c"
2462 elif test -f "$ac_dir/shtool"; then
2464 ac_install_sh
="$ac_aux_dir/shtool install -c"
2468 if test -z "$ac_aux_dir"; then
2469 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2470 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2471 { (exit 1); exit 1; }; }
2474 # These three variables are undocumented and unsupported,
2475 # and are intended to be withdrawn in a future Autoconf release.
2476 # They can cause serious problems if a builder's source tree is in a directory
2477 # whose full name contains unusual characters.
2478 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2479 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2480 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2483 # Make sure we can run config.sub.
2484 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2485 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2486 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2487 { (exit 1); exit 1; }; }
2489 { echo "$as_me:$LINENO: checking build system type" >&5
2490 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2491 if test "${ac_cv_build+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 ac_build_alias
=$build_alias
2495 test "x$ac_build_alias" = x
&&
2496 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2497 test "x$ac_build_alias" = x
&&
2498 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2499 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2500 { (exit 1); exit 1; }; }
2501 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2502 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2503 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2504 { (exit 1); exit 1; }; }
2507 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2508 echo "${ECHO_T}$ac_cv_build" >&6; }
2509 case $ac_cv_build in
2511 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2512 echo "$as_me: error: invalid value of canonical build" >&2;}
2513 { (exit 1); exit 1; }; };;
2516 ac_save_IFS
=$IFS; IFS
='-'
2522 # Remember, the first character of IFS is used to create $*,
2523 # except with old shells:
2526 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2529 { echo "$as_me:$LINENO: checking host system type" >&5
2530 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2531 if test "${ac_cv_host+set}" = set; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 if test "x$host_alias" = x
; then
2535 ac_cv_host
=$ac_cv_build
2537 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2538 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2539 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2540 { (exit 1); exit 1; }; }
2544 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2545 echo "${ECHO_T}$ac_cv_host" >&6; }
2548 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2549 echo "$as_me: error: invalid value of canonical host" >&2;}
2550 { (exit 1); exit 1; }; };;
2553 ac_save_IFS
=$IFS; IFS
='-'
2559 # Remember, the first character of IFS is used to create $*,
2560 # except with old shells:
2563 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2567 if test "$cross_compiling" != "no"; then
2568 HOST_PREFIX
="${host_alias}-"
2569 HOST_SUFFIX
="-$host_alias"
2576 wx_major_version_number
=2
2577 wx_minor_version_number
=9
2579 wx_subrelease_number
=0
2581 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2582 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2583 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2585 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2588 wx_top_builddir
="`pwd`"
2601 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2607 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2613 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2615 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2617 DEFAULT_wxUSE_OLD_COCOA
=0
2619 DEFAULT_wxUSE_OSX_CARBON
=0
2620 DEFAULT_wxUSE_OSX_COCOA
=0
2621 DEFAULT_wxUSE_OSX_IPHONE
=0
2623 DEFAULT_wxUSE_MICROWIN
=0
2624 DEFAULT_wxUSE_MOTIF
=0
2630 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2631 DEFAULT_DEFAULT_wxUSE_GTK
=0
2632 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2633 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2634 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2635 DEFAULT_DEFAULT_wxUSE_MGL
=0
2636 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2637 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2638 DEFAULT_DEFAULT_wxUSE_MSW
=0
2639 DEFAULT_DEFAULT_wxUSE_PM
=0
2640 DEFAULT_DEFAULT_wxUSE_X11
=0
2641 DEFAULT_DEFAULT_wxUSE_DFB
=0
2645 DYLIB_RPATH_INSTALL
=
2646 DYLIB_RPATH_POSTLINK
=
2648 DEFAULT_STD_FLAG
=yes
2653 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2654 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2655 cat >>confdefs.h
<<\_ACEOF
2660 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2664 cat >>confdefs.h
<<\_ACEOF
2669 if test "x$TMP" = "xalpha"; then
2671 cat >>confdefs.h
<<\_ACEOF
2676 DEFAULT_DEFAULT_wxUSE_GTK
=1
2678 *-*-gnu* | *-*-k*bsd
*-gnu )
2681 if test "x$TMP" = "xalpha"; then
2683 cat >>confdefs.h
<<\_ACEOF
2688 DEFAULT_DEFAULT_wxUSE_GTK
=1
2690 *-*-irix5* | *-*-irix6* )
2693 cat >>confdefs.h
<<\_ACEOF
2697 cat >>confdefs.h
<<\_ACEOF
2701 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2705 cat >>confdefs.h
<<\_ACEOF
2709 DEFAULT_DEFAULT_wxUSE_X11
=1
2715 cat >>confdefs.h
<<\_ACEOF
2719 cat >>confdefs.h
<<\_ACEOF
2720 #define __SOLARIS__ 1
2723 cat >>confdefs.h
<<\_ACEOF
2727 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2728 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2734 cat >>confdefs.h
<<\_ACEOF
2738 cat >>confdefs.h
<<\_ACEOF
2742 cat >>confdefs.h
<<\_ACEOF
2746 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2751 cat >>confdefs.h
<<\_ACEOF
2752 #define __FREEBSD__ 1
2755 cat >>confdefs.h
<<\_ACEOF
2759 DEFAULT_DEFAULT_wxUSE_GTK
=1
2761 *-*-openbsd*|*-*-mirbsd*)
2764 cat >>confdefs.h
<<\_ACEOF
2765 #define __OPENBSD__ 1
2768 cat >>confdefs.h
<<\_ACEOF
2772 DEFAULT_DEFAULT_wxUSE_GTK
=1
2777 cat >>confdefs.h
<<\_ACEOF
2778 #define __NETBSD__ 1
2781 cat >>confdefs.h
<<\_ACEOF
2785 DEFAULT_DEFAULT_wxUSE_GTK
=1
2786 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2788 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2793 cat >>confdefs.h
<<\_ACEOF
2797 cat >>confdefs.h
<<\_ACEOF
2801 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2802 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2807 cat >>confdefs.h
<<\_ACEOF
2811 cat >>confdefs.h
<<\_ACEOF
2815 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2820 cat >>confdefs.h
<<\_ACEOF
2824 cat >>confdefs.h
<<\_ACEOF
2828 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2834 cat >>confdefs.h
<<\_ACEOF
2838 cat >>confdefs.h
<<\_ACEOF
2842 cat >>confdefs.h
<<\_ACEOF
2846 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2853 cat >>confdefs.h
<<\_ACEOF
2854 #define __UNIXWARE__ 1
2859 *-*-cygwin* | *-*-mingw32* )
2861 DEFAULT_DEFAULT_wxUSE_MSW
=1
2867 cat >>confdefs.h
<<\_ACEOF
2872 DEFAULT_DEFAULT_wxUSE_MGL
=1
2875 *-pc-os2_emx | *-pc-os2-emx )
2876 cat >>confdefs.h
<<\_ACEOF
2881 cat >>confdefs.h
<<\_ACEOF
2886 DEFAULT_DEFAULT_wxUSE_PM
=1
2888 LDFLAGS
="$LDFLAGS -Zcrtdll"
2889 ac_executable_extensions
=".exe"
2890 export ac_executable_extensions
2894 for ac_dir
in $PATH; do
2896 if test -z "$ac_TEMP_PATH"; then
2897 ac_TEMP_PATH
="$ac_dir"
2899 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2902 export PATH
="$ac_TEMP_PATH"
2910 cat >>confdefs.h
<<\_ACEOF
2914 cat >>confdefs.h
<<\_ACEOF
2915 #define __DARWIN__ 1
2918 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2924 cat >>confdefs.h
<<\_ACEOF
2928 cat >>confdefs.h
<<\_ACEOF
2929 #define __DARWIN__ 1
2932 cat >>confdefs.h
<<\_ACEOF
2933 #define TARGET_CARBON 1
2936 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2941 cat >>confdefs.h
<<\_ACEOF
2948 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2949 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2950 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2951 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2953 DEFAULT_DEFAULT_wxUSE_X11
=1
2954 DEFAULT_wxUSE_SHARED
=no
2959 DEFAULT_wxUSE_ALL_FEATURES
=yes
2961 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2962 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2964 DEFAULT_wxUSE_DMALLOC
=no
2965 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2966 DEFAULT_wxUSE_LIBHILDON
=no
2967 DEFAULT_wxUSE_LIBHILDON2
=no
2968 DEFAULT_wxUSE_LIBMSPACK
=no
2969 DEFAULT_wxUSE_LIBSDL
=no
2971 DEFAULT_wxUSE_ACCESSIBILITY
=no
2972 DEFAULT_wxUSE_IPV6
=no
2973 DEFAULT_wxUSE_GSTREAMER8
=no
2974 DEFAULT_wxUSE_UIACTIONSIMULATOR
=no
2976 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2977 DEFAULT_wxUSE_OPENGL
=auto
2978 DEFAULT_wxUSE_MEDIACTRL
=auto
2979 DEFAULT_wxUSE_COMPILER_TLS
=auto
2981 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2983 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2985 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2987 DEFAULT_wxUSE_GTK2
=yes
2989 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2995 enablestring
=disable
2997 if test -z "$defaultval"; then
2998 if test x
"$enablestring" = xdisable
; then
3005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3006 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3007 # Check whether --enable-gui was given.
3008 if test "${enable_gui+set}" = set; then
3009 enableval
=$enable_gui;
3010 if test "$enableval" = yes; then
3011 wx_cv_use_gui
='wxUSE_GUI=yes'
3013 wx_cv_use_gui
='wxUSE_GUI=no'
3018 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3023 eval "$wx_cv_use_gui"
3025 if test x"$enablestring" = xdisable; then
3026 if test $wxUSE_GUI = no; then
3035 { echo "$as_me:$LINENO: result: $result" >&5
3036 echo "${ECHO_T}$result" >&6; }
3041 if test -z "$defaultval"; then
3042 if test x"$enablestring" = xdisable; then
3049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3050 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3051 # Check whether --enable-monolithic was given.
3052 if test "${enable_monolithic+set}" = set; then
3053 enableval=$enable_monolithic;
3054 if test "$enableval" = yes; then
3055 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3057 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3062 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3067 eval "$wx_cv_use_monolithic"
3069 if test x"$enablestring" = xdisable; then
3070 if test $wxUSE_MONOLITHIC = no; then
3076 result=$wxUSE_MONOLITHIC
3079 { echo "$as_me:$LINENO: result
: $result" >&5
3080 echo "${ECHO_T}$result" >&6; }
3085 if test -z "$defaultval"; then
3086 if test x"$enablestring" = xdisable; then
3093 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3094 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3095 # Check whether --enable-plugins was given.
3096 if test "${enable_plugins+set}" = set; then
3097 enableval=$enable_plugins;
3098 if test "$enableval" = yes; then
3099 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3101 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3106 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3111 eval "$wx_cv_use_plugins"
3113 if test x
"$enablestring" = xdisable
; then
3114 if test $wxUSE_PLUGINS = no
; then
3120 result
=$wxUSE_PLUGINS
3123 { echo "$as_me:$LINENO: result: $result" >&5
3124 echo "${ECHO_T}$result" >&6; }
3128 defaultval
=$wxUSE_ALL_FEATURES
3129 if test -z "$defaultval"; then
3130 if test x
"$withstring" = xwithout
; then
3136 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3137 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3139 # Check whether --with-subdirs was given.
3140 if test "${with_subdirs+set}" = set; then
3141 withval
=$with_subdirs;
3142 if test "$withval" = yes; then
3143 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3145 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3150 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3155 eval "$wx_cv_use_subdirs"
3157 if test x"$withstring" = xwithout; then
3158 if test $wxWITH_SUBDIRS = yes; then
3164 result=$wxWITH_SUBDIRS
3167 { echo "$as_me:$LINENO: result: $result" >&5
3168 echo "${ECHO_T}$result" >&6; }
3171 # Check whether --with-flavour was given.
3172 if test "${with_flavour+set}" = set; then
3173 withval=$with_flavour; WX_FLAVOUR="$withval"
3179 if test -z "$defaultval"; then
3180 if test x"$enablestring" = xdisable; then
3187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3188 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3189 # Check whether --enable-official_build was given.
3190 if test "${enable_official_build+set}" = set; then
3191 enableval=$enable_official_build;
3192 if test "$enableval" = yes; then
3193 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3195 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3200 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3205 eval "$wx_cv_use_official_build"
3207 if test x"$enablestring" = xdisable; then
3208 if test $wxUSE_OFFICIAL_BUILD = no; then
3214 result=$wxUSE_OFFICIAL_BUILD
3217 { echo "$as_me:$LINENO: result
: $result" >&5
3218 echo "${ECHO_T}$result" >&6; }
3220 # Check whether --enable-vendor was given.
3221 if test "${enable_vendor+set}" = set; then
3222 enableval=$enable_vendor; VENDOR="$enableval"
3225 if test "x
$VENDOR" = "x
"; then
3230 enablestring=disable
3232 if test -z "$defaultval"; then
3233 if test x"$enablestring" = xdisable; then
3240 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3241 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3242 # Check whether --enable-all-features was given.
3243 if test "${enable_all_features+set}" = set; then
3244 enableval=$enable_all_features;
3245 if test "$enableval" = yes; then
3246 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3248 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3253 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3258 eval "$wx_cv_use_all_features"
3260 if test x
"$enablestring" = xdisable
; then
3261 if test $wxUSE_ALL_FEATURES = no
; then
3267 result
=$wxUSE_ALL_FEATURES
3270 { echo "$as_me:$LINENO: result: $result" >&5
3271 echo "${ECHO_T}$result" >&6; }
3274 if test "$wxUSE_ALL_FEATURES" = "no"; then
3275 DEFAULT_wxUSE_MEDIACTRL
=no
3279 if test "$wxUSE_GUI" = "yes"; then
3284 if test -z "$defaultval"; then
3285 if test x
"$enablestring" = xdisable
; then
3292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3293 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3294 # Check whether --enable-universal was given.
3295 if test "${enable_universal+set}" = set; then
3296 enableval
=$enable_universal;
3297 if test "$enableval" = yes; then
3298 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3300 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3305 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3310 eval "$wx_cv_use_universal"
3312 if test x"$enablestring" = xdisable; then
3313 if test $wxUSE_UNIVERSAL = no; then
3319 result=$wxUSE_UNIVERSAL
3322 { echo "$as_me:$LINENO: result: $result" >&5
3323 echo "${ECHO_T}$result" >&6; }
3325 if test "$wxUSE_UNIVERSAL" = "yes"; then
3327 # Check whether --with-themes was given.
3328 if test "${with_themes+set}" = set; then
3329 withval=$with_themes; wxUNIV_THEMES="$withval"
3335 # Check whether --with-gtk was given.
3336 if test "${with_gtk+set}" = set; then
3337 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3341 # Check whether --with-motif was given.
3342 if test "${with_motif+set}" = set; then
3343 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3347 # Check whether --with-osx_carbon was given.
3348 if test "${with_osx_carbon+set}" = set; then
3349 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3353 # Check whether --with-osx_cocoa was given.
3354 if test "${with_osx_cocoa+set}" = set; then
3355 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3359 # Check whether --with-osx_iphone was given.
3360 if test "${with_osx_iphone+set}" = set; then
3361 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3365 # Check whether --with-osx was given.
3366 if test "${with_osx+set}" = set; then
3367 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3371 # Check whether --with-carbon was given.
3372 if test "${with_carbon+set}" = set; then
3373 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3377 # Check whether --with-cocoa was given.
3378 if test "${with_cocoa+set}" = set; then
3379 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3383 # Check whether --with-iphone was given.
3384 if test "${with_iphone+set}" = set; then
3385 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3389 # Check whether --with-mac was given.
3390 if test "${with_mac+set}" = set; then
3391 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3395 # Check whether --with-old_cocoa was given.
3396 if test "${with_old_cocoa+set}" = set; then
3397 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3401 # Check whether --with-wine was given.
3402 if test "${with_wine+set}" = set; then
3403 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3407 # Check whether --with-msw was given.
3408 if test "${with_msw+set}" = set; then
3409 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-pm was given.
3414 if test "${with_pm+set}" = set; then
3415 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-mgl was given.
3420 if test "${with_mgl+set}" = set; then
3421 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3425 # Check whether --with-directfb was given.
3426 if test "${with_directfb+set}" = set; then
3427 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-microwin was given.
3432 if test "${with_microwin+set}" = set; then
3433 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3437 # Check whether --with-x11 was given.
3438 if test "${with_x11+set}" = set; then
3439 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3445 if test -z "$defaultval"; then
3446 if test x"$enablestring" = xdisable; then
3453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3454 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3455 # Check whether --enable-nanox was given.
3456 if test "${enable_nanox+set}" = set; then
3457 enableval=$enable_nanox;
3458 if test "$enableval" = yes; then
3459 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3461 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3466 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3471 eval "$wx_cv_use_nanox"
3473 if test x"$enablestring" = xdisable; then
3474 if test $wxUSE_NANOX = no; then
3483 { echo "$as_me:$LINENO: result
: $result" >&5
3484 echo "${ECHO_T}$result" >&6; }
3487 # Check whether --enable-gtk2 was given.
3488 if test "${enable_gtk2+set}" = set; then
3489 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3495 if test -z "$defaultval"; then
3496 if test x"$enablestring" = xdisable; then
3503 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3504 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3505 # Check whether --enable-gpe was given.
3506 if test "${enable_gpe+set}" = set; then
3507 enableval=$enable_gpe;
3508 if test "$enableval" = yes; then
3509 wx_cv_use_gpe='wxUSE_GPE=yes'
3511 wx_cv_use_gpe='wxUSE_GPE=no'
3516 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3521 eval "$wx_cv_use_gpe"
3523 if test x
"$enablestring" = xdisable
; then
3524 if test $wxUSE_GPE = no
; then
3533 { echo "$as_me:$LINENO: result: $result" >&5
3534 echo "${ECHO_T}$result" >&6; }
3538 { echo "$as_me:$LINENO: checking for toolkit" >&5
3539 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3543 # In Wine, we need to default to MSW, not GTK or MOTIF
3544 if test "$wxUSE_WINE" = "yes"; then
3545 DEFAULT_DEFAULT_wxUSE_GTK
=0
3546 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3547 DEFAULT_DEFAULT_wxUSE_MSW
=1
3554 if test "$wxUSE_GUI" = "yes"; then
3556 if test "$USE_BEOS" = 1; then
3557 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3558 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3559 { (exit 1); exit 1; }; }
3562 if test "$TOOLKIT_GIVEN" = 1; then
3563 for toolkit
in $ALL_TOOLKITS; do
3565 eval "value=\$${var}"
3566 if test "x$value" = "xno"; then
3568 elif test "x$value" != "x"; then
3572 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3573 eval "wx${toolkit}_VERSION=$value"
3577 for toolkit
in $ALL_TOOLKITS; do
3578 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3579 eval "wxUSE_$toolkit=\$${var}"
3583 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3584 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3585 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3588 *-pc-os2_emx | *-pc-os2-emx )
3589 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3592 case "$NUM_TOOLKITS" in
3596 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3597 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3598 { (exit 1); exit 1; }; }
3601 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3602 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3603 { (exit 1); exit 1; }; }
3606 # to be removed when --disable-gtk2 isn't needed
3607 if test "x$wxUSE_GTK2" = "xyes"; then
3609 elif test "x$wxUSE_GTK2" = "xno"; then
3613 for toolkit
in $ALL_TOOLKITS; do
3615 eval "value=\$${var}"
3616 if test "$value" = 1; then
3617 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3618 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3619 echo "${ECHO_T}$toolkit_echo" >&6; }
3623 if test "x$host_alias" != "x"; then
3624 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3625 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3627 { echo "$as_me:$LINENO: result: base only" >&5
3628 echo "${ECHO_T}base only" >&6; }
3633 if test "$wxUSE_OSX_CARBON" = 1 \
3634 -o "$wxUSE_OSX_COCOA" = 1 \
3635 -o "$wxUSE_OSX_IPHONE" = 1; then
3641 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3642 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3644 # Check whether --with-libpng was given.
3645 if test "${with_libpng+set}" = set; then
3646 withval
=$with_libpng;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3649 elif test "$withval" = no
; then
3650 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3651 elif test "$withval" = sys
; then
3652 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3663 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3668 eval "$wx_cv_use_libpng"
3670 if test "$wxUSE_LIBPNG" = yes; then
3671 { echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6; }
3673 elif test "$wxUSE_LIBPNG" = no; then
3674 { echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6; }
3676 elif test "$wxUSE_LIBPNG" = sys; then
3677 { echo "$as_me:$LINENO: result: system version" >&5
3678 echo "${ECHO_T}system version" >&6; }
3679 elif test "$wxUSE_LIBPNG" = builtin; then
3680 { echo "$as_me:$LINENO: result: builtin version" >&5
3681 echo "${ECHO_T}builtin version" >&6; }
3683 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3684 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3685 { (exit 1); exit 1; }; }
3689 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3690 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3692 # Check whether --with-libjpeg was given.
3693 if test "${with_libjpeg+set}" = set; then
3694 withval=$with_libjpeg;
3695 if test "$withval" = yes; then
3696 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3697 elif test "$withval" = no; then
3698 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3699 elif test "$withval" = sys; then
3700 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3701 elif test "$withval" = builtin; then
3702 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3704 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3705 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3706 { (exit 1); exit 1; }; }
3711 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3716 eval "$wx_cv_use_libjpeg"
3718 if test "$wxUSE_LIBJPEG" = yes; then
3719 { echo "$as_me:$LINENO: result
: yes" >&5
3720 echo "${ECHO_T}yes" >&6; }
3721 elif test "$wxUSE_LIBJPEG" = no; then
3722 { echo "$as_me:$LINENO: result
: no
" >&5
3723 echo "${ECHO_T}no
" >&6; }
3724 elif test "$wxUSE_LIBJPEG" = sys; then
3725 { echo "$as_me:$LINENO: result
: system version
" >&5
3726 echo "${ECHO_T}system version
" >&6; }
3727 elif test "$wxUSE_LIBJPEG" = builtin; then
3728 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3729 echo "${ECHO_T}builtin version
" >&6; }
3731 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3732 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3737 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3738 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3740 # Check whether --with-libtiff was given.
3741 if test "${with_libtiff+set}" = set; then
3742 withval=$with_libtiff;
3743 if test "$withval" = yes; then
3744 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3745 elif test "$withval" = no; then
3746 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3747 elif test "$withval" = sys; then
3748 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3749 elif test "$withval" = builtin; then
3750 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3752 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3753 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3754 { (exit 1); exit 1; }; }
3759 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3764 eval "$wx_cv_use_libtiff"
3766 if test "$wxUSE_LIBTIFF" = yes; then
3767 { echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6; }
3769 elif test "$wxUSE_LIBTIFF" = no
; then
3770 { echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6; }
3772 elif test "$wxUSE_LIBTIFF" = sys
; then
3773 { echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6; }
3775 elif test "$wxUSE_LIBTIFF" = builtin; then
3776 { echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6; }
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3785 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3786 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3788 # Check whether --with-libxpm was given.
3789 if test "${with_libxpm+set}" = set; then
3790 withval
=$with_libxpm;
3791 if test "$withval" = yes; then
3792 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3793 elif test "$withval" = no
; then
3794 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3795 elif test "$withval" = sys
; then
3796 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3797 elif test "$withval" = builtin; then
3798 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3800 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3801 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3802 { (exit 1); exit 1; }; }
3807 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3812 eval "$wx_cv_use_libxpm"
3814 if test "$wxUSE_LIBXPM" = yes; then
3815 { echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6; }
3817 elif test "$wxUSE_LIBXPM" = no; then
3818 { echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6; }
3820 elif test "$wxUSE_LIBXPM" = sys; then
3821 { echo "$as_me:$LINENO: result: system version" >&5
3822 echo "${ECHO_T}system version" >&6; }
3823 elif test "$wxUSE_LIBXPM" = builtin; then
3824 { echo "$as_me:$LINENO: result: builtin version" >&5
3825 echo "${ECHO_T}builtin version" >&6; }
3827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3828 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3829 { (exit 1); exit 1; }; }
3834 defaultval=$wxUSE_ALL_FEATURES
3835 if test -z "$defaultval"; then
3836 if test x"$withstring" = xwithout; then
3842 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3843 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3845 # Check whether --with-libiconv was given.
3846 if test "${with_libiconv+set}" = set; then
3847 withval=$with_libiconv;
3848 if test "$withval" = yes; then
3849 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3851 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3856 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3861 eval "$wx_cv_use_libiconv"
3863 if test x"$withstring" = xwithout; then
3864 if test $wxUSE_LIBICONV = yes; then
3870 result=$wxUSE_LIBICONV
3873 { echo "$as_me:$LINENO: result
: $result" >&5
3874 echo "${ECHO_T}$result" >&6; }
3878 defaultval=$wxUSE_ALL_FEATURES
3879 if test -z "$defaultval"; then
3880 if test x"$withstring" = xwithout; then
3886 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3887 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3889 # Check whether --with-libmspack was given.
3890 if test "${with_libmspack+set}" = set; then
3891 withval=$with_libmspack;
3892 if test "$withval" = yes; then
3893 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3895 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3900 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3905 eval "$wx_cv_use_libmspack"
3907 if test x
"$withstring" = xwithout
; then
3908 if test $wxUSE_LIBMSPACK = yes; then
3914 result
=$wxUSE_LIBMSPACK
3917 { echo "$as_me:$LINENO: result: $result" >&5
3918 echo "${ECHO_T}$result" >&6; }
3922 defaultval
=$wxUSE_ALL_FEATURES
3923 if test -z "$defaultval"; then
3924 if test x
"$withstring" = xwithout
; then
3930 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3931 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3933 # Check whether --with-gtkprint was given.
3934 if test "${with_gtkprint+set}" = set; then
3935 withval
=$with_gtkprint;
3936 if test "$withval" = yes; then
3937 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3939 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3944 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3949 eval "$wx_cv_use_gtkprint"
3951 if test x"$withstring" = xwithout; then
3952 if test $wxUSE_GTKPRINT = yes; then
3958 result=$wxUSE_GTKPRINT
3961 { echo "$as_me:$LINENO: result: $result" >&5
3962 echo "${ECHO_T}$result" >&6; }
3966 defaultval=$wxUSE_ALL_FEATURES
3967 if test -z "$defaultval"; then
3968 if test x"$withstring" = xwithout; then
3974 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3975 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3977 # Check whether --with-gnomeprint was given.
3978 if test "${with_gnomeprint+set}" = set; then
3979 withval=$with_gnomeprint;
3980 if test "$withval" = yes; then
3981 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3983 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3988 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3993 eval "$wx_cv_use_gnomeprint"
3995 if test x"$withstring" = xwithout; then
3996 if test $wxUSE_LIBGNOMEPRINT = yes; then
4002 result=$wxUSE_LIBGNOMEPRINT
4005 { echo "$as_me:$LINENO: result
: $result" >&5
4006 echo "${ECHO_T}$result" >&6; }
4010 defaultval=$wxUSE_ALL_FEATURES
4011 if test -z "$defaultval"; then
4012 if test x"$withstring" = xwithout; then
4018 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4019 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4021 # Check whether --with-gnomevfs was given.
4022 if test "${with_gnomevfs+set}" = set; then
4023 withval=$with_gnomevfs;
4024 if test "$withval" = yes; then
4025 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4027 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4032 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4037 eval "$wx_cv_use_gnomevfs"
4039 if test x
"$withstring" = xwithout
; then
4040 if test $wxUSE_LIBGNOMEVFS = yes; then
4046 result
=$wxUSE_LIBGNOMEVFS
4049 { echo "$as_me:$LINENO: result: $result" >&5
4050 echo "${ECHO_T}$result" >&6; }
4054 defaultval
=$wxUSE_ALL_FEATURES
4055 if test -z "$defaultval"; then
4056 if test x
"$withstring" = xwithout
; then
4062 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4063 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4065 # Check whether --with-hildon was given.
4066 if test "${with_hildon+set}" = set; then
4067 withval
=$with_hildon;
4068 if test "$withval" = yes; then
4069 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4071 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4076 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4081 eval "$wx_cv_use_hildon"
4083 if test x"$withstring" = xwithout; then
4084 if test $wxUSE_LIBHILDON = yes; then
4090 result=$wxUSE_LIBHILDON
4093 { echo "$as_me:$LINENO: result: $result" >&5
4094 echo "${ECHO_T}$result" >&6; }
4098 defaultval=$wxUSE_ALL_FEATURES
4099 if test -z "$defaultval"; then
4100 if test x"$withstring" = xwithout; then
4106 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4107 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4109 # Check whether --with-opengl was given.
4110 if test "${with_opengl+set}" = set; then
4111 withval=$with_opengl;
4112 if test "$withval" = yes; then
4113 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4115 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4120 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4125 eval "$wx_cv_use_opengl"
4127 if test x"$withstring" = xwithout; then
4128 if test $wxUSE_OPENGL = yes; then
4134 result=$wxUSE_OPENGL
4137 { echo "$as_me:$LINENO: result
: $result" >&5
4138 echo "${ECHO_T}$result" >&6; }
4145 defaultval=$wxUSE_ALL_FEATURES
4146 if test -z "$defaultval"; then
4147 if test x"$withstring" = xwithout; then
4153 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4154 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4156 # Check whether --with-dmalloc was given.
4157 if test "${with_dmalloc+set}" = set; then
4158 withval=$with_dmalloc;
4159 if test "$withval" = yes; then
4160 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4162 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4167 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4172 eval "$wx_cv_use_dmalloc"
4174 if test x
"$withstring" = xwithout
; then
4175 if test $wxUSE_DMALLOC = yes; then
4181 result
=$wxUSE_DMALLOC
4184 { echo "$as_me:$LINENO: result: $result" >&5
4185 echo "${ECHO_T}$result" >&6; }
4189 defaultval
=$wxUSE_ALL_FEATURES
4190 if test -z "$defaultval"; then
4191 if test x
"$withstring" = xwithout
; then
4197 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4198 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4200 # Check whether --with-sdl was given.
4201 if test "${with_sdl+set}" = set; then
4203 if test "$withval" = yes; then
4204 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4206 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4211 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4216 eval "$wx_cv_use_sdl"
4218 if test x"$withstring" = xwithout; then
4219 if test $wxUSE_LIBSDL = yes; then
4225 result=$wxUSE_LIBSDL
4228 { echo "$as_me:$LINENO: result: $result" >&5
4229 echo "${ECHO_T}$result" >&6; }
4232 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4233 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4235 # Check whether --with-regex was given.
4236 if test "${with_regex+set}" = set; then
4237 withval=$with_regex;
4238 if test "$withval" = yes; then
4239 wx_cv_use_regex='wxUSE_REGEX
=yes'
4240 elif test "$withval" = no; then
4241 wx_cv_use_regex='wxUSE_REGEX
=no
'
4242 elif test "$withval" = sys; then
4243 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4244 elif test "$withval" = builtin; then
4245 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4247 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4248 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4249 { (exit 1); exit 1; }; }
4254 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4259 eval "$wx_cv_use_regex"
4261 if test "$wxUSE_REGEX" = yes; then
4262 { echo "$as_me:$LINENO: result
: yes" >&5
4263 echo "${ECHO_T}yes" >&6; }
4264 elif test "$wxUSE_REGEX" = no; then
4265 { echo "$as_me:$LINENO: result
: no
" >&5
4266 echo "${ECHO_T}no
" >&6; }
4267 elif test "$wxUSE_REGEX" = sys; then
4268 { echo "$as_me:$LINENO: result
: system version
" >&5
4269 echo "${ECHO_T}system version
" >&6; }
4270 elif test "$wxUSE_REGEX" = builtin; then
4271 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4272 echo "${ECHO_T}builtin version
" >&6; }
4274 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4275 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4276 { (exit 1); exit 1; }; }
4280 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4281 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4283 # Check whether --with-zlib was given.
4284 if test "${with_zlib+set}" = set; then
4286 if test "$withval" = yes; then
4287 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4288 elif test "$withval" = no; then
4289 wx_cv_use_zlib='wxUSE_ZLIB=no'
4290 elif test "$withval" = sys; then
4291 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4292 elif test "$withval" = builtin; then
4293 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4295 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4296 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4297 { (exit 1); exit 1; }; }
4302 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4307 eval "$wx_cv_use_zlib"
4309 if test "$wxUSE_ZLIB" = yes; then
4310 { echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6; }
4312 elif test "$wxUSE_ZLIB" = no
; then
4313 { echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6; }
4315 elif test "$wxUSE_ZLIB" = sys
; then
4316 { echo "$as_me:$LINENO: result: system version" >&5
4317 echo "${ECHO_T}system version" >&6; }
4318 elif test "$wxUSE_ZLIB" = builtin; then
4319 { echo "$as_me:$LINENO: result: builtin version" >&5
4320 echo "${ECHO_T}builtin version" >&6; }
4322 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4323 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4324 { (exit 1); exit 1; }; }
4328 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4329 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4331 # Check whether --with-expat was given.
4332 if test "${with_expat+set}" = set; then
4333 withval
=$with_expat;
4334 if test "$withval" = yes; then
4335 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4336 elif test "$withval" = no
; then
4337 wx_cv_use_expat
='wxUSE_EXPAT=no'
4338 elif test "$withval" = sys
; then
4339 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4340 elif test "$withval" = builtin; then
4341 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4350 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4355 eval "$wx_cv_use_expat"
4357 if test "$wxUSE_EXPAT" = yes; then
4358 { echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6; }
4360 elif test "$wxUSE_EXPAT" = no; then
4361 { echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6; }
4363 elif test "$wxUSE_EXPAT" = sys; then
4364 { echo "$as_me:$LINENO: result: system version" >&5
4365 echo "${ECHO_T}system version" >&6; }
4366 elif test "$wxUSE_EXPAT" = builtin; then
4367 { echo "$as_me:$LINENO: result: builtin version" >&5
4368 echo "${ECHO_T}builtin version" >&6; }
4370 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4371 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4372 { (exit 1); exit 1; }; }
4376 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4377 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4379 # Check whether --with-macosx-sdk was given.
4380 if test "${with_macosx_sdk+set}" = set; then
4381 withval=$with_macosx_sdk;
4382 wxUSE_MACOSX_SDK=$withval
4383 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4387 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4388 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4390 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4391 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4393 # Check whether --with-macosx-version-min was given.
4394 if test "${with_macosx_version_min+set}" = set; then
4395 withval=$with_macosx_version_min;
4396 wxUSE_MACOSX_VERSION_MIN=$withval
4397 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4401 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4402 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4405 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4406 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4407 # Check whether --enable-debug was given.
4408 if test "${enable_debug+set}" = set; then
4409 enableval=$enable_debug;
4410 if test "$enableval" = yes; then
4412 elif test "$enableval" = no; then
4414 elif test "$enableval" = max; then
4416 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4418 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4419 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4420 { (exit 1); exit 1; }; }
4429 case "$wxUSE_DEBUG" in
4431 DEFAULT_wxUSE_DEBUG_FLAG=yes
4432 DEFAULT_wxUSE_DEBUG_INFO=yes
4434 DEFAULT_wxUSE_OPTIMISE=no
4438 DEFAULT_wxUSE_DEBUG_FLAG=no
4439 DEFAULT_wxUSE_DEBUG_INFO=no
4443 DEFAULT_wxUSE_DEBUG_FLAG=yes
4444 DEFAULT_wxUSE_DEBUG_INFO=no
4449 enablestring=disable
4451 if test -z "$defaultval"; then
4452 if test x"$enablestring" = xdisable; then
4459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4460 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4461 # Check whether --enable-debug_flag was given.
4462 if test "${enable_debug_flag+set}" = set; then
4463 enableval=$enable_debug_flag;
4464 if test "$enableval" = yes; then
4465 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4467 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4472 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4477 eval "$wx_cv_use_debug_flag"
4479 if test x"$enablestring" = xdisable; then
4480 if test $wxUSE_DEBUG_FLAG = no; then
4486 result=$wxUSE_DEBUG_FLAG
4489 { echo "$as_me:$LINENO: result
: $result" >&5
4490 echo "${ECHO_T}$result" >&6; }
4495 if test -z "$defaultval"; then
4496 if test x"$enablestring" = xdisable; then
4503 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4504 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4505 # Check whether --enable-debug_info was given.
4506 if test "${enable_debug_info+set}" = set; then
4507 enableval=$enable_debug_info;
4508 if test "$enableval" = yes; then
4509 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4511 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4516 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4521 eval "$wx_cv_use_debug_info"
4523 if test x
"$enablestring" = xdisable
; then
4524 if test $wxUSE_DEBUG_INFO = no
; then
4530 result
=$wxUSE_DEBUG_INFO
4533 { echo "$as_me:$LINENO: result: $result" >&5
4534 echo "${ECHO_T}$result" >&6; }
4541 if test -z "$defaultval"; then
4542 if test x
"$enablestring" = xdisable
; then
4549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4550 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4551 # Check whether --enable-debug_gdb was given.
4552 if test "${enable_debug_gdb+set}" = set; then
4553 enableval
=$enable_debug_gdb;
4554 if test "$enableval" = yes; then
4555 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4557 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4562 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4567 eval "$wx_cv_use_debug_gdb"
4569 if test x"$enablestring" = xdisable; then
4570 if test $wxUSE_DEBUG_GDB = no; then
4576 result=$wxUSE_DEBUG_GDB
4579 { echo "$as_me:$LINENO: result: $result" >&5
4580 echo "${ECHO_T}$result" >&6; }
4585 if test -z "$defaultval"; then
4586 if test x"$enablestring" = xdisable; then
4593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4594 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4595 # Check whether --enable-debug_cntxt was given.
4596 if test "${enable_debug_cntxt+set}" = set; then
4597 enableval=$enable_debug_cntxt;
4598 if test "$enableval" = yes; then
4599 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4601 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4606 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4611 eval "$wx_cv_use_debug_cntxt"
4613 if test x"$enablestring" = xdisable; then
4614 if test $wxUSE_DEBUG_CONTEXT = no; then
4620 result=$wxUSE_DEBUG_CONTEXT
4623 { echo "$as_me:$LINENO: result
: $result" >&5
4624 echo "${ECHO_T}$result" >&6; }
4629 if test -z "$defaultval"; then
4630 if test x"$enablestring" = xdisable; then
4637 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4638 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4639 # Check whether --enable-mem_tracing was given.
4640 if test "${enable_mem_tracing+set}" = set; then
4641 enableval=$enable_mem_tracing;
4642 if test "$enableval" = yes; then
4643 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4645 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4650 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4655 eval "$wx_cv_use_mem_tracing"
4657 if test x
"$enablestring" = xdisable
; then
4658 if test $wxUSE_MEM_TRACING = no
; then
4664 result
=$wxUSE_MEM_TRACING
4667 { echo "$as_me:$LINENO: result: $result" >&5
4668 echo "${ECHO_T}$result" >&6; }
4673 enablestring
=disable
4675 if test -z "$defaultval"; then
4676 if test x
"$enablestring" = xdisable
; then
4683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4684 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4685 # Check whether --enable-shared was given.
4686 if test "${enable_shared+set}" = set; then
4687 enableval
=$enable_shared;
4688 if test "$enableval" = yes; then
4689 wx_cv_use_shared
='wxUSE_SHARED=yes'
4691 wx_cv_use_shared
='wxUSE_SHARED=no'
4696 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4701 eval "$wx_cv_use_shared"
4703 if test x"$enablestring" = xdisable; then
4704 if test $wxUSE_SHARED = no; then
4710 result=$wxUSE_SHARED
4713 { echo "$as_me:$LINENO: result: $result" >&5
4714 echo "${ECHO_T}$result" >&6; }
4719 if test -z "$defaultval"; then
4720 if test x"$enablestring" = xdisable; then
4727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4728 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4729 # Check whether --enable-stl was given.
4730 if test "${enable_stl+set}" = set; then
4731 enableval=$enable_stl;
4732 if test "$enableval" = yes; then
4733 wx_cv_use_stl='wxUSE_STL
=yes'
4735 wx_cv_use_stl='wxUSE_STL
=no
'
4740 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4745 eval "$wx_cv_use_stl"
4747 if test x"$enablestring" = xdisable; then
4748 if test $wxUSE_STL = no; then
4757 { echo "$as_me:$LINENO: result
: $result" >&5
4758 echo "${ECHO_T}$result" >&6; }
4763 if test -z "$defaultval"; then
4764 if test x"$enablestring" = xdisable; then
4771 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4772 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4773 # Check whether --enable-std_iostreams was given.
4774 if test "${enable_std_iostreams+set}" = set; then
4775 enableval=$enable_std_iostreams;
4776 if test "$enableval" = yes; then
4777 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4779 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4784 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4789 eval "$wx_cv_use_std_iostreams"
4791 if test x
"$enablestring" = xdisable
; then
4792 if test $wxUSE_STD_IOSTREAM = no
; then
4798 result
=$wxUSE_STD_IOSTREAM
4801 { echo "$as_me:$LINENO: result: $result" >&5
4802 echo "${ECHO_T}$result" >&6; }
4807 if test -z "$defaultval"; then
4808 if test x
"$enablestring" = xdisable
; then
4815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4816 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4817 # Check whether --enable-std_string was given.
4818 if test "${enable_std_string+set}" = set; then
4819 enableval
=$enable_std_string;
4820 if test "$enableval" = yes; then
4821 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4823 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4828 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4833 eval "$wx_cv_use_std_string"
4835 if test x"$enablestring" = xdisable; then
4836 if test $wxUSE_STD_STRING = no; then
4842 result=$wxUSE_STD_STRING
4845 { echo "$as_me:$LINENO: result: $result" >&5
4846 echo "${ECHO_T}$result" >&6; }
4849 enablestring=disable
4851 if test -z "$defaultval"; then
4852 if test x"$enablestring" = xdisable; then
4859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4860 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4861 # Check whether --enable-unicode was given.
4862 if test "${enable_unicode+set}" = set; then
4863 enableval=$enable_unicode;
4864 if test "$enableval" = yes; then
4865 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4867 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4872 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4877 eval "$wx_cv_use_unicode"
4879 if test x"$enablestring" = xdisable; then
4880 if test $wxUSE_UNICODE = no; then
4886 result=$wxUSE_UNICODE
4889 { echo "$as_me:$LINENO: result
: $result" >&5
4890 echo "${ECHO_T}$result" >&6; }
4895 if test -z "$defaultval"; then
4896 if test x"$enablestring" = xdisable; then
4903 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4904 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4905 # Check whether --enable-mslu was given.
4906 if test "${enable_mslu+set}" = set; then
4907 enableval=$enable_mslu;
4908 if test "$enableval" = yes; then
4909 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4911 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4916 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4921 eval "$wx_cv_use_mslu"
4923 if test x
"$enablestring" = xdisable
; then
4924 if test $wxUSE_UNICODE_MSLU = no
; then
4930 result
=$wxUSE_UNICODE_MSLU
4933 { echo "$as_me:$LINENO: result: $result" >&5
4934 echo "${ECHO_T}$result" >&6; }
4938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4939 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4940 # Check whether --enable-utf8 was given.
4941 if test "${enable_utf8+set}" = set; then
4942 enableval
=$enable_utf8;
4943 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4947 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4952 eval "$wx_cv_use_utf8"
4954 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4955 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4960 if test -z "$defaultval"; then
4961 if test x
"$enablestring" = xdisable
; then
4968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4970 # Check whether --enable-utf8only was given.
4971 if test "${enable_utf8only+set}" = set; then
4972 enableval
=$enable_utf8only;
4973 if test "$enableval" = yes; then
4974 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4976 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4981 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4986 eval "$wx_cv_use_utf8only"
4988 if test x"$enablestring" = xdisable; then
4989 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4995 result=$wxUSE_UNICODE_UTF8_LOCALE
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}-extended_rtti" >&5
5013 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5014 # Check whether --enable-extended_rtti was given.
5015 if test "${enable_extended_rtti+set}" = set; then
5016 enableval=$enable_extended_rtti;
5017 if test "$enableval" = yes; then
5018 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
5020 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
5025 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5030 eval "$wx_cv_use_extended_rtti"
5032 if test x"$enablestring" = xdisable; then
5033 if test $wxUSE_EXTENDED_RTTI = no; then
5039 result=$wxUSE_EXTENDED_RTTI
5042 { echo "$as_me:$LINENO: result
: $result" >&5
5043 echo "${ECHO_T}$result" >&6; }
5045 if test "$USE_OS2" = 1; then
5046 DEFAULT_wxUSE_OMF=no
5050 if test -z "$defaultval"; then
5051 if test x"$enablestring" = xdisable; then
5058 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
5059 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
5060 # Check whether --enable-omf was given.
5061 if test "${enable_omf+set}" = set; then
5062 enableval=$enable_omf;
5063 if test "$enableval" = yes; then
5064 wx_cv_use_omf='wxUSE_OMF=yes'
5066 wx_cv_use_omf='wxUSE_OMF=no'
5071 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5076 eval "$wx_cv_use_omf"
5078 if test x
"$enablestring" = xdisable
; then
5079 if test $wxUSE_OMF = no
; then
5088 { echo "$as_me:$LINENO: result: $result" >&5
5089 echo "${ECHO_T}$result" >&6; }
5094 enablestring
=disable
5096 if test -z "$defaultval"; then
5097 if test x
"$enablestring" = xdisable
; then
5104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5106 # Check whether --enable-optimise was given.
5107 if test "${enable_optimise+set}" = set; then
5108 enableval
=$enable_optimise;
5109 if test "$enableval" = yes; then
5110 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5112 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5117 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5122 eval "$wx_cv_use_optimise"
5124 if test x"$enablestring" = xdisable; then
5125 if test $wxUSE_OPTIMISE = no; then
5131 result=$wxUSE_OPTIMISE
5134 { echo "$as_me:$LINENO: result: $result" >&5
5135 echo "${ECHO_T}$result" >&6; }
5141 if test -z "$defaultval"; then
5142 if test x"$enablestring" = xdisable; then
5149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5150 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5151 # Check whether --enable-profile was given.
5152 if test "${enable_profile+set}" = set; then
5153 enableval=$enable_profile;
5154 if test "$enableval" = yes; then
5155 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5157 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5162 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5167 eval "$wx_cv_use_profile"
5169 if test x"$enablestring" = xdisable; then
5170 if test $wxUSE_PROFILE = no; then
5176 result=$wxUSE_PROFILE
5179 { echo "$as_me:$LINENO: result
: $result" >&5
5180 echo "${ECHO_T}$result" >&6; }
5185 if test -z "$defaultval"; then
5186 if test x"$enablestring" = xdisable; then
5193 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5194 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5195 # Check whether --enable-no_rtti was given.
5196 if test "${enable_no_rtti+set}" = set; then
5197 enableval=$enable_no_rtti;
5198 if test "$enableval" = yes; then
5199 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5201 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5206 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5211 eval "$wx_cv_use_no_rtti"
5213 if test x
"$enablestring" = xdisable
; then
5214 if test $wxUSE_NO_RTTI = no
; then
5220 result
=$wxUSE_NO_RTTI
5223 { echo "$as_me:$LINENO: result: $result" >&5
5224 echo "${ECHO_T}$result" >&6; }
5229 if test -z "$defaultval"; then
5230 if test x
"$enablestring" = xdisable
; then
5237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5238 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5239 # Check whether --enable-no_exceptions was given.
5240 if test "${enable_no_exceptions+set}" = set; then
5241 enableval
=$enable_no_exceptions;
5242 if test "$enableval" = yes; then
5243 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5245 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5250 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5255 eval "$wx_cv_use_no_exceptions"
5257 if test x"$enablestring" = xdisable; then
5258 if test $wxUSE_NO_EXCEPTIONS = no; then
5264 result=$wxUSE_NO_EXCEPTIONS
5267 { echo "$as_me:$LINENO: result: $result" >&5
5268 echo "${ECHO_T}$result" >&6; }
5273 if test -z "$defaultval"; then
5274 if test x"$enablestring" = xdisable; then
5281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5282 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5283 # Check whether --enable-permissive was given.
5284 if test "${enable_permissive+set}" = set; then
5285 enableval=$enable_permissive;
5286 if test "$enableval" = yes; then
5287 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5289 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5294 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5299 eval "$wx_cv_use_permissive"
5301 if test x"$enablestring" = xdisable; then
5302 if test $wxUSE_PERMISSIVE = no; then
5308 result=$wxUSE_PERMISSIVE
5311 { echo "$as_me:$LINENO: result
: $result" >&5
5312 echo "${ECHO_T}$result" >&6; }
5317 if test -z "$defaultval"; then
5318 if test x"$enablestring" = xdisable; then
5325 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5326 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5327 # Check whether --enable-no_deps was given.
5328 if test "${enable_no_deps+set}" = set; then
5329 enableval=$enable_no_deps;
5330 if test "$enableval" = yes; then
5331 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5333 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5338 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5343 eval "$wx_cv_use_no_deps"
5345 if test x
"$enablestring" = xdisable
; then
5346 if test $wxUSE_NO_DEPS = no
; then
5352 result
=$wxUSE_NO_DEPS
5355 { echo "$as_me:$LINENO: result: $result" >&5
5356 echo "${ECHO_T}$result" >&6; }
5359 enablestring
=disable
5361 if test -z "$defaultval"; then
5362 if test x
"$enablestring" = xdisable
; then
5369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5370 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5371 # Check whether --enable-vararg_macros was given.
5372 if test "${enable_vararg_macros+set}" = set; then
5373 enableval
=$enable_vararg_macros;
5374 if test "$enableval" = yes; then
5375 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5377 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5382 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5387 eval "$wx_cv_use_vararg_macros"
5389 if test x"$enablestring" = xdisable; then
5390 if test $wxUSE_VARARG_MACROS = no; then
5396 result=$wxUSE_VARARG_MACROS
5399 { echo "$as_me:$LINENO: result: $result" >&5
5400 echo "${ECHO_T}$result" >&6; }
5404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5405 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5406 # Check whether --enable-universal_binary was given.
5407 if test "${enable_universal_binary+set}" = set; then
5408 enableval=$enable_universal_binary;
5409 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5413 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5418 eval "$wx_cv_use_universal_binary"
5420 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5421 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5427 if test -z "$defaultval"; then
5428 if test x"$enablestring" = xdisable; then
5435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5437 # Check whether --enable-compat26 was given.
5438 if test "${enable_compat26+set}" = set; then
5439 enableval=$enable_compat26;
5440 if test "$enableval" = yes; then
5441 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5443 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5448 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5453 eval "$wx_cv_use_compat26"
5455 if test x"$enablestring" = xdisable; then
5456 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5462 result=$WXWIN_COMPATIBILITY_2_6
5465 { echo "$as_me:$LINENO: result
: $result" >&5
5466 echo "${ECHO_T}$result" >&6; }
5469 enablestring=disable
5471 if test -z "$defaultval"; then
5472 if test x"$enablestring" = xdisable; then
5479 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5480 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5481 # Check whether --enable-compat28 was given.
5482 if test "${enable_compat28+set}" = set; then
5483 enableval=$enable_compat28;
5484 if test "$enableval" = yes; then
5485 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5487 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5492 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5497 eval "$wx_cv_use_compat28"
5499 if test x
"$enablestring" = xdisable
; then
5500 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5506 result
=$WXWIN_COMPATIBILITY_2_8
5509 { echo "$as_me:$LINENO: result: $result" >&5
5510 echo "${ECHO_T}$result" >&6; }
5514 enablestring
=disable
5516 if test -z "$defaultval"; then
5517 if test x
"$enablestring" = xdisable
; then
5524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5526 # Check whether --enable-rpath was given.
5527 if test "${enable_rpath+set}" = set; then
5528 enableval
=$enable_rpath;
5529 if test "$enableval" = yes; then
5530 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5532 wx_cv_use_rpath
='wxUSE_RPATH=no'
5537 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5542 eval "$wx_cv_use_rpath"
5544 if test x"$enablestring" = xdisable; then
5545 if test $wxUSE_RPATH = no; then
5554 { echo "$as_me:$LINENO: result: $result" >&5
5555 echo "${ECHO_T}$result" >&6; }
5561 if test -z "$defaultval"; then
5562 if test x"$enablestring" = xdisable; then
5569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5571 # Check whether --enable-objc_uniquifying was given.
5572 if test "${enable_objc_uniquifying+set}" = set; then
5573 enableval=$enable_objc_uniquifying;
5574 if test "$enableval" = yes; then
5575 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5577 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5582 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5587 eval "$wx_cv_use_objc_uniquifying"
5589 if test x"$enablestring" = xdisable; then
5590 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5596 result=$wxUSE_OBJC_UNIQUIFYING
5599 { echo "$as_me:$LINENO: result
: $result" >&5
5600 echo "${ECHO_T}$result" >&6; }
5604 enablestring=disable
5606 if test -z "$defaultval"; then
5607 if test x"$enablestring" = xdisable; then
5614 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5615 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5616 # Check whether --enable-visibility was given.
5617 if test "${enable_visibility+set}" = set; then
5618 enableval=$enable_visibility;
5619 if test "$enableval" = yes; then
5620 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5622 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5627 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5632 eval "$wx_cv_use_visibility"
5634 if test x
"$enablestring" = xdisable
; then
5635 if test $wxUSE_VISIBILITY = no
; then
5641 result
=$wxUSE_VISIBILITY
5644 { echo "$as_me:$LINENO: result: $result" >&5
5645 echo "${ECHO_T}$result" >&6; }
5648 enablestring
=disable
5650 if test -z "$defaultval"; then
5651 if test x
"$enablestring" = xdisable
; then
5658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5659 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5660 # Check whether --enable-tls was given.
5661 if test "${enable_tls+set}" = set; then
5662 enableval
=$enable_tls;
5663 if test "$enableval" = yes; then
5664 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5666 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5671 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5676 eval "$wx_cv_use_tls"
5678 if test x"$enablestring" = xdisable; then
5679 if test $wxUSE_COMPILER_TLS = no; then
5685 result=$wxUSE_COMPILER_TLS
5688 { echo "$as_me:$LINENO: result: $result" >&5
5689 echo "${ECHO_T}$result" >&6; }
5695 defaultval=$wxUSE_ALL_FEATURES
5696 if test -z "$defaultval"; then
5697 if test x"$enablestring" = xdisable; then
5704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5705 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5706 # Check whether --enable-intl was given.
5707 if test "${enable_intl+set}" = set; then
5708 enableval=$enable_intl;
5709 if test "$enableval" = yes; then
5710 wx_cv_use_intl='wxUSE_INTL
=yes'
5712 wx_cv_use_intl='wxUSE_INTL
=no
'
5717 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5722 eval "$wx_cv_use_intl"
5724 if test x"$enablestring" = xdisable; then
5725 if test $wxUSE_INTL = no; then
5734 { echo "$as_me:$LINENO: result
: $result" >&5
5735 echo "${ECHO_T}$result" >&6; }
5739 defaultval=$wxUSE_ALL_FEATURES
5740 if test -z "$defaultval"; then
5741 if test x"$enablestring" = xdisable; then
5748 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5749 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5750 # Check whether --enable-xlocale was given.
5751 if test "${enable_xlocale+set}" = set; then
5752 enableval=$enable_xlocale;
5753 if test "$enableval" = yes; then
5754 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5756 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5761 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5766 eval "$wx_cv_use_xlocale"
5768 if test x
"$enablestring" = xdisable
; then
5769 if test $wxUSE_XLOCALE = no
; then
5775 result
=$wxUSE_XLOCALE
5778 { echo "$as_me:$LINENO: result: $result" >&5
5779 echo "${ECHO_T}$result" >&6; }
5783 defaultval
=$wxUSE_ALL_FEATURES
5784 if test -z "$defaultval"; then
5785 if test x
"$enablestring" = xdisable
; then
5792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5793 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5794 # Check whether --enable-config was given.
5795 if test "${enable_config+set}" = set; then
5796 enableval
=$enable_config;
5797 if test "$enableval" = yes; then
5798 wx_cv_use_config
='wxUSE_CONFIG=yes'
5800 wx_cv_use_config
='wxUSE_CONFIG=no'
5805 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5810 eval "$wx_cv_use_config"
5812 if test x"$enablestring" = xdisable; then
5813 if test $wxUSE_CONFIG = no; then
5819 result=$wxUSE_CONFIG
5822 { echo "$as_me:$LINENO: result: $result" >&5
5823 echo "${ECHO_T}$result" >&6; }
5828 defaultval=$wxUSE_ALL_FEATURES
5829 if test -z "$defaultval"; then
5830 if test x"$enablestring" = xdisable; then
5837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5838 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5839 # Check whether --enable-protocols was given.
5840 if test "${enable_protocols+set}" = set; then
5841 enableval=$enable_protocols;
5842 if test "$enableval" = yes; then
5843 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5845 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5850 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5855 eval "$wx_cv_use_protocols"
5857 if test x"$enablestring" = xdisable; then
5858 if test $wxUSE_PROTOCOL = no; then
5864 result=$wxUSE_PROTOCOL
5867 { echo "$as_me:$LINENO: result
: $result" >&5
5868 echo "${ECHO_T}$result" >&6; }
5872 defaultval=$wxUSE_ALL_FEATURES
5873 if test -z "$defaultval"; then
5874 if test x"$enablestring" = xdisable; then
5881 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5882 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5883 # Check whether --enable-ftp was given.
5884 if test "${enable_ftp+set}" = set; then
5885 enableval=$enable_ftp;
5886 if test "$enableval" = yes; then
5887 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5889 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5894 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5899 eval "$wx_cv_use_ftp"
5901 if test x
"$enablestring" = xdisable
; then
5902 if test $wxUSE_PROTOCOL_FTP = no
; then
5908 result
=$wxUSE_PROTOCOL_FTP
5911 { echo "$as_me:$LINENO: result: $result" >&5
5912 echo "${ECHO_T}$result" >&6; }
5916 defaultval
=$wxUSE_ALL_FEATURES
5917 if test -z "$defaultval"; then
5918 if test x
"$enablestring" = xdisable
; then
5925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5927 # Check whether --enable-http was given.
5928 if test "${enable_http+set}" = set; then
5929 enableval
=$enable_http;
5930 if test "$enableval" = yes; then
5931 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5933 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5938 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5943 eval "$wx_cv_use_http"
5945 if test x"$enablestring" = xdisable; then
5946 if test $wxUSE_PROTOCOL_HTTP = no; then
5952 result=$wxUSE_PROTOCOL_HTTP
5955 { echo "$as_me:$LINENO: result: $result" >&5
5956 echo "${ECHO_T}$result" >&6; }
5960 defaultval=$wxUSE_ALL_FEATURES
5961 if test -z "$defaultval"; then
5962 if test x"$enablestring" = xdisable; then
5969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5971 # Check whether --enable-fileproto was given.
5972 if test "${enable_fileproto+set}" = set; then
5973 enableval=$enable_fileproto;
5974 if test "$enableval" = yes; then
5975 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5977 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5982 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5987 eval "$wx_cv_use_fileproto"
5989 if test x"$enablestring" = xdisable; then
5990 if test $wxUSE_PROTOCOL_FILE = no; then
5996 result=$wxUSE_PROTOCOL_FILE
5999 { echo "$as_me:$LINENO: result
: $result" >&5
6000 echo "${ECHO_T}$result" >&6; }
6004 defaultval=$wxUSE_ALL_FEATURES
6005 if test -z "$defaultval"; then
6006 if test x"$enablestring" = xdisable; then
6013 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
6014 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
6015 # Check whether --enable-sockets was given.
6016 if test "${enable_sockets+set}" = set; then
6017 enableval=$enable_sockets;
6018 if test "$enableval" = yes; then
6019 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6021 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6026 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6031 eval "$wx_cv_use_sockets"
6033 if test x
"$enablestring" = xdisable
; then
6034 if test $wxUSE_SOCKETS = no
; then
6040 result
=$wxUSE_SOCKETS
6043 { echo "$as_me:$LINENO: result: $result" >&5
6044 echo "${ECHO_T}$result" >&6; }
6048 defaultval
=$wxUSE_ALL_FEATURES
6049 if test -z "$defaultval"; then
6050 if test x
"$enablestring" = xdisable
; then
6057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6058 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6059 # Check whether --enable-ipv6 was given.
6060 if test "${enable_ipv6+set}" = set; then
6061 enableval
=$enable_ipv6;
6062 if test "$enableval" = yes; then
6063 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6065 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6070 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6075 eval "$wx_cv_use_ipv6"
6077 if test x"$enablestring" = xdisable; then
6078 if test $wxUSE_IPV6 = no; then
6087 { echo "$as_me:$LINENO: result: $result" >&5
6088 echo "${ECHO_T}$result" >&6; }
6092 defaultval=$wxUSE_ALL_FEATURES
6093 if test -z "$defaultval"; then
6094 if test x"$enablestring" = xdisable; then
6101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6102 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6103 # Check whether --enable-ole was given.
6104 if test "${enable_ole+set}" = set; then
6105 enableval=$enable_ole;
6106 if test "$enableval" = yes; then
6107 wx_cv_use_ole='wxUSE_OLE
=yes'
6109 wx_cv_use_ole='wxUSE_OLE
=no
'
6114 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6119 eval "$wx_cv_use_ole"
6121 if test x"$enablestring" = xdisable; then
6122 if test $wxUSE_OLE = no; then
6131 { echo "$as_me:$LINENO: result
: $result" >&5
6132 echo "${ECHO_T}$result" >&6; }
6136 defaultval=$wxUSE_ALL_FEATURES
6137 if test -z "$defaultval"; then
6138 if test x"$enablestring" = xdisable; then
6145 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6146 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6147 # Check whether --enable-dataobj was given.
6148 if test "${enable_dataobj+set}" = set; then
6149 enableval=$enable_dataobj;
6150 if test "$enableval" = yes; then
6151 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6153 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6158 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6163 eval "$wx_cv_use_dataobj"
6165 if test x
"$enablestring" = xdisable
; then
6166 if test $wxUSE_DATAOBJ = no
; then
6172 result
=$wxUSE_DATAOBJ
6175 { echo "$as_me:$LINENO: result: $result" >&5
6176 echo "${ECHO_T}$result" >&6; }
6181 defaultval
=$wxUSE_ALL_FEATURES
6182 if test -z "$defaultval"; then
6183 if test x
"$enablestring" = xdisable
; then
6190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6192 # Check whether --enable-ipc was given.
6193 if test "${enable_ipc+set}" = set; then
6194 enableval
=$enable_ipc;
6195 if test "$enableval" = yes; then
6196 wx_cv_use_ipc
='wxUSE_IPC=yes'
6198 wx_cv_use_ipc
='wxUSE_IPC=no'
6203 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6208 eval "$wx_cv_use_ipc"
6210 if test x"$enablestring" = xdisable; then
6211 if test $wxUSE_IPC = no; then
6220 { echo "$as_me:$LINENO: result: $result" >&5
6221 echo "${ECHO_T}$result" >&6; }
6226 defaultval=$wxUSE_ALL_FEATURES
6227 if test -z "$defaultval"; then
6228 if test x"$enablestring" = xdisable; then
6235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6236 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6237 # Check whether --enable-baseevtloop was given.
6238 if test "${enable_baseevtloop+set}" = set; then
6239 enableval=$enable_baseevtloop;
6240 if test "$enableval" = yes; then
6241 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6243 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6248 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6253 eval "$wx_cv_use_baseevtloop"
6255 if test x"$enablestring" = xdisable; then
6256 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6262 result=$wxUSE_CONSOLE_EVENTLOOP
6265 { echo "$as_me:$LINENO: result
: $result" >&5
6266 echo "${ECHO_T}$result" >&6; }
6270 defaultval=$wxUSE_ALL_FEATURES
6271 if test -z "$defaultval"; then
6272 if test x"$enablestring" = xdisable; then
6279 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6280 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6281 # Check whether --enable-epollloop was given.
6282 if test "${enable_epollloop+set}" = set; then
6283 enableval=$enable_epollloop;
6284 if test "$enableval" = yes; then
6285 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6287 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6292 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6297 eval "$wx_cv_use_epollloop"
6299 if test x
"$enablestring" = xdisable
; then
6300 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6306 result
=$wxUSE_EPOLL_DISPATCHER
6309 { echo "$as_me:$LINENO: result: $result" >&5
6310 echo "${ECHO_T}$result" >&6; }
6314 defaultval
=$wxUSE_ALL_FEATURES
6315 if test -z "$defaultval"; then
6316 if test x
"$enablestring" = xdisable
; then
6323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6324 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6325 # Check whether --enable-selectloop was given.
6326 if test "${enable_selectloop+set}" = set; then
6327 enableval
=$enable_selectloop;
6328 if test "$enableval" = yes; then
6329 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6331 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6336 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6341 eval "$wx_cv_use_selectloop"
6343 if test x"$enablestring" = xdisable; then
6344 if test $wxUSE_SELECT_DISPATCHER = no; then
6350 result=$wxUSE_SELECT_DISPATCHER
6353 { echo "$as_me:$LINENO: result: $result" >&5
6354 echo "${ECHO_T}$result" >&6; }
6359 defaultval=$wxUSE_ALL_FEATURES
6360 if test -z "$defaultval"; then
6361 if test x"$enablestring" = xdisable; then
6368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6369 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6370 # Check whether --enable-any was given.
6371 if test "${enable_any+set}" = set; then
6372 enableval=$enable_any;
6373 if test "$enableval" = yes; then
6374 wx_cv_use_any='wxUSE_ANY
=yes'
6376 wx_cv_use_any='wxUSE_ANY
=no
'
6381 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6386 eval "$wx_cv_use_any"
6388 if test x"$enablestring" = xdisable; then
6389 if test $wxUSE_ANY = no; then
6398 { echo "$as_me:$LINENO: result
: $result" >&5
6399 echo "${ECHO_T}$result" >&6; }
6403 defaultval=$wxUSE_ALL_FEATURES
6404 if test -z "$defaultval"; then
6405 if test x"$enablestring" = xdisable; then
6412 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6413 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6414 # Check whether --enable-apple_ieee was given.
6415 if test "${enable_apple_ieee+set}" = set; then
6416 enableval=$enable_apple_ieee;
6417 if test "$enableval" = yes; then
6418 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6420 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6425 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6430 eval "$wx_cv_use_apple_ieee"
6432 if test x
"$enablestring" = xdisable
; then
6433 if test $wxUSE_APPLE_IEEE = no
; then
6439 result
=$wxUSE_APPLE_IEEE
6442 { echo "$as_me:$LINENO: result: $result" >&5
6443 echo "${ECHO_T}$result" >&6; }
6447 defaultval
=$wxUSE_ALL_FEATURES
6448 if test -z "$defaultval"; then
6449 if test x
"$enablestring" = xdisable
; then
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6458 # Check whether --enable-arcstream was given.
6459 if test "${enable_arcstream+set}" = set; then
6460 enableval
=$enable_arcstream;
6461 if test "$enableval" = yes; then
6462 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6464 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6469 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6474 eval "$wx_cv_use_arcstream"
6476 if test x"$enablestring" = xdisable; then
6477 if test $wxUSE_ARCHIVE_STREAMS = no; then
6483 result=$wxUSE_ARCHIVE_STREAMS
6486 { echo "$as_me:$LINENO: result: $result" >&5
6487 echo "${ECHO_T}$result" >&6; }
6491 defaultval=$wxUSE_ALL_FEATURES
6492 if test -z "$defaultval"; then
6493 if test x"$enablestring" = xdisable; then
6500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6501 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6502 # Check whether --enable-base64 was given.
6503 if test "${enable_base64+set}" = set; then
6504 enableval=$enable_base64;
6505 if test "$enableval" = yes; then
6506 wx_cv_use_base64='wxUSE_BASE64
=yes'
6508 wx_cv_use_base64='wxUSE_BASE64
=no
'
6513 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6518 eval "$wx_cv_use_base64"
6520 if test x"$enablestring" = xdisable; then
6521 if test $wxUSE_BASE64 = no; then
6527 result=$wxUSE_BASE64
6530 { echo "$as_me:$LINENO: result
: $result" >&5
6531 echo "${ECHO_T}$result" >&6; }
6535 defaultval=$wxUSE_ALL_FEATURES
6536 if test -z "$defaultval"; then
6537 if test x"$enablestring" = xdisable; then
6544 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6545 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6546 # Check whether --enable-backtrace was given.
6547 if test "${enable_backtrace+set}" = set; then
6548 enableval=$enable_backtrace;
6549 if test "$enableval" = yes; then
6550 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6552 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6557 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6562 eval "$wx_cv_use_backtrace"
6564 if test x
"$enablestring" = xdisable
; then
6565 if test $wxUSE_STACKWALKER = no
; then
6571 result
=$wxUSE_STACKWALKER
6574 { echo "$as_me:$LINENO: result: $result" >&5
6575 echo "${ECHO_T}$result" >&6; }
6579 defaultval
=$wxUSE_ALL_FEATURES
6580 if test -z "$defaultval"; then
6581 if test x
"$enablestring" = xdisable
; then
6588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6589 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6590 # Check whether --enable-catch_segvs was given.
6591 if test "${enable_catch_segvs+set}" = set; then
6592 enableval
=$enable_catch_segvs;
6593 if test "$enableval" = yes; then
6594 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6596 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6601 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6606 eval "$wx_cv_use_catch_segvs"
6608 if test x"$enablestring" = xdisable; then
6609 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6615 result=$wxUSE_ON_FATAL_EXCEPTION
6618 { echo "$as_me:$LINENO: result: $result" >&5
6619 echo "${ECHO_T}$result" >&6; }
6623 defaultval=$wxUSE_ALL_FEATURES
6624 if test -z "$defaultval"; then
6625 if test x"$enablestring" = xdisable; then
6632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6634 # Check whether --enable-cmdline was given.
6635 if test "${enable_cmdline+set}" = set; then
6636 enableval=$enable_cmdline;
6637 if test "$enableval" = yes; then
6638 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6640 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6645 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6650 eval "$wx_cv_use_cmdline"
6652 if test x"$enablestring" = xdisable; then
6653 if test $wxUSE_CMDLINE_PARSER = no; then
6659 result=$wxUSE_CMDLINE_PARSER
6662 { echo "$as_me:$LINENO: result
: $result" >&5
6663 echo "${ECHO_T}$result" >&6; }
6667 defaultval=$wxUSE_ALL_FEATURES
6668 if test -z "$defaultval"; then
6669 if test x"$enablestring" = xdisable; then
6676 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6677 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6678 # Check whether --enable-datetime was given.
6679 if test "${enable_datetime+set}" = set; then
6680 enableval=$enable_datetime;
6681 if test "$enableval" = yes; then
6682 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6684 wx_cv_use_datetime='wxUSE_DATETIME=no'
6689 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6694 eval "$wx_cv_use_datetime"
6696 if test x
"$enablestring" = xdisable
; then
6697 if test $wxUSE_DATETIME = no
; then
6703 result
=$wxUSE_DATETIME
6706 { echo "$as_me:$LINENO: result: $result" >&5
6707 echo "${ECHO_T}$result" >&6; }
6711 defaultval
=$wxUSE_ALL_FEATURES
6712 if test -z "$defaultval"; then
6713 if test x
"$enablestring" = xdisable
; then
6720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6721 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6722 # Check whether --enable-debugreport was given.
6723 if test "${enable_debugreport+set}" = set; then
6724 enableval
=$enable_debugreport;
6725 if test "$enableval" = yes; then
6726 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6728 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6733 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6738 eval "$wx_cv_use_debugreport"
6740 if test x"$enablestring" = xdisable; then
6741 if test $wxUSE_DEBUGREPORT = no; then
6747 result=$wxUSE_DEBUGREPORT
6750 { echo "$as_me:$LINENO: result: $result" >&5
6751 echo "${ECHO_T}$result" >&6; }
6755 defaultval=$wxUSE_ALL_FEATURES
6756 if test -z "$defaultval"; then
6757 if test x"$enablestring" = xdisable; then
6764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6765 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6766 # Check whether --enable-dialupman was given.
6767 if test "${enable_dialupman+set}" = set; then
6768 enableval=$enable_dialupman;
6769 if test "$enableval" = yes; then
6770 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6772 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6777 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6782 eval "$wx_cv_use_dialupman"
6784 if test x"$enablestring" = xdisable; then
6785 if test $wxUSE_DIALUP_MANAGER = no; then
6791 result=$wxUSE_DIALUP_MANAGER
6794 { echo "$as_me:$LINENO: result
: $result" >&5
6795 echo "${ECHO_T}$result" >&6; }
6799 defaultval=$wxUSE_ALL_FEATURES
6800 if test -z "$defaultval"; then
6801 if test x"$enablestring" = xdisable; then
6808 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6809 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6810 # Check whether --enable-dynlib was given.
6811 if test "${enable_dynlib+set}" = set; then
6812 enableval=$enable_dynlib;
6813 if test "$enableval" = yes; then
6814 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6816 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6821 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6826 eval "$wx_cv_use_dynlib"
6828 if test x
"$enablestring" = xdisable
; then
6829 if test $wxUSE_DYNLIB_CLASS = no
; then
6835 result
=$wxUSE_DYNLIB_CLASS
6838 { echo "$as_me:$LINENO: result: $result" >&5
6839 echo "${ECHO_T}$result" >&6; }
6843 defaultval
=$wxUSE_ALL_FEATURES
6844 if test -z "$defaultval"; then
6845 if test x
"$enablestring" = xdisable
; then
6852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6853 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6854 # Check whether --enable-dynamicloader was given.
6855 if test "${enable_dynamicloader+set}" = set; then
6856 enableval
=$enable_dynamicloader;
6857 if test "$enableval" = yes; then
6858 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6860 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6865 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6870 eval "$wx_cv_use_dynamicloader"
6872 if test x"$enablestring" = xdisable; then
6873 if test $wxUSE_DYNAMIC_LOADER = no; then
6879 result=$wxUSE_DYNAMIC_LOADER
6882 { echo "$as_me:$LINENO: result: $result" >&5
6883 echo "${ECHO_T}$result" >&6; }
6887 defaultval=$wxUSE_ALL_FEATURES
6888 if test -z "$defaultval"; then
6889 if test x"$enablestring" = xdisable; then
6896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6897 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6898 # Check whether --enable-exceptions was given.
6899 if test "${enable_exceptions+set}" = set; then
6900 enableval=$enable_exceptions;
6901 if test "$enableval" = yes; then
6902 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6904 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6909 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6914 eval "$wx_cv_use_exceptions"
6916 if test x"$enablestring" = xdisable; then
6917 if test $wxUSE_EXCEPTIONS = no; then
6923 result=$wxUSE_EXCEPTIONS
6926 { echo "$as_me:$LINENO: result
: $result" >&5
6927 echo "${ECHO_T}$result" >&6; }
6931 defaultval=$wxUSE_ALL_FEATURES
6932 if test -z "$defaultval"; then
6933 if test x"$enablestring" = xdisable; then
6940 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6941 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6942 # Check whether --enable-ffile was given.
6943 if test "${enable_ffile+set}" = set; then
6944 enableval=$enable_ffile;
6945 if test "$enableval" = yes; then
6946 wx_cv_use_ffile='wxUSE_FFILE=yes'
6948 wx_cv_use_ffile='wxUSE_FFILE=no'
6953 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6958 eval "$wx_cv_use_ffile"
6960 if test x
"$enablestring" = xdisable
; then
6961 if test $wxUSE_FFILE = no
; then
6970 { echo "$as_me:$LINENO: result: $result" >&5
6971 echo "${ECHO_T}$result" >&6; }
6975 defaultval
=$wxUSE_ALL_FEATURES
6976 if test -z "$defaultval"; then
6977 if test x
"$enablestring" = xdisable
; then
6984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6985 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6986 # Check whether --enable-file was given.
6987 if test "${enable_file+set}" = set; then
6988 enableval
=$enable_file;
6989 if test "$enableval" = yes; then
6990 wx_cv_use_file
='wxUSE_FILE=yes'
6992 wx_cv_use_file
='wxUSE_FILE=no'
6997 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7002 eval "$wx_cv_use_file"
7004 if test x"$enablestring" = xdisable; then
7005 if test $wxUSE_FILE = no; then
7014 { echo "$as_me:$LINENO: result: $result" >&5
7015 echo "${ECHO_T}$result" >&6; }
7019 defaultval=$wxUSE_ALL_FEATURES
7020 if test -z "$defaultval"; then
7021 if test x"$enablestring" = xdisable; then
7028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7029 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7030 # Check whether --enable-filehistory was given.
7031 if test "${enable_filehistory+set}" = set; then
7032 enableval=$enable_filehistory;
7033 if test "$enableval" = yes; then
7034 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=yes'
7036 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=no
'
7041 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7046 eval "$wx_cv_use_filehistory"
7048 if test x"$enablestring" = xdisable; then
7049 if test $wxUSE_FILE_HISTORY = no; then
7055 result=$wxUSE_FILE_HISTORY
7058 { echo "$as_me:$LINENO: result
: $result" >&5
7059 echo "${ECHO_T}$result" >&6; }
7063 defaultval=$wxUSE_ALL_FEATURES
7064 if test -z "$defaultval"; then
7065 if test x"$enablestring" = xdisable; then
7072 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filesystem" >&5
7073 echo $ECHO_N "checking
for --${enablestring:-enable}-filesystem...
$ECHO_C" >&6; }
7074 # Check whether --enable-filesystem was given.
7075 if test "${enable_filesystem+set}" = set; then
7076 enableval=$enable_filesystem;
7077 if test "$enableval" = yes; then
7078 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7080 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7085 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7090 eval "$wx_cv_use_filesystem"
7092 if test x
"$enablestring" = xdisable
; then
7093 if test $wxUSE_FILESYSTEM = no
; then
7099 result
=$wxUSE_FILESYSTEM
7102 { echo "$as_me:$LINENO: result: $result" >&5
7103 echo "${ECHO_T}$result" >&6; }
7107 defaultval
=$wxUSE_ALL_FEATURES
7108 if test -z "$defaultval"; then
7109 if test x
"$enablestring" = xdisable
; then
7116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7117 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7118 # Check whether --enable-fontenum was given.
7119 if test "${enable_fontenum+set}" = set; then
7120 enableval
=$enable_fontenum;
7121 if test "$enableval" = yes; then
7122 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
7124 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
7129 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7134 eval "$wx_cv_use_fontenum"
7136 if test x"$enablestring" = xdisable; then
7137 if test $wxUSE_FONTENUM = no; then
7143 result=$wxUSE_FONTENUM
7146 { echo "$as_me:$LINENO: result: $result" >&5
7147 echo "${ECHO_T}$result" >&6; }
7151 defaultval=$wxUSE_ALL_FEATURES
7152 if test -z "$defaultval"; then
7153 if test x"$enablestring" = xdisable; then
7160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7162 # Check whether --enable-fontmap was given.
7163 if test "${enable_fontmap+set}" = set; then
7164 enableval=$enable_fontmap;
7165 if test "$enableval" = yes; then
7166 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
7168 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
7173 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7178 eval "$wx_cv_use_fontmap"
7180 if test x"$enablestring" = xdisable; then
7181 if test $wxUSE_FONTMAP = no; then
7187 result=$wxUSE_FONTMAP
7190 { echo "$as_me:$LINENO: result
: $result" >&5
7191 echo "${ECHO_T}$result" >&6; }
7195 defaultval=$wxUSE_ALL_FEATURES
7196 if test -z "$defaultval"; then
7197 if test x"$enablestring" = xdisable; then
7204 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_archive" >&5
7205 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_archive...
$ECHO_C" >&6; }
7206 # Check whether --enable-fs_archive was given.
7207 if test "${enable_fs_archive+set}" = set; then
7208 enableval=$enable_fs_archive;
7209 if test "$enableval" = yes; then
7210 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7212 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7217 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7222 eval "$wx_cv_use_fs_archive"
7224 if test x
"$enablestring" = xdisable
; then
7225 if test $wxUSE_FS_ARCHIVE = no
; then
7231 result
=$wxUSE_FS_ARCHIVE
7234 { echo "$as_me:$LINENO: result: $result" >&5
7235 echo "${ECHO_T}$result" >&6; }
7239 defaultval
=$wxUSE_ALL_FEATURES
7240 if test -z "$defaultval"; then
7241 if test x
"$enablestring" = xdisable
; then
7248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7249 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7250 # Check whether --enable-fs_inet was given.
7251 if test "${enable_fs_inet+set}" = set; then
7252 enableval
=$enable_fs_inet;
7253 if test "$enableval" = yes; then
7254 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
7256 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
7261 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7266 eval "$wx_cv_use_fs_inet"
7268 if test x"$enablestring" = xdisable; then
7269 if test $wxUSE_FS_INET = no; then
7275 result=$wxUSE_FS_INET
7278 { echo "$as_me:$LINENO: result: $result" >&5
7279 echo "${ECHO_T}$result" >&6; }
7283 defaultval=$wxUSE_ALL_FEATURES
7284 if test -z "$defaultval"; then
7285 if test x"$enablestring" = xdisable; then
7292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7293 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7294 # Check whether --enable-fs_zip was given.
7295 if test "${enable_fs_zip+set}" = set; then
7296 enableval=$enable_fs_zip;
7297 if test "$enableval" = yes; then
7298 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
7300 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
7305 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7310 eval "$wx_cv_use_fs_zip"
7312 if test x"$enablestring" = xdisable; then
7313 if test $wxUSE_FS_ZIP = no; then
7319 result=$wxUSE_FS_ZIP
7322 { echo "$as_me:$LINENO: result
: $result" >&5
7323 echo "${ECHO_T}$result" >&6; }
7327 defaultval=$wxUSE_ALL_FEATURES
7328 if test -z "$defaultval"; then
7329 if test x"$enablestring" = xdisable; then
7336 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fswatcher" >&5
7337 echo $ECHO_N "checking
for --${enablestring:-enable}-fswatcher...
$ECHO_C" >&6; }
7338 # Check whether --enable-fswatcher was given.
7339 if test "${enable_fswatcher+set}" = set; then
7340 enableval=$enable_fswatcher;
7341 if test "$enableval" = yes; then
7342 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7344 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7349 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7354 eval "$wx_cv_use_fswatcher"
7356 if test x
"$enablestring" = xdisable
; then
7357 if test $wxUSE_FSWATCHER = no
; then
7363 result
=$wxUSE_FSWATCHER
7366 { echo "$as_me:$LINENO: result: $result" >&5
7367 echo "${ECHO_T}$result" >&6; }
7371 defaultval
=$wxUSE_ALL_FEATURES
7372 if test -z "$defaultval"; then
7373 if test x
"$enablestring" = xdisable
; then
7380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7381 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7382 # Check whether --enable-geometry was given.
7383 if test "${enable_geometry+set}" = set; then
7384 enableval
=$enable_geometry;
7385 if test "$enableval" = yes; then
7386 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7388 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7393 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7398 eval "$wx_cv_use_geometry"
7400 if test x"$enablestring" = xdisable; then
7401 if test $wxUSE_GEOMETRY = no; then
7407 result=$wxUSE_GEOMETRY
7410 { echo "$as_me:$LINENO: result: $result" >&5
7411 echo "${ECHO_T}$result" >&6; }
7415 defaultval=$wxUSE_ALL_FEATURES
7416 if test -z "$defaultval"; then
7417 if test x"$enablestring" = xdisable; then
7424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7425 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7426 # Check whether --enable-log was given.
7427 if test "${enable_log+set}" = set; then
7428 enableval=$enable_log;
7429 if test "$enableval" = yes; then
7430 wx_cv_use_log='wxUSE_LOG
=yes'
7432 wx_cv_use_log='wxUSE_LOG
=no
'
7437 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7442 eval "$wx_cv_use_log"
7444 if test x"$enablestring" = xdisable; then
7445 if test $wxUSE_LOG = no; then
7454 { echo "$as_me:$LINENO: result
: $result" >&5
7455 echo "${ECHO_T}$result" >&6; }
7459 defaultval=$wxUSE_ALL_FEATURES
7460 if test -z "$defaultval"; then
7461 if test x"$enablestring" = xdisable; then
7468 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7469 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7470 # Check whether --enable-longlong was given.
7471 if test "${enable_longlong+set}" = set; then
7472 enableval=$enable_longlong;
7473 if test "$enableval" = yes; then
7474 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7476 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7481 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7486 eval "$wx_cv_use_longlong"
7488 if test x
"$enablestring" = xdisable
; then
7489 if test $wxUSE_LONGLONG = no
; then
7495 result
=$wxUSE_LONGLONG
7498 { echo "$as_me:$LINENO: result: $result" >&5
7499 echo "${ECHO_T}$result" >&6; }
7503 defaultval
=$wxUSE_ALL_FEATURES
7504 if test -z "$defaultval"; then
7505 if test x
"$enablestring" = xdisable
; then
7512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7513 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7514 # Check whether --enable-mimetype was given.
7515 if test "${enable_mimetype+set}" = set; then
7516 enableval
=$enable_mimetype;
7517 if test "$enableval" = yes; then
7518 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7520 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7525 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7530 eval "$wx_cv_use_mimetype"
7532 if test x"$enablestring" = xdisable; then
7533 if test $wxUSE_MIMETYPE = no; then
7539 result=$wxUSE_MIMETYPE
7542 { echo "$as_me:$LINENO: result: $result" >&5
7543 echo "${ECHO_T}$result" >&6; }
7547 defaultval=$wxUSE_ALL_FEATURES
7548 if test -z "$defaultval"; then
7549 if test x"$enablestring" = xdisable; then
7556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7557 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7558 # Check whether --enable-printfposparam was given.
7559 if test "${enable_printfposparam+set}" = set; then
7560 enableval=$enable_printfposparam;
7561 if test "$enableval" = yes; then
7562 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7564 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7569 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7574 eval "$wx_cv_use_printfposparam"
7576 if test x"$enablestring" = xdisable; then
7577 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7583 result=$wxUSE_PRINTF_POS_PARAMS
7586 { echo "$as_me:$LINENO: result
: $result" >&5
7587 echo "${ECHO_T}$result" >&6; }
7591 defaultval=$wxUSE_ALL_FEATURES
7592 if test -z "$defaultval"; then
7593 if test x"$enablestring" = xdisable; then
7600 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7601 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7602 # Check whether --enable-snglinst was given.
7603 if test "${enable_snglinst+set}" = set; then
7604 enableval=$enable_snglinst;
7605 if test "$enableval" = yes; then
7606 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7608 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7613 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7618 eval "$wx_cv_use_snglinst"
7620 if test x
"$enablestring" = xdisable
; then
7621 if test $wxUSE_SNGLINST_CHECKER = no
; then
7627 result
=$wxUSE_SNGLINST_CHECKER
7630 { echo "$as_me:$LINENO: result: $result" >&5
7631 echo "${ECHO_T}$result" >&6; }
7635 defaultval
=$wxUSE_ALL_FEATURES
7636 if test -z "$defaultval"; then
7637 if test x
"$enablestring" = xdisable
; then
7644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7645 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7646 # Check whether --enable-sound was given.
7647 if test "${enable_sound+set}" = set; then
7648 enableval
=$enable_sound;
7649 if test "$enableval" = yes; then
7650 wx_cv_use_sound
='wxUSE_SOUND=yes'
7652 wx_cv_use_sound
='wxUSE_SOUND=no'
7657 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7662 eval "$wx_cv_use_sound"
7664 if test x"$enablestring" = xdisable; then
7665 if test $wxUSE_SOUND = no; then
7674 { echo "$as_me:$LINENO: result: $result" >&5
7675 echo "${ECHO_T}$result" >&6; }
7679 defaultval=$wxUSE_ALL_FEATURES
7680 if test -z "$defaultval"; then
7681 if test x"$enablestring" = xdisable; then
7688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7689 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7690 # Check whether --enable-stdpaths was given.
7691 if test "${enable_stdpaths+set}" = set; then
7692 enableval=$enable_stdpaths;
7693 if test "$enableval" = yes; then
7694 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7696 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7701 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7706 eval "$wx_cv_use_stdpaths"
7708 if test x"$enablestring" = xdisable; then
7709 if test $wxUSE_STDPATHS = no; then
7715 result=$wxUSE_STDPATHS
7718 { echo "$as_me:$LINENO: result
: $result" >&5
7719 echo "${ECHO_T}$result" >&6; }
7723 defaultval=$wxUSE_ALL_FEATURES
7724 if test -z "$defaultval"; then
7725 if test x"$enablestring" = xdisable; then
7732 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7733 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7734 # Check whether --enable-stopwatch was given.
7735 if test "${enable_stopwatch+set}" = set; then
7736 enableval=$enable_stopwatch;
7737 if test "$enableval" = yes; then
7738 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7740 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7745 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7750 eval "$wx_cv_use_stopwatch"
7752 if test x
"$enablestring" = xdisable
; then
7753 if test $wxUSE_STOPWATCH = no
; then
7759 result
=$wxUSE_STOPWATCH
7762 { echo "$as_me:$LINENO: result: $result" >&5
7763 echo "${ECHO_T}$result" >&6; }
7767 defaultval
=$wxUSE_ALL_FEATURES
7768 if test -z "$defaultval"; then
7769 if test x
"$enablestring" = xdisable
; then
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7778 # Check whether --enable-streams was given.
7779 if test "${enable_streams+set}" = set; then
7780 enableval
=$enable_streams;
7781 if test "$enableval" = yes; then
7782 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7784 wx_cv_use_streams
='wxUSE_STREAMS=no'
7789 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7794 eval "$wx_cv_use_streams"
7796 if test x"$enablestring" = xdisable; then
7797 if test $wxUSE_STREAMS = no; then
7803 result=$wxUSE_STREAMS
7806 { echo "$as_me:$LINENO: result: $result" >&5
7807 echo "${ECHO_T}$result" >&6; }
7811 defaultval=$wxUSE_ALL_FEATURES
7812 if test -z "$defaultval"; then
7813 if test x"$enablestring" = xdisable; then
7820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7821 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7822 # Check whether --enable-sysoptions was given.
7823 if test "${enable_sysoptions+set}" = set; then
7824 enableval=$enable_sysoptions;
7825 if test "$enableval" = yes; then
7826 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
7828 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
7833 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7838 eval "$wx_cv_use_sysoptions"
7840 if test x"$enablestring" = xdisable; then
7841 if test $wxUSE_SYSTEM_OPTIONS = no; then
7847 result=$wxUSE_SYSTEM_OPTIONS
7850 { echo "$as_me:$LINENO: result
: $result" >&5
7851 echo "${ECHO_T}$result" >&6; }
7855 defaultval=$wxUSE_ALL_FEATURES
7856 if test -z "$defaultval"; then
7857 if test x"$enablestring" = xdisable; then
7864 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7865 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7866 # Check whether --enable-tarstream was given.
7867 if test "${enable_tarstream+set}" = set; then
7868 enableval=$enable_tarstream;
7869 if test "$enableval" = yes; then
7870 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7872 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7877 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7882 eval "$wx_cv_use_tarstream"
7884 if test x
"$enablestring" = xdisable
; then
7885 if test $wxUSE_TARSTREAM = no
; then
7891 result
=$wxUSE_TARSTREAM
7894 { echo "$as_me:$LINENO: result: $result" >&5
7895 echo "${ECHO_T}$result" >&6; }
7899 defaultval
=$wxUSE_ALL_FEATURES
7900 if test -z "$defaultval"; then
7901 if test x
"$enablestring" = xdisable
; then
7908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7909 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7910 # Check whether --enable-textbuf was given.
7911 if test "${enable_textbuf+set}" = set; then
7912 enableval
=$enable_textbuf;
7913 if test "$enableval" = yes; then
7914 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7916 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7921 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7926 eval "$wx_cv_use_textbuf"
7928 if test x"$enablestring" = xdisable; then
7929 if test $wxUSE_TEXTBUFFER = no; then
7935 result=$wxUSE_TEXTBUFFER
7938 { echo "$as_me:$LINENO: result: $result" >&5
7939 echo "${ECHO_T}$result" >&6; }
7943 defaultval=$wxUSE_ALL_FEATURES
7944 if test -z "$defaultval"; then
7945 if test x"$enablestring" = xdisable; then
7952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7953 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7954 # Check whether --enable-textfile was given.
7955 if test "${enable_textfile+set}" = set; then
7956 enableval=$enable_textfile;
7957 if test "$enableval" = yes; then
7958 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7960 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7965 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7970 eval "$wx_cv_use_textfile"
7972 if test x"$enablestring" = xdisable; then
7973 if test $wxUSE_TEXTFILE = no; then
7979 result=$wxUSE_TEXTFILE
7982 { echo "$as_me:$LINENO: result
: $result" >&5
7983 echo "${ECHO_T}$result" >&6; }
7987 defaultval=$wxUSE_ALL_FEATURES
7988 if test -z "$defaultval"; then
7989 if test x"$enablestring" = xdisable; then
7996 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7997 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7998 # Check whether --enable-timer was given.
7999 if test "${enable_timer+set}" = set; then
8000 enableval=$enable_timer;
8001 if test "$enableval" = yes; then
8002 wx_cv_use_timer='wxUSE_TIMER=yes'
8004 wx_cv_use_timer='wxUSE_TIMER=no'
8009 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8014 eval "$wx_cv_use_timer"
8016 if test x
"$enablestring" = xdisable
; then
8017 if test $wxUSE_TIMER = no
; then
8026 { echo "$as_me:$LINENO: result: $result" >&5
8027 echo "${ECHO_T}$result" >&6; }
8031 defaultval
=$wxUSE_ALL_FEATURES
8032 if test -z "$defaultval"; then
8033 if test x
"$enablestring" = xdisable
; then
8040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8042 # Check whether --enable-variant was given.
8043 if test "${enable_variant+set}" = set; then
8044 enableval
=$enable_variant;
8045 if test "$enableval" = yes; then
8046 wx_cv_use_variant
='wxUSE_VARIANT=yes'
8048 wx_cv_use_variant
='wxUSE_VARIANT=no'
8053 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8058 eval "$wx_cv_use_variant"
8060 if test x"$enablestring" = xdisable; then
8061 if test $wxUSE_VARIANT = no; then
8067 result=$wxUSE_VARIANT
8070 { echo "$as_me:$LINENO: result: $result" >&5
8071 echo "${ECHO_T}$result" >&6; }
8075 defaultval=$wxUSE_ALL_FEATURES
8076 if test -z "$defaultval"; then
8077 if test x"$enablestring" = xdisable; then
8084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8085 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8086 # Check whether --enable-zipstream was given.
8087 if test "${enable_zipstream+set}" = set; then
8088 enableval=$enable_zipstream;
8089 if test "$enableval" = yes; then
8090 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
8092 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
8097 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8102 eval "$wx_cv_use_zipstream"
8104 if test x"$enablestring" = xdisable; then
8105 if test $wxUSE_ZIPSTREAM = no; then
8111 result=$wxUSE_ZIPSTREAM
8114 { echo "$as_me:$LINENO: result
: $result" >&5
8115 echo "${ECHO_T}$result" >&6; }
8120 defaultval=$wxUSE_ALL_FEATURES
8121 if test -z "$defaultval"; then
8122 if test x"$enablestring" = xdisable; then
8129 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
8130 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
8131 # Check whether --enable-url was given.
8132 if test "${enable_url+set}" = set; then
8133 enableval=$enable_url;
8134 if test "$enableval" = yes; then
8135 wx_cv_use_url='wxUSE_URL=yes'
8137 wx_cv_use_url='wxUSE_URL=no'
8142 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8147 eval "$wx_cv_use_url"
8149 if test x
"$enablestring" = xdisable
; then
8150 if test $wxUSE_URL = no
; then
8159 { echo "$as_me:$LINENO: result: $result" >&5
8160 echo "${ECHO_T}$result" >&6; }
8164 defaultval
=$wxUSE_ALL_FEATURES
8165 if test -z "$defaultval"; then
8166 if test x
"$enablestring" = xdisable
; then
8173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8174 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8175 # Check whether --enable-protocol was given.
8176 if test "${enable_protocol+set}" = set; then
8177 enableval
=$enable_protocol;
8178 if test "$enableval" = yes; then
8179 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
8181 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
8186 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8191 eval "$wx_cv_use_protocol"
8193 if test x"$enablestring" = xdisable; then
8194 if test $wxUSE_PROTOCOL = no; then
8200 result=$wxUSE_PROTOCOL
8203 { echo "$as_me:$LINENO: result: $result" >&5
8204 echo "${ECHO_T}$result" >&6; }
8208 defaultval=$wxUSE_ALL_FEATURES
8209 if test -z "$defaultval"; then
8210 if test x"$enablestring" = xdisable; then
8217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8218 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8219 # Check whether --enable-protocol_http was given.
8220 if test "${enable_protocol_http+set}" = set; then
8221 enableval=$enable_protocol_http;
8222 if test "$enableval" = yes; then
8223 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8225 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8230 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8235 eval "$wx_cv_use_protocol_http"
8237 if test x"$enablestring" = xdisable; then
8238 if test $wxUSE_PROTOCOL_HTTP = no; then
8244 result=$wxUSE_PROTOCOL_HTTP
8247 { echo "$as_me:$LINENO: result
: $result" >&5
8248 echo "${ECHO_T}$result" >&6; }
8252 defaultval=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x"$enablestring" = xdisable; then
8261 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8262 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8263 # Check whether --enable-protocol_ftp was given.
8264 if test "${enable_protocol_ftp+set}" = set; then
8265 enableval=$enable_protocol_ftp;
8266 if test "$enableval" = yes; then
8267 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8269 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8274 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8279 eval "$wx_cv_use_protocol_ftp"
8281 if test x
"$enablestring" = xdisable
; then
8282 if test $wxUSE_PROTOCOL_FTP = no
; then
8288 result
=$wxUSE_PROTOCOL_FTP
8291 { echo "$as_me:$LINENO: result: $result" >&5
8292 echo "${ECHO_T}$result" >&6; }
8296 defaultval
=$wxUSE_ALL_FEATURES
8297 if test -z "$defaultval"; then
8298 if test x
"$enablestring" = xdisable
; then
8305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8306 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8307 # Check whether --enable-protocol_file was given.
8308 if test "${enable_protocol_file+set}" = set; then
8309 enableval
=$enable_protocol_file;
8310 if test "$enableval" = yes; then
8311 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8313 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8318 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8323 eval "$wx_cv_use_protocol_file"
8325 if test x"$enablestring" = xdisable; then
8326 if test $wxUSE_PROTOCOL_FILE = no; then
8332 result=$wxUSE_PROTOCOL_FILE
8335 { echo "$as_me:$LINENO: result: $result" >&5
8336 echo "${ECHO_T}$result" >&6; }
8341 defaultval=$wxUSE_ALL_FEATURES
8342 if test -z "$defaultval"; then
8343 if test x"$enablestring" = xdisable; then
8350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8351 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8352 # Check whether --enable-threads was given.
8353 if test "${enable_threads+set}" = set; then
8354 enableval=$enable_threads;
8355 if test "$enableval" = yes; then
8356 wx_cv_use_threads='wxUSE_THREADS
=yes'
8358 wx_cv_use_threads='wxUSE_THREADS
=no
'
8363 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8368 eval "$wx_cv_use_threads"
8370 if test x"$enablestring" = xdisable; then
8371 if test $wxUSE_THREADS = no; then
8377 result=$wxUSE_THREADS
8380 { echo "$as_me:$LINENO: result
: $result" >&5
8381 echo "${ECHO_T}$result" >&6; }
8387 if test -z "$defaultval"; then
8388 if test x"$enablestring" = xdisable; then
8395 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8396 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8397 # Check whether --enable-iniconf was given.
8398 if test "${enable_iniconf+set}" = set; then
8399 enableval=$enable_iniconf;
8400 if test "$enableval" = yes; then
8401 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8403 wx_cv_use_iniconf='wxUSE_INICONF=no'
8408 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8413 eval "$wx_cv_use_iniconf"
8415 if test x
"$enablestring" = xdisable
; then
8416 if test $wxUSE_INICONF = no
; then
8422 result
=$wxUSE_INICONF
8425 { echo "$as_me:$LINENO: result: $result" >&5
8426 echo "${ECHO_T}$result" >&6; }
8430 defaultval
=$wxUSE_ALL_FEATURES
8431 if test -z "$defaultval"; then
8432 if test x
"$enablestring" = xdisable
; then
8439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8441 # Check whether --enable-regkey was given.
8442 if test "${enable_regkey+set}" = set; then
8443 enableval
=$enable_regkey;
8444 if test "$enableval" = yes; then
8445 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8447 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8452 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8457 eval "$wx_cv_use_regkey"
8459 if test x"$enablestring" = xdisable; then
8460 if test $wxUSE_REGKEY = no; then
8466 result=$wxUSE_REGKEY
8469 { echo "$as_me:$LINENO: result: $result" >&5
8470 echo "${ECHO_T}$result" >&6; }
8473 if test "$wxUSE_GUI" = "yes"; then
8478 defaultval=$wxUSE_ALL_FEATURES
8479 if test -z "$defaultval"; then
8480 if test x"$enablestring" = xdisable; then
8487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8489 # Check whether --enable-docview was given.
8490 if test "${enable_docview+set}" = set; then
8491 enableval=$enable_docview;
8492 if test "$enableval" = yes; then
8493 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8495 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8500 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8505 eval "$wx_cv_use_docview"
8507 if test x"$enablestring" = xdisable; then
8508 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8514 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8517 { echo "$as_me:$LINENO: result
: $result" >&5
8518 echo "${ECHO_T}$result" >&6; }
8522 defaultval=$wxUSE_ALL_FEATURES
8523 if test -z "$defaultval"; then
8524 if test x"$enablestring" = xdisable; then
8531 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8532 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8533 # Check whether --enable-help was given.
8534 if test "${enable_help+set}" = set; then
8535 enableval=$enable_help;
8536 if test "$enableval" = yes; then
8537 wx_cv_use_help='wxUSE_HELP=yes'
8539 wx_cv_use_help='wxUSE_HELP=no'
8544 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8549 eval "$wx_cv_use_help"
8551 if test x
"$enablestring" = xdisable
; then
8552 if test $wxUSE_HELP = no
; then
8561 { echo "$as_me:$LINENO: result: $result" >&5
8562 echo "${ECHO_T}$result" >&6; }
8566 defaultval
=$wxUSE_ALL_FEATURES
8567 if test -z "$defaultval"; then
8568 if test x
"$enablestring" = xdisable
; then
8575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8577 # Check whether --enable-mshtmlhelp was given.
8578 if test "${enable_mshtmlhelp+set}" = set; then
8579 enableval
=$enable_mshtmlhelp;
8580 if test "$enableval" = yes; then
8581 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8583 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8588 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8593 eval "$wx_cv_use_mshtmlhelp"
8595 if test x"$enablestring" = xdisable; then
8596 if test $wxUSE_MS_HTML_HELP = no; then
8602 result=$wxUSE_MS_HTML_HELP
8605 { echo "$as_me:$LINENO: result: $result" >&5
8606 echo "${ECHO_T}$result" >&6; }
8610 defaultval=$wxUSE_ALL_FEATURES
8611 if test -z "$defaultval"; then
8612 if test x"$enablestring" = xdisable; then
8619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8620 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8621 # Check whether --enable-html was given.
8622 if test "${enable_html+set}" = set; then
8623 enableval=$enable_html;
8624 if test "$enableval" = yes; then
8625 wx_cv_use_html='wxUSE_HTML
=yes'
8627 wx_cv_use_html='wxUSE_HTML
=no
'
8632 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8637 eval "$wx_cv_use_html"
8639 if test x"$enablestring" = xdisable; then
8640 if test $wxUSE_HTML = no; then
8649 { echo "$as_me:$LINENO: result
: $result" >&5
8650 echo "${ECHO_T}$result" >&6; }
8654 defaultval=$wxUSE_ALL_FEATURES
8655 if test -z "$defaultval"; then
8656 if test x"$enablestring" = xdisable; then
8663 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8664 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8665 # Check whether --enable-htmlhelp was given.
8666 if test "${enable_htmlhelp+set}" = set; then
8667 enableval=$enable_htmlhelp;
8668 if test "$enableval" = yes; then
8669 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8671 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8676 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8681 eval "$wx_cv_use_htmlhelp"
8683 if test x
"$enablestring" = xdisable
; then
8684 if test $wxUSE_WXHTML_HELP = no
; then
8690 result
=$wxUSE_WXHTML_HELP
8693 { echo "$as_me:$LINENO: result: $result" >&5
8694 echo "${ECHO_T}$result" >&6; }
8698 defaultval
=$wxUSE_ALL_FEATURES
8699 if test -z "$defaultval"; then
8700 if test x
"$enablestring" = xdisable
; then
8707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8708 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8709 # Check whether --enable-xrc was given.
8710 if test "${enable_xrc+set}" = set; then
8711 enableval
=$enable_xrc;
8712 if test "$enableval" = yes; then
8713 wx_cv_use_xrc
='wxUSE_XRC=yes'
8715 wx_cv_use_xrc
='wxUSE_XRC=no'
8720 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8725 eval "$wx_cv_use_xrc"
8727 if test x"$enablestring" = xdisable; then
8728 if test $wxUSE_XRC = no; then
8737 { echo "$as_me:$LINENO: result: $result" >&5
8738 echo "${ECHO_T}$result" >&6; }
8742 defaultval=$wxUSE_ALL_FEATURES
8743 if test -z "$defaultval"; then
8744 if test x"$enablestring" = xdisable; then
8751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8752 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8753 # Check whether --enable-aui was given.
8754 if test "${enable_aui+set}" = set; then
8755 enableval=$enable_aui;
8756 if test "$enableval" = yes; then
8757 wx_cv_use_aui='wxUSE_AUI
=yes'
8759 wx_cv_use_aui='wxUSE_AUI
=no
'
8764 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8769 eval "$wx_cv_use_aui"
8771 if test x"$enablestring" = xdisable; then
8772 if test $wxUSE_AUI = no; then
8781 { echo "$as_me:$LINENO: result
: $result" >&5
8782 echo "${ECHO_T}$result" >&6; }
8786 defaultval=$wxUSE_ALL_FEATURES
8787 if test -z "$defaultval"; then
8788 if test x"$enablestring" = xdisable; then
8795 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8796 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8797 # Check whether --enable-propgrid was given.
8798 if test "${enable_propgrid+set}" = set; then
8799 enableval=$enable_propgrid;
8800 if test "$enableval" = yes; then
8801 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8803 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8808 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8813 eval "$wx_cv_use_propgrid"
8815 if test x
"$enablestring" = xdisable
; then
8816 if test $wxUSE_PROPGRID = no
; then
8822 result
=$wxUSE_PROPGRID
8825 { echo "$as_me:$LINENO: result: $result" >&5
8826 echo "${ECHO_T}$result" >&6; }
8830 defaultval
=$wxUSE_ALL_FEATURES
8831 if test -z "$defaultval"; then
8832 if test x
"$enablestring" = xdisable
; then
8839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8840 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8841 # Check whether --enable-ribbon was given.
8842 if test "${enable_ribbon+set}" = set; then
8843 enableval
=$enable_ribbon;
8844 if test "$enableval" = yes; then
8845 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
8847 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
8852 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8857 eval "$wx_cv_use_ribbon"
8859 if test x"$enablestring" = xdisable; then
8860 if test $wxUSE_RIBBON = no; then
8866 result=$wxUSE_RIBBON
8869 { echo "$as_me:$LINENO: result: $result" >&5
8870 echo "${ECHO_T}$result" >&6; }
8874 defaultval=$wxUSE_ALL_FEATURES
8875 if test -z "$defaultval"; then
8876 if test x"$enablestring" = xdisable; then
8883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8884 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8885 # Check whether --enable-stc was given.
8886 if test "${enable_stc+set}" = set; then
8887 enableval=$enable_stc;
8888 if test "$enableval" = yes; then
8889 wx_cv_use_stc='wxUSE_STC
=yes'
8891 wx_cv_use_stc='wxUSE_STC
=no
'
8896 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8901 eval "$wx_cv_use_stc"
8903 if test x"$enablestring" = xdisable; then
8904 if test $wxUSE_STC = no; then
8913 { echo "$as_me:$LINENO: result
: $result" >&5
8914 echo "${ECHO_T}$result" >&6; }
8918 defaultval=$wxUSE_ALL_FEATURES
8919 if test -z "$defaultval"; then
8920 if test x"$enablestring" = xdisable; then
8927 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8928 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
8929 # Check whether --enable-constraints was given.
8930 if test "${enable_constraints+set}" = set; then
8931 enableval=$enable_constraints;
8932 if test "$enableval" = yes; then
8933 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8935 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8940 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8945 eval "$wx_cv_use_constraints"
8947 if test x
"$enablestring" = xdisable
; then
8948 if test $wxUSE_CONSTRAINTS = no
; then
8954 result
=$wxUSE_CONSTRAINTS
8957 { echo "$as_me:$LINENO: result: $result" >&5
8958 echo "${ECHO_T}$result" >&6; }
8962 defaultval
=$wxUSE_ALL_FEATURES
8963 if test -z "$defaultval"; then
8964 if test x
"$enablestring" = xdisable
; then
8971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8972 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8973 # Check whether --enable-loggui was given.
8974 if test "${enable_loggui+set}" = set; then
8975 enableval
=$enable_loggui;
8976 if test "$enableval" = yes; then
8977 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
8979 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
8984 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8989 eval "$wx_cv_use_loggui"
8991 if test x"$enablestring" = xdisable; then
8992 if test $wxUSE_LOGGUI = no; then
8998 result=$wxUSE_LOGGUI
9001 { echo "$as_me:$LINENO: result: $result" >&5
9002 echo "${ECHO_T}$result" >&6; }
9006 defaultval=$wxUSE_ALL_FEATURES
9007 if test -z "$defaultval"; then
9008 if test x"$enablestring" = xdisable; then
9015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9016 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9017 # Check whether --enable-logwin was given.
9018 if test "${enable_logwin+set}" = set; then
9019 enableval=$enable_logwin;
9020 if test "$enableval" = yes; then
9021 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
9023 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
9028 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9033 eval "$wx_cv_use_logwin"
9035 if test x"$enablestring" = xdisable; then
9036 if test $wxUSE_LOGWINDOW = no; then
9042 result=$wxUSE_LOGWINDOW
9045 { echo "$as_me:$LINENO: result
: $result" >&5
9046 echo "${ECHO_T}$result" >&6; }
9050 defaultval=$wxUSE_ALL_FEATURES
9051 if test -z "$defaultval"; then
9052 if test x"$enablestring" = xdisable; then
9059 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
9060 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
9061 # Check whether --enable-logdialog was given.
9062 if test "${enable_logdialog+set}" = set; then
9063 enableval=$enable_logdialog;
9064 if test "$enableval" = yes; then
9065 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9067 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9072 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9077 eval "$wx_cv_use_logdialog"
9079 if test x
"$enablestring" = xdisable
; then
9080 if test $wxUSE_LOGDIALOG = no
; then
9086 result
=$wxUSE_LOGDIALOG
9089 { echo "$as_me:$LINENO: result: $result" >&5
9090 echo "${ECHO_T}$result" >&6; }
9094 defaultval
=$wxUSE_ALL_FEATURES
9095 if test -z "$defaultval"; then
9096 if test x
"$enablestring" = xdisable
; then
9103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9105 # Check whether --enable-mdi was given.
9106 if test "${enable_mdi+set}" = set; then
9107 enableval
=$enable_mdi;
9108 if test "$enableval" = yes; then
9109 wx_cv_use_mdi
='wxUSE_MDI=yes'
9111 wx_cv_use_mdi
='wxUSE_MDI=no'
9116 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9121 eval "$wx_cv_use_mdi"
9123 if test x"$enablestring" = xdisable; then
9124 if test $wxUSE_MDI = no; then
9133 { echo "$as_me:$LINENO: result: $result" >&5
9134 echo "${ECHO_T}$result" >&6; }
9138 defaultval=$wxUSE_ALL_FEATURES
9139 if test -z "$defaultval"; then
9140 if test x"$enablestring" = xdisable; then
9147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9149 # Check whether --enable-mdidoc was given.
9150 if test "${enable_mdidoc+set}" = set; then
9151 enableval=$enable_mdidoc;
9152 if test "$enableval" = yes; then
9153 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
9155 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
9160 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9165 eval "$wx_cv_use_mdidoc"
9167 if test x"$enablestring" = xdisable; then
9168 if test $wxUSE_MDI_ARCHITECTURE = no; then
9174 result=$wxUSE_MDI_ARCHITECTURE
9177 { echo "$as_me:$LINENO: result
: $result" >&5
9178 echo "${ECHO_T}$result" >&6; }
9182 defaultval=$wxUSE_ALL_FEATURES
9183 if test -z "$defaultval"; then
9184 if test x"$enablestring" = xdisable; then
9191 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
9192 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
9193 # Check whether --enable-mediactrl was given.
9194 if test "${enable_mediactrl+set}" = set; then
9195 enableval=$enable_mediactrl;
9196 if test "$enableval" = yes; then
9197 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9199 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9204 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9209 eval "$wx_cv_use_mediactrl"
9211 if test x
"$enablestring" = xdisable
; then
9212 if test $wxUSE_MEDIACTRL = no
; then
9218 result
=$wxUSE_MEDIACTRL
9221 { echo "$as_me:$LINENO: result: $result" >&5
9222 echo "${ECHO_T}$result" >&6; }
9226 defaultval
=$wxUSE_ALL_FEATURES
9227 if test -z "$defaultval"; then
9228 if test x
"$enablestring" = xdisable
; then
9235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9236 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9237 # Check whether --enable-gstreamer8 was given.
9238 if test "${enable_gstreamer8+set}" = set; then
9239 enableval
=$enable_gstreamer8;
9240 if test "$enableval" = yes; then
9241 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
9243 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
9248 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9253 eval "$wx_cv_use_gstreamer8"
9255 if test x"$enablestring" = xdisable; then
9256 if test $wxUSE_GSTREAMER8 = no; then
9262 result=$wxUSE_GSTREAMER8
9265 { echo "$as_me:$LINENO: result: $result" >&5
9266 echo "${ECHO_T}$result" >&6; }
9270 defaultval=$wxUSE_ALL_FEATURES
9271 if test -z "$defaultval"; then
9272 if test x"$enablestring" = xdisable; then
9279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9280 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9281 # Check whether --enable-webkit was given.
9282 if test "${enable_webkit+set}" = set; then
9283 enableval=$enable_webkit;
9284 if test "$enableval" = yes; then
9285 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9287 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9292 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9297 eval "$wx_cv_use_webkit"
9299 if test x"$enablestring" = xdisable; then
9300 if test $wxUSE_WEBKIT = no; then
9306 result=$wxUSE_WEBKIT
9309 { echo "$as_me:$LINENO: result
: $result" >&5
9310 echo "${ECHO_T}$result" >&6; }
9314 defaultval=$wxUSE_ALL_FEATURES
9315 if test -z "$defaultval"; then
9316 if test x"$enablestring" = xdisable; then
9323 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
9324 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
9325 # Check whether --enable-richtext was given.
9326 if test "${enable_richtext+set}" = set; then
9327 enableval=$enable_richtext;
9328 if test "$enableval" = yes; then
9329 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9331 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9336 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9341 eval "$wx_cv_use_richtext"
9343 if test x
"$enablestring" = xdisable
; then
9344 if test $wxUSE_RICHTEXT = no
; then
9350 result
=$wxUSE_RICHTEXT
9353 { echo "$as_me:$LINENO: result: $result" >&5
9354 echo "${ECHO_T}$result" >&6; }
9358 defaultval
=$wxUSE_ALL_FEATURES
9359 if test -z "$defaultval"; then
9360 if test x
"$enablestring" = xdisable
; then
9367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9369 # Check whether --enable-postscript was given.
9370 if test "${enable_postscript+set}" = set; then
9371 enableval
=$enable_postscript;
9372 if test "$enableval" = yes; then
9373 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9375 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9380 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9385 eval "$wx_cv_use_postscript"
9387 if test x"$enablestring" = xdisable; then
9388 if test $wxUSE_POSTSCRIPT = no; then
9394 result=$wxUSE_POSTSCRIPT
9397 { echo "$as_me:$LINENO: result: $result" >&5
9398 echo "${ECHO_T}$result" >&6; }
9402 defaultval=$wxUSE_ALL_FEATURES
9403 if test -z "$defaultval"; then
9404 if test x"$enablestring" = xdisable; then
9411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9412 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9413 # Check whether --enable-printarch was given.
9414 if test "${enable_printarch+set}" = set; then
9415 enableval=$enable_printarch;
9416 if test "$enableval" = yes; then
9417 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9419 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9424 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9429 eval "$wx_cv_use_printarch"
9431 if test x"$enablestring" = xdisable; then
9432 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9438 result=$wxUSE_PRINTING_ARCHITECTURE
9441 { echo "$as_me:$LINENO: result
: $result" >&5
9442 echo "${ECHO_T}$result" >&6; }
9446 defaultval=$wxUSE_ALL_FEATURES
9447 if test -z "$defaultval"; then
9448 if test x"$enablestring" = xdisable; then
9455 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9456 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9457 # Check whether --enable-svg was given.
9458 if test "${enable_svg+set}" = set; then
9459 enableval=$enable_svg;
9460 if test "$enableval" = yes; then
9461 wx_cv_use_svg='wxUSE_SVG=yes'
9463 wx_cv_use_svg='wxUSE_SVG=no'
9468 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9473 eval "$wx_cv_use_svg"
9475 if test x
"$enablestring" = xdisable
; then
9476 if test $wxUSE_SVG = no
; then
9485 { echo "$as_me:$LINENO: result: $result" >&5
9486 echo "${ECHO_T}$result" >&6; }
9489 if test "$wxUSE_MAC" != 1; then
9492 defaultval
=$wxUSE_ALL_FEATURES
9493 if test -z "$defaultval"; then
9494 if test x
"$enablestring" = xdisable
; then
9501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9502 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9503 # Check whether --enable-graphics_ctx was given.
9504 if test "${enable_graphics_ctx+set}" = set; then
9505 enableval
=$enable_graphics_ctx;
9506 if test "$enableval" = yes; then
9507 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9509 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9514 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9519 eval "$wx_cv_use_graphics_ctx"
9521 if test x"$enablestring" = xdisable; then
9522 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9528 result=$wxUSE_GRAPHICS_CONTEXT
9531 { echo "$as_me:$LINENO: result: $result" >&5
9532 echo "${ECHO_T}$result" >&6; }
9539 defaultval=$wxUSE_ALL_FEATURES
9540 if test -z "$defaultval"; then
9541 if test x"$enablestring" = xdisable; then
9548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9549 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9550 # Check whether --enable-clipboard was given.
9551 if test "${enable_clipboard+set}" = set; then
9552 enableval=$enable_clipboard;
9553 if test "$enableval" = yes; then
9554 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9556 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9561 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9566 eval "$wx_cv_use_clipboard"
9568 if test x"$enablestring" = xdisable; then
9569 if test $wxUSE_CLIPBOARD = no; then
9575 result=$wxUSE_CLIPBOARD
9578 { echo "$as_me:$LINENO: result
: $result" >&5
9579 echo "${ECHO_T}$result" >&6; }
9583 defaultval=$wxUSE_ALL_FEATURES
9584 if test -z "$defaultval"; then
9585 if test x"$enablestring" = xdisable; then
9592 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9593 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9594 # Check whether --enable-dnd was given.
9595 if test "${enable_dnd+set}" = set; then
9596 enableval=$enable_dnd;
9597 if test "$enableval" = yes; then
9598 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9600 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9605 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9610 eval "$wx_cv_use_dnd"
9612 if test x
"$enablestring" = xdisable
; then
9613 if test $wxUSE_DRAG_AND_DROP = no
; then
9619 result
=$wxUSE_DRAG_AND_DROP
9622 { echo "$as_me:$LINENO: result: $result" >&5
9623 echo "${ECHO_T}$result" >&6; }
9627 defaultval
=$wxUSE_ALL_FEATURES
9628 if test -z "$defaultval"; then
9629 if test x
"$enablestring" = xdisable
; then
9636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9637 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9638 # Check whether --enable-metafile was given.
9639 if test "${enable_metafile+set}" = set; then
9640 enableval
=$enable_metafile;
9641 if test "$enableval" = yes; then
9642 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9644 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9649 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9654 eval "$wx_cv_use_metafile"
9656 if test x"$enablestring" = xdisable; then
9657 if test $wxUSE_METAFILE = no; then
9663 result=$wxUSE_METAFILE
9666 { echo "$as_me:$LINENO: result: $result" >&5
9667 echo "${ECHO_T}$result" >&6; }
9671 DEFAULT_wxUSE_CONTROLS=none
9673 enablestring=disable
9675 if test -z "$defaultval"; then
9676 if test x"$enablestring" = xdisable; then
9683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9685 # Check whether --enable-controls was given.
9686 if test "${enable_controls+set}" = set; then
9687 enableval=$enable_controls;
9688 if test "$enableval" = yes; then
9689 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9691 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9696 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9701 eval "$wx_cv_use_controls"
9703 if test x"$enablestring" = xdisable; then
9704 if test $wxUSE_CONTROLS = no; then
9710 result=$wxUSE_CONTROLS
9713 { echo "$as_me:$LINENO: result
: $result" >&5
9714 echo "${ECHO_T}$result" >&6; }
9717 if test "$wxUSE_CONTROLS" = "no
"; then
9718 DEFAULT_wxUSE_ACCEL=no
9719 DEFAULT_wxUSE_ANIMATIONCTRL=no
9720 DEFAULT_wxUSE_BMPBUTTON=no
9721 DEFAULT_wxUSE_BUTTON=no
9722 DEFAULT_wxUSE_CALCTRL=no
9723 DEFAULT_wxUSE_CARET=no
9724 DEFAULT_wxUSE_CHECKBOX=no
9725 DEFAULT_wxUSE_CHECKLISTBOX=no
9726 DEFAULT_wxUSE_CHOICE=no
9727 DEFAULT_wxUSE_CHOICEBOOK=no
9728 DEFAULT_wxUSE_COLLPANE=no
9729 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9730 DEFAULT_wxUSE_COMBOBOX=no
9731 DEFAULT_wxUSE_COMBOBOX=no
9732 DEFAULT_wxUSE_DATAVIEWCTRL=no
9733 DEFAULT_wxUSE_DATEPICKCTRL=no
9734 DEFAULT_wxUSE_DETECT_SM=no
9735 DEFAULT_wxUSE_DIRPICKERCTRL=no
9736 DEFAULT_wxUSE_DISPLAY=no
9737 DEFAULT_wxUSE_FILECTRL=no
9738 DEFAULT_wxUSE_FILEPICKERCTRL=no
9739 DEFAULT_wxUSE_FONTPICKERCTRL=no
9740 DEFAULT_wxUSE_GAUGE=no
9741 DEFAULT_wxUSE_GRID=no
9742 DEFAULT_wxUSE_HEADERCTRL=no
9743 DEFAULT_wxUSE_HYPERLINKCTRL=no
9744 DEFAULT_wxUSE_IMAGLIST=no
9745 DEFAULT_wxUSE_LISTBOOK=no
9746 DEFAULT_wxUSE_LISTBOX=no
9747 DEFAULT_wxUSE_LISTCTRL=no
9748 DEFAULT_wxUSE_NOTEBOOK=no
9749 DEFAULT_wxUSE_POPUPWIN=no
9750 DEFAULT_wxUSE_RADIOBOX=no
9751 DEFAULT_wxUSE_RADIOBTN=no
9752 DEFAULT_wxUSE_REARRANGECTRL=no
9753 DEFAULT_wxUSE_SASH=no
9754 DEFAULT_wxUSE_SCROLLBAR=no
9755 DEFAULT_wxUSE_SEARCHCTRL=no
9756 DEFAULT_wxUSE_SLIDER=no
9757 DEFAULT_wxUSE_SPINBTN=no
9758 DEFAULT_wxUSE_SPINCTRL=no
9759 DEFAULT_wxUSE_SPLITTER=no
9760 DEFAULT_wxUSE_STATBMP=no
9761 DEFAULT_wxUSE_STATBOX=no
9762 DEFAULT_wxUSE_STATLINE=no
9763 DEFAULT_wxUSE_STATUSBAR=no
9764 DEFAULT_wxUSE_TIPWINDOW=no
9765 DEFAULT_wxUSE_TOGGLEBTN=no
9766 DEFAULT_wxUSE_TOOLBAR=no
9767 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9768 DEFAULT_wxUSE_TOOLBOOK=no
9769 DEFAULT_wxUSE_TOOLTIPS=no
9770 DEFAULT_wxUSE_TREEBOOK=no
9771 DEFAULT_wxUSE_TREECTRL=no
9776 defaultval=$wxUSE_ALL_FEATURES
9777 if test -z "$defaultval"; then
9778 if test x"$enablestring" = xdisable; then
9785 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9786 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9787 # Check whether --enable-accel was given.
9788 if test "${enable_accel+set}" = set; then
9789 enableval=$enable_accel;
9790 if test "$enableval" = yes; then
9791 wx_cv_use_accel='wxUSE_ACCEL=yes'
9793 wx_cv_use_accel='wxUSE_ACCEL=no'
9798 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9803 eval "$wx_cv_use_accel"
9805 if test x
"$enablestring" = xdisable
; then
9806 if test $wxUSE_ACCEL = no
; then
9815 { echo "$as_me:$LINENO: result: $result" >&5
9816 echo "${ECHO_T}$result" >&6; }
9820 defaultval
=$wxUSE_ALL_FEATURES
9821 if test -z "$defaultval"; then
9822 if test x
"$enablestring" = xdisable
; then
9829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9830 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9831 # Check whether --enable-animatectrl was given.
9832 if test "${enable_animatectrl+set}" = set; then
9833 enableval
=$enable_animatectrl;
9834 if test "$enableval" = yes; then
9835 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9837 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9842 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9847 eval "$wx_cv_use_animatectrl"
9849 if test x"$enablestring" = xdisable; then
9850 if test $wxUSE_ANIMATIONCTRL = no; then
9856 result=$wxUSE_ANIMATIONCTRL
9859 { echo "$as_me:$LINENO: result: $result" >&5
9860 echo "${ECHO_T}$result" >&6; }
9864 defaultval=$wxUSE_ALL_FEATURES
9865 if test -z "$defaultval"; then
9866 if test x"$enablestring" = xdisable; then
9873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9874 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9875 # Check whether --enable-bmpbutton was given.
9876 if test "${enable_bmpbutton+set}" = set; then
9877 enableval=$enable_bmpbutton;
9878 if test "$enableval" = yes; then
9879 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9881 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9886 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9891 eval "$wx_cv_use_bmpbutton"
9893 if test x"$enablestring" = xdisable; then
9894 if test $wxUSE_BMPBUTTON = no; then
9900 result=$wxUSE_BMPBUTTON
9903 { echo "$as_me:$LINENO: result
: $result" >&5
9904 echo "${ECHO_T}$result" >&6; }
9908 defaultval=$wxUSE_ALL_FEATURES
9909 if test -z "$defaultval"; then
9910 if test x"$enablestring" = xdisable; then
9917 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9918 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9919 # Check whether --enable-bmpcombobox was given.
9920 if test "${enable_bmpcombobox+set}" = set; then
9921 enableval=$enable_bmpcombobox;
9922 if test "$enableval" = yes; then
9923 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9925 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9930 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9935 eval "$wx_cv_use_bmpcombobox"
9937 if test x
"$enablestring" = xdisable
; then
9938 if test $wxUSE_BITMAPCOMBOBOX = no
; then
9944 result
=$wxUSE_BITMAPCOMBOBOX
9947 { echo "$as_me:$LINENO: result: $result" >&5
9948 echo "${ECHO_T}$result" >&6; }
9952 defaultval
=$wxUSE_ALL_FEATURES
9953 if test -z "$defaultval"; then
9954 if test x
"$enablestring" = xdisable
; then
9961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9962 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9963 # Check whether --enable-button was given.
9964 if test "${enable_button+set}" = set; then
9965 enableval
=$enable_button;
9966 if test "$enableval" = yes; then
9967 wx_cv_use_button
='wxUSE_BUTTON=yes'
9969 wx_cv_use_button
='wxUSE_BUTTON=no'
9974 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9979 eval "$wx_cv_use_button"
9981 if test x"$enablestring" = xdisable; then
9982 if test $wxUSE_BUTTON = no; then
9988 result=$wxUSE_BUTTON
9991 { echo "$as_me:$LINENO: result: $result" >&5
9992 echo "${ECHO_T}$result" >&6; }
9996 defaultval=$wxUSE_ALL_FEATURES
9997 if test -z "$defaultval"; then
9998 if test x"$enablestring" = xdisable; then
10005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10006 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10007 # Check whether --enable-calendar was given.
10008 if test "${enable_calendar+set}" = set; then
10009 enableval=$enable_calendar;
10010 if test "$enableval" = yes; then
10011 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10013 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10018 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10023 eval "$wx_cv_use_calendar"
10025 if test x"$enablestring" = xdisable; then
10026 if test $wxUSE_CALCTRL = no; then
10032 result=$wxUSE_CALCTRL
10035 { echo "$as_me:$LINENO: result
: $result" >&5
10036 echo "${ECHO_T}$result" >&6; }
10040 defaultval=$wxUSE_ALL_FEATURES
10041 if test -z "$defaultval"; then
10042 if test x"$enablestring" = xdisable; then
10049 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10050 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10051 # Check whether --enable-caret was given.
10052 if test "${enable_caret+set}" = set; then
10053 enableval=$enable_caret;
10054 if test "$enableval" = yes; then
10055 wx_cv_use_caret='wxUSE_CARET=yes'
10057 wx_cv_use_caret='wxUSE_CARET=no'
10062 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10067 eval "$wx_cv_use_caret"
10069 if test x
"$enablestring" = xdisable
; then
10070 if test $wxUSE_CARET = no
; then
10076 result
=$wxUSE_CARET
10079 { echo "$as_me:$LINENO: result: $result" >&5
10080 echo "${ECHO_T}$result" >&6; }
10084 defaultval
=$wxUSE_ALL_FEATURES
10085 if test -z "$defaultval"; then
10086 if test x
"$enablestring" = xdisable
; then
10093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10094 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10095 # Check whether --enable-checkbox was given.
10096 if test "${enable_checkbox+set}" = set; then
10097 enableval
=$enable_checkbox;
10098 if test "$enableval" = yes; then
10099 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10101 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10106 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10111 eval "$wx_cv_use_checkbox"
10113 if test x"$enablestring" = xdisable; then
10114 if test $wxUSE_CHECKBOX = no; then
10120 result=$wxUSE_CHECKBOX
10123 { echo "$as_me:$LINENO: result: $result" >&5
10124 echo "${ECHO_T}$result" >&6; }
10128 defaultval=$wxUSE_ALL_FEATURES
10129 if test -z "$defaultval"; then
10130 if test x"$enablestring" = xdisable; then
10137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10138 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10139 # Check whether --enable-checklst was given.
10140 if test "${enable_checklst+set}" = set; then
10141 enableval=$enable_checklst;
10142 if test "$enableval" = yes; then
10143 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10145 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10150 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10155 eval "$wx_cv_use_checklst"
10157 if test x"$enablestring" = xdisable; then
10158 if test $wxUSE_CHECKLST = no; then
10164 result=$wxUSE_CHECKLST
10167 { echo "$as_me:$LINENO: result
: $result" >&5
10168 echo "${ECHO_T}$result" >&6; }
10172 defaultval=$wxUSE_ALL_FEATURES
10173 if test -z "$defaultval"; then
10174 if test x"$enablestring" = xdisable; then
10181 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10182 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10183 # Check whether --enable-choice was given.
10184 if test "${enable_choice+set}" = set; then
10185 enableval=$enable_choice;
10186 if test "$enableval" = yes; then
10187 wx_cv_use_choice='wxUSE_CHOICE=yes'
10189 wx_cv_use_choice='wxUSE_CHOICE=no'
10194 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10199 eval "$wx_cv_use_choice"
10201 if test x
"$enablestring" = xdisable
; then
10202 if test $wxUSE_CHOICE = no
; then
10208 result
=$wxUSE_CHOICE
10211 { echo "$as_me:$LINENO: result: $result" >&5
10212 echo "${ECHO_T}$result" >&6; }
10216 defaultval
=$wxUSE_ALL_FEATURES
10217 if test -z "$defaultval"; then
10218 if test x
"$enablestring" = xdisable
; then
10225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10226 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10227 # Check whether --enable-choicebook was given.
10228 if test "${enable_choicebook+set}" = set; then
10229 enableval
=$enable_choicebook;
10230 if test "$enableval" = yes; then
10231 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10233 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10238 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10243 eval "$wx_cv_use_choicebook"
10245 if test x"$enablestring" = xdisable; then
10246 if test $wxUSE_CHOICEBOOK = no; then
10252 result=$wxUSE_CHOICEBOOK
10255 { echo "$as_me:$LINENO: result: $result" >&5
10256 echo "${ECHO_T}$result" >&6; }
10260 defaultval=$wxUSE_ALL_FEATURES
10261 if test -z "$defaultval"; then
10262 if test x"$enablestring" = xdisable; then
10269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10270 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10271 # Check whether --enable-collpane was given.
10272 if test "${enable_collpane+set}" = set; then
10273 enableval=$enable_collpane;
10274 if test "$enableval" = yes; then
10275 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10277 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10282 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10287 eval "$wx_cv_use_collpane"
10289 if test x"$enablestring" = xdisable; then
10290 if test $wxUSE_COLLPANE = no; then
10296 result=$wxUSE_COLLPANE
10299 { echo "$as_me:$LINENO: result
: $result" >&5
10300 echo "${ECHO_T}$result" >&6; }
10304 defaultval=$wxUSE_ALL_FEATURES
10305 if test -z "$defaultval"; then
10306 if test x"$enablestring" = xdisable; then
10313 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10314 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10315 # Check whether --enable-colourpicker was given.
10316 if test "${enable_colourpicker+set}" = set; then
10317 enableval=$enable_colourpicker;
10318 if test "$enableval" = yes; then
10319 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10321 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10326 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10331 eval "$wx_cv_use_colourpicker"
10333 if test x
"$enablestring" = xdisable
; then
10334 if test $wxUSE_COLOURPICKERCTRL = no
; then
10340 result
=$wxUSE_COLOURPICKERCTRL
10343 { echo "$as_me:$LINENO: result: $result" >&5
10344 echo "${ECHO_T}$result" >&6; }
10348 defaultval
=$wxUSE_ALL_FEATURES
10349 if test -z "$defaultval"; then
10350 if test x
"$enablestring" = xdisable
; then
10357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10358 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10359 # Check whether --enable-combobox was given.
10360 if test "${enable_combobox+set}" = set; then
10361 enableval
=$enable_combobox;
10362 if test "$enableval" = yes; then
10363 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10365 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10370 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10375 eval "$wx_cv_use_combobox"
10377 if test x"$enablestring" = xdisable; then
10378 if test $wxUSE_COMBOBOX = no; then
10384 result=$wxUSE_COMBOBOX
10387 { echo "$as_me:$LINENO: result: $result" >&5
10388 echo "${ECHO_T}$result" >&6; }
10392 defaultval=$wxUSE_ALL_FEATURES
10393 if test -z "$defaultval"; then
10394 if test x"$enablestring" = xdisable; then
10401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10402 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10403 # Check whether --enable-comboctrl was given.
10404 if test "${enable_comboctrl+set}" = set; then
10405 enableval=$enable_comboctrl;
10406 if test "$enableval" = yes; then
10407 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10409 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10414 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10419 eval "$wx_cv_use_comboctrl"
10421 if test x"$enablestring" = xdisable; then
10422 if test $wxUSE_COMBOCTRL = no; then
10428 result=$wxUSE_COMBOCTRL
10431 { echo "$as_me:$LINENO: result
: $result" >&5
10432 echo "${ECHO_T}$result" >&6; }
10436 defaultval=$wxUSE_ALL_FEATURES
10437 if test -z "$defaultval"; then
10438 if test x"$enablestring" = xdisable; then
10445 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10446 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10447 # Check whether --enable-dataviewctrl was given.
10448 if test "${enable_dataviewctrl+set}" = set; then
10449 enableval=$enable_dataviewctrl;
10450 if test "$enableval" = yes; then
10451 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10453 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10458 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10463 eval "$wx_cv_use_dataviewctrl"
10465 if test x
"$enablestring" = xdisable
; then
10466 if test $wxUSE_DATAVIEWCTRL = no
; then
10472 result
=$wxUSE_DATAVIEWCTRL
10475 { echo "$as_me:$LINENO: result: $result" >&5
10476 echo "${ECHO_T}$result" >&6; }
10480 defaultval
=$wxUSE_ALL_FEATURES
10481 if test -z "$defaultval"; then
10482 if test x
"$enablestring" = xdisable
; then
10489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10490 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10491 # Check whether --enable-datepick was given.
10492 if test "${enable_datepick+set}" = set; then
10493 enableval
=$enable_datepick;
10494 if test "$enableval" = yes; then
10495 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10497 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10502 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10507 eval "$wx_cv_use_datepick"
10509 if test x"$enablestring" = xdisable; then
10510 if test $wxUSE_DATEPICKCTRL = no; then
10516 result=$wxUSE_DATEPICKCTRL
10519 { echo "$as_me:$LINENO: result: $result" >&5
10520 echo "${ECHO_T}$result" >&6; }
10524 defaultval=$wxUSE_ALL_FEATURES
10525 if test -z "$defaultval"; then
10526 if test x"$enablestring" = xdisable; then
10533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10535 # Check whether --enable-detect_sm was given.
10536 if test "${enable_detect_sm+set}" = set; then
10537 enableval=$enable_detect_sm;
10538 if test "$enableval" = yes; then
10539 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10541 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10546 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10551 eval "$wx_cv_use_detect_sm"
10553 if test x"$enablestring" = xdisable; then
10554 if test $wxUSE_DETECT_SM = no; then
10560 result=$wxUSE_DETECT_SM
10563 { echo "$as_me:$LINENO: result
: $result" >&5
10564 echo "${ECHO_T}$result" >&6; }
10568 defaultval=$wxUSE_ALL_FEATURES
10569 if test -z "$defaultval"; then
10570 if test x"$enablestring" = xdisable; then
10577 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10578 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10579 # Check whether --enable-dirpicker was given.
10580 if test "${enable_dirpicker+set}" = set; then
10581 enableval=$enable_dirpicker;
10582 if test "$enableval" = yes; then
10583 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10585 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10590 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10595 eval "$wx_cv_use_dirpicker"
10597 if test x
"$enablestring" = xdisable
; then
10598 if test $wxUSE_DIRPICKERCTRL = no
; then
10604 result
=$wxUSE_DIRPICKERCTRL
10607 { echo "$as_me:$LINENO: result: $result" >&5
10608 echo "${ECHO_T}$result" >&6; }
10612 defaultval
=$wxUSE_ALL_FEATURES
10613 if test -z "$defaultval"; then
10614 if test x
"$enablestring" = xdisable
; then
10621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10622 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10623 # Check whether --enable-display was given.
10624 if test "${enable_display+set}" = set; then
10625 enableval
=$enable_display;
10626 if test "$enableval" = yes; then
10627 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10629 wx_cv_use_display
='wxUSE_DISPLAY=no'
10634 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10639 eval "$wx_cv_use_display"
10641 if test x"$enablestring" = xdisable; then
10642 if test $wxUSE_DISPLAY = no; then
10648 result=$wxUSE_DISPLAY
10651 { echo "$as_me:$LINENO: result: $result" >&5
10652 echo "${ECHO_T}$result" >&6; }
10656 defaultval=$wxUSE_ALL_FEATURES
10657 if test -z "$defaultval"; then
10658 if test x"$enablestring" = xdisable; then
10665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10666 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10667 # Check whether --enable-editablebox was given.
10668 if test "${enable_editablebox+set}" = set; then
10669 enableval=$enable_editablebox;
10670 if test "$enableval" = yes; then
10671 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10673 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10678 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10683 eval "$wx_cv_use_editablebox"
10685 if test x"$enablestring" = xdisable; then
10686 if test $wxUSE_EDITABLELISTBOX = no; then
10692 result=$wxUSE_EDITABLELISTBOX
10695 { echo "$as_me:$LINENO: result
: $result" >&5
10696 echo "${ECHO_T}$result" >&6; }
10700 defaultval=$wxUSE_ALL_FEATURES
10701 if test -z "$defaultval"; then
10702 if test x"$enablestring" = xdisable; then
10709 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
10710 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
10711 # Check whether --enable-filectrl was given.
10712 if test "${enable_filectrl+set}" = set; then
10713 enableval=$enable_filectrl;
10714 if test "$enableval" = yes; then
10715 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10717 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10722 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10727 eval "$wx_cv_use_filectrl"
10729 if test x
"$enablestring" = xdisable
; then
10730 if test $wxUSE_FILECTRL = no
; then
10736 result
=$wxUSE_FILECTRL
10739 { echo "$as_me:$LINENO: result: $result" >&5
10740 echo "${ECHO_T}$result" >&6; }
10744 defaultval
=$wxUSE_ALL_FEATURES
10745 if test -z "$defaultval"; then
10746 if test x
"$enablestring" = xdisable
; then
10753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10754 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10755 # Check whether --enable-filepicker was given.
10756 if test "${enable_filepicker+set}" = set; then
10757 enableval
=$enable_filepicker;
10758 if test "$enableval" = yes; then
10759 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10761 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10766 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10771 eval "$wx_cv_use_filepicker"
10773 if test x"$enablestring" = xdisable; then
10774 if test $wxUSE_FILEPICKERCTRL = no; then
10780 result=$wxUSE_FILEPICKERCTRL
10783 { echo "$as_me:$LINENO: result: $result" >&5
10784 echo "${ECHO_T}$result" >&6; }
10788 defaultval=$wxUSE_ALL_FEATURES
10789 if test -z "$defaultval"; then
10790 if test x"$enablestring" = xdisable; then
10797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10798 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10799 # Check whether --enable-fontpicker was given.
10800 if test "${enable_fontpicker+set}" = set; then
10801 enableval=$enable_fontpicker;
10802 if test "$enableval" = yes; then
10803 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
10805 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
10810 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10815 eval "$wx_cv_use_fontpicker"
10817 if test x"$enablestring" = xdisable; then
10818 if test $wxUSE_FONTPICKERCTRL = no; then
10824 result=$wxUSE_FONTPICKERCTRL
10827 { echo "$as_me:$LINENO: result
: $result" >&5
10828 echo "${ECHO_T}$result" >&6; }
10832 defaultval=$wxUSE_ALL_FEATURES
10833 if test -z "$defaultval"; then
10834 if test x"$enablestring" = xdisable; then
10841 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
10842 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
10843 # Check whether --enable-gauge was given.
10844 if test "${enable_gauge+set}" = set; then
10845 enableval=$enable_gauge;
10846 if test "$enableval" = yes; then
10847 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10849 wx_cv_use_gauge='wxUSE_GAUGE=no'
10854 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10859 eval "$wx_cv_use_gauge"
10861 if test x
"$enablestring" = xdisable
; then
10862 if test $wxUSE_GAUGE = no
; then
10868 result
=$wxUSE_GAUGE
10871 { echo "$as_me:$LINENO: result: $result" >&5
10872 echo "${ECHO_T}$result" >&6; }
10876 defaultval
=$wxUSE_ALL_FEATURES
10877 if test -z "$defaultval"; then
10878 if test x
"$enablestring" = xdisable
; then
10885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10886 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10887 # Check whether --enable-grid was given.
10888 if test "${enable_grid+set}" = set; then
10889 enableval
=$enable_grid;
10890 if test "$enableval" = yes; then
10891 wx_cv_use_grid
='wxUSE_GRID=yes'
10893 wx_cv_use_grid
='wxUSE_GRID=no'
10898 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10903 eval "$wx_cv_use_grid"
10905 if test x"$enablestring" = xdisable; then
10906 if test $wxUSE_GRID = no; then
10915 { echo "$as_me:$LINENO: result: $result" >&5
10916 echo "${ECHO_T}$result" >&6; }
10920 defaultval=$wxUSE_ALL_FEATURES
10921 if test -z "$defaultval"; then
10922 if test x"$enablestring" = xdisable; then
10929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10930 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10931 # Check whether --enable-headerctrl was given.
10932 if test "${enable_headerctrl+set}" = set; then
10933 enableval=$enable_headerctrl;
10934 if test "$enableval" = yes; then
10935 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
10937 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
10942 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10947 eval "$wx_cv_use_headerctrl"
10949 if test x"$enablestring" = xdisable; then
10950 if test $wxUSE_HEADERCTRL = no; then
10956 result=$wxUSE_HEADERCTRL
10959 { echo "$as_me:$LINENO: result
: $result" >&5
10960 echo "${ECHO_T}$result" >&6; }
10964 defaultval=$wxUSE_ALL_FEATURES
10965 if test -z "$defaultval"; then
10966 if test x"$enablestring" = xdisable; then
10973 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
10974 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
10975 # Check whether --enable-hyperlink was given.
10976 if test "${enable_hyperlink+set}" = set; then
10977 enableval=$enable_hyperlink;
10978 if test "$enableval" = yes; then
10979 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10981 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10986 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10991 eval "$wx_cv_use_hyperlink"
10993 if test x
"$enablestring" = xdisable
; then
10994 if test $wxUSE_HYPERLINKCTRL = no
; then
11000 result
=$wxUSE_HYPERLINKCTRL
11003 { echo "$as_me:$LINENO: result: $result" >&5
11004 echo "${ECHO_T}$result" >&6; }
11008 defaultval
=$wxUSE_ALL_FEATURES
11009 if test -z "$defaultval"; then
11010 if test x
"$enablestring" = xdisable
; then
11017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11018 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11019 # Check whether --enable-imaglist was given.
11020 if test "${enable_imaglist+set}" = set; then
11021 enableval
=$enable_imaglist;
11022 if test "$enableval" = yes; then
11023 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
11025 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
11030 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11035 eval "$wx_cv_use_imaglist"
11037 if test x"$enablestring" = xdisable; then
11038 if test $wxUSE_IMAGLIST = no; then
11044 result=$wxUSE_IMAGLIST
11047 { echo "$as_me:$LINENO: result: $result" >&5
11048 echo "${ECHO_T}$result" >&6; }
11052 defaultval=$wxUSE_ALL_FEATURES
11053 if test -z "$defaultval"; then
11054 if test x"$enablestring" = xdisable; then
11061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11062 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11063 # Check whether --enable-infobar was given.
11064 if test "${enable_infobar+set}" = set; then
11065 enableval=$enable_infobar;
11066 if test "$enableval" = yes; then
11067 wx_cv_use_infobar='wxUSE_INFOBAR
=yes'
11069 wx_cv_use_infobar='wxUSE_INFOBAR
=no
'
11074 wx_cv_use_infobar='wxUSE_INFOBAR
=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11079 eval "$wx_cv_use_infobar"
11081 if test x"$enablestring" = xdisable; then
11082 if test $wxUSE_INFOBAR = no; then
11088 result=$wxUSE_INFOBAR
11091 { echo "$as_me:$LINENO: result
: $result" >&5
11092 echo "${ECHO_T}$result" >&6; }
11096 defaultval=$wxUSE_ALL_FEATURES
11097 if test -z "$defaultval"; then
11098 if test x"$enablestring" = xdisable; then
11105 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
11106 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
11107 # Check whether --enable-listbook was given.
11108 if test "${enable_listbook+set}" = set; then
11109 enableval=$enable_listbook;
11110 if test "$enableval" = yes; then
11111 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11113 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11118 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11123 eval "$wx_cv_use_listbook"
11125 if test x
"$enablestring" = xdisable
; then
11126 if test $wxUSE_LISTBOOK = no
; then
11132 result
=$wxUSE_LISTBOOK
11135 { echo "$as_me:$LINENO: result: $result" >&5
11136 echo "${ECHO_T}$result" >&6; }
11140 defaultval
=$wxUSE_ALL_FEATURES
11141 if test -z "$defaultval"; then
11142 if test x
"$enablestring" = xdisable
; then
11149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11150 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11151 # Check whether --enable-listbox was given.
11152 if test "${enable_listbox+set}" = set; then
11153 enableval
=$enable_listbox;
11154 if test "$enableval" = yes; then
11155 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
11157 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
11162 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11167 eval "$wx_cv_use_listbox"
11169 if test x"$enablestring" = xdisable; then
11170 if test $wxUSE_LISTBOX = no; then
11176 result=$wxUSE_LISTBOX
11179 { echo "$as_me:$LINENO: result: $result" >&5
11180 echo "${ECHO_T}$result" >&6; }
11184 defaultval=$wxUSE_ALL_FEATURES
11185 if test -z "$defaultval"; then
11186 if test x"$enablestring" = xdisable; then
11193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11194 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11195 # Check whether --enable-listctrl was given.
11196 if test "${enable_listctrl+set}" = set; then
11197 enableval=$enable_listctrl;
11198 if test "$enableval" = yes; then
11199 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
11201 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
11206 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11211 eval "$wx_cv_use_listctrl"
11213 if test x"$enablestring" = xdisable; then
11214 if test $wxUSE_LISTCTRL = no; then
11220 result=$wxUSE_LISTCTRL
11223 { echo "$as_me:$LINENO: result
: $result" >&5
11224 echo "${ECHO_T}$result" >&6; }
11228 defaultval=$wxUSE_ALL_FEATURES
11229 if test -z "$defaultval"; then
11230 if test x"$enablestring" = xdisable; then
11237 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
11238 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
11239 # Check whether --enable-notebook was given.
11240 if test "${enable_notebook+set}" = set; then
11241 enableval=$enable_notebook;
11242 if test "$enableval" = yes; then
11243 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11245 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11250 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11255 eval "$wx_cv_use_notebook"
11257 if test x
"$enablestring" = xdisable
; then
11258 if test $wxUSE_NOTEBOOK = no
; then
11264 result
=$wxUSE_NOTEBOOK
11267 { echo "$as_me:$LINENO: result: $result" >&5
11268 echo "${ECHO_T}$result" >&6; }
11272 defaultval
=$wxUSE_ALL_FEATURES
11273 if test -z "$defaultval"; then
11274 if test x
"$enablestring" = xdisable
; then
11281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11282 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11283 # Check whether --enable-notifmsg was given.
11284 if test "${enable_notifmsg+set}" = set; then
11285 enableval
=$enable_notifmsg;
11286 if test "$enableval" = yes; then
11287 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
11289 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11294 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11299 eval "$wx_cv_use_notifmsg"
11301 if test x"$enablestring" = xdisable; then
11302 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11308 result=$wxUSE_NOTIFICATION_MESSAGE
11311 { echo "$as_me:$LINENO: result: $result" >&5
11312 echo "${ECHO_T}$result" >&6; }
11316 defaultval=$wxUSE_ALL_FEATURES
11317 if test -z "$defaultval"; then
11318 if test x"$enablestring" = xdisable; then
11325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11326 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11327 # Check whether --enable-odcombobox was given.
11328 if test "${enable_odcombobox+set}" = set; then
11329 enableval=$enable_odcombobox;
11330 if test "$enableval" = yes; then
11331 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11333 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11338 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11343 eval "$wx_cv_use_odcombobox"
11345 if test x"$enablestring" = xdisable; then
11346 if test $wxUSE_ODCOMBOBOX = no; then
11352 result=$wxUSE_ODCOMBOBOX
11355 { echo "$as_me:$LINENO: result
: $result" >&5
11356 echo "${ECHO_T}$result" >&6; }
11360 defaultval=$wxUSE_ALL_FEATURES
11361 if test -z "$defaultval"; then
11362 if test x"$enablestring" = xdisable; then
11369 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
11370 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
11371 # Check whether --enable-popupwin was given.
11372 if test "${enable_popupwin+set}" = set; then
11373 enableval=$enable_popupwin;
11374 if test "$enableval" = yes; then
11375 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11377 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11382 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11387 eval "$wx_cv_use_popupwin"
11389 if test x
"$enablestring" = xdisable
; then
11390 if test $wxUSE_POPUPWIN = no
; then
11396 result
=$wxUSE_POPUPWIN
11399 { echo "$as_me:$LINENO: result: $result" >&5
11400 echo "${ECHO_T}$result" >&6; }
11404 defaultval
=$wxUSE_ALL_FEATURES
11405 if test -z "$defaultval"; then
11406 if test x
"$enablestring" = xdisable
; then
11413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11414 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11415 # Check whether --enable-radiobox was given.
11416 if test "${enable_radiobox+set}" = set; then
11417 enableval
=$enable_radiobox;
11418 if test "$enableval" = yes; then
11419 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
11421 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
11426 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11431 eval "$wx_cv_use_radiobox"
11433 if test x"$enablestring" = xdisable; then
11434 if test $wxUSE_RADIOBOX = no; then
11440 result=$wxUSE_RADIOBOX
11443 { echo "$as_me:$LINENO: result: $result" >&5
11444 echo "${ECHO_T}$result" >&6; }
11448 defaultval=$wxUSE_ALL_FEATURES
11449 if test -z "$defaultval"; then
11450 if test x"$enablestring" = xdisable; then
11457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11458 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11459 # Check whether --enable-radiobtn was given.
11460 if test "${enable_radiobtn+set}" = set; then
11461 enableval=$enable_radiobtn;
11462 if test "$enableval" = yes; then
11463 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
11465 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
11470 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11475 eval "$wx_cv_use_radiobtn"
11477 if test x"$enablestring" = xdisable; then
11478 if test $wxUSE_RADIOBTN = no; then
11484 result=$wxUSE_RADIOBTN
11487 { echo "$as_me:$LINENO: result
: $result" >&5
11488 echo "${ECHO_T}$result" >&6; }
11492 defaultval=$wxUSE_ALL_FEATURES
11493 if test -z "$defaultval"; then
11494 if test x"$enablestring" = xdisable; then
11501 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rearrangectrl" >&5
11502 echo $ECHO_N "checking
for --${enablestring:-enable}-rearrangectrl...
$ECHO_C" >&6; }
11503 # Check whether --enable-rearrangectrl was given.
11504 if test "${enable_rearrangectrl+set}" = set; then
11505 enableval=$enable_rearrangectrl;
11506 if test "$enableval" = yes; then
11507 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11509 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11514 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11519 eval "$wx_cv_use_rearrangectrl"
11521 if test x
"$enablestring" = xdisable
; then
11522 if test $wxUSE_REARRANGECTRL = no
; then
11528 result
=$wxUSE_REARRANGECTRL
11531 { echo "$as_me:$LINENO: result: $result" >&5
11532 echo "${ECHO_T}$result" >&6; }
11536 defaultval
=$wxUSE_ALL_FEATURES
11537 if test -z "$defaultval"; then
11538 if test x
"$enablestring" = xdisable
; then
11545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11546 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11547 # Check whether --enable-sash was given.
11548 if test "${enable_sash+set}" = set; then
11549 enableval
=$enable_sash;
11550 if test "$enableval" = yes; then
11551 wx_cv_use_sash
='wxUSE_SASH=yes'
11553 wx_cv_use_sash
='wxUSE_SASH=no'
11558 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11563 eval "$wx_cv_use_sash"
11565 if test x"$enablestring" = xdisable; then
11566 if test $wxUSE_SASH = no; then
11575 { echo "$as_me:$LINENO: result: $result" >&5
11576 echo "${ECHO_T}$result" >&6; }
11580 defaultval=$wxUSE_ALL_FEATURES
11581 if test -z "$defaultval"; then
11582 if test x"$enablestring" = xdisable; then
11589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11590 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11591 # Check whether --enable-scrollbar was given.
11592 if test "${enable_scrollbar+set}" = set; then
11593 enableval=$enable_scrollbar;
11594 if test "$enableval" = yes; then
11595 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
11597 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
11602 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11607 eval "$wx_cv_use_scrollbar"
11609 if test x"$enablestring" = xdisable; then
11610 if test $wxUSE_SCROLLBAR = no; then
11616 result=$wxUSE_SCROLLBAR
11619 { echo "$as_me:$LINENO: result
: $result" >&5
11620 echo "${ECHO_T}$result" >&6; }
11624 defaultval=$wxUSE_ALL_FEATURES
11625 if test -z "$defaultval"; then
11626 if test x"$enablestring" = xdisable; then
11633 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
11634 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
11635 # Check whether --enable-searchctrl was given.
11636 if test "${enable_searchctrl+set}" = set; then
11637 enableval=$enable_searchctrl;
11638 if test "$enableval" = yes; then
11639 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11641 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11646 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11651 eval "$wx_cv_use_searchctrl"
11653 if test x
"$enablestring" = xdisable
; then
11654 if test $wxUSE_SEARCHCTRL = no
; then
11660 result
=$wxUSE_SEARCHCTRL
11663 { echo "$as_me:$LINENO: result: $result" >&5
11664 echo "${ECHO_T}$result" >&6; }
11668 defaultval
=$wxUSE_ALL_FEATURES
11669 if test -z "$defaultval"; then
11670 if test x
"$enablestring" = xdisable
; then
11677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11678 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11679 # Check whether --enable-slider was given.
11680 if test "${enable_slider+set}" = set; then
11681 enableval
=$enable_slider;
11682 if test "$enableval" = yes; then
11683 wx_cv_use_slider
='wxUSE_SLIDER=yes'
11685 wx_cv_use_slider
='wxUSE_SLIDER=no'
11690 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11695 eval "$wx_cv_use_slider"
11697 if test x"$enablestring" = xdisable; then
11698 if test $wxUSE_SLIDER = no; then
11704 result=$wxUSE_SLIDER
11707 { echo "$as_me:$LINENO: result: $result" >&5
11708 echo "${ECHO_T}$result" >&6; }
11712 defaultval=$wxUSE_ALL_FEATURES
11713 if test -z "$defaultval"; then
11714 if test x"$enablestring" = xdisable; then
11721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11722 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11723 # Check whether --enable-spinbtn was given.
11724 if test "${enable_spinbtn+set}" = set; then
11725 enableval=$enable_spinbtn;
11726 if test "$enableval" = yes; then
11727 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
11729 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
11734 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11739 eval "$wx_cv_use_spinbtn"
11741 if test x"$enablestring" = xdisable; then
11742 if test $wxUSE_SPINBTN = no; then
11748 result=$wxUSE_SPINBTN
11751 { echo "$as_me:$LINENO: result
: $result" >&5
11752 echo "${ECHO_T}$result" >&6; }
11756 defaultval=$wxUSE_ALL_FEATURES
11757 if test -z "$defaultval"; then
11758 if test x"$enablestring" = xdisable; then
11765 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
11766 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
11767 # Check whether --enable-spinctrl was given.
11768 if test "${enable_spinctrl+set}" = set; then
11769 enableval=$enable_spinctrl;
11770 if test "$enableval" = yes; then
11771 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11773 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11778 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11783 eval "$wx_cv_use_spinctrl"
11785 if test x
"$enablestring" = xdisable
; then
11786 if test $wxUSE_SPINCTRL = no
; then
11792 result
=$wxUSE_SPINCTRL
11795 { echo "$as_me:$LINENO: result: $result" >&5
11796 echo "${ECHO_T}$result" >&6; }
11800 defaultval
=$wxUSE_ALL_FEATURES
11801 if test -z "$defaultval"; then
11802 if test x
"$enablestring" = xdisable
; then
11809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11810 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11811 # Check whether --enable-splitter was given.
11812 if test "${enable_splitter+set}" = set; then
11813 enableval
=$enable_splitter;
11814 if test "$enableval" = yes; then
11815 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
11817 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
11822 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11827 eval "$wx_cv_use_splitter"
11829 if test x"$enablestring" = xdisable; then
11830 if test $wxUSE_SPLITTER = no; then
11836 result=$wxUSE_SPLITTER
11839 { echo "$as_me:$LINENO: result: $result" >&5
11840 echo "${ECHO_T}$result" >&6; }
11844 defaultval=$wxUSE_ALL_FEATURES
11845 if test -z "$defaultval"; then
11846 if test x"$enablestring" = xdisable; then
11853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11854 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11855 # Check whether --enable-statbmp was given.
11856 if test "${enable_statbmp+set}" = set; then
11857 enableval=$enable_statbmp;
11858 if test "$enableval" = yes; then
11859 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
11861 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
11866 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11871 eval "$wx_cv_use_statbmp"
11873 if test x"$enablestring" = xdisable; then
11874 if test $wxUSE_STATBMP = no; then
11880 result=$wxUSE_STATBMP
11883 { echo "$as_me:$LINENO: result
: $result" >&5
11884 echo "${ECHO_T}$result" >&6; }
11888 defaultval=$wxUSE_ALL_FEATURES
11889 if test -z "$defaultval"; then
11890 if test x"$enablestring" = xdisable; then
11897 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
11898 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
11899 # Check whether --enable-statbox was given.
11900 if test "${enable_statbox+set}" = set; then
11901 enableval=$enable_statbox;
11902 if test "$enableval" = yes; then
11903 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11905 wx_cv_use_statbox='wxUSE_STATBOX=no'
11910 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11915 eval "$wx_cv_use_statbox"
11917 if test x
"$enablestring" = xdisable
; then
11918 if test $wxUSE_STATBOX = no
; then
11924 result
=$wxUSE_STATBOX
11927 { echo "$as_me:$LINENO: result: $result" >&5
11928 echo "${ECHO_T}$result" >&6; }
11932 defaultval
=$wxUSE_ALL_FEATURES
11933 if test -z "$defaultval"; then
11934 if test x
"$enablestring" = xdisable
; then
11941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11942 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11943 # Check whether --enable-statline was given.
11944 if test "${enable_statline+set}" = set; then
11945 enableval
=$enable_statline;
11946 if test "$enableval" = yes; then
11947 wx_cv_use_statline
='wxUSE_STATLINE=yes'
11949 wx_cv_use_statline
='wxUSE_STATLINE=no'
11954 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11959 eval "$wx_cv_use_statline"
11961 if test x"$enablestring" = xdisable; then
11962 if test $wxUSE_STATLINE = no; then
11968 result=$wxUSE_STATLINE
11971 { echo "$as_me:$LINENO: result: $result" >&5
11972 echo "${ECHO_T}$result" >&6; }
11976 defaultval=$wxUSE_ALL_FEATURES
11977 if test -z "$defaultval"; then
11978 if test x"$enablestring" = xdisable; then
11985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11986 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11987 # Check whether --enable-stattext was given.
11988 if test "${enable_stattext+set}" = set; then
11989 enableval=$enable_stattext;
11990 if test "$enableval" = yes; then
11991 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
11993 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
11998 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12003 eval "$wx_cv_use_stattext"
12005 if test x"$enablestring" = xdisable; then
12006 if test $wxUSE_STATTEXT = no; then
12012 result=$wxUSE_STATTEXT
12015 { echo "$as_me:$LINENO: result
: $result" >&5
12016 echo "${ECHO_T}$result" >&6; }
12020 defaultval=$wxUSE_ALL_FEATURES
12021 if test -z "$defaultval"; then
12022 if test x"$enablestring" = xdisable; then
12029 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
12030 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
12031 # Check whether --enable-statusbar was given.
12032 if test "${enable_statusbar+set}" = set; then
12033 enableval=$enable_statusbar;
12034 if test "$enableval" = yes; then
12035 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12037 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12042 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12047 eval "$wx_cv_use_statusbar"
12049 if test x
"$enablestring" = xdisable
; then
12050 if test $wxUSE_STATUSBAR = no
; then
12056 result
=$wxUSE_STATUSBAR
12059 { echo "$as_me:$LINENO: result: $result" >&5
12060 echo "${ECHO_T}$result" >&6; }
12064 defaultval
=$wxUSE_ALL_FEATURES
12065 if test -z "$defaultval"; then
12066 if test x
"$enablestring" = xdisable
; then
12073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12074 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12075 # Check whether --enable-taskbaricon was given.
12076 if test "${enable_taskbaricon+set}" = set; then
12077 enableval
=$enable_taskbaricon;
12078 if test "$enableval" = yes; then
12079 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
12081 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
12086 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12091 eval "$wx_cv_use_taskbaricon"
12093 if test x"$enablestring" = xdisable; then
12094 if test $wxUSE_TASKBARICON = no; then
12100 result=$wxUSE_TASKBARICON
12103 { echo "$as_me:$LINENO: result: $result" >&5
12104 echo "${ECHO_T}$result" >&6; }
12108 defaultval=$wxUSE_ALL_FEATURES
12109 if test -z "$defaultval"; then
12110 if test x"$enablestring" = xdisable; then
12117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12118 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12119 # Check whether --enable-tbarnative was given.
12120 if test "${enable_tbarnative+set}" = set; then
12121 enableval=$enable_tbarnative;
12122 if test "$enableval" = yes; then
12123 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
12125 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
12130 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12135 eval "$wx_cv_use_tbarnative"
12137 if test x"$enablestring" = xdisable; then
12138 if test $wxUSE_TOOLBAR_NATIVE = no; then
12144 result=$wxUSE_TOOLBAR_NATIVE
12147 { echo "$as_me:$LINENO: result
: $result" >&5
12148 echo "${ECHO_T}$result" >&6; }
12152 defaultval=$wxUSE_ALL_FEATURES
12153 if test -z "$defaultval"; then
12154 if test x"$enablestring" = xdisable; then
12161 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
12162 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
12163 # Check whether --enable-textctrl was given.
12164 if test "${enable_textctrl+set}" = set; then
12165 enableval=$enable_textctrl;
12166 if test "$enableval" = yes; then
12167 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12169 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12174 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12179 eval "$wx_cv_use_textctrl"
12181 if test x
"$enablestring" = xdisable
; then
12182 if test $wxUSE_TEXTCTRL = no
; then
12188 result
=$wxUSE_TEXTCTRL
12191 { echo "$as_me:$LINENO: result: $result" >&5
12192 echo "${ECHO_T}$result" >&6; }
12196 defaultval
=$wxUSE_ALL_FEATURES
12197 if test -z "$defaultval"; then
12198 if test x
"$enablestring" = xdisable
; then
12205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12206 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12207 # Check whether --enable-tipwindow was given.
12208 if test "${enable_tipwindow+set}" = set; then
12209 enableval
=$enable_tipwindow;
12210 if test "$enableval" = yes; then
12211 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
12213 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
12218 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12223 eval "$wx_cv_use_tipwindow"
12225 if test x"$enablestring" = xdisable; then
12226 if test $wxUSE_TIPWINDOW = no; then
12232 result=$wxUSE_TIPWINDOW
12235 { echo "$as_me:$LINENO: result: $result" >&5
12236 echo "${ECHO_T}$result" >&6; }
12240 defaultval=$wxUSE_ALL_FEATURES
12241 if test -z "$defaultval"; then
12242 if test x"$enablestring" = xdisable; then
12249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12250 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12251 # Check whether --enable-togglebtn was given.
12252 if test "${enable_togglebtn+set}" = set; then
12253 enableval=$enable_togglebtn;
12254 if test "$enableval" = yes; then
12255 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
12257 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
12262 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12267 eval "$wx_cv_use_togglebtn"
12269 if test x"$enablestring" = xdisable; then
12270 if test $wxUSE_TOGGLEBTN = no; then
12276 result=$wxUSE_TOGGLEBTN
12279 { echo "$as_me:$LINENO: result
: $result" >&5
12280 echo "${ECHO_T}$result" >&6; }
12284 defaultval=$wxUSE_ALL_FEATURES
12285 if test -z "$defaultval"; then
12286 if test x"$enablestring" = xdisable; then
12293 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
12294 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
12295 # Check whether --enable-toolbar was given.
12296 if test "${enable_toolbar+set}" = set; then
12297 enableval=$enable_toolbar;
12298 if test "$enableval" = yes; then
12299 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12301 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12306 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12311 eval "$wx_cv_use_toolbar"
12313 if test x
"$enablestring" = xdisable
; then
12314 if test $wxUSE_TOOLBAR = no
; then
12320 result
=$wxUSE_TOOLBAR
12323 { echo "$as_me:$LINENO: result: $result" >&5
12324 echo "${ECHO_T}$result" >&6; }
12328 defaultval
=$wxUSE_ALL_FEATURES
12329 if test -z "$defaultval"; then
12330 if test x
"$enablestring" = xdisable
; then
12337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12338 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12339 # Check whether --enable-toolbook was given.
12340 if test "${enable_toolbook+set}" = set; then
12341 enableval
=$enable_toolbook;
12342 if test "$enableval" = yes; then
12343 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
12345 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
12350 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12355 eval "$wx_cv_use_toolbook"
12357 if test x"$enablestring" = xdisable; then
12358 if test $wxUSE_TOOLBOOK = no; then
12364 result=$wxUSE_TOOLBOOK
12367 { echo "$as_me:$LINENO: result: $result" >&5
12368 echo "${ECHO_T}$result" >&6; }
12372 defaultval=$wxUSE_ALL_FEATURES
12373 if test -z "$defaultval"; then
12374 if test x"$enablestring" = xdisable; then
12381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12382 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12383 # Check whether --enable-treebook was given.
12384 if test "${enable_treebook+set}" = set; then
12385 enableval=$enable_treebook;
12386 if test "$enableval" = yes; then
12387 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
12389 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
12394 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12399 eval "$wx_cv_use_treebook"
12401 if test x"$enablestring" = xdisable; then
12402 if test $wxUSE_TREEBOOK = no; then
12408 result=$wxUSE_TREEBOOK
12411 { echo "$as_me:$LINENO: result
: $result" >&5
12412 echo "${ECHO_T}$result" >&6; }
12416 defaultval=$wxUSE_ALL_FEATURES
12417 if test -z "$defaultval"; then
12418 if test x"$enablestring" = xdisable; then
12425 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
12426 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6; }
12427 # Check whether --enable-treectrl was given.
12428 if test "${enable_treectrl+set}" = set; then
12429 enableval=$enable_treectrl;
12430 if test "$enableval" = yes; then
12431 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12433 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12438 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12443 eval "$wx_cv_use_treectrl"
12445 if test x
"$enablestring" = xdisable
; then
12446 if test $wxUSE_TREECTRL = no
; then
12452 result
=$wxUSE_TREECTRL
12455 { echo "$as_me:$LINENO: result: $result" >&5
12456 echo "${ECHO_T}$result" >&6; }
12462 defaultval
=$wxUSE_ALL_FEATURES
12463 if test -z "$defaultval"; then
12464 if test x
"$enablestring" = xdisable
; then
12471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12472 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12473 # Check whether --enable-commondlg was given.
12474 if test "${enable_commondlg+set}" = set; then
12475 enableval
=$enable_commondlg;
12476 if test "$enableval" = yes; then
12477 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
12479 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
12484 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12489 eval "$wx_cv_use_commondlg"
12491 if test x"$enablestring" = xdisable; then
12492 if test $wxUSE_COMMONDLGS = no; then
12498 result=$wxUSE_COMMONDLGS
12501 { echo "$as_me:$LINENO: result: $result" >&5
12502 echo "${ECHO_T}$result" >&6; }
12506 defaultval=$wxUSE_ALL_FEATURES
12507 if test -z "$defaultval"; then
12508 if test x"$enablestring" = xdisable; then
12515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12516 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12517 # Check whether --enable-aboutdlg was given.
12518 if test "${enable_aboutdlg+set}" = set; then
12519 enableval=$enable_aboutdlg;
12520 if test "$enableval" = yes; then
12521 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
12523 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
12528 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12533 eval "$wx_cv_use_aboutdlg"
12535 if test x"$enablestring" = xdisable; then
12536 if test $wxUSE_ABOUTDLG = no; then
12542 result=$wxUSE_ABOUTDLG
12545 { echo "$as_me:$LINENO: result
: $result" >&5
12546 echo "${ECHO_T}$result" >&6; }
12550 defaultval=$wxUSE_ALL_FEATURES
12551 if test -z "$defaultval"; then
12552 if test x"$enablestring" = xdisable; then
12559 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
12560 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
12561 # Check whether --enable-choicedlg was given.
12562 if test "${enable_choicedlg+set}" = set; then
12563 enableval=$enable_choicedlg;
12564 if test "$enableval" = yes; then
12565 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12567 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12572 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12577 eval "$wx_cv_use_choicedlg"
12579 if test x
"$enablestring" = xdisable
; then
12580 if test $wxUSE_CHOICEDLG = no
; then
12586 result
=$wxUSE_CHOICEDLG
12589 { echo "$as_me:$LINENO: result: $result" >&5
12590 echo "${ECHO_T}$result" >&6; }
12594 defaultval
=$wxUSE_ALL_FEATURES
12595 if test -z "$defaultval"; then
12596 if test x
"$enablestring" = xdisable
; then
12603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12604 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12605 # Check whether --enable-coldlg was given.
12606 if test "${enable_coldlg+set}" = set; then
12607 enableval
=$enable_coldlg;
12608 if test "$enableval" = yes; then
12609 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12611 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12616 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12621 eval "$wx_cv_use_coldlg"
12623 if test x"$enablestring" = xdisable; then
12624 if test $wxUSE_COLOURDLG = no; then
12630 result=$wxUSE_COLOURDLG
12633 { echo "$as_me:$LINENO: result: $result" >&5
12634 echo "${ECHO_T}$result" >&6; }
12638 defaultval=$wxUSE_ALL_FEATURES
12639 if test -z "$defaultval"; then
12640 if test x"$enablestring" = xdisable; then
12647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12648 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12649 # Check whether --enable-filedlg was given.
12650 if test "${enable_filedlg+set}" = set; then
12651 enableval=$enable_filedlg;
12652 if test "$enableval" = yes; then
12653 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12655 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12660 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12665 eval "$wx_cv_use_filedlg"
12667 if test x"$enablestring" = xdisable; then
12668 if test $wxUSE_FILEDLG = no; then
12674 result=$wxUSE_FILEDLG
12677 { echo "$as_me:$LINENO: result
: $result" >&5
12678 echo "${ECHO_T}$result" >&6; }
12682 defaultval=$wxUSE_ALL_FEATURES
12683 if test -z "$defaultval"; then
12684 if test x"$enablestring" = xdisable; then
12691 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12692 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12693 # Check whether --enable-finddlg was given.
12694 if test "${enable_finddlg+set}" = set; then
12695 enableval=$enable_finddlg;
12696 if test "$enableval" = yes; then
12697 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12699 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12704 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12709 eval "$wx_cv_use_finddlg"
12711 if test x
"$enablestring" = xdisable
; then
12712 if test $wxUSE_FINDREPLDLG = no
; then
12718 result
=$wxUSE_FINDREPLDLG
12721 { echo "$as_me:$LINENO: result: $result" >&5
12722 echo "${ECHO_T}$result" >&6; }
12726 defaultval
=$wxUSE_ALL_FEATURES
12727 if test -z "$defaultval"; then
12728 if test x
"$enablestring" = xdisable
; then
12735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12736 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12737 # Check whether --enable-fontdlg was given.
12738 if test "${enable_fontdlg+set}" = set; then
12739 enableval
=$enable_fontdlg;
12740 if test "$enableval" = yes; then
12741 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12743 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12748 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12753 eval "$wx_cv_use_fontdlg"
12755 if test x"$enablestring" = xdisable; then
12756 if test $wxUSE_FONTDLG = no; then
12762 result=$wxUSE_FONTDLG
12765 { echo "$as_me:$LINENO: result: $result" >&5
12766 echo "${ECHO_T}$result" >&6; }
12770 defaultval=$wxUSE_ALL_FEATURES
12771 if test -z "$defaultval"; then
12772 if test x"$enablestring" = xdisable; then
12779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12780 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12781 # Check whether --enable-dirdlg was given.
12782 if test "${enable_dirdlg+set}" = set; then
12783 enableval=$enable_dirdlg;
12784 if test "$enableval" = yes; then
12785 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12787 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12792 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12797 eval "$wx_cv_use_dirdlg"
12799 if test x"$enablestring" = xdisable; then
12800 if test $wxUSE_DIRDLG = no; then
12806 result=$wxUSE_DIRDLG
12809 { echo "$as_me:$LINENO: result
: $result" >&5
12810 echo "${ECHO_T}$result" >&6; }
12814 defaultval=$wxUSE_ALL_FEATURES
12815 if test -z "$defaultval"; then
12816 if test x"$enablestring" = xdisable; then
12823 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12824 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12825 # Check whether --enable-msgdlg was given.
12826 if test "${enable_msgdlg+set}" = set; then
12827 enableval=$enable_msgdlg;
12828 if test "$enableval" = yes; then
12829 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12831 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12836 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12841 eval "$wx_cv_use_msgdlg"
12843 if test x
"$enablestring" = xdisable
; then
12844 if test $wxUSE_MSGDLG = no
; then
12850 result
=$wxUSE_MSGDLG
12853 { echo "$as_me:$LINENO: result: $result" >&5
12854 echo "${ECHO_T}$result" >&6; }
12858 defaultval
=$wxUSE_ALL_FEATURES
12859 if test -z "$defaultval"; then
12860 if test x
"$enablestring" = xdisable
; then
12867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12868 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12869 # Check whether --enable-numberdlg was given.
12870 if test "${enable_numberdlg+set}" = set; then
12871 enableval
=$enable_numberdlg;
12872 if test "$enableval" = yes; then
12873 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12875 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12880 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12885 eval "$wx_cv_use_numberdlg"
12887 if test x"$enablestring" = xdisable; then
12888 if test $wxUSE_NUMBERDLG = no; then
12894 result=$wxUSE_NUMBERDLG
12897 { echo "$as_me:$LINENO: result: $result" >&5
12898 echo "${ECHO_T}$result" >&6; }
12902 defaultval=$wxUSE_ALL_FEATURES
12903 if test -z "$defaultval"; then
12904 if test x"$enablestring" = xdisable; then
12911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12912 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12913 # Check whether --enable-splash was given.
12914 if test "${enable_splash+set}" = set; then
12915 enableval=$enable_splash;
12916 if test "$enableval" = yes; then
12917 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12919 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12924 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12929 eval "$wx_cv_use_splash"
12931 if test x"$enablestring" = xdisable; then
12932 if test $wxUSE_SPLASH = no; then
12938 result=$wxUSE_SPLASH
12941 { echo "$as_me:$LINENO: result
: $result" >&5
12942 echo "${ECHO_T}$result" >&6; }
12946 defaultval=$wxUSE_ALL_FEATURES
12947 if test -z "$defaultval"; then
12948 if test x"$enablestring" = xdisable; then
12955 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12956 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12957 # Check whether --enable-textdlg was given.
12958 if test "${enable_textdlg+set}" = set; then
12959 enableval=$enable_textdlg;
12960 if test "$enableval" = yes; then
12961 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12963 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12968 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12973 eval "$wx_cv_use_textdlg"
12975 if test x
"$enablestring" = xdisable
; then
12976 if test $wxUSE_TEXTDLG = no
; then
12982 result
=$wxUSE_TEXTDLG
12985 { echo "$as_me:$LINENO: result: $result" >&5
12986 echo "${ECHO_T}$result" >&6; }
12990 defaultval
=$wxUSE_ALL_FEATURES
12991 if test -z "$defaultval"; then
12992 if test x
"$enablestring" = xdisable
; then
12999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13000 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13001 # Check whether --enable-tipdlg was given.
13002 if test "${enable_tipdlg+set}" = set; then
13003 enableval
=$enable_tipdlg;
13004 if test "$enableval" = yes; then
13005 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
13007 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
13012 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13017 eval "$wx_cv_use_tipdlg"
13019 if test x"$enablestring" = xdisable; then
13020 if test $wxUSE_STARTUP_TIPS = no; then
13026 result=$wxUSE_STARTUP_TIPS
13029 { echo "$as_me:$LINENO: result: $result" >&5
13030 echo "${ECHO_T}$result" >&6; }
13034 defaultval=$wxUSE_ALL_FEATURES
13035 if test -z "$defaultval"; then
13036 if test x"$enablestring" = xdisable; then
13043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13044 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13045 # Check whether --enable-progressdlg was given.
13046 if test "${enable_progressdlg+set}" = set; then
13047 enableval=$enable_progressdlg;
13048 if test "$enableval" = yes; then
13049 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
13051 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
13056 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13061 eval "$wx_cv_use_progressdlg"
13063 if test x"$enablestring" = xdisable; then
13064 if test $wxUSE_PROGRESSDLG = no; then
13070 result=$wxUSE_PROGRESSDLG
13073 { echo "$as_me:$LINENO: result
: $result" >&5
13074 echo "${ECHO_T}$result" >&6; }
13078 defaultval=$wxUSE_ALL_FEATURES
13079 if test -z "$defaultval"; then
13080 if test x"$enablestring" = xdisable; then
13087 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
13088 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
13089 # Check whether --enable-wizarddlg was given.
13090 if test "${enable_wizarddlg+set}" = set; then
13091 enableval=$enable_wizarddlg;
13092 if test "$enableval" = yes; then
13093 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13095 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13100 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13105 eval "$wx_cv_use_wizarddlg"
13107 if test x
"$enablestring" = xdisable
; then
13108 if test $wxUSE_WIZARDDLG = no
; then
13114 result
=$wxUSE_WIZARDDLG
13117 { echo "$as_me:$LINENO: result: $result" >&5
13118 echo "${ECHO_T}$result" >&6; }
13124 defaultval
=$wxUSE_ALL_FEATURES
13125 if test -z "$defaultval"; then
13126 if test x
"$enablestring" = xdisable
; then
13133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13134 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13135 # Check whether --enable-menus was given.
13136 if test "${enable_menus+set}" = set; then
13137 enableval
=$enable_menus;
13138 if test "$enableval" = yes; then
13139 wx_cv_use_menus
='wxUSE_MENUS=yes'
13141 wx_cv_use_menus
='wxUSE_MENUS=no'
13146 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13151 eval "$wx_cv_use_menus"
13153 if test x"$enablestring" = xdisable; then
13154 if test $wxUSE_MENUS = no; then
13160 result=$wxUSE_MENUS
13163 { echo "$as_me:$LINENO: result: $result" >&5
13164 echo "${ECHO_T}$result" >&6; }
13168 defaultval=$wxUSE_ALL_FEATURES
13169 if test -z "$defaultval"; then
13170 if test x"$enablestring" = xdisable; then
13177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13178 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13179 # Check whether --enable-miniframe was given.
13180 if test "${enable_miniframe+set}" = set; then
13181 enableval=$enable_miniframe;
13182 if test "$enableval" = yes; then
13183 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
13185 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
13190 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13195 eval "$wx_cv_use_miniframe"
13197 if test x"$enablestring" = xdisable; then
13198 if test $wxUSE_MINIFRAME = no; then
13204 result=$wxUSE_MINIFRAME
13207 { echo "$as_me:$LINENO: result
: $result" >&5
13208 echo "${ECHO_T}$result" >&6; }
13212 defaultval=$wxUSE_ALL_FEATURES
13213 if test -z "$defaultval"; then
13214 if test x"$enablestring" = xdisable; then
13221 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
13222 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
13223 # Check whether --enable-tooltips was given.
13224 if test "${enable_tooltips+set}" = set; then
13225 enableval=$enable_tooltips;
13226 if test "$enableval" = yes; then
13227 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13229 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13234 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13239 eval "$wx_cv_use_tooltips"
13241 if test x
"$enablestring" = xdisable
; then
13242 if test $wxUSE_TOOLTIPS = no
; then
13248 result
=$wxUSE_TOOLTIPS
13251 { echo "$as_me:$LINENO: result: $result" >&5
13252 echo "${ECHO_T}$result" >&6; }
13256 defaultval
=$wxUSE_ALL_FEATURES
13257 if test -z "$defaultval"; then
13258 if test x
"$enablestring" = xdisable
; then
13265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13266 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13267 # Check whether --enable-splines was given.
13268 if test "${enable_splines+set}" = set; then
13269 enableval
=$enable_splines;
13270 if test "$enableval" = yes; then
13271 wx_cv_use_splines
='wxUSE_SPLINES=yes'
13273 wx_cv_use_splines
='wxUSE_SPLINES=no'
13278 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13283 eval "$wx_cv_use_splines"
13285 if test x"$enablestring" = xdisable; then
13286 if test $wxUSE_SPLINES = no; then
13292 result=$wxUSE_SPLINES
13295 { echo "$as_me:$LINENO: result: $result" >&5
13296 echo "${ECHO_T}$result" >&6; }
13300 defaultval=$wxUSE_ALL_FEATURES
13301 if test -z "$defaultval"; then
13302 if test x"$enablestring" = xdisable; then
13309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13310 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13311 # Check whether --enable-mousewheel was given.
13312 if test "${enable_mousewheel+set}" = set; then
13313 enableval=$enable_mousewheel;
13314 if test "$enableval" = yes; then
13315 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
13317 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
13322 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13327 eval "$wx_cv_use_mousewheel"
13329 if test x"$enablestring" = xdisable; then
13330 if test $wxUSE_MOUSEWHEEL = no; then
13336 result=$wxUSE_MOUSEWHEEL
13339 { echo "$as_me:$LINENO: result
: $result" >&5
13340 echo "${ECHO_T}$result" >&6; }
13344 defaultval=$wxUSE_ALL_FEATURES
13345 if test -z "$defaultval"; then
13346 if test x"$enablestring" = xdisable; then
13353 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
13354 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
13355 # Check whether --enable-validators was given.
13356 if test "${enable_validators+set}" = set; then
13357 enableval=$enable_validators;
13358 if test "$enableval" = yes; then
13359 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13361 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13366 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13371 eval "$wx_cv_use_validators"
13373 if test x
"$enablestring" = xdisable
; then
13374 if test $wxUSE_VALIDATORS = no
; then
13380 result
=$wxUSE_VALIDATORS
13383 { echo "$as_me:$LINENO: result: $result" >&5
13384 echo "${ECHO_T}$result" >&6; }
13388 defaultval
=$wxUSE_ALL_FEATURES
13389 if test -z "$defaultval"; then
13390 if test x
"$enablestring" = xdisable
; then
13397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13398 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13399 # Check whether --enable-busyinfo was given.
13400 if test "${enable_busyinfo+set}" = set; then
13401 enableval
=$enable_busyinfo;
13402 if test "$enableval" = yes; then
13403 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
13405 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
13410 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13415 eval "$wx_cv_use_busyinfo"
13417 if test x"$enablestring" = xdisable; then
13418 if test $wxUSE_BUSYINFO = no; then
13424 result=$wxUSE_BUSYINFO
13427 { echo "$as_me:$LINENO: result: $result" >&5
13428 echo "${ECHO_T}$result" >&6; }
13432 defaultval=$wxUSE_ALL_FEATURES
13433 if test -z "$defaultval"; then
13434 if test x"$enablestring" = xdisable; then
13441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13442 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13443 # Check whether --enable-joystick was given.
13444 if test "${enable_joystick+set}" = set; then
13445 enableval=$enable_joystick;
13446 if test "$enableval" = yes; then
13447 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
13449 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
13454 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13459 eval "$wx_cv_use_joystick"
13461 if test x"$enablestring" = xdisable; then
13462 if test $wxUSE_JOYSTICK = no; then
13468 result=$wxUSE_JOYSTICK
13471 { echo "$as_me:$LINENO: result
: $result" >&5
13472 echo "${ECHO_T}$result" >&6; }
13476 defaultval=$wxUSE_ALL_FEATURES
13477 if test -z "$defaultval"; then
13478 if test x"$enablestring" = xdisable; then
13485 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
13486 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
13487 # Check whether --enable-metafile was given.
13488 if test "${enable_metafile+set}" = set; then
13489 enableval=$enable_metafile;
13490 if test "$enableval" = yes; then
13491 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13493 wx_cv_use_metafile='wxUSE_METAFILE=no'
13498 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13503 eval "$wx_cv_use_metafile"
13505 if test x
"$enablestring" = xdisable
; then
13506 if test $wxUSE_METAFILE = no
; then
13512 result
=$wxUSE_METAFILE
13515 { echo "$as_me:$LINENO: result: $result" >&5
13516 echo "${ECHO_T}$result" >&6; }
13520 defaultval
=$wxUSE_ALL_FEATURES
13521 if test -z "$defaultval"; then
13522 if test x
"$enablestring" = xdisable
; then
13529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13530 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13531 # Check whether --enable-dragimage was given.
13532 if test "${enable_dragimage+set}" = set; then
13533 enableval
=$enable_dragimage;
13534 if test "$enableval" = yes; then
13535 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
13537 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
13542 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13547 eval "$wx_cv_use_dragimage"
13549 if test x"$enablestring" = xdisable; then
13550 if test $wxUSE_DRAGIMAGE = no; then
13556 result=$wxUSE_DRAGIMAGE
13559 { echo "$as_me:$LINENO: result: $result" >&5
13560 echo "${ECHO_T}$result" >&6; }
13564 defaultval=$wxUSE_ALL_FEATURES
13565 if test -z "$defaultval"; then
13566 if test x"$enablestring" = xdisable; then
13573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13574 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13575 # Check whether --enable-accessibility was given.
13576 if test "${enable_accessibility+set}" = set; then
13577 enableval=$enable_accessibility;
13578 if test "$enableval" = yes; then
13579 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13581 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13586 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13591 eval "$wx_cv_use_accessibility"
13593 if test x"$enablestring" = xdisable; then
13594 if test $wxUSE_ACCESSIBILITY = no; then
13600 result=$wxUSE_ACCESSIBILITY
13603 { echo "$as_me:$LINENO: result
: $result" >&5
13604 echo "${ECHO_T}$result" >&6; }
13608 defaultval=$wxUSE_ALL_FEATURES
13609 if test -z "$defaultval"; then
13610 if test x"$enablestring" = xdisable; then
13617 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uiactionsim" >&5
13618 echo $ECHO_N "checking
for --${enablestring:-enable}-uiactionsim...
$ECHO_C" >&6; }
13619 # Check whether --enable-uiactionsim was given.
13620 if test "${enable_uiactionsim+set}" = set; then
13621 enableval=$enable_uiactionsim;
13622 if test "$enableval" = yes; then
13623 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13625 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13630 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13635 eval "$wx_cv_use_uiactionsim"
13637 if test x
"$enablestring" = xdisable
; then
13638 if test $wxUSE_UIACTIONSIMULATOR = no
; then
13644 result
=$wxUSE_UIACTIONSIMULATOR
13647 { echo "$as_me:$LINENO: result: $result" >&5
13648 echo "${ECHO_T}$result" >&6; }
13654 defaultval
=$wxUSE_ALL_FEATURES
13655 if test -z "$defaultval"; then
13656 if test x
"$enablestring" = xdisable
; then
13663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13664 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13665 # Check whether --enable-palette was given.
13666 if test "${enable_palette+set}" = set; then
13667 enableval
=$enable_palette;
13668 if test "$enableval" = yes; then
13669 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13671 wx_cv_use_palette
='wxUSE_PALETTE=no'
13676 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13681 eval "$wx_cv_use_palette"
13683 if test x"$enablestring" = xdisable; then
13684 if test $wxUSE_PALETTE = no; then
13690 result=$wxUSE_PALETTE
13693 { echo "$as_me:$LINENO: result: $result" >&5
13694 echo "${ECHO_T}$result" >&6; }
13698 defaultval=$wxUSE_ALL_FEATURES
13699 if test -z "$defaultval"; then
13700 if test x"$enablestring" = xdisable; then
13707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13708 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13709 # Check whether --enable-image was given.
13710 if test "${enable_image+set}" = set; then
13711 enableval=$enable_image;
13712 if test "$enableval" = yes; then
13713 wx_cv_use_image='wxUSE_IMAGE
=yes'
13715 wx_cv_use_image='wxUSE_IMAGE
=no
'
13720 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13725 eval "$wx_cv_use_image"
13727 if test x"$enablestring" = xdisable; then
13728 if test $wxUSE_IMAGE = no; then
13734 result=$wxUSE_IMAGE
13737 { echo "$as_me:$LINENO: result
: $result" >&5
13738 echo "${ECHO_T}$result" >&6; }
13742 defaultval=$wxUSE_ALL_FEATURES
13743 if test -z "$defaultval"; then
13744 if test x"$enablestring" = xdisable; then
13751 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13752 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13753 # Check whether --enable-gif was given.
13754 if test "${enable_gif+set}" = set; then
13755 enableval=$enable_gif;
13756 if test "$enableval" = yes; then
13757 wx_cv_use_gif='wxUSE_GIF=yes'
13759 wx_cv_use_gif='wxUSE_GIF=no'
13764 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13769 eval "$wx_cv_use_gif"
13771 if test x
"$enablestring" = xdisable
; then
13772 if test $wxUSE_GIF = no
; then
13781 { echo "$as_me:$LINENO: result: $result" >&5
13782 echo "${ECHO_T}$result" >&6; }
13786 defaultval
=$wxUSE_ALL_FEATURES
13787 if test -z "$defaultval"; then
13788 if test x
"$enablestring" = xdisable
; then
13795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13796 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13797 # Check whether --enable-pcx was given.
13798 if test "${enable_pcx+set}" = set; then
13799 enableval
=$enable_pcx;
13800 if test "$enableval" = yes; then
13801 wx_cv_use_pcx
='wxUSE_PCX=yes'
13803 wx_cv_use_pcx
='wxUSE_PCX=no'
13808 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13813 eval "$wx_cv_use_pcx"
13815 if test x"$enablestring" = xdisable; then
13816 if test $wxUSE_PCX = no; then
13825 { echo "$as_me:$LINENO: result: $result" >&5
13826 echo "${ECHO_T}$result" >&6; }
13830 defaultval=$wxUSE_ALL_FEATURES
13831 if test -z "$defaultval"; then
13832 if test x"$enablestring" = xdisable; then
13839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13840 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13841 # Check whether --enable-tga was given.
13842 if test "${enable_tga+set}" = set; then
13843 enableval=$enable_tga;
13844 if test "$enableval" = yes; then
13845 wx_cv_use_tga='wxUSE_TGA
=yes'
13847 wx_cv_use_tga='wxUSE_TGA
=no
'
13852 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13857 eval "$wx_cv_use_tga"
13859 if test x"$enablestring" = xdisable; then
13860 if test $wxUSE_TGA = no; then
13869 { echo "$as_me:$LINENO: result
: $result" >&5
13870 echo "${ECHO_T}$result" >&6; }
13874 defaultval=$wxUSE_ALL_FEATURES
13875 if test -z "$defaultval"; then
13876 if test x"$enablestring" = xdisable; then
13883 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13884 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13885 # Check whether --enable-iff was given.
13886 if test "${enable_iff+set}" = set; then
13887 enableval=$enable_iff;
13888 if test "$enableval" = yes; then
13889 wx_cv_use_iff='wxUSE_IFF=yes'
13891 wx_cv_use_iff='wxUSE_IFF=no'
13896 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13901 eval "$wx_cv_use_iff"
13903 if test x
"$enablestring" = xdisable
; then
13904 if test $wxUSE_IFF = no
; then
13913 { echo "$as_me:$LINENO: result: $result" >&5
13914 echo "${ECHO_T}$result" >&6; }
13918 defaultval
=$wxUSE_ALL_FEATURES
13919 if test -z "$defaultval"; then
13920 if test x
"$enablestring" = xdisable
; then
13927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13928 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13929 # Check whether --enable-pnm was given.
13930 if test "${enable_pnm+set}" = set; then
13931 enableval
=$enable_pnm;
13932 if test "$enableval" = yes; then
13933 wx_cv_use_pnm
='wxUSE_PNM=yes'
13935 wx_cv_use_pnm
='wxUSE_PNM=no'
13940 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13945 eval "$wx_cv_use_pnm"
13947 if test x"$enablestring" = xdisable; then
13948 if test $wxUSE_PNM = no; then
13957 { echo "$as_me:$LINENO: result: $result" >&5
13958 echo "${ECHO_T}$result" >&6; }
13962 defaultval=$wxUSE_ALL_FEATURES
13963 if test -z "$defaultval"; then
13964 if test x"$enablestring" = xdisable; then
13971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13972 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13973 # Check whether --enable-xpm was given.
13974 if test "${enable_xpm+set}" = set; then
13975 enableval=$enable_xpm;
13976 if test "$enableval" = yes; then
13977 wx_cv_use_xpm='wxUSE_XPM
=yes'
13979 wx_cv_use_xpm='wxUSE_XPM
=no
'
13984 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13989 eval "$wx_cv_use_xpm"
13991 if test x"$enablestring" = xdisable; then
13992 if test $wxUSE_XPM = no; then
14001 { echo "$as_me:$LINENO: result
: $result" >&5
14002 echo "${ECHO_T}$result" >&6; }
14006 defaultval=$wxUSE_ALL_FEATURES
14007 if test -z "$defaultval"; then
14008 if test x"$enablestring" = xdisable; then
14015 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
14016 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
14017 # Check whether --enable-ico_cur was given.
14018 if test "${enable_ico_cur+set}" = set; then
14019 enableval=$enable_ico_cur;
14020 if test "$enableval" = yes; then
14021 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14023 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14028 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14033 eval "$wx_cv_use_ico_cur"
14035 if test x
"$enablestring" = xdisable
; then
14036 if test $wxUSE_ICO_CUR = no
; then
14042 result
=$wxUSE_ICO_CUR
14045 { echo "$as_me:$LINENO: result: $result" >&5
14046 echo "${ECHO_T}$result" >&6; }
14052 defaultval
=$wxUSE_ALL_FEATURES
14053 if test -z "$defaultval"; then
14054 if test x
"$enablestring" = xdisable
; then
14061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14062 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14063 # Check whether --enable-dccache was given.
14064 if test "${enable_dccache+set}" = set; then
14065 enableval
=$enable_dccache;
14066 if test "$enableval" = yes; then
14067 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
14069 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
14074 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14079 eval "$wx_cv_use_dccache"
14081 if test x"$enablestring" = xdisable; then
14082 if test $wxUSE_DC_CACHEING = no; then
14088 result=$wxUSE_DC_CACHEING
14091 { echo "$as_me:$LINENO: result: $result" >&5
14092 echo "${ECHO_T}$result" >&6; }
14096 defaultval=$wxUSE_ALL_FEATURES
14097 if test -z "$defaultval"; then
14098 if test x"$enablestring" = xdisable; then
14105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14106 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14107 # Check whether --enable-ps-in-msw was given.
14108 if test "${enable_ps_in_msw+set}" = set; then
14109 enableval=$enable_ps_in_msw;
14110 if test "$enableval" = yes; then
14111 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
14113 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
14118 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14123 eval "$wx_cv_use_ps_in_msw"
14125 if test x"$enablestring" = xdisable; then
14126 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14132 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14135 { echo "$as_me:$LINENO: result
: $result" >&5
14136 echo "${ECHO_T}$result" >&6; }
14140 defaultval=$wxUSE_ALL_FEATURES
14141 if test -z "$defaultval"; then
14142 if test x"$enablestring" = xdisable; then
14149 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
14150 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
14151 # Check whether --enable-ownerdrawn was given.
14152 if test "${enable_ownerdrawn+set}" = set; then
14153 enableval=$enable_ownerdrawn;
14154 if test "$enableval" = yes; then
14155 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14157 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14162 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14167 eval "$wx_cv_use_ownerdrawn"
14169 if test x
"$enablestring" = xdisable
; then
14170 if test $wxUSE_OWNER_DRAWN = no
; then
14176 result
=$wxUSE_OWNER_DRAWN
14179 { echo "$as_me:$LINENO: result: $result" >&5
14180 echo "${ECHO_T}$result" >&6; }
14184 defaultval
=$wxUSE_ALL_FEATURES
14185 if test -z "$defaultval"; then
14186 if test x
"$enablestring" = xdisable
; then
14193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14194 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14195 # Check whether --enable-uxtheme was given.
14196 if test "${enable_uxtheme+set}" = set; then
14197 enableval
=$enable_uxtheme;
14198 if test "$enableval" = yes; then
14199 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
14201 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
14206 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14211 eval "$wx_cv_use_uxtheme"
14213 if test x"$enablestring" = xdisable; then
14214 if test $wxUSE_UXTHEME = no; then
14220 result=$wxUSE_UXTHEME
14223 { echo "$as_me:$LINENO: result: $result" >&5
14224 echo "${ECHO_T}$result" >&6; }
14228 defaultval=$wxUSE_ALL_FEATURES
14229 if test -z "$defaultval"; then
14230 if test x"$enablestring" = xdisable; then
14237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14238 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14239 # Check whether --enable-wxdib was given.
14240 if test "${enable_wxdib+set}" = set; then
14241 enableval=$enable_wxdib;
14242 if test "$enableval" = yes; then
14243 wx_cv_use_wxdib='wxUSE_DIB
=yes'
14245 wx_cv_use_wxdib='wxUSE_DIB
=no
'
14250 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14255 eval "$wx_cv_use_wxdib"
14257 if test x"$enablestring" = xdisable; then
14258 if test $wxUSE_DIB = no; then
14267 { echo "$as_me:$LINENO: result
: $result" >&5
14268 echo "${ECHO_T}$result" >&6; }
14271 if test "$wxUSE_MSW" != 1; then
14272 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14277 defaultval=$wxUSE_ALL_FEATURES
14278 if test -z "$defaultval"; then
14279 if test x"$enablestring" = xdisable; then
14286 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
14287 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
14288 # Check whether --enable-autoidman was given.
14289 if test "${enable_autoidman+set}" = set; then
14290 enableval=$enable_autoidman;
14291 if test "$enableval" = yes; then
14292 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14294 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14299 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14304 eval "$wx_cv_use_autoidman"
14306 if test x
"$enablestring" = xdisable
; then
14307 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
14313 result
=$wxUSE_AUTOID_MANAGEMENT
14316 { echo "$as_me:$LINENO: result: $result" >&5
14317 echo "${ECHO_T}$result" >&6; }
14323 cat >confcache
<<\_ACEOF
14324 # This file is a shell script that caches the results of configure
14325 # tests run on this system so they can be shared between configure
14326 # scripts and configure runs, see configure's option --config-cache.
14327 # It is not useful on other systems. If it contains results you don't
14328 # want to keep, you may remove or edit it.
14330 # config.status only pays attention to the cache file if you give it
14331 # the --recheck option to rerun configure.
14333 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14334 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14335 # following values.
14339 # The following way of writing the cache mishandles newlines in values,
14340 # but we know of no workaround that is simple, portable, and efficient.
14341 # So, we kill variables containing newlines.
14342 # Ultrix sh set writes to stderr and can't be redirected directly,
14343 # and sets the high bit in the cache file unless we assign to the vars.
14345 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14346 eval ac_val
=\$
$ac_var
14350 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14351 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14354 _
| IFS
| as_nl
) ;; #(
14355 *) $as_unset $ac_var ;;
14361 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14362 *${as_nl}ac_space
=\
*)
14363 # `set' does not quote correctly, so add quotes (double-quote
14364 # substitution turns \\\\ into \\, and sed turns \\ into \).
14367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14370 # `set' quotes correctly as required by POSIX, so do not add quotes.
14371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14384 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14385 if test -w "$cache_file"; then
14386 test "x$cache_file" != "x/dev/null" &&
14387 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14388 echo "$as_me: updating cache $cache_file" >&6;}
14389 cat confcache
>$cache_file
14391 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14392 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14402 ac_cpp
='$CPP $CPPFLAGS'
14403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14406 if test -n "$ac_tool_prefix"; then
14407 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14408 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14411 if test "${ac_cv_prog_CC+set}" = set; then
14412 echo $ECHO_N "(cached) $ECHO_C" >&6
14414 if test -n "$CC"; then
14415 ac_cv_prog_CC
="$CC" # Let the user override the test.
14417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14418 for as_dir
in $PATH
14421 test -z "$as_dir" && as_dir
=.
14422 for ac_exec_ext
in '' $ac_executable_extensions; do
14423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14424 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14435 if test -n "$CC"; then
14436 { echo "$as_me:$LINENO: result: $CC" >&5
14437 echo "${ECHO_T}$CC" >&6; }
14439 { echo "$as_me:$LINENO: result: no" >&5
14440 echo "${ECHO_T}no" >&6; }
14445 if test -z "$ac_cv_prog_CC"; then
14447 # Extract the first word of "gcc", so it can be a program name with args.
14448 set dummy gcc
; ac_word
=$2
14449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14451 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14452 echo $ECHO_N "(cached) $ECHO_C" >&6
14454 if test -n "$ac_ct_CC"; then
14455 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14458 for as_dir
in $PATH
14461 test -z "$as_dir" && as_dir
=.
14462 for ac_exec_ext
in '' $ac_executable_extensions; do
14463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14464 ac_cv_prog_ac_ct_CC
="gcc"
14465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14474 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14475 if test -n "$ac_ct_CC"; then
14476 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14477 echo "${ECHO_T}$ac_ct_CC" >&6; }
14479 { echo "$as_me:$LINENO: result: no" >&5
14480 echo "${ECHO_T}no" >&6; }
14483 if test "x$ac_ct_CC" = x
; then
14486 case $cross_compiling:$ac_tool_warned in
14488 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14489 whose name does not start with the host triplet. If you think this
14490 configuration is useful to you, please write to autoconf@gnu.org." >&5
14491 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14492 whose name does not start with the host triplet. If you think this
14493 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14494 ac_tool_warned
=yes ;;
14499 CC
="$ac_cv_prog_CC"
14502 if test -z "$CC"; then
14503 if test -n "$ac_tool_prefix"; then
14504 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14505 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14508 if test "${ac_cv_prog_CC+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 if test -n "$CC"; then
14512 ac_cv_prog_CC
="$CC" # Let the user override the test.
14514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14515 for as_dir
in $PATH
14518 test -z "$as_dir" && as_dir
=.
14519 for ac_exec_ext
in '' $ac_executable_extensions; do
14520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14521 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14532 if test -n "$CC"; then
14533 { echo "$as_me:$LINENO: result: $CC" >&5
14534 echo "${ECHO_T}$CC" >&6; }
14536 { echo "$as_me:$LINENO: result: no" >&5
14537 echo "${ECHO_T}no" >&6; }
14543 if test -z "$CC"; then
14544 # Extract the first word of "cc", so it can be a program name with args.
14545 set dummy cc
; ac_word
=$2
14546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14548 if test "${ac_cv_prog_CC+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14551 if test -n "$CC"; then
14552 ac_cv_prog_CC
="$CC" # Let the user override the test.
14554 ac_prog_rejected
=no
14555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14556 for as_dir
in $PATH
14559 test -z "$as_dir" && as_dir
=.
14560 for ac_exec_ext
in '' $ac_executable_extensions; do
14561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14562 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14563 ac_prog_rejected
=yes
14567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14574 if test $ac_prog_rejected = yes; then
14575 # We found a bogon in the path, so make sure we never use it.
14576 set dummy
$ac_cv_prog_CC
14578 if test $# != 0; then
14579 # We chose a different compiler from the bogus one.
14580 # However, it has the same basename, so the bogon will be chosen
14581 # first if we set CC to just the basename; use the full file name.
14583 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14589 if test -n "$CC"; then
14590 { echo "$as_me:$LINENO: result: $CC" >&5
14591 echo "${ECHO_T}$CC" >&6; }
14593 { echo "$as_me:$LINENO: result: no" >&5
14594 echo "${ECHO_T}no" >&6; }
14599 if test -z "$CC"; then
14600 if test -n "$ac_tool_prefix"; then
14601 for ac_prog
in cl.exe
14603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14604 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14607 if test "${ac_cv_prog_CC+set}" = set; then
14608 echo $ECHO_N "(cached) $ECHO_C" >&6
14610 if test -n "$CC"; then
14611 ac_cv_prog_CC
="$CC" # Let the user override the test.
14613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14614 for as_dir
in $PATH
14617 test -z "$as_dir" && as_dir
=.
14618 for ac_exec_ext
in '' $ac_executable_extensions; do
14619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14620 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14631 if test -n "$CC"; then
14632 { echo "$as_me:$LINENO: result: $CC" >&5
14633 echo "${ECHO_T}$CC" >&6; }
14635 { echo "$as_me:$LINENO: result: no" >&5
14636 echo "${ECHO_T}no" >&6; }
14640 test -n "$CC" && break
14643 if test -z "$CC"; then
14645 for ac_prog
in cl.exe
14647 # Extract the first word of "$ac_prog", so it can be a program name with args.
14648 set dummy
$ac_prog; ac_word
=$2
14649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14652 echo $ECHO_N "(cached) $ECHO_C" >&6
14654 if test -n "$ac_ct_CC"; then
14655 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14658 for as_dir
in $PATH
14661 test -z "$as_dir" && as_dir
=.
14662 for ac_exec_ext
in '' $ac_executable_extensions; do
14663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14664 ac_cv_prog_ac_ct_CC
="$ac_prog"
14665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14674 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14675 if test -n "$ac_ct_CC"; then
14676 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14677 echo "${ECHO_T}$ac_ct_CC" >&6; }
14679 { echo "$as_me:$LINENO: result: no" >&5
14680 echo "${ECHO_T}no" >&6; }
14684 test -n "$ac_ct_CC" && break
14687 if test "x$ac_ct_CC" = x
; then
14690 case $cross_compiling:$ac_tool_warned in
14692 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14693 whose name does not start with the host triplet. If you think this
14694 configuration is useful to you, please write to autoconf@gnu.org." >&5
14695 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14696 whose name does not start with the host triplet. If you think this
14697 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14698 ac_tool_warned
=yes ;;
14707 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14708 See \`config.log' for more details." >&5
14709 echo "$as_me: error: no acceptable C compiler found in \$PATH
14710 See \`config.log' for more details." >&2;}
14711 { (exit 1); exit 1; }; }
14713 # Provide some information about the compiler.
14714 echo "$as_me:$LINENO: checking for C compiler version" >&5
14715 ac_compiler
=`set X $ac_compile; echo $2`
14716 { (ac_try
="$ac_compiler --version >&5"
14717 case "(($ac_try" in
14718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14719 *) ac_try_echo=$ac_try;;
14721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14722 (eval "$ac_compiler --version >&5") 2>&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }
14726 { (ac_try="$ac_compiler -v >&5"
14727 case "(($ac_try" in
14728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14729 *) ac_try_echo
=$ac_try;;
14731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14732 (eval "$ac_compiler -v >&5") 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }
14736 { (ac_try
="$ac_compiler -V >&5"
14737 case "(($ac_try" in
14738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14739 *) ac_try_echo=$ac_try;;
14741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14742 (eval "$ac_compiler -V >&5") 2>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }
14747 cat >conftest.$ac_ext <<_ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14762 ac_clean_files_save=$ac_clean_files
14763 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14764 # Try to create an executable without -o first, disregard a.out.
14765 # It will help us diagnose broken compilers, and finding out an intuition
14767 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14768 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14769 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14771 # List of possible output files, starting from the most likely.
14772 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14773 # only as a last resort. b.out is created by i960 compilers.
14774 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14776 # The IRIX 6 linker writes into existing files which may not be
14777 # executable, retaining their permissions. Remove them first so a
14778 # subsequent execution test works.
14780 for ac_file in $ac_files
14783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14784 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14789 if { (ac_try="$ac_link_default"
14790 case "(($ac_try" in
14791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14792 *) ac_try_echo=$ac_try;;
14794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14795 (eval "$ac_link_default") 2>&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; then
14799 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14800 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14801 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14802 # so that the user can short-circuit this test for compilers unknown to
14804 for ac_file
in $ac_files ''
14806 test -f "$ac_file" || continue
14808 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14811 # We found the default executable, but exeext='' is most
14815 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14817 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14819 # We set ac_cv_exeext here because the later test for it is not
14820 # safe: cross compilers may not add the suffix if given an `-o'
14821 # argument, so we may need to know it at that point already.
14822 # Even if this section looks crufty: it has the advantage of
14823 # actually working.
14829 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14835 { echo "$as_me:$LINENO: result: $ac_file" >&5
14836 echo "${ECHO_T}$ac_file" >&6; }
14837 if test -z "$ac_file"; then
14838 echo "$as_me: failed program was:" >&5
14839 sed 's/^/| /' conftest.
$ac_ext >&5
14841 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14842 See \`config.log' for more details." >&5
14843 echo "$as_me: error: C compiler cannot create executables
14844 See \`config.log' for more details." >&2;}
14845 { (exit 77); exit 77; }; }
14848 ac_exeext
=$ac_cv_exeext
14850 # Check that the compiler produces executables we can run. If not, either
14851 # the compiler is broken, or we cross compile.
14852 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14853 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14854 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14855 # If not cross compiling, check that we can run a simple program.
14856 if test "$cross_compiling" != yes; then
14857 if { ac_try
='./$ac_file'
14858 { (case "(($ac_try" in
14859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14860 *) ac_try_echo=$ac_try;;
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_try") 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; }; then
14869 if test "$cross_compiling" = maybe; then
14870 cross_compiling=yes
14872 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14873 If you meant to cross compile, use \`--host'.
14874 See \`config.log' for more details.
" >&5
14875 echo "$as_me: error
: cannot run C compiled programs.
14876 If you meant to cross compile
, use \
`--host'.
14877 See \`config.log
' for more details." >&2;}
14878 { (exit 1); exit 1; }; }
14882 { echo "$as_me:$LINENO: result: yes" >&5
14883 echo "${ECHO_T}yes" >&6; }
14885 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14886 ac_clean_files=$ac_clean_files_save
14887 # Check that the compiler produces executables we can run. If not, either
14888 # the compiler is broken, or we cross compile.
14889 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14890 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14891 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14892 echo "${ECHO_T}$cross_compiling" >&6; }
14894 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14895 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14896 if { (ac_try="$ac_link"
14897 case "(($ac_try" in
14898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14899 *) ac_try_echo=$ac_try;;
14901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14902 (eval "$ac_link") 2>&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; then
14906 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14907 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14908 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14910 for ac_file
in conftest.exe conftest conftest.
*; do
14911 test -f "$ac_file" || continue
14913 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14914 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14920 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14921 See \`config.log' for more details." >&5
14922 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14923 See \`config.log' for more details." >&2;}
14924 { (exit 1); exit 1; }; }
14927 rm -f conftest
$ac_cv_exeext
14928 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14929 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14931 rm -f conftest.
$ac_ext
14932 EXEEXT
=$ac_cv_exeext
14934 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14935 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14936 if test "${ac_cv_objext+set}" = set; then
14937 echo $ECHO_N "(cached) $ECHO_C" >&6
14939 cat >conftest.
$ac_ext <<_ACEOF
14942 cat confdefs.h
>>conftest.
$ac_ext
14943 cat >>conftest.
$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14954 rm -f conftest.o conftest.obj
14955 if { (ac_try
="$ac_compile"
14956 case "(($ac_try" in
14957 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14958 *) ac_try_echo=$ac_try;;
14960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14961 (eval "$ac_compile") 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; then
14965 for ac_file in conftest.o conftest.obj conftest.*; do
14966 test -f "$ac_file" || continue;
14968 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14969 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14977 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14978 See \`config.log
' for more details." >&5
14979 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14980 See \`config.log' for more details.
" >&2;}
14981 { (exit 1); exit 1; }; }
14984 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14986 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14987 echo "${ECHO_T}$ac_cv_objext" >&6; }
14988 OBJEXT=$ac_cv_objext
14990 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14991 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14992 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14993 echo $ECHO_N "(cached
) $ECHO_C" >&6
14995 cat >conftest.$ac_ext <<_ACEOF
14998 cat confdefs.h >>conftest.$ac_ext
14999 cat >>conftest.$ac_ext <<_ACEOF
15000 /* end confdefs.h. */
15013 rm -f conftest.$ac_objext
15014 if { (ac_try="$ac_compile"
15015 case "(($ac_try" in
15016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15017 *) ac_try_echo=$ac_try;;
15019 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15020 (eval "$ac_compile") 2>conftest.er1
15022 grep -v '^ *+' conftest.er1 >conftest.err
15024 cat conftest.err >&5
15025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15026 (exit $ac_status); } && {
15027 test -z "$ac_c_werror_flag" ||
15028 test ! -s conftest.err
15029 } && test -s conftest.$ac_objext; then
15030 ac_compiler_gnu=yes
15032 echo "$as_me: failed program was
:" >&5
15033 sed 's/^/| /' conftest.$ac_ext >&5
15038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15039 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15042 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15043 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15044 GCC=`test $ac_compiler_gnu = yes && echo yes`
15045 ac_test_CFLAGS=${CFLAGS+set}
15046 ac_save_CFLAGS=$CFLAGS
15047 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15048 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15049 if test "${ac_cv_prog_cc_g+set}" = set; then
15050 echo $ECHO_N "(cached
) $ECHO_C" >&6
15052 ac_save_c_werror_flag=$ac_c_werror_flag
15053 ac_c_werror_flag=yes
15056 cat >conftest.$ac_ext <<_ACEOF
15059 cat confdefs.h >>conftest.$ac_ext
15060 cat >>conftest.$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15071 rm -f conftest.$ac_objext
15072 if { (ac_try="$ac_compile"
15073 case "(($ac_try" in
15074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15075 *) ac_try_echo=$ac_try;;
15077 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15078 (eval "$ac_compile") 2>conftest.er1
15080 grep -v '^ *+' conftest.er1 >conftest.err
15082 cat conftest.err >&5
15083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15084 (exit $ac_status); } && {
15085 test -z "$ac_c_werror_flag" ||
15086 test ! -s conftest.err
15087 } && test -s conftest.$ac_objext; then
15088 ac_cv_prog_cc_g=yes
15090 echo "$as_me: failed program was
:" >&5
15091 sed 's/^/| /' conftest.$ac_ext >&5
15094 cat >conftest.$ac_ext <<_ACEOF
15097 cat confdefs.h >>conftest.$ac_ext
15098 cat >>conftest.$ac_ext <<_ACEOF
15099 /* end confdefs.h. */
15109 rm -f conftest.$ac_objext
15110 if { (ac_try="$ac_compile"
15111 case "(($ac_try" in
15112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15113 *) ac_try_echo=$ac_try;;
15115 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15116 (eval "$ac_compile") 2>conftest.er1
15118 grep -v '^ *+' conftest.er1 >conftest.err
15120 cat conftest.err >&5
15121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15122 (exit $ac_status); } && {
15123 test -z "$ac_c_werror_flag" ||
15124 test ! -s conftest.err
15125 } && test -s conftest.$ac_objext; then
15128 echo "$as_me: failed program was
:" >&5
15129 sed 's/^/| /' conftest.$ac_ext >&5
15131 ac_c_werror_flag=$ac_save_c_werror_flag
15133 cat >conftest.$ac_ext <<_ACEOF
15136 cat confdefs.h >>conftest.$ac_ext
15137 cat >>conftest.$ac_ext <<_ACEOF
15138 /* end confdefs.h. */
15148 rm -f conftest.$ac_objext
15149 if { (ac_try="$ac_compile"
15150 case "(($ac_try" in
15151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15152 *) ac_try_echo=$ac_try;;
15154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15155 (eval "$ac_compile") 2>conftest.er1
15157 grep -v '^ *+' conftest.er1 >conftest.err
15159 cat conftest.err >&5
15160 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15161 (exit $ac_status); } && {
15162 test -z "$ac_c_werror_flag" ||
15163 test ! -s conftest.err
15164 } && test -s conftest.$ac_objext; then
15165 ac_cv_prog_cc_g=yes
15167 echo "$as_me: failed program was
:" >&5
15168 sed 's/^/| /' conftest.$ac_ext >&5
15173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15180 ac_c_werror_flag=$ac_save_c_werror_flag
15182 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15183 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15184 if test "$ac_test_CFLAGS" = set; then
15185 CFLAGS=$ac_save_CFLAGS
15186 elif test $ac_cv_prog_cc_g = yes; then
15187 if test "$GCC" = yes; then
15193 if test "$GCC" = yes; then
15199 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15200 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15201 if test "${ac_cv_prog_cc_c89+set}" = set; then
15202 echo $ECHO_N "(cached
) $ECHO_C" >&6
15204 ac_cv_prog_cc_c89=no
15206 cat >conftest.$ac_ext <<_ACEOF
15209 cat confdefs.h >>conftest.$ac_ext
15210 cat >>conftest.$ac_ext <<_ACEOF
15211 /* end confdefs.h. */
15212 #include <stdarg.h>
15214 #include <sys/types.h>
15215 #include <sys/stat.h>
15216 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15217 struct buf { int x; };
15218 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15219 static char *e (p, i)
15225 static char *f (char * (*g) (char **, int), char **p, ...)
15230 s = g (p, va_arg (v,int));
15235 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15236 function prototypes and stuff, but not '\xHH' hex character constants.
15237 These don't provoke an error unfortunately, instead are silently treated
15238 as 'x'. The following induces an error, until -std is added to get
15239 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15240 array size at least. It's necessary to write '\x00'==0 to get something
15241 that's true only with -std. */
15242 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15244 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15245 inside strings and character constants. */
15247 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15249 int test (int i, double x);
15250 struct s1 {int (*f) (int a);};
15251 struct s2 {int (*f) (double a);};
15252 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15258 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15263 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15264 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15266 CC="$ac_save_CC $ac_arg"
15267 rm -f conftest.$ac_objext
15268 if { (ac_try="$ac_compile"
15269 case "(($ac_try" in
15270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15271 *) ac_try_echo=$ac_try;;
15273 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15274 (eval "$ac_compile") 2>conftest.er1
15276 grep -v '^ *+' conftest.er1 >conftest.err
15278 cat conftest.err >&5
15279 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15280 (exit $ac_status); } && {
15281 test -z "$ac_c_werror_flag" ||
15282 test ! -s conftest.err
15283 } && test -s conftest.$ac_objext; then
15284 ac_cv_prog_cc_c89=$ac_arg
15286 echo "$as_me: failed program was
:" >&5
15287 sed 's/^/| /' conftest.$ac_ext >&5
15292 rm -f core conftest.err conftest.$ac_objext
15293 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15295 rm -f conftest.$ac_ext
15300 case "x
$ac_cv_prog_cc_c89" in
15302 { echo "$as_me:$LINENO: result
: none needed
" >&5
15303 echo "${ECHO_T}none needed
" >&6; } ;;
15305 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15306 echo "${ECHO_T}unsupported
" >&6; } ;;
15308 CC="$CC $ac_cv_prog_cc_c89"
15309 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15310 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15315 ac_cpp='$CPP $CPPFLAGS'
15316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15324 ac_cpp='$CPP $CPPFLAGS'
15325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15329 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15330 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15331 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15332 echo $ECHO_N "(cached
) $ECHO_C" >&6
15334 cat >conftest.$ac_ext <<_ACEOF
15337 cat confdefs.h >>conftest.$ac_ext
15338 cat >>conftest.$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15345 #ifndef __INTEL_COMPILER
15353 rm -f conftest.$ac_objext
15354 if { (ac_try="$ac_compile"
15355 case "(($ac_try" in
15356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15357 *) ac_try_echo=$ac_try;;
15359 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15360 (eval "$ac_compile") 2>conftest.er1
15362 grep -v '^ *+' conftest.er1 >conftest.err
15364 cat conftest.err >&5
15365 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15366 (exit $ac_status); } && {
15367 test -z "$ac_c_werror_flag" ||
15368 test ! -s conftest.err
15369 } && test -s conftest.$ac_objext; then
15370 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15372 echo "$as_me: failed program was
:" >&5
15373 sed 's/^/| /' conftest.$ac_ext >&5
15375 bakefile_cv_c_compiler___INTEL_COMPILER=no
15379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15383 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15384 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15385 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15391 ac_cpp='$CPP $CPPFLAGS'
15392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15399 if test "$INTELCC" = "yes"; then
15403 ac_cpp='$CPP $CPPFLAGS'
15404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15408 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15409 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15410 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15411 echo $ECHO_N "(cached
) $ECHO_C" >&6
15413 cat >conftest.$ac_ext <<_ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15424 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15432 rm -f conftest.$ac_objext
15433 if { (ac_try="$ac_compile"
15434 case "(($ac_try" in
15435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15436 *) ac_try_echo=$ac_try;;
15438 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15439 (eval "$ac_compile") 2>conftest.er1
15441 grep -v '^ *+' conftest.er1 >conftest.err
15443 cat conftest.err >&5
15444 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15445 (exit $ac_status); } && {
15446 test -z "$ac_c_werror_flag" ||
15447 test ! -s conftest.err
15448 } && test -s conftest.$ac_objext; then
15449 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15451 echo "$as_me: failed program was
:" >&5
15452 sed 's/^/| /' conftest.$ac_ext >&5
15454 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15462 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15463 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15464 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15470 ac_cpp='$CPP $CPPFLAGS'
15471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15485 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15486 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15487 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15488 echo $ECHO_N "(cached
) $ECHO_C" >&6
15490 cat >conftest.$ac_ext <<_ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15501 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15509 rm -f conftest.$ac_objext
15510 if { (ac_try="$ac_compile"
15511 case "(($ac_try" in
15512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15513 *) ac_try_echo=$ac_try;;
15515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15516 (eval "$ac_compile") 2>conftest.er1
15518 grep -v '^ *+' conftest.er1 >conftest.err
15520 cat conftest.err >&5
15521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15522 (exit $ac_status); } && {
15523 test -z "$ac_c_werror_flag" ||
15524 test ! -s conftest.err
15525 } && test -s conftest.$ac_objext; then
15526 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15528 echo "$as_me: failed program was
:" >&5
15529 sed 's/^/| /' conftest.$ac_ext >&5
15531 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15539 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15540 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15541 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15547 ac_cpp='$CPP $CPPFLAGS'
15548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15556 if test "x
$GCC" != "xyes
"; then
15557 if test "xCC
" = "xC
"; then
15558 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15559 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15560 if test "${bakefile_cv_c_exto+set}" = set; then
15561 echo $ECHO_N "(cached
) $ECHO_C" >&6
15563 cat >conftest.$ac_ext <<_ACEOF
15566 cat confdefs.h >>conftest.$ac_ext
15567 cat >>conftest.$ac_ext <<_ACEOF
15568 /* end confdefs.h. */
15578 rm -f conftest.$ac_objext conftest.$ac_ext.o
15579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15580 (eval $ac_compile) 2>&5
15582 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15583 (exit $ac_status); }; then
15584 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15586 conftest.$ac_ext.o)
15587 bakefile_cv_c_exto="-ext o
"
15594 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15595 See \
`config.log' for more details." >&5
15596 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15597 See \`config.log
' for more details." >&2;}
15598 { (exit 1); exit 1; }; }
15602 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15605 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15606 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15607 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15608 if test "c" = "c"; then
15609 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15611 if test "c" = "cxx"; then
15612 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15616 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15617 unset ac_cv_prog_cc_g
15618 ac_test_CFLAGS=${CFLAGS+set}
15619 ac_save_CFLAGS=$CFLAGS
15620 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15621 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15622 if test "${ac_cv_prog_cc_g+set}" = set; then
15623 echo $ECHO_N "(cached) $ECHO_C" >&6
15625 ac_save_c_werror_flag=$ac_c_werror_flag
15626 ac_c_werror_flag=yes
15629 cat >conftest.$ac_ext <<_ACEOF
15632 cat confdefs.h >>conftest.$ac_ext
15633 cat >>conftest.$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15644 rm -f conftest.$ac_objext
15645 if { (ac_try="$ac_compile"
15646 case "(($ac_try" in
15647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15648 *) ac_try_echo=$ac_try;;
15650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15651 (eval "$ac_compile") 2>conftest.er1
15653 grep -v '^
*+' conftest.er1 >conftest.err
15655 cat conftest.err >&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } && {
15658 test -z "$ac_c_werror_flag" ||
15659 test ! -s conftest.err
15660 } && test -s conftest.$ac_objext; then
15661 ac_cv_prog_cc_g=yes
15663 echo "$as_me: failed program was:" >&5
15664 sed 's
/^
/| /' conftest.$ac_ext >&5
15667 cat >conftest.$ac_ext <<_ACEOF
15670 cat confdefs.h >>conftest.$ac_ext
15671 cat >>conftest.$ac_ext <<_ACEOF
15672 /* end confdefs.h. */
15682 rm -f conftest.$ac_objext
15683 if { (ac_try="$ac_compile"
15684 case "(($ac_try" in
15685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15686 *) ac_try_echo=$ac_try;;
15688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15689 (eval "$ac_compile") 2>conftest.er1
15691 grep -v '^
*+' conftest.er1 >conftest.err
15693 cat conftest.err >&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } && {
15696 test -z "$ac_c_werror_flag" ||
15697 test ! -s conftest.err
15698 } && test -s conftest.$ac_objext; then
15701 echo "$as_me: failed program was:" >&5
15702 sed 's
/^
/| /' conftest.$ac_ext >&5
15704 ac_c_werror_flag=$ac_save_c_werror_flag
15706 cat >conftest.$ac_ext <<_ACEOF
15709 cat confdefs.h >>conftest.$ac_ext
15710 cat >>conftest.$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15721 rm -f conftest.$ac_objext
15722 if { (ac_try="$ac_compile"
15723 case "(($ac_try" in
15724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15725 *) ac_try_echo=$ac_try;;
15727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15728 (eval "$ac_compile") 2>conftest.er1
15730 grep -v '^
*+' conftest.er1 >conftest.err
15732 cat conftest.err >&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); } && {
15735 test -z "$ac_c_werror_flag" ||
15736 test ! -s conftest.err
15737 } && test -s conftest.$ac_objext; then
15738 ac_cv_prog_cc_g=yes
15740 echo "$as_me: failed program was:" >&5
15741 sed 's
/^
/| /' conftest.$ac_ext >&5
15746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15753 ac_c_werror_flag=$ac_save_c_werror_flag
15755 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15756 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15757 if test "$ac_test_CFLAGS" = set; then
15758 CFLAGS=$ac_save_CFLAGS
15759 elif test $ac_cv_prog_cc_g = yes; then
15760 if test "$GCC" = yes; then
15766 if test "$GCC" = yes; then
15780 ac_cpp='$CPP $CPPFLAGS'
15781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15782 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15785 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15786 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15787 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15788 echo $ECHO_N "(cached) $ECHO_C" >&6
15790 cat >conftest.$ac_ext <<_ACEOF
15793 cat confdefs.h >>conftest.$ac_ext
15794 cat >>conftest.$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15809 rm -f conftest.$ac_objext
15810 if { (ac_try="$ac_compile"
15811 case "(($ac_try" in
15812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15813 *) ac_try_echo=$ac_try;;
15815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15816 (eval "$ac_compile") 2>conftest.er1
15818 grep -v '^
*+' conftest.er1 >conftest.err
15820 cat conftest.err >&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } && {
15823 test -z "$ac_c_werror_flag" ||
15824 test ! -s conftest.err
15825 } && test -s conftest.$ac_objext; then
15826 bakefile_cv_c_compiler___xlC__=yes
15828 echo "$as_me: failed program was:" >&5
15829 sed 's
/^
/| /' conftest.$ac_ext >&5
15831 bakefile_cv_c_compiler___xlC__=no
15835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15839 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15840 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15841 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15847 ac_cpp='$CPP $CPPFLAGS'
15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15849 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15860 ac_cpp='$CPP $CPPFLAGS'
15861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15862 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15865 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15866 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15867 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15868 echo $ECHO_N "(cached) $ECHO_C" >&6
15870 cat >conftest.$ac_ext <<_ACEOF
15873 cat confdefs.h >>conftest.$ac_ext
15874 cat >>conftest.$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15889 rm -f conftest.$ac_objext
15890 if { (ac_try="$ac_compile"
15891 case "(($ac_try" in
15892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15893 *) ac_try_echo=$ac_try;;
15895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15896 (eval "$ac_compile") 2>conftest.er1
15898 grep -v '^
*+' conftest.er1 >conftest.err
15900 cat conftest.err >&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); } && {
15903 test -z "$ac_c_werror_flag" ||
15904 test ! -s conftest.err
15905 } && test -s conftest.$ac_objext; then
15906 bakefile_cv_c_compiler___MWERKS__=yes
15908 echo "$as_me: failed program was:" >&5
15909 sed 's
/^
/| /' conftest.$ac_ext >&5
15911 bakefile_cv_c_compiler___MWERKS__=no
15915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15919 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15920 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15921 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15927 ac_cpp='$CPP $CPPFLAGS'
15928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15929 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15934 if test "$MWCC" != "yes"; then
15938 ac_cpp='$CPP $CPPFLAGS'
15939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15940 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15943 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15944 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15945 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15946 echo $ECHO_N "(cached) $ECHO_C" >&6
15948 cat >conftest.$ac_ext <<_ACEOF
15951 cat confdefs.h >>conftest.$ac_ext
15952 cat >>conftest.$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15967 rm -f conftest.$ac_objext
15968 if { (ac_try="$ac_compile"
15969 case "(($ac_try" in
15970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15971 *) ac_try_echo=$ac_try;;
15973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15974 (eval "$ac_compile") 2>conftest.er1
15976 grep -v '^
*+' conftest.er1 >conftest.err
15978 cat conftest.err >&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); } && {
15981 test -z "$ac_c_werror_flag" ||
15982 test ! -s conftest.err
15983 } && test -s conftest.$ac_objext; then
15984 bakefile_cv_c_compiler___xlC__=yes
15986 echo "$as_me: failed program was:" >&5
15987 sed 's
/^
/| /' conftest.$ac_ext >&5
15989 bakefile_cv_c_compiler___xlC__=no
15993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15997 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15998 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15999 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16005 ac_cpp='$CPP $CPPFLAGS'
16006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16007 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16019 ac_cpp='$CPP $CPPFLAGS'
16020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16021 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16024 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16025 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16026 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16027 echo $ECHO_N "(cached) $ECHO_C" >&6
16029 cat >conftest.$ac_ext <<_ACEOF
16032 cat confdefs.h >>conftest.$ac_ext
16033 cat >>conftest.$ac_ext <<_ACEOF
16034 /* end confdefs.h. */
16040 #ifndef _SGI_COMPILER_VERSION
16048 rm -f conftest.$ac_objext
16049 if { (ac_try="$ac_compile"
16050 case "(($ac_try" in
16051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16052 *) ac_try_echo=$ac_try;;
16054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16055 (eval "$ac_compile") 2>conftest.er1
16057 grep -v '^
*+' conftest.er1 >conftest.err
16059 cat conftest.err >&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } && {
16062 test -z "$ac_c_werror_flag" ||
16063 test ! -s conftest.err
16064 } && test -s conftest.$ac_objext; then
16065 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16067 echo "$as_me: failed program was:" >&5
16068 sed 's
/^
/| /' conftest.$ac_ext >&5
16070 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16078 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16079 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16080 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16086 ac_cpp='$CPP $CPPFLAGS'
16087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16088 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16096 if test "$INTELCC" != "yes"; then
16100 ac_cpp='$CPP $CPPFLAGS'
16101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16102 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16105 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16106 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16107 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16108 echo $ECHO_N "(cached) $ECHO_C" >&6
16110 cat >conftest.$ac_ext <<_ACEOF
16113 cat confdefs.h >>conftest.$ac_ext
16114 cat >>conftest.$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16129 rm -f conftest.$ac_objext
16130 if { (ac_try="$ac_compile"
16131 case "(($ac_try" in
16132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16133 *) ac_try_echo=$ac_try;;
16135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16136 (eval "$ac_compile") 2>conftest.er1
16138 grep -v '^
*+' conftest.er1 >conftest.err
16140 cat conftest.err >&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } && {
16143 test -z "$ac_c_werror_flag" ||
16144 test ! -s conftest.err
16145 } && test -s conftest.$ac_objext; then
16146 bakefile_cv_c_compiler___SUNPRO_C=yes
16148 echo "$as_me: failed program was:" >&5
16149 sed 's
/^
/| /' conftest.$ac_ext >&5
16151 bakefile_cv_c_compiler___SUNPRO_C=no
16155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16159 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16160 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16161 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16167 ac_cpp='$CPP $CPPFLAGS'
16168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16169 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16181 ac_cpp='$CPP $CPPFLAGS'
16182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16183 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16186 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16187 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16188 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16189 echo $ECHO_N "(cached) $ECHO_C" >&6
16191 cat >conftest.$ac_ext <<_ACEOF
16194 cat confdefs.h >>conftest.$ac_ext
16195 cat >>conftest.$ac_ext <<_ACEOF
16196 /* end confdefs.h. */
16210 rm -f conftest.$ac_objext
16211 if { (ac_try="$ac_compile"
16212 case "(($ac_try" in
16213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16214 *) ac_try_echo=$ac_try;;
16216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16217 (eval "$ac_compile") 2>conftest.er1
16219 grep -v '^
*+' conftest.er1 >conftest.err
16221 cat conftest.err >&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } && {
16224 test -z "$ac_c_werror_flag" ||
16225 test ! -s conftest.err
16226 } && test -s conftest.$ac_objext; then
16227 bakefile_cv_c_compiler___HP_cc=yes
16229 echo "$as_me: failed program was:" >&5
16230 sed 's
/^
/| /' conftest.$ac_ext >&5
16232 bakefile_cv_c_compiler___HP_cc=no
16236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16240 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16241 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16242 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16248 ac_cpp='$CPP $CPPFLAGS'
16249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16250 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16261 ac_cpp='$CPP $CPPFLAGS'
16262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16263 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16266 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16267 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16268 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16269 echo $ECHO_N "(cached) $ECHO_C" >&6
16271 cat >conftest.$ac_ext <<_ACEOF
16274 cat confdefs.h >>conftest.$ac_ext
16275 cat >>conftest.$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16290 rm -f conftest.$ac_objext
16291 if { (ac_try="$ac_compile"
16292 case "(($ac_try" in
16293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16294 *) ac_try_echo=$ac_try;;
16296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16297 (eval "$ac_compile") 2>conftest.er1
16299 grep -v '^
*+' conftest.er1 >conftest.err
16301 cat conftest.err >&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } && {
16304 test -z "$ac_c_werror_flag" ||
16305 test ! -s conftest.err
16306 } && test -s conftest.$ac_objext; then
16307 bakefile_cv_c_compiler___DECC=yes
16309 echo "$as_me: failed program was:" >&5
16310 sed 's
/^
/| /' conftest.$ac_ext >&5
16312 bakefile_cv_c_compiler___DECC=no
16316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16320 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16321 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16322 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16328 ac_cpp='$CPP $CPPFLAGS'
16329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16330 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16341 ac_cpp='$CPP $CPPFLAGS'
16342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16343 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16346 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16347 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16348 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16349 echo $ECHO_N "(cached) $ECHO_C" >&6
16351 cat >conftest.$ac_ext <<_ACEOF
16354 cat confdefs.h >>conftest.$ac_ext
16355 cat >>conftest.$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16370 rm -f conftest.$ac_objext
16371 if { (ac_try="$ac_compile"
16372 case "(($ac_try" in
16373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16374 *) ac_try_echo=$ac_try;;
16376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16377 (eval "$ac_compile") 2>conftest.er1
16379 grep -v '^
*+' conftest.er1 >conftest.err
16381 cat conftest.err >&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); } && {
16384 test -z "$ac_c_werror_flag" ||
16385 test ! -s conftest.err
16386 } && test -s conftest.$ac_objext; then
16387 bakefile_cv_c_compiler___SUNPRO_C=yes
16389 echo "$as_me: failed program was:" >&5
16390 sed 's
/^
/| /' conftest.$ac_ext >&5
16392 bakefile_cv_c_compiler___SUNPRO_C=no
16396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16400 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16401 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16402 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16408 ac_cpp='$CPP $CPPFLAGS'
16409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16410 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16422 ac_cpp='$CPP $CPPFLAGS'
16423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16424 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16426 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16427 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16428 # On Suns, sometimes $CPP names a directory.
16429 if test -n "$CPP" && test -d "$CPP"; then
16432 if test -z "$CPP"; then
16433 if test "${ac_cv_prog_CPP+set}" = set; then
16434 echo $ECHO_N "(cached) $ECHO_C" >&6
16436 # Double quotes because CPP needs to be expanded
16437 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16439 ac_preproc_ok=false
16440 for ac_c_preproc_warn_flag in '' yes
16442 # Use a header file that comes with gcc, so configuring glibc
16443 # with a fresh cross-compiler works.
16444 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16445 # <limits.h> exists even on freestanding compilers.
16446 # On the NeXT, cc -E runs the code through the compiler's parser
,
16447 # not just through cpp. "Syntax error" is here to catch this case.
16448 cat >conftest.
$ac_ext <<_ACEOF
16451 cat confdefs.h
>>conftest.
$ac_ext
16452 cat >>conftest.
$ac_ext <<_ACEOF
16453 /* end confdefs.h. */
16455 # include <limits.h>
16457 # include <assert.h>
16461 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16462 case "(($ac_try" in
16463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16464 *) ac_try_echo=$ac_try;;
16466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16467 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16469 grep -v '^ *+' conftest.er1 >conftest.err
16471 cat conftest.err >&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); } >/dev/null && {
16474 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16475 test ! -s conftest.err
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.$ac_ext >&5
16482 # Broken: fails on valid input.
16486 rm -f conftest.err conftest.$ac_ext
16488 # OK, works on sane cases. Now check whether nonexistent headers
16489 # can be detected and how.
16490 cat >conftest.$ac_ext <<_ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16496 #include <ac_nonexistent.h>
16498 if { (ac_try="$ac_cpp conftest.$ac_ext"
16499 case "(($ac_try" in
16500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16501 *) ac_try_echo
=$ac_try;;
16503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16504 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16506 grep -v '^ *+' conftest.er1
>conftest.err
16508 cat conftest.err
>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } >/dev
/null
&& {
16511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16512 test ! -s conftest.err
16514 # Broken: success on invalid input.
16517 echo "$as_me: failed program was:" >&5
16518 sed 's/^/| /' conftest.
$ac_ext >&5
16520 # Passes both tests.
16525 rm -f conftest.err conftest.
$ac_ext
16528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16529 rm -f conftest.err conftest.
$ac_ext
16530 if $ac_preproc_ok; then
16535 ac_cv_prog_CPP
=$CPP
16538 CPP
=$ac_cv_prog_CPP
16540 ac_cv_prog_CPP
=$CPP
16542 { echo "$as_me:$LINENO: result: $CPP" >&5
16543 echo "${ECHO_T}$CPP" >&6; }
16544 ac_preproc_ok
=false
16545 for ac_c_preproc_warn_flag
in '' yes
16547 # Use a header file that comes with gcc, so configuring glibc
16548 # with a fresh cross-compiler works.
16549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16550 # <limits.h> exists even on freestanding compilers.
16551 # On the NeXT, cc -E runs the code through the compiler's parser,
16552 # not just through cpp. "Syntax error" is here to catch this case.
16553 cat >conftest.
$ac_ext <<_ACEOF
16556 cat confdefs.h
>>conftest.
$ac_ext
16557 cat >>conftest.
$ac_ext <<_ACEOF
16558 /* end confdefs.h. */
16560 # include <limits.h>
16562 # include <assert.h>
16566 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16567 case "(($ac_try" in
16568 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16569 *) ac_try_echo=$ac_try;;
16571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16574 grep -v '^ *+' conftest.er1 >conftest.err
16576 cat conftest.err >&5
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); } >/dev/null && {
16579 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16580 test ! -s conftest.err
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16587 # Broken: fails on valid input.
16591 rm -f conftest.err conftest.$ac_ext
16593 # OK, works on sane cases. Now check whether nonexistent headers
16594 # can be detected and how.
16595 cat >conftest.$ac_ext <<_ACEOF
16598 cat confdefs.h >>conftest.$ac_ext
16599 cat >>conftest.$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16601 #include <ac_nonexistent.h>
16603 if { (ac_try="$ac_cpp conftest.$ac_ext"
16604 case "(($ac_try" in
16605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16606 *) ac_try_echo
=$ac_try;;
16608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16611 grep -v '^ *+' conftest.er1
>conftest.err
16613 cat conftest.err
>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } >/dev
/null
&& {
16616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16617 test ! -s conftest.err
16619 # Broken: success on invalid input.
16622 echo "$as_me: failed program was:" >&5
16623 sed 's/^/| /' conftest.
$ac_ext >&5
16625 # Passes both tests.
16630 rm -f conftest.err conftest.
$ac_ext
16633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16634 rm -f conftest.err conftest.
$ac_ext
16635 if $ac_preproc_ok; then
16638 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16639 See \`config.log' for more details." >&5
16640 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16641 See \`config.log' for more details." >&2;}
16642 { (exit 1); exit 1; }; }
16646 ac_cpp
='$CPP $CPPFLAGS'
16647 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16648 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16649 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16652 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16653 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16654 if test "${ac_cv_path_GREP+set}" = set; then
16655 echo $ECHO_N "(cached) $ECHO_C" >&6
16657 # Extract the first word of "grep ggrep" to use in msg output
16658 if test -z "$GREP"; then
16659 set dummy
grep ggrep
; ac_prog_name
=$2
16660 if test "${ac_cv_path_GREP+set}" = set; then
16661 echo $ECHO_N "(cached) $ECHO_C" >&6
16663 ac_path_GREP_found
=false
16664 # Loop through the user's path and test for each of PROGNAME-LIST
16665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16666 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16669 test -z "$as_dir" && as_dir
=.
16670 for ac_prog
in grep ggrep
; do
16671 for ac_exec_ext
in '' $ac_executable_extensions; do
16672 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16673 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16674 # Check for GNU ac_path_GREP and select it if it is found.
16675 # Check for GNU $ac_path_GREP
16676 case `"$ac_path_GREP" --version 2>&1` in
16678 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16681 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16684 cat "conftest.in" "conftest.in" >"conftest.tmp"
16685 mv "conftest.tmp" "conftest.in"
16686 cp "conftest.in" "conftest.nl"
16687 echo 'GREP' >> "conftest.nl"
16688 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16689 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16690 ac_count
=`expr $ac_count + 1`
16691 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16692 # Best one so far, save it but keep looking for a better one
16693 ac_cv_path_GREP
="$ac_path_GREP"
16694 ac_path_GREP_max
=$ac_count
16696 # 10*(2^10) chars as input seems more than enough
16697 test $ac_count -gt 10 && break
16699 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16703 $ac_path_GREP_found && break 3
16713 GREP
="$ac_cv_path_GREP"
16714 if test -z "$GREP"; then
16715 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16716 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16717 { (exit 1); exit 1; }; }
16721 ac_cv_path_GREP
=$GREP
16726 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16727 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16728 GREP
="$ac_cv_path_GREP"
16731 { echo "$as_me:$LINENO: checking for egrep" >&5
16732 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16733 if test "${ac_cv_path_EGREP+set}" = set; then
16734 echo $ECHO_N "(cached) $ECHO_C" >&6
16736 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16737 then ac_cv_path_EGREP
="$GREP -E"
16739 # Extract the first word of "egrep" to use in msg output
16740 if test -z "$EGREP"; then
16741 set dummy
egrep; ac_prog_name
=$2
16742 if test "${ac_cv_path_EGREP+set}" = set; then
16743 echo $ECHO_N "(cached) $ECHO_C" >&6
16745 ac_path_EGREP_found
=false
16746 # Loop through the user's path and test for each of PROGNAME-LIST
16747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16748 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16751 test -z "$as_dir" && as_dir
=.
16752 for ac_prog
in egrep; do
16753 for ac_exec_ext
in '' $ac_executable_extensions; do
16754 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16755 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16756 # Check for GNU ac_path_EGREP and select it if it is found.
16757 # Check for GNU $ac_path_EGREP
16758 case `"$ac_path_EGREP" --version 2>&1` in
16760 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16763 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16766 cat "conftest.in" "conftest.in" >"conftest.tmp"
16767 mv "conftest.tmp" "conftest.in"
16768 cp "conftest.in" "conftest.nl"
16769 echo 'EGREP' >> "conftest.nl"
16770 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16771 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16772 ac_count
=`expr $ac_count + 1`
16773 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16774 # Best one so far, save it but keep looking for a better one
16775 ac_cv_path_EGREP
="$ac_path_EGREP"
16776 ac_path_EGREP_max
=$ac_count
16778 # 10*(2^10) chars as input seems more than enough
16779 test $ac_count -gt 10 && break
16781 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16785 $ac_path_EGREP_found && break 3
16795 EGREP
="$ac_cv_path_EGREP"
16796 if test -z "$EGREP"; then
16797 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16798 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16799 { (exit 1); exit 1; }; }
16803 ac_cv_path_EGREP
=$EGREP
16809 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16810 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16811 EGREP
="$ac_cv_path_EGREP"
16814 if test $ac_cv_c_compiler_gnu = yes; then
16815 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16816 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16817 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16818 echo $ECHO_N "(cached) $ECHO_C" >&6
16820 ac_pattern
="Autoconf.*'x'"
16821 cat >conftest.
$ac_ext <<_ACEOF
16824 cat confdefs.h
>>conftest.
$ac_ext
16825 cat >>conftest.
$ac_ext <<_ACEOF
16826 /* end confdefs.h. */
16830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16831 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16832 ac_cv_prog_gcc_traditional
=yes
16834 ac_cv_prog_gcc_traditional
=no
16839 if test $ac_cv_prog_gcc_traditional = no
; then
16840 cat >conftest.
$ac_ext <<_ACEOF
16843 cat confdefs.h
>>conftest.
$ac_ext
16844 cat >>conftest.
$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 #include <termio.h>
16849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16850 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16851 ac_cv_prog_gcc_traditional
=yes
16857 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16858 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16859 if test $ac_cv_prog_gcc_traditional = yes; then
16860 CC
="$CC -traditional"
16865 CXXFLAGS
=${CXXFLAGS:=}
16870 ac_cpp
='$CXXCPP $CPPFLAGS'
16871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16874 if test -z "$CXX"; then
16875 if test -n "$CCC"; then
16878 if test -n "$ac_tool_prefix"; then
16879 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16881 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16882 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16885 if test "${ac_cv_prog_CXX+set}" = set; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 if test -n "$CXX"; then
16889 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16892 for as_dir
in $PATH
16895 test -z "$as_dir" && as_dir
=.
16896 for ac_exec_ext
in '' $ac_executable_extensions; do
16897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16898 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16908 CXX
=$ac_cv_prog_CXX
16909 if test -n "$CXX"; then
16910 { echo "$as_me:$LINENO: result: $CXX" >&5
16911 echo "${ECHO_T}$CXX" >&6; }
16913 { echo "$as_me:$LINENO: result: no" >&5
16914 echo "${ECHO_T}no" >&6; }
16918 test -n "$CXX" && break
16921 if test -z "$CXX"; then
16923 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16925 # Extract the first word of "$ac_prog", so it can be a program name with args.
16926 set dummy
$ac_prog; ac_word
=$2
16927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16929 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16930 echo $ECHO_N "(cached) $ECHO_C" >&6
16932 if test -n "$ac_ct_CXX"; then
16933 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16936 for as_dir
in $PATH
16939 test -z "$as_dir" && as_dir
=.
16940 for ac_exec_ext
in '' $ac_executable_extensions; do
16941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16942 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16952 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16953 if test -n "$ac_ct_CXX"; then
16954 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16955 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16957 { echo "$as_me:$LINENO: result: no" >&5
16958 echo "${ECHO_T}no" >&6; }
16962 test -n "$ac_ct_CXX" && break
16965 if test "x$ac_ct_CXX" = x
; then
16968 case $cross_compiling:$ac_tool_warned in
16970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16971 whose name does not start with the host triplet. If you think this
16972 configuration is useful to you, please write to autoconf@gnu.org." >&5
16973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16974 whose name does not start with the host triplet. If you think this
16975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16976 ac_tool_warned
=yes ;;
16984 # Provide some information about the compiler.
16985 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16986 ac_compiler
=`set X $ac_compile; echo $2`
16987 { (ac_try
="$ac_compiler --version >&5"
16988 case "(($ac_try" in
16989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16990 *) ac_try_echo=$ac_try;;
16992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16993 (eval "$ac_compiler --version >&5") 2>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }
16997 { (ac_try="$ac_compiler -v >&5"
16998 case "(($ac_try" in
16999 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17000 *) ac_try_echo
=$ac_try;;
17002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17003 (eval "$ac_compiler -v >&5") 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }
17007 { (ac_try
="$ac_compiler -V >&5"
17008 case "(($ac_try" in
17009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17010 *) ac_try_echo=$ac_try;;
17012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17013 (eval "$ac_compiler -V >&5") 2>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }
17018 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17019 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17020 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17021 echo $ECHO_N "(cached) $ECHO_C" >&6
17023 cat >conftest.$ac_ext <<_ACEOF
17026 cat confdefs.h >>conftest.$ac_ext
17027 cat >>conftest.$ac_ext <<_ACEOF
17028 /* end confdefs.h. */
17041 rm -f conftest.$ac_objext
17042 if { (ac_try="$ac_compile"
17043 case "(($ac_try" in
17044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17045 *) ac_try_echo
=$ac_try;;
17047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17048 (eval "$ac_compile") 2>conftest.er1
17050 grep -v '^ *+' conftest.er1
>conftest.err
17052 cat conftest.err
>&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } && {
17055 test -z "$ac_cxx_werror_flag" ||
17056 test ! -s conftest.err
17057 } && test -s conftest.
$ac_objext; then
17058 ac_compiler_gnu
=yes
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.
$ac_ext >&5
17066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17067 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17070 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17071 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17072 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17073 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17074 ac_save_CXXFLAGS
=$CXXFLAGS
17075 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17076 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17077 if test "${ac_cv_prog_cxx_g+set}" = set; then
17078 echo $ECHO_N "(cached) $ECHO_C" >&6
17080 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17081 ac_cxx_werror_flag
=yes
17082 ac_cv_prog_cxx_g
=no
17084 cat >conftest.
$ac_ext <<_ACEOF
17087 cat confdefs.h
>>conftest.
$ac_ext
17088 cat >>conftest.
$ac_ext <<_ACEOF
17089 /* end confdefs.h. */
17099 rm -f conftest.
$ac_objext
17100 if { (ac_try
="$ac_compile"
17101 case "(($ac_try" in
17102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17103 *) ac_try_echo=$ac_try;;
17105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17106 (eval "$ac_compile") 2>conftest.er1
17108 grep -v '^ *+' conftest.er1 >conftest.err
17110 cat conftest.err >&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } && {
17113 test -z "$ac_cxx_werror_flag" ||
17114 test ! -s conftest.err
17115 } && test -s conftest.$ac_objext; then
17116 ac_cv_prog_cxx_g=yes
17118 echo "$as_me: failed program was:" >&5
17119 sed 's/^/| /' conftest.$ac_ext >&5
17122 cat >conftest.$ac_ext <<_ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17137 rm -f conftest.$ac_objext
17138 if { (ac_try="$ac_compile"
17139 case "(($ac_try" in
17140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17141 *) ac_try_echo
=$ac_try;;
17143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17144 (eval "$ac_compile") 2>conftest.er1
17146 grep -v '^ *+' conftest.er1
>conftest.err
17148 cat conftest.err
>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); } && {
17151 test -z "$ac_cxx_werror_flag" ||
17152 test ! -s conftest.err
17153 } && test -s conftest.
$ac_objext; then
17156 echo "$as_me: failed program was:" >&5
17157 sed 's/^/| /' conftest.
$ac_ext >&5
17159 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17161 cat >conftest.
$ac_ext <<_ACEOF
17164 cat confdefs.h
>>conftest.
$ac_ext
17165 cat >>conftest.
$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17176 rm -f conftest.
$ac_objext
17177 if { (ac_try
="$ac_compile"
17178 case "(($ac_try" in
17179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17180 *) ac_try_echo=$ac_try;;
17182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17183 (eval "$ac_compile") 2>conftest.er1
17185 grep -v '^ *+' conftest.er1 >conftest.err
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && {
17190 test -z "$ac_cxx_werror_flag" ||
17191 test ! -s conftest.err
17192 } && test -s conftest.$ac_objext; then
17193 ac_cv_prog_cxx_g=yes
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17210 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17211 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17212 if test "$ac_test_CXXFLAGS" = set; then
17213 CXXFLAGS=$ac_save_CXXFLAGS
17214 elif test $ac_cv_prog_cxx_g = yes; then
17215 if test "$GXX" = yes; then
17221 if test "$GXX" = yes; then
17228 ac_cpp='$CPP $CPPFLAGS'
17229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17237 ac_cpp='$CXXCPP $CPPFLAGS'
17238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17242 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17243 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17244 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17245 echo $ECHO_N "(cached) $ECHO_C" >&6
17247 cat >conftest.$ac_ext <<_ACEOF
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17258 #ifndef __INTEL_COMPILER
17266 rm -f conftest.$ac_objext
17267 if { (ac_try="$ac_compile"
17268 case "(($ac_try" in
17269 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17270 *) ac_try_echo
=$ac_try;;
17272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17273 (eval "$ac_compile") 2>conftest.er1
17275 grep -v '^ *+' conftest.er1
>conftest.err
17277 cat conftest.err
>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); } && {
17280 test -z "$ac_cxx_werror_flag" ||
17281 test ! -s conftest.err
17282 } && test -s conftest.
$ac_objext; then
17283 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17285 echo "$as_me: failed program was:" >&5
17286 sed 's/^/| /' conftest.
$ac_ext >&5
17288 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17296 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17297 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17298 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17304 ac_cpp
='$CPP $CPPFLAGS'
17305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17312 if test "$INTELCXX" = "yes"; then
17316 ac_cpp
='$CXXCPP $CPPFLAGS'
17317 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17318 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17319 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17321 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17322 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17323 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17324 echo $ECHO_N "(cached) $ECHO_C" >&6
17326 cat >conftest.
$ac_ext <<_ACEOF
17329 cat confdefs.h
>>conftest.
$ac_ext
17330 cat >>conftest.
$ac_ext <<_ACEOF
17331 /* end confdefs.h. */
17337 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17345 rm -f conftest.
$ac_objext
17346 if { (ac_try
="$ac_compile"
17347 case "(($ac_try" in
17348 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17349 *) ac_try_echo=$ac_try;;
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_compile") 2>conftest.er1
17354 grep -v '^ *+' conftest.er1 >conftest.err
17356 cat conftest.err >&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_cxx_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest.$ac_objext; then
17362 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17367 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17375 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17376 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17377 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17383 ac_cpp='$CPP $CPPFLAGS'
17384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17393 ac_cpp='$CXXCPP $CPPFLAGS'
17394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17398 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17399 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17400 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17403 cat >conftest.$ac_ext <<_ACEOF
17406 cat confdefs.h >>conftest.$ac_ext
17407 cat >>conftest.$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17414 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17422 rm -f conftest.$ac_objext
17423 if { (ac_try="$ac_compile"
17424 case "(($ac_try" in
17425 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17426 *) ac_try_echo
=$ac_try;;
17428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17429 (eval "$ac_compile") 2>conftest.er1
17431 grep -v '^ *+' conftest.er1
>conftest.err
17433 cat conftest.err
>&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } && {
17436 test -z "$ac_cxx_werror_flag" ||
17437 test ! -s conftest.err
17438 } && test -s conftest.
$ac_objext; then
17439 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.
$ac_ext >&5
17444 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17452 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17453 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17454 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17460 ac_cpp
='$CPP $CPPFLAGS'
17461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17469 if test "x$GCXX" != "xyes"; then
17470 if test "xCXX" = "xC"; then
17471 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17472 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17473 if test "${bakefile_cv_c_exto+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17476 cat >conftest.
$ac_ext <<_ACEOF
17479 cat confdefs.h
>>conftest.
$ac_ext
17480 cat >>conftest.
$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17491 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); }; then
17497 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17499 conftest.
$ac_ext.o
)
17500 bakefile_cv_c_exto
="-ext o"
17507 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17508 See \`config.log' for more details." >&5
17509 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17510 See \`config.log' for more details." >&2;}
17511 { (exit 1); exit 1; }; }
17515 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17518 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17519 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17520 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17521 if test "c" = "c"; then
17522 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17524 if test "c" = "cxx"; then
17525 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17529 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17530 unset ac_cv_prog_cc_g
17531 ac_test_CFLAGS
=${CFLAGS+set}
17532 ac_save_CFLAGS
=$CFLAGS
17533 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17534 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17535 if test "${ac_cv_prog_cc_g+set}" = set; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17538 ac_save_c_werror_flag
=$ac_c_werror_flag
17539 ac_c_werror_flag
=yes
17542 cat >conftest.
$ac_ext <<_ACEOF
17545 cat confdefs.h
>>conftest.
$ac_ext
17546 cat >>conftest.
$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17557 rm -f conftest.
$ac_objext
17558 if { (ac_try
="$ac_compile"
17559 case "(($ac_try" in
17560 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17561 *) ac_try_echo=$ac_try;;
17563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17564 (eval "$ac_compile") 2>conftest.er1
17566 grep -v '^ *+' conftest.er1 >conftest.err
17568 cat conftest.err >&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); } && {
17571 test -z "$ac_c_werror_flag" ||
17572 test ! -s conftest.err
17573 } && test -s conftest.$ac_objext; then
17574 ac_cv_prog_cc_g=yes
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.$ac_ext >&5
17580 cat >conftest.$ac_ext <<_ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17595 rm -f conftest.$ac_objext
17596 if { (ac_try="$ac_compile"
17597 case "(($ac_try" in
17598 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17599 *) ac_try_echo
=$ac_try;;
17601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17602 (eval "$ac_compile") 2>conftest.er1
17604 grep -v '^ *+' conftest.er1
>conftest.err
17606 cat conftest.err
>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } && {
17609 test -z "$ac_c_werror_flag" ||
17610 test ! -s conftest.err
17611 } && test -s conftest.
$ac_objext; then
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.
$ac_ext >&5
17617 ac_c_werror_flag
=$ac_save_c_werror_flag
17619 cat >conftest.
$ac_ext <<_ACEOF
17622 cat confdefs.h
>>conftest.
$ac_ext
17623 cat >>conftest.
$ac_ext <<_ACEOF
17624 /* end confdefs.h. */
17634 rm -f conftest.
$ac_objext
17635 if { (ac_try
="$ac_compile"
17636 case "(($ac_try" in
17637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17638 *) ac_try_echo=$ac_try;;
17640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17641 (eval "$ac_compile") 2>conftest.er1
17643 grep -v '^ *+' conftest.er1 >conftest.err
17645 cat conftest.err >&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); } && {
17648 test -z "$ac_c_werror_flag" ||
17649 test ! -s conftest.err
17650 } && test -s conftest.$ac_objext; then
17651 ac_cv_prog_cc_g=yes
17653 echo "$as_me: failed program was:" >&5
17654 sed 's/^/| /' conftest.$ac_ext >&5
17659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17666 ac_c_werror_flag=$ac_save_c_werror_flag
17668 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17669 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17670 if test "$ac_test_CFLAGS" = set; then
17671 CFLAGS=$ac_save_CFLAGS
17672 elif test $ac_cv_prog_cc_g = yes; then
17673 if test "$GCC" = yes; then
17679 if test "$GCC" = yes; then
17693 ac_cpp='$CXXCPP $CPPFLAGS'
17694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17698 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17699 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17700 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17703 cat >conftest.$ac_ext <<_ACEOF
17706 cat confdefs.h >>conftest.$ac_ext
17707 cat >>conftest.$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17722 rm -f conftest.$ac_objext
17723 if { (ac_try="$ac_compile"
17724 case "(($ac_try" in
17725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17726 *) ac_try_echo
=$ac_try;;
17728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17729 (eval "$ac_compile") 2>conftest.er1
17731 grep -v '^ *+' conftest.er1
>conftest.err
17733 cat conftest.err
>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } && {
17736 test -z "$ac_cxx_werror_flag" ||
17737 test ! -s conftest.err
17738 } && test -s conftest.
$ac_objext; then
17739 bakefile_cv_cxx_compiler___xlC__
=yes
17741 echo "$as_me: failed program was:" >&5
17742 sed 's/^/| /' conftest.
$ac_ext >&5
17744 bakefile_cv_cxx_compiler___xlC__
=no
17748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17752 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17753 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17754 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17760 ac_cpp
='$CPP $CPPFLAGS'
17761 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17762 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17763 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17773 ac_cpp
='$CXXCPP $CPPFLAGS'
17774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17778 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17779 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17780 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17783 cat >conftest.
$ac_ext <<_ACEOF
17786 cat confdefs.h
>>conftest.
$ac_ext
17787 cat >>conftest.
$ac_ext <<_ACEOF
17788 /* end confdefs.h. */
17802 rm -f conftest.
$ac_objext
17803 if { (ac_try
="$ac_compile"
17804 case "(($ac_try" in
17805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17806 *) ac_try_echo=$ac_try;;
17808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17809 (eval "$ac_compile") 2>conftest.er1
17811 grep -v '^ *+' conftest.er1 >conftest.err
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } && {
17816 test -z "$ac_cxx_werror_flag" ||
17817 test ! -s conftest.err
17818 } && test -s conftest.$ac_objext; then
17819 bakefile_cv_cxx_compiler___MWERKS__=yes
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17824 bakefile_cv_cxx_compiler___MWERKS__=no
17828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17832 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17833 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17834 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17840 ac_cpp='$CPP $CPPFLAGS'
17841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17847 if test "$MWCXX" != "yes"; then
17851 ac_cpp='$CXXCPP $CPPFLAGS'
17852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17856 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17857 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17858 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17859 echo $ECHO_N "(cached) $ECHO_C" >&6
17861 cat >conftest.$ac_ext <<_ACEOF
17864 cat confdefs.h >>conftest.$ac_ext
17865 cat >>conftest.$ac_ext <<_ACEOF
17866 /* end confdefs.h. */
17880 rm -f conftest.$ac_objext
17881 if { (ac_try="$ac_compile"
17882 case "(($ac_try" in
17883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17884 *) ac_try_echo
=$ac_try;;
17886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17887 (eval "$ac_compile") 2>conftest.er1
17889 grep -v '^ *+' conftest.er1
>conftest.err
17891 cat conftest.err
>&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); } && {
17894 test -z "$ac_cxx_werror_flag" ||
17895 test ! -s conftest.err
17896 } && test -s conftest.
$ac_objext; then
17897 bakefile_cv_cxx_compiler___xlC__
=yes
17899 echo "$as_me: failed program was:" >&5
17900 sed 's/^/| /' conftest.
$ac_ext >&5
17902 bakefile_cv_cxx_compiler___xlC__
=no
17906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17910 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17911 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17912 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17918 ac_cpp
='$CPP $CPPFLAGS'
17919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17932 ac_cpp
='$CXXCPP $CPPFLAGS'
17933 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17934 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17935 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17937 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17938 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17939 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17940 echo $ECHO_N "(cached) $ECHO_C" >&6
17942 cat >conftest.
$ac_ext <<_ACEOF
17945 cat confdefs.h
>>conftest.
$ac_ext
17946 cat >>conftest.
$ac_ext <<_ACEOF
17947 /* end confdefs.h. */
17953 #ifndef _SGI_COMPILER_VERSION
17961 rm -f conftest.
$ac_objext
17962 if { (ac_try
="$ac_compile"
17963 case "(($ac_try" in
17964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17965 *) ac_try_echo=$ac_try;;
17967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17968 (eval "$ac_compile") 2>conftest.er1
17970 grep -v '^ *+' conftest.er1 >conftest.err
17972 cat conftest.err >&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); } && {
17975 test -z "$ac_cxx_werror_flag" ||
17976 test ! -s conftest.err
17977 } && test -s conftest.$ac_objext; then
17978 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17980 echo "$as_me: failed program was:" >&5
17981 sed 's/^/| /' conftest.$ac_ext >&5
17983 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17991 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17992 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17993 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17999 ac_cpp='$CPP $CPPFLAGS'
18000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18009 if test "$INTELCXX" != "yes"; then
18013 ac_cpp='$CXXCPP $CPPFLAGS'
18014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18018 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18019 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18020 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18021 echo $ECHO_N "(cached) $ECHO_C" >&6
18023 cat >conftest.$ac_ext <<_ACEOF
18026 cat confdefs.h >>conftest.$ac_ext
18027 cat >>conftest.$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18034 #ifndef __SUNPRO_CC
18042 rm -f conftest.$ac_objext
18043 if { (ac_try="$ac_compile"
18044 case "(($ac_try" in
18045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18046 *) ac_try_echo
=$ac_try;;
18048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18049 (eval "$ac_compile") 2>conftest.er1
18051 grep -v '^ *+' conftest.er1
>conftest.err
18053 cat conftest.err
>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); } && {
18056 test -z "$ac_cxx_werror_flag" ||
18057 test ! -s conftest.err
18058 } && test -s conftest.
$ac_objext; then
18059 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18061 echo "$as_me: failed program was:" >&5
18062 sed 's/^/| /' conftest.
$ac_ext >&5
18064 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18072 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18073 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18074 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18080 ac_cpp
='$CPP $CPPFLAGS'
18081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
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 HP C++ compiler" >&5
18100 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18101 if test "${bakefile_cv_cxx_compiler___HP_aCC+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___HP_aCC=yes
18142 echo "$as_me: failed program was:" >&5
18143 sed 's/^/| /' conftest.$ac_ext >&5
18145 bakefile_cv_cxx_compiler___HP_aCC=no
18149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18153 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18154 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18155 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "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 Compaq C++ compiler" >&5
18180 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18181 if test "${bakefile_cv_cxx_compiler___DECCXX+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___DECCXX
=yes
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.
$ac_ext >&5
18225 bakefile_cv_cxx_compiler___DECCXX
=no
18229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18233 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18234 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18235 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "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
18254 ac_cpp
='$CXXCPP $CPPFLAGS'
18255 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18256 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18257 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18259 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18260 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18261 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18264 cat >conftest.
$ac_ext <<_ACEOF
18267 cat confdefs.h
>>conftest.
$ac_ext
18268 cat >>conftest.
$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18275 #ifndef __SUNPRO_CC
18283 rm -f conftest.
$ac_objext
18284 if { (ac_try
="$ac_compile"
18285 case "(($ac_try" in
18286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18287 *) ac_try_echo=$ac_try;;
18289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18290 (eval "$ac_compile") 2>conftest.er1
18292 grep -v '^ *+' conftest.er1 >conftest.err
18294 cat conftest.err >&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); } && {
18297 test -z "$ac_cxx_werror_flag" ||
18298 test ! -s conftest.err
18299 } && test -s conftest.$ac_objext; then
18300 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18302 echo "$as_me: failed program was:" >&5
18303 sed 's/^/| /' conftest.$ac_ext >&5
18305 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18313 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18314 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18315 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18334 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18335 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18336 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18337 { (exit 1); exit 1; }; }
18340 if test "x$SUNCXX" != xyes; then
18341 if test -n "$ac_tool_prefix"; then
18342 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18343 set dummy ${ac_tool_prefix}ar; ac_word=$2
18344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18346 if test "${ac_cv_prog_AR+set}" = set; then
18347 echo $ECHO_N "(cached) $ECHO_C" >&6
18349 if test -n "$AR"; then
18350 ac_cv_prog_AR="$AR" # Let the user override the test.
18352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18353 for as_dir in $PATH
18356 test -z "$as_dir" && as_dir=.
18357 for ac_exec_ext in '' $ac_executable_extensions; do
18358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18359 ac_cv_prog_AR="${ac_tool_prefix}ar"
18360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18370 if test -n "$AR"; then
18371 { echo "$as_me:$LINENO: result: $AR" >&5
18372 echo "${ECHO_T}$AR" >&6; }
18374 { echo "$as_me:$LINENO: result: no" >&5
18375 echo "${ECHO_T}no" >&6; }
18380 if test -z "$ac_cv_prog_AR"; then
18382 # Extract the first word of "ar", so it can be a program name with args.
18383 set dummy ar; ac_word=$2
18384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18386 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18387 echo $ECHO_N "(cached) $ECHO_C" >&6
18389 if test -n "$ac_ct_AR"; then
18390 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18393 for as_dir in $PATH
18396 test -z "$as_dir" && as_dir=.
18397 for ac_exec_ext in '' $ac_executable_extensions; do
18398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18399 ac_cv_prog_ac_ct_AR="ar"
18400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18409 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18410 if test -n "$ac_ct_AR"; then
18411 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18412 echo "${ECHO_T}$ac_ct_AR" >&6; }
18414 { echo "$as_me:$LINENO: result: no" >&5
18415 echo "${ECHO_T}no" >&6; }
18418 if test "x$ac_ct_AR" = x; then
18421 case $cross_compiling:$ac_tool_warned in
18423 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18424 whose name does not start with the host triplet. If you think this
18425 configuration is useful to you, please write to autoconf@gnu.org." >&5
18426 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18427 whose name does not start with the host triplet. If you think this
18428 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18429 ac_tool_warned=yes ;;
18434 AR="$ac_cv_prog_AR"
18437 if test "x$AR" = "x" ; then
18438 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18439 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18440 { (exit 1); exit 1; }; }
18445 if test "$wxUSE_MAC" = 1; then
18447 retest_macosx_linking=no
18449 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18450 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18451 # Implicitly turn on the new --with-macosx-sdk using the default
18452 # SDK which provides the behavior this option has always had.
18453 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18454 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18455 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18456 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18457 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18458 wxUSE_MACOSX_SDK=yes
18461 # Complain to user if he specified an argument to --enable-universal_binary
18462 # and also 1) specified --with-macosx-sdk using the default (yes) or
18463 # 2) specified --with-macosx-sdk using a path or 3) specified
18464 # --without-macosx-sdk (no).
18465 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18466 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18467 See \`config.log
' for more details." >&5
18468 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18469 See \`config.log' for more details.
" >&2;}
18470 { (exit 1); exit 1; }; }
18472 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18473 # special-case the empty string because the below test simply
18474 # converts "no
" to the empty string anyway.
18475 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18476 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18477 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18480 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18481 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18482 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18483 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18484 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18485 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18486 retest_macosx_linking=yes
18488 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18489 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18493 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18495 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18496 # TODO: Search for most recent SDK and use it.
18497 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18501 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18502 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18503 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18504 if ! test -d "$wxUSE_MACOSX_SDK"; then
18505 { { echo "$as_me:$LINENO: error
: not found
18506 See \
`config.log' for more details." >&5
18507 echo "$as_me: error: not found
18508 See \`config.log
' for more details." >&2;}
18509 { (exit 1); exit 1; }; }
18511 { echo "$as_me:$LINENO: result: exists" >&5
18512 echo "${ECHO_T}exists" >&6; }
18514 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18515 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18516 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18517 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18518 retest_macosx_linking=yes
18521 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18522 wxUSE_MACOSX_VERSION_MIN=
18523 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18524 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18525 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18526 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18528 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/'`
18530 # If that failed, try again with the new key
18531 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18533 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/'`
18537 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18538 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18539 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18540 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18542 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18543 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18544 wxUSE_MACOSX_VERSION_MIN=
18547 wxUSE_MACOSX_VERSION_MIN=
18549 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18550 for ac_prog in sw_vers
18552 # Extract the first word of "$ac_prog", so it can be a program name with args.
18553 set dummy $ac_prog; ac_word=$2
18554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18556 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18557 echo $ECHO_N "(cached) $ECHO_C" >&6
18559 if test -n "$OSX_SW_VERS"; then
18560 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18563 for as_dir in $PATH
18566 test -z "$as_dir" && as_dir=.
18567 for ac_exec_ext in '' $ac_executable_extensions; do
18568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18569 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18579 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18580 if test -n "$OSX_SW_VERS"; then
18581 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18582 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18584 { echo "$as_me:$LINENO: result: no" >&5
18585 echo "${ECHO_T}no" >&6; }
18589 test -n "$OSX_SW_VERS" && break
18592 if test "$OSX_SW_VERS" != ""; then
18593 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18595 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18596 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18600 case "$OSX_VERSION" in
18602 wxUSE_MACOSX_VERSION_MIN=10.4
18606 if test "$wxUSE_OSX_CARBON" = 1; then
18607 # otherwise configure stops on leopard for universal_binary
18608 wxUSE_MACOSX_VERSION_MIN=10.4
18610 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18611 wxUSE_MACOSX_VERSION_MIN=10.5
18618 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18622 if test "$wxUSE_OSX_CARBON" = 1; then
18626 if test "x$NEEDS_GCC40" == "xyes"; then
18627 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18628 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18629 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18630 if test "x$CC" = "xgcc"; then
18631 CCVERSION=`$CC --version | grep 4.[2-9].`
18632 if test "x$CCVERSION" != "x"; then
18633 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18634 CC="/usr/bin/gcc-4.0"
18638 if test "x$CXX" = "xg++"; then
18639 CCVERSION=`$CXX --version | grep 4.[2-9].`
18640 if test "x$CCVERSION" != "x"; then
18641 CXX="/usr/bin/g++-4.0"
18646 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18647 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18648 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18649 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18650 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18651 retest_macosx_linking=yes
18654 if test "x$retest_macosx_linking" = "xyes"; then
18656 ac_cpp='$CPP $CPPFLAGS'
18657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18658 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18661 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18662 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18663 cat >conftest.$ac_ext <<_ACEOF
18666 cat confdefs.h >>conftest.$ac_ext
18667 cat >>conftest.$ac_ext <<_ACEOF
18668 /* end confdefs.h. */
18678 rm -f conftest.$ac_objext conftest$ac_exeext
18679 if { (ac_try="$ac_link"
18680 case "(($ac_try" in
18681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18682 *) ac_try_echo=$ac_try;;
18684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18685 (eval "$ac_link") 2>conftest.er1
18687 grep -v '^
*+' conftest.er1 >conftest.err
18689 cat conftest.err >&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } && {
18692 test -z "$ac_c_werror_flag" ||
18693 test ! -s conftest.err
18694 } && test -s conftest$ac_exeext &&
18695 $as_test_x conftest$ac_exeext; then
18696 { echo "$as_me:$LINENO: result: yes" >&5
18697 echo "${ECHO_T}yes" >&6; }
18699 echo "$as_me: failed program was:" >&5
18700 sed 's
/^
/| /' conftest.$ac_ext >&5
18702 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18703 See \`config.log' for more details.
" >&5
18704 echo "$as_me: error
: no. Try a different SDK
18705 See \
`config.log' for more details." >&2;}
18706 { (exit 1); exit 1; }; }; exit 1
18709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18710 conftest$ac_exeext conftest.$ac_ext
18712 ac_cpp='$CPP $CPPFLAGS'
18713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18719 ac_cpp='$CXXCPP $CPPFLAGS'
18720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18724 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18725 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18726 cat >conftest.$ac_ext <<_ACEOF
18729 cat confdefs.h >>conftest.$ac_ext
18730 cat >>conftest.$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18741 rm -f conftest.$ac_objext conftest$ac_exeext
18742 if { (ac_try="$ac_link"
18743 case "(($ac_try" in
18744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18745 *) ac_try_echo
=$ac_try;;
18747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18748 (eval "$ac_link") 2>conftest.er1
18750 grep -v '^ *+' conftest.er1
>conftest.err
18752 cat conftest.err
>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } && {
18755 test -z "$ac_cxx_werror_flag" ||
18756 test ! -s conftest.err
18757 } && test -s conftest
$ac_exeext &&
18758 $as_test_x conftest
$ac_exeext; then
18759 { echo "$as_me:$LINENO: result: yes" >&5
18760 echo "${ECHO_T}yes" >&6; }
18762 echo "$as_me: failed program was:" >&5
18763 sed 's/^/| /' conftest.
$ac_ext >&5
18765 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18766 See \`config.log' for more details." >&5
18767 echo "$as_me: error: no. Try a different SDK
18768 See \`config.log' for more details." >&2;}
18769 { (exit 1); exit 1; }; }; exit 1
18772 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18773 conftest
$ac_exeext conftest.
$ac_ext
18775 ac_cpp
='$CPP $CPPFLAGS'
18776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18786 INSTALL_PROGRAM
="cp -fp"
18787 INSTALL_DATA
="cp -fp"
18794 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18795 CXXFLAGS
="-qunique $CXXFLAGS"
18799 powerpc
-*-darwin* )
18800 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18801 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18802 cat >conftest.
$ac_ext <<_ACEOF
18805 cat confdefs.h
>>conftest.
$ac_ext
18806 cat >>conftest.
$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18812 #ifndef __POWERPC__
18813 choke me for lack of PowerPC
18820 rm -f conftest.
$ac_objext
18821 if { (ac_try
="$ac_compile"
18822 case "(($ac_try" in
18823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18824 *) ac_try_echo=$ac_try;;
18826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18827 (eval "$ac_compile") 2>conftest.er1
18829 grep -v '^ *+' conftest.er1 >conftest.err
18831 cat conftest.err >&5
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); } && {
18834 test -z "$ac_c_werror_flag" ||
18835 test ! -s conftest.err
18836 } && test -s conftest.$ac_objext; then
18837 { echo "$as_me:$LINENO: result: yes" >&5
18838 echo "${ECHO_T}yes" >&6; }
18840 echo "$as_me: failed program was:" >&5
18841 sed 's/^/| /' conftest.$ac_ext >&5
18843 { echo "$as_me:$LINENO: result: no" >&5
18844 echo "${ECHO_T}no" >&6; }
18845 cat >>confdefs.h <<\_ACEOF
18846 #define __POWERPC__ 1
18852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18858 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18859 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18860 cat >conftest.$ac_ext <<_ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 #include <CoreFoundation/CFBase.h>
18876 rm -f conftest.$ac_objext
18877 if { (ac_try="$ac_compile"
18878 case "(($ac_try" in
18879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18880 *) ac_try_echo
=$ac_try;;
18882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18883 (eval "$ac_compile") 2>conftest.er1
18885 grep -v '^ *+' conftest.er1
>conftest.err
18887 cat conftest.err
>&5
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); } && {
18890 test -z "$ac_c_werror_flag" ||
18891 test ! -s conftest.err
18892 } && test -s conftest.
$ac_objext; then
18893 { echo "$as_me:$LINENO: result: yes" >&5
18894 echo "${ECHO_T}yes" >&6; }
18896 echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.
$ac_ext >&5
18899 { echo "$as_me:$LINENO: result: no" >&5
18900 echo "${ECHO_T}no" >&6; }
18901 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18902 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18903 cat >conftest.
$ac_ext <<_ACEOF
18906 cat confdefs.h
>>conftest.
$ac_ext
18907 cat >>conftest.
$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18909 #define __CF_USE_FRAMEWORK_INCLUDES__
18910 #include <CoreFoundation/CFBase.h>
18920 rm -f conftest.
$ac_objext
18921 if { (ac_try
="$ac_compile"
18922 case "(($ac_try" in
18923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18924 *) ac_try_echo=$ac_try;;
18926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18927 (eval "$ac_compile") 2>conftest.er1
18929 grep -v '^ *+' conftest.er1 >conftest.err
18931 cat conftest.err >&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); } && {
18934 test -z "$ac_c_werror_flag" ||
18935 test ! -s conftest.err
18936 } && test -s conftest.$ac_objext; then
18937 { echo "$as_me:$LINENO: result: yes" >&5
18938 echo "${ECHO_T}yes" >&6; }
18939 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18941 echo "$as_me: failed program was:" >&5
18942 sed 's/^/| /' conftest.$ac_ext >&5
18944 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18945 See \`config.log
' for more details." >&5
18946 echo "$as_me: error: no. CoreFoundation not available.
18947 See \`config.log' for more details.
" >&2;}
18948 { (exit 1); exit 1; }; }
18952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18962 doesnt_want_win32=0
18965 if test "$wxUSE_MSW" = 1 ; then
18968 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18969 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18970 if test "${wx_cv_nocygwin+set}" = set; then
18971 echo $ECHO_N "(cached
) $ECHO_C" >&6
18974 cat >conftest.$ac_ext <<_ACEOF
18977 cat confdefs.h >>conftest.$ac_ext
18978 cat >>conftest.$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18993 rm -f conftest.$ac_objext
18994 if { (ac_try="$ac_compile"
18995 case "(($ac_try" in
18996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18997 *) ac_try_echo=$ac_try;;
18999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19000 (eval "$ac_compile") 2>conftest.er1
19002 grep -v '^ *+' conftest.er1 >conftest.err
19004 cat conftest.err >&5
19005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19006 (exit $ac_status); } && {
19007 test -z "$ac_c_werror_flag" ||
19008 test ! -s conftest.err
19009 } && test -s conftest.$ac_objext; then
19012 echo "$as_me: failed program was
:" >&5
19013 sed 's/^/| /' conftest.$ac_ext >&5
19019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19023 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19024 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19026 if test "$wx_cv_nocygwin" = "yes"; then
19029 doesnt_want_win32=1
19032 if test "$wants_win32" = 1 ; then
19033 BAKEFILE_FORCE_PLATFORM=win32
19041 if test "$wxUSE_WINE" = "yes"; then
19043 LDFLAGS_GUI="-mwindows"
19046 if test "$wants_win32" = 1 ; then
19049 cat >>confdefs.h <<\_ACEOF
19050 #define __WIN32__ 1
19053 cat >>confdefs.h <<\_ACEOF
19054 #define __WIN95__ 1
19057 cat >>confdefs.h <<\_ACEOF
19058 #define __WINDOWS__ 1
19061 cat >>confdefs.h <<\_ACEOF
19062 #define __GNUWIN32__ 1
19065 cat >>confdefs.h <<\_ACEOF
19070 if test "$doesnt_want_win32" = 1 ; then
19075 if test "$USE_UNIX" = 1 ; then
19077 cat >>confdefs.h <<\_ACEOF
19084 *-pc-os2_emx | *-pc-os2-emx )
19085 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19086 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19087 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19088 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19089 echo $ECHO_N "(cached
) $ECHO_C" >&6
19091 ac_check_lib_save_LIBS=$LIBS
19092 LIBS="-lcExt $LIBS"
19093 cat >conftest.$ac_ext <<_ACEOF
19096 cat confdefs.h >>conftest.$ac_ext
19097 cat >>conftest.$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19100 /* Override any GCC internal prototype to avoid an error.
19101 Use char because int might match the return type of a GCC
19102 builtin and then its argument prototype would still apply. */
19115 rm -f conftest.$ac_objext conftest$ac_exeext
19116 if { (ac_try="$ac_link"
19117 case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_link") 2>conftest.er1
19124 grep -v '^ *+' conftest.er1 >conftest.err
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_c_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest$ac_exeext &&
19132 $as_test_x conftest$ac_exeext; then
19133 ac_cv_lib_cExt_drand48=yes
19135 echo "$as_me: failed program was
:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19138 ac_cv_lib_cExt_drand48=no
19141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19142 conftest$ac_exeext conftest.$ac_ext
19143 LIBS=$ac_check_lib_save_LIBS
19145 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19146 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19147 if test $ac_cv_lib_cExt_drand48 = yes; then
19148 LIBS="$LIBS -lcExt"
19152 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19154 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19155 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19156 if test "${wx_cv_gccversion+set}" = set; then
19157 echo $ECHO_N "(cached
) $ECHO_C" >&6
19160 if test "$cross_compiling" = yes; then
19161 wx_cv_gccversion="EMX2
"
19164 cat >conftest.$ac_ext <<_ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19175 FILE *f=fopen("conftestval
", "w
");
19180 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19182 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19192 rm -f conftest$ac_exeext
19193 if { (ac_try="$ac_link"
19194 case "(($ac_try" in
19195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19196 *) ac_try_echo=$ac_try;;
19198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19199 (eval "$ac_link") 2>&5
19201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19203 { (case "(($ac_try" in
19204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19205 *) ac_try_echo=$ac_try;;
19207 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19208 (eval "$ac_try") 2>&5
19210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19211 (exit $ac_status); }; }; then
19212 wx_cv_gccversion=`cat conftestval`
19214 echo "$as_me: program exited with status
$ac_status" >&5
19215 echo "$as_me: failed program was
:" >&5
19216 sed 's/^/| /' conftest.$ac_ext >&5
19218 ( exit $ac_status )
19219 wx_cv_gccversion="EMX2
"
19221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19227 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19228 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19229 if test "$wx_cv_gccversion" = "EMX2
"; then
19230 LIBS="$LIBS -lstdcpp"
19231 LDFLAGS="$LDFLAGS -Zsysv-signals"
19233 if test "$wx_cv_gccversion" = "EMX3
"; then
19234 LIBS="$LIBS -lstdcxx -lgcc"
19235 LDFLAGS="$LDFLAGS -Zsysv-signals"
19237 LIBS="$LIBS -lstdc++"
19240 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19241 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19242 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19249 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19250 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19251 if test "${ac_cv_string_strcasecmp+set}" = set; then
19252 echo $ECHO_N "(cached
) $ECHO_C" >&6
19255 cat >conftest.$ac_ext <<_ACEOF
19258 cat confdefs.h >>conftest.$ac_ext
19259 cat >>conftest.$ac_ext <<_ACEOF
19260 /* end confdefs.h. */
19262 #include <string.h>
19268 strcasecmp("foo
", "bar
");
19274 rm -f conftest.$ac_objext conftest$ac_exeext
19275 if { (ac_try="$ac_link"
19276 case "(($ac_try" in
19277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19278 *) ac_try_echo=$ac_try;;
19280 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19281 (eval "$ac_link") 2>conftest.er1
19283 grep -v '^ *+' conftest.er1 >conftest.err
19285 cat conftest.err >&5
19286 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19287 (exit $ac_status); } && {
19288 test -z "$ac_c_werror_flag" ||
19289 test ! -s conftest.err
19290 } && test -s conftest$ac_exeext &&
19291 $as_test_x conftest$ac_exeext; then
19292 ac_cv_string_strcasecmp=yes
19294 echo "$as_me: failed program was
:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19297 ac_cv_string_strcasecmp=no
19301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19302 conftest$ac_exeext conftest.$ac_ext
19305 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19306 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19308 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19309 cat >>confdefs.h <<\_ACEOF
19310 #define HAVE_STRCASECMP_IN_STRING_H 1
19314 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19315 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19316 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19317 echo $ECHO_N "(cached
) $ECHO_C" >&6
19320 cat >conftest.$ac_ext <<_ACEOF
19323 cat confdefs.h >>conftest.$ac_ext
19324 cat >>conftest.$ac_ext <<_ACEOF
19325 /* end confdefs.h. */
19327 #include <strings.h>
19333 strcasecmp("foo
", "bar
");
19339 rm -f conftest.$ac_objext conftest$ac_exeext
19340 if { (ac_try="$ac_link"
19341 case "(($ac_try" in
19342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_link") 2>conftest.er1
19348 grep -v '^ *+' conftest.er1 >conftest.err
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19352 (exit $ac_status); } && {
19353 test -z "$ac_c_werror_flag" ||
19354 test ! -s conftest.err
19355 } && test -s conftest$ac_exeext &&
19356 $as_test_x conftest$ac_exeext; then
19357 ac_cv_strings_strcasecmp=yes
19359 echo "$as_me: failed program was
:" >&5
19360 sed 's/^/| /' conftest.$ac_ext >&5
19362 ac_cv_strings_strcasecmp=no
19366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19367 conftest$ac_exeext conftest.$ac_ext
19370 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19371 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19373 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19374 cat >>confdefs.h <<\_ACEOF
19375 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19379 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19380 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19381 { (exit 1); exit 1; }; }
19389 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19390 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19391 if test "${ac_cv_header_stdc+set}" = set; then
19392 echo $ECHO_N "(cached
) $ECHO_C" >&6
19394 cat >conftest.$ac_ext <<_ACEOF
19397 cat confdefs.h >>conftest.$ac_ext
19398 cat >>conftest.$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19400 #include <stdlib.h>
19401 #include <stdarg.h>
19402 #include <string.h>
19413 rm -f conftest.$ac_objext
19414 if { (ac_try="$ac_compile"
19415 case "(($ac_try" in
19416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19417 *) ac_try_echo=$ac_try;;
19419 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19420 (eval "$ac_compile") 2>conftest.er1
19422 grep -v '^ *+' conftest.er1 >conftest.err
19424 cat conftest.err >&5
19425 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19426 (exit $ac_status); } && {
19427 test -z "$ac_c_werror_flag" ||
19428 test ! -s conftest.err
19429 } && test -s conftest.$ac_objext; then
19430 ac_cv_header_stdc=yes
19432 echo "$as_me: failed program was
:" >&5
19433 sed 's/^/| /' conftest.$ac_ext >&5
19435 ac_cv_header_stdc=no
19438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19440 if test $ac_cv_header_stdc = yes; then
19441 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19442 cat >conftest.$ac_ext <<_ACEOF
19445 cat confdefs.h >>conftest.$ac_ext
19446 cat >>conftest.$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19448 #include <string.h>
19451 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19452 $EGREP "memchr
" >/dev/null 2>&1; then
19455 ac_cv_header_stdc=no
19461 if test $ac_cv_header_stdc = yes; then
19462 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19463 cat >conftest.$ac_ext <<_ACEOF
19466 cat confdefs.h >>conftest.$ac_ext
19467 cat >>conftest.$ac_ext <<_ACEOF
19468 /* end confdefs.h. */
19469 #include <stdlib.h>
19472 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19473 $EGREP "free
" >/dev/null 2>&1; then
19476 ac_cv_header_stdc=no
19482 if test $ac_cv_header_stdc = yes; then
19483 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19484 if test "$cross_compiling" = yes; then
19487 cat >conftest.$ac_ext <<_ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19494 #include <stdlib.h>
19495 #if ((' ' & 0x0FF) == 0x020)
19496 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19497 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19499 # define ISLOWER(c) \
19500 (('a' <= (c) && (c) <= 'i') \
19501 || ('j' <= (c) && (c) <= 'r') \
19502 || ('s' <= (c) && (c) <= 'z'))
19503 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19506 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19511 for (i = 0; i < 256; i++)
19512 if (XOR (islower (i), ISLOWER (i))
19513 || toupper (i) != TOUPPER (i))
19518 rm -f conftest$ac_exeext
19519 if { (ac_try="$ac_link"
19520 case "(($ac_try" in
19521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19522 *) ac_try_echo=$ac_try;;
19524 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19525 (eval "$ac_link") 2>&5
19527 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19529 { (case "(($ac_try" in
19530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19531 *) ac_try_echo=$ac_try;;
19533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19534 (eval "$ac_try") 2>&5
19536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19537 (exit $ac_status); }; }; then
19540 echo "$as_me: program exited with status
$ac_status" >&5
19541 echo "$as_me: failed program was
:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19544 ( exit $ac_status )
19545 ac_cv_header_stdc=no
19547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19553 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19554 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19555 if test $ac_cv_header_stdc = yes; then
19557 cat >>confdefs.h <<\_ACEOF
19558 #define STDC_HEADERS 1
19563 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19573 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19574 inttypes.h stdint.h unistd.h
19576 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19577 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19578 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19579 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19580 echo $ECHO_N "(cached
) $ECHO_C" >&6
19582 cat >conftest.$ac_ext <<_ACEOF
19585 cat confdefs.h >>conftest.$ac_ext
19586 cat >>conftest.$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19588 $ac_includes_default
19590 #include <$ac_header>
19592 rm -f conftest.$ac_objext
19593 if { (ac_try="$ac_compile"
19594 case "(($ac_try" in
19595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19596 *) ac_try_echo=$ac_try;;
19598 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19599 (eval "$ac_compile") 2>conftest.er1
19601 grep -v '^ *+' conftest.er1 >conftest.err
19603 cat conftest.err >&5
19604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19605 (exit $ac_status); } && {
19606 test -z "$ac_c_werror_flag" ||
19607 test ! -s conftest.err
19608 } && test -s conftest.$ac_objext; then
19609 eval "$as_ac_Header=yes"
19611 echo "$as_me: failed program was
:" >&5
19612 sed 's/^/| /' conftest.$ac_ext >&5
19614 eval "$as_ac_Header=no
"
19617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19619 ac_res=`eval echo '${'$as_ac_Header'}'`
19620 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19621 echo "${ECHO_T}$ac_res" >&6; }
19622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19623 cat >>confdefs.h <<_ACEOF
19624 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19634 for ac_header in langinfo.h wchar.h
19636 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19637 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19638 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19639 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19640 echo $ECHO_N "(cached
) $ECHO_C" >&6
19642 cat >conftest.$ac_ext <<_ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 $ac_includes_default
19650 #include <$ac_header>
19652 rm -f conftest.$ac_objext
19653 if { (ac_try="$ac_compile"
19654 case "(($ac_try" in
19655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19658 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_compile") 2>conftest.er1
19661 grep -v '^ *+' conftest.er1 >conftest.err
19663 cat conftest.err >&5
19664 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19665 (exit $ac_status); } && {
19666 test -z "$ac_c_werror_flag" ||
19667 test ! -s conftest.err
19668 } && test -s conftest.$ac_objext; then
19669 eval "$as_ac_Header=yes"
19671 echo "$as_me: failed program was
:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19674 eval "$as_ac_Header=no
"
19677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19679 ac_res=`eval echo '${'$as_ac_Header'}'`
19680 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19681 echo "${ECHO_T}$ac_res" >&6; }
19682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19683 cat >>confdefs.h <<_ACEOF
19684 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19692 if test "$ac_cv_header_wchar_h" != "yes"; then
19694 for ac_header in wcstr.h
19696 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19697 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19698 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19699 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19700 echo $ECHO_N "(cached
) $ECHO_C" >&6
19702 cat >conftest.$ac_ext <<_ACEOF
19705 cat confdefs.h >>conftest.$ac_ext
19706 cat >>conftest.$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19708 $ac_includes_default
19710 #include <$ac_header>
19712 rm -f conftest.$ac_objext
19713 if { (ac_try="$ac_compile"
19714 case "(($ac_try" in
19715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19716 *) ac_try_echo=$ac_try;;
19718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19719 (eval "$ac_compile") 2>conftest.er1
19721 grep -v '^ *+' conftest.er1 >conftest.err
19723 cat conftest.err >&5
19724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19725 (exit $ac_status); } && {
19726 test -z "$ac_c_werror_flag" ||
19727 test ! -s conftest.err
19728 } && test -s conftest.$ac_objext; then
19729 eval "$as_ac_Header=yes"
19731 echo "$as_me: failed program was
:" >&5
19732 sed 's/^/| /' conftest.$ac_ext >&5
19734 eval "$as_ac_Header=no
"
19737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19739 ac_res=`eval echo '${'$as_ac_Header'}'`
19740 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19741 echo "${ECHO_T}$ac_res" >&6; }
19742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19743 cat >>confdefs.h <<_ACEOF
19744 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19754 *-pc-os2_emx | *-pc-os2-emx )
19755 if test $ac_cv_header_langinfo_h = "yes" \
19756 -a \( "$wx_cv_gccversion" = "EMX2
" \
19757 -o "$wx_cv_gccversion" = "EMX3
" \
19758 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19759 LIBS="$LIBS -lintl"
19764 if test "$USE_UNIX" = 1 ; then
19766 for ac_header in sys/select.h
19768 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19769 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19770 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19771 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19772 echo $ECHO_N "(cached
) $ECHO_C" >&6
19774 cat >conftest.$ac_ext <<_ACEOF
19777 cat confdefs.h >>conftest.$ac_ext
19778 cat >>conftest.$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 $ac_includes_default
19782 #include <$ac_header>
19784 rm -f conftest.$ac_objext
19785 if { (ac_try="$ac_compile"
19786 case "(($ac_try" in
19787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19788 *) ac_try_echo=$ac_try;;
19790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19791 (eval "$ac_compile") 2>conftest.er1
19793 grep -v '^ *+' conftest.er1 >conftest.err
19795 cat conftest.err >&5
19796 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19797 (exit $ac_status); } && {
19798 test -z "$ac_c_werror_flag" ||
19799 test ! -s conftest.err
19800 } && test -s conftest.$ac_objext; then
19801 eval "$as_ac_Header=yes"
19803 echo "$as_me: failed program was
:" >&5
19804 sed 's/^/| /' conftest.$ac_ext >&5
19806 eval "$as_ac_Header=no
"
19809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19811 ac_res=`eval echo '${'$as_ac_Header'}'`
19812 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19813 echo "${ECHO_T}$ac_res" >&6; }
19814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19815 cat >>confdefs.h <<_ACEOF
19816 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19826 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19827 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19828 if test "${ac_cv_c_const+set}" = set; then
19829 echo $ECHO_N "(cached
) $ECHO_C" >&6
19831 cat >conftest.$ac_ext <<_ACEOF
19834 cat confdefs.h >>conftest.$ac_ext
19835 cat >>conftest.$ac_ext <<_ACEOF
19836 /* end confdefs.h. */
19841 /* FIXME: Include the comments suggested by Paul. */
19842 #ifndef __cplusplus
19843 /* Ultrix mips cc rejects this. */
19844 typedef int charset[2];
19846 /* SunOS 4.1.1 cc rejects this. */
19847 char const *const *pcpcc;
19849 /* NEC SVR4.0.2 mips cc rejects this. */
19850 struct point {int x, y;};
19851 static struct point const zero = {0,0};
19852 /* AIX XL C 1.02.0.0 rejects this.
19853 It does not let you subtract one const X* pointer from another in
19854 an arm of an if-expression whose if-part is not a constant
19856 const char *g = "string
";
19857 pcpcc = &g + (g ? g-g : 0);
19858 /* HPUX 7.0 cc rejects these. */
19860 ppc = (char**) pcpcc;
19861 pcpcc = (char const *const *) ppc;
19862 { /* SCO 3.2v4 cc rejects this. */
19864 char const *s = 0 ? (char *) 0 : (char const *) 0;
19869 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19870 int x[] = {25, 17};
19871 const int *foo = &x[0];
19874 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19875 typedef const int *iptr;
19879 { /* AIX XL C 1.02.0.0 rejects this saying
19880 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19881 struct s { int j; const int *ap[3]; };
19882 struct s *b; b->j = 5;
19884 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19885 const int foo = 10;
19886 if (!foo) return 0;
19888 return !cs[0] && !zero.x;
19895 rm -f conftest.$ac_objext
19896 if { (ac_try="$ac_compile"
19897 case "(($ac_try" in
19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19899 *) ac_try_echo=$ac_try;;
19901 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_compile") 2>conftest.er1
19904 grep -v '^ *+' conftest.er1 >conftest.err
19906 cat conftest.err >&5
19907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19908 (exit $ac_status); } && {
19909 test -z "$ac_c_werror_flag" ||
19910 test ! -s conftest.err
19911 } && test -s conftest.$ac_objext; then
19914 echo "$as_me: failed program was
:" >&5
19915 sed 's/^/| /' conftest.$ac_ext >&5
19920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19922 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19923 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19924 if test $ac_cv_c_const = no; then
19926 cat >>confdefs.h <<\_ACEOF
19932 { echo "$as_me:$LINENO: checking
for inline
" >&5
19933 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19934 if test "${ac_cv_c_inline+set}" = set; then
19935 echo $ECHO_N "(cached
) $ECHO_C" >&6
19938 for ac_kw in inline __inline__ __inline; do
19939 cat >conftest.$ac_ext <<_ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #ifndef __cplusplus
19947 static $ac_kw foo_t static_foo () {return 0; }
19948 $ac_kw foo_t foo () {return 0; }
19952 rm -f conftest.$ac_objext
19953 if { (ac_try="$ac_compile"
19954 case "(($ac_try" in
19955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19956 *) ac_try_echo=$ac_try;;
19958 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19959 (eval "$ac_compile") 2>conftest.er1
19961 grep -v '^ *+' conftest.er1 >conftest.err
19963 cat conftest.err >&5
19964 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19965 (exit $ac_status); } && {
19966 test -z "$ac_c_werror_flag" ||
19967 test ! -s conftest.err
19968 } && test -s conftest.$ac_objext; then
19969 ac_cv_c_inline=$ac_kw
19971 echo "$as_me: failed program was
:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19978 test "$ac_cv_c_inline" != no && break
19982 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19983 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19986 case $ac_cv_c_inline in
19989 case $ac_cv_c_inline in
19991 *) ac_val=$ac_cv_c_inline;;
19993 cat >>confdefs.h <<_ACEOF
19994 #ifndef __cplusplus
19995 #define inline $ac_val
20002 { echo "$as_me:$LINENO: checking
for short
" >&5
20003 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20004 if test "${ac_cv_type_short+set}" = set; then
20005 echo $ECHO_N "(cached
) $ECHO_C" >&6
20007 cat >conftest.$ac_ext <<_ACEOF
20010 cat confdefs.h >>conftest.$ac_ext
20011 cat >>conftest.$ac_ext <<_ACEOF
20012 /* end confdefs.h. */
20013 $ac_includes_default
20014 typedef short ac__type_new_;
20018 if ((ac__type_new_ *) 0)
20020 if (sizeof (ac__type_new_))
20026 rm -f conftest.$ac_objext
20027 if { (ac_try="$ac_compile"
20028 case "(($ac_try" in
20029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20030 *) ac_try_echo=$ac_try;;
20032 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20033 (eval "$ac_compile") 2>conftest.er1
20035 grep -v '^ *+' conftest.er1 >conftest.err
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20039 (exit $ac_status); } && {
20040 test -z "$ac_c_werror_flag" ||
20041 test ! -s conftest.err
20042 } && test -s conftest.$ac_objext; then
20043 ac_cv_type_short=yes
20045 echo "$as_me: failed program was
:" >&5
20046 sed 's/^/| /' conftest.$ac_ext >&5
20048 ac_cv_type_short=no
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20053 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20054 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20056 # The cast to long int works around a bug in the HP C Compiler
20057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20059 # This bug is HP SR number 8606223364.
20060 { echo "$as_me:$LINENO: checking size of short
" >&5
20061 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20062 if test "${ac_cv_sizeof_short+set}" = set; then
20063 echo $ECHO_N "(cached
) $ECHO_C" >&6
20065 if test "$cross_compiling" = yes; then
20066 # Depending upon the size, compute the lo and hi bounds.
20067 cat >conftest.$ac_ext <<_ACEOF
20070 cat confdefs.h >>conftest.$ac_ext
20071 cat >>conftest.$ac_ext <<_ACEOF
20072 /* end confdefs.h. */
20073 $ac_includes_default
20074 typedef short ac__type_sizeof_;
20078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20085 rm -f conftest.$ac_objext
20086 if { (ac_try="$ac_compile"
20087 case "(($ac_try" in
20088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20089 *) ac_try_echo=$ac_try;;
20091 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20092 (eval "$ac_compile") 2>conftest.er1
20094 grep -v '^ *+' conftest.er1 >conftest.err
20096 cat conftest.err >&5
20097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20098 (exit $ac_status); } && {
20099 test -z "$ac_c_werror_flag" ||
20100 test ! -s conftest.err
20101 } && test -s conftest.$ac_objext; then
20104 cat >conftest.$ac_ext <<_ACEOF
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 $ac_includes_default
20111 typedef short ac__type_sizeof_;
20115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20122 rm -f conftest.$ac_objext
20123 if { (ac_try="$ac_compile"
20124 case "(($ac_try" in
20125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20126 *) ac_try_echo=$ac_try;;
20128 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20129 (eval "$ac_compile") 2>conftest.er1
20131 grep -v '^ *+' conftest.er1 >conftest.err
20133 cat conftest.err >&5
20134 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20135 (exit $ac_status); } && {
20136 test -z "$ac_c_werror_flag" ||
20137 test ! -s conftest.err
20138 } && test -s conftest.$ac_objext; then
20139 ac_hi=$ac_mid; break
20141 echo "$as_me: failed program was
:" >&5
20142 sed 's/^/| /' conftest.$ac_ext >&5
20144 ac_lo=`expr $ac_mid + 1`
20145 if test $ac_lo -le $ac_mid; then
20149 ac_mid=`expr 2 '*' $ac_mid + 1`
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20155 echo "$as_me: failed program was
:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20158 cat >conftest.$ac_ext <<_ACEOF
20161 cat confdefs.h >>conftest.$ac_ext
20162 cat >>conftest.$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20164 $ac_includes_default
20165 typedef short ac__type_sizeof_;
20169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20176 rm -f conftest.$ac_objext
20177 if { (ac_try="$ac_compile"
20178 case "(($ac_try" in
20179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20180 *) ac_try_echo=$ac_try;;
20182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20183 (eval "$ac_compile") 2>conftest.er1
20185 grep -v '^ *+' conftest.er1 >conftest.err
20187 cat conftest.err >&5
20188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20189 (exit $ac_status); } && {
20190 test -z "$ac_c_werror_flag" ||
20191 test ! -s conftest.err
20192 } && test -s conftest.$ac_objext; then
20195 cat >conftest.$ac_ext <<_ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 $ac_includes_default
20202 typedef short ac__type_sizeof_;
20206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20213 rm -f conftest.$ac_objext
20214 if { (ac_try="$ac_compile"
20215 case "(($ac_try" in
20216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20217 *) ac_try_echo=$ac_try;;
20219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20220 (eval "$ac_compile") 2>conftest.er1
20222 grep -v '^ *+' conftest.er1 >conftest.err
20224 cat conftest.err >&5
20225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20226 (exit $ac_status); } && {
20227 test -z "$ac_c_werror_flag" ||
20228 test ! -s conftest.err
20229 } && test -s conftest.$ac_objext; then
20230 ac_lo=$ac_mid; break
20232 echo "$as_me: failed program was
:" >&5
20233 sed 's/^/| /' conftest.$ac_ext >&5
20235 ac_hi=`expr '(' $ac_mid ')' - 1`
20236 if test $ac_mid -le $ac_hi; then
20240 ac_mid=`expr 2 '*' $ac_mid`
20243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20246 echo "$as_me: failed program was
:" >&5
20247 sed 's/^/| /' conftest.$ac_ext >&5
20252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20256 # Binary search between lo and hi bounds.
20257 while test "x
$ac_lo" != "x
$ac_hi"; do
20258 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20259 cat >conftest.$ac_ext <<_ACEOF
20262 cat confdefs.h >>conftest.$ac_ext
20263 cat >>conftest.$ac_ext <<_ACEOF
20264 /* end confdefs.h. */
20265 $ac_includes_default
20266 typedef short ac__type_sizeof_;
20270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20277 rm -f conftest.$ac_objext
20278 if { (ac_try="$ac_compile"
20279 case "(($ac_try" in
20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20283 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_compile") 2>conftest.er1
20286 grep -v '^ *+' conftest.er1 >conftest.err
20288 cat conftest.err >&5
20289 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20290 (exit $ac_status); } && {
20291 test -z "$ac_c_werror_flag" ||
20292 test ! -s conftest.err
20293 } && test -s conftest.$ac_objext; then
20296 echo "$as_me: failed program was
:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20299 ac_lo=`expr '(' $ac_mid ')' + 1`
20302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20305 ?*) ac_cv_sizeof_short=$ac_lo;;
20306 '') if test "$ac_cv_type_short" = yes; then
20307 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20308 See \
`config.log' for more details." >&5
20309 echo "$as_me: error: cannot compute sizeof (short)
20310 See \`config.log
' for more details." >&2;}
20311 { (exit 77); exit 77; }; }
20313 ac_cv_sizeof_short=0
20317 cat >conftest.$ac_ext <<_ACEOF
20320 cat confdefs.h >>conftest.$ac_ext
20321 cat >>conftest.$ac_ext <<_ACEOF
20322 /* end confdefs.h. */
20323 $ac_includes_default
20324 typedef short ac__type_sizeof_;
20325 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20326 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20328 #include <stdlib.h>
20333 FILE *f = fopen ("conftest.val", "w");
20336 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20338 long int i = longval ();
20339 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20341 fprintf (f, "%ld\n", i);
20345 unsigned long int i = ulongval ();
20346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20348 fprintf (f, "%lu\n", i);
20350 return ferror (f) || fclose (f) != 0;
20356 rm -f conftest$ac_exeext
20357 if { (ac_try="$ac_link"
20358 case "(($ac_try" in
20359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20360 *) ac_try_echo=$ac_try;;
20362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20363 (eval "$ac_link") 2>&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20367 { (case "(($ac_try" in
20368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20369 *) ac_try_echo=$ac_try;;
20371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20372 (eval "$ac_try") 2>&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; }; then
20376 ac_cv_sizeof_short=`cat conftest.val`
20378 echo "$as_me: program exited with status $ac_status" >&5
20379 echo "$as_me: failed program was:" >&5
20380 sed 's
/^
/| /' conftest.$ac_ext >&5
20382 ( exit $ac_status )
20383 if test "$ac_cv_type_short" = yes; then
20384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20385 See \`config.log' for more details.
" >&5
20386 echo "$as_me: error
: cannot compute sizeof
(short
)
20387 See \
`config.log' for more details." >&2;}
20388 { (exit 77); exit 77; }; }
20390 ac_cv_sizeof_short=0
20393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20397 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20398 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20402 cat >>confdefs.h <<_ACEOF
20403 #define SIZEOF_SHORT $ac_cv_sizeof_short
20407 { echo "$as_me:$LINENO: checking for void *" >&5
20408 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20409 if test "${ac_cv_type_void_p+set}" = set; then
20410 echo $ECHO_N "(cached) $ECHO_C" >&6
20412 cat >conftest.$ac_ext <<_ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 $ac_includes_default
20419 typedef void * ac__type_new_;
20423 if ((ac__type_new_ *) 0)
20425 if (sizeof (ac__type_new_))
20431 rm -f conftest.$ac_objext
20432 if { (ac_try="$ac_compile"
20433 case "(($ac_try" in
20434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20435 *) ac_try_echo
=$ac_try;;
20437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20438 (eval "$ac_compile") 2>conftest.er1
20440 grep -v '^ *+' conftest.er1
>conftest.err
20442 cat conftest.err
>&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } && {
20445 test -z "$ac_c_werror_flag" ||
20446 test ! -s conftest.err
20447 } && test -s conftest.
$ac_objext; then
20448 ac_cv_type_void_p
=yes
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.
$ac_ext >&5
20453 ac_cv_type_void_p
=no
20456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20458 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20459 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20461 # The cast to long int works around a bug in the HP C Compiler
20462 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20463 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20464 # This bug is HP SR number 8606223364.
20465 { echo "$as_me:$LINENO: checking size of void *" >&5
20466 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20467 if test "${ac_cv_sizeof_void_p+set}" = set; then
20468 echo $ECHO_N "(cached) $ECHO_C" >&6
20470 if test "$cross_compiling" = yes; then
20471 # Depending upon the size, compute the lo and hi bounds.
20472 cat >conftest.
$ac_ext <<_ACEOF
20475 cat confdefs.h
>>conftest.
$ac_ext
20476 cat >>conftest.
$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 $ac_includes_default
20479 typedef void * ac__type_sizeof_;
20483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20490 rm -f conftest.
$ac_objext
20491 if { (ac_try
="$ac_compile"
20492 case "(($ac_try" in
20493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20494 *) ac_try_echo=$ac_try;;
20496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20497 (eval "$ac_compile") 2>conftest.er1
20499 grep -v '^ *+' conftest.er1 >conftest.err
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } && {
20504 test -z "$ac_c_werror_flag" ||
20505 test ! -s conftest.err
20506 } && test -s conftest.$ac_objext; then
20509 cat >conftest.$ac_ext <<_ACEOF
20512 cat confdefs.h >>conftest.$ac_ext
20513 cat >>conftest.$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 $ac_includes_default
20516 typedef void * ac__type_sizeof_;
20520 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20527 rm -f conftest.$ac_objext
20528 if { (ac_try="$ac_compile"
20529 case "(($ac_try" in
20530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20531 *) ac_try_echo
=$ac_try;;
20533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20534 (eval "$ac_compile") 2>conftest.er1
20536 grep -v '^ *+' conftest.er1
>conftest.err
20538 cat conftest.err
>&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } && {
20541 test -z "$ac_c_werror_flag" ||
20542 test ! -s conftest.err
20543 } && test -s conftest.
$ac_objext; then
20544 ac_hi
=$ac_mid; break
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.
$ac_ext >&5
20549 ac_lo
=`expr $ac_mid + 1`
20550 if test $ac_lo -le $ac_mid; then
20554 ac_mid
=`expr 2 '*' $ac_mid + 1`
20557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.
$ac_ext >&5
20563 cat >conftest.
$ac_ext <<_ACEOF
20566 cat confdefs.h
>>conftest.
$ac_ext
20567 cat >>conftest.
$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 $ac_includes_default
20570 typedef void * ac__type_sizeof_;
20574 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20581 rm -f conftest.
$ac_objext
20582 if { (ac_try
="$ac_compile"
20583 case "(($ac_try" in
20584 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20585 *) ac_try_echo=$ac_try;;
20587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20588 (eval "$ac_compile") 2>conftest.er1
20590 grep -v '^ *+' conftest.er1 >conftest.err
20592 cat conftest.err >&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } && {
20595 test -z "$ac_c_werror_flag" ||
20596 test ! -s conftest.err
20597 } && test -s conftest.$ac_objext; then
20600 cat >conftest.$ac_ext <<_ACEOF
20603 cat confdefs.h >>conftest.$ac_ext
20604 cat >>conftest.$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 $ac_includes_default
20607 typedef void * ac__type_sizeof_;
20611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20618 rm -f conftest.$ac_objext
20619 if { (ac_try="$ac_compile"
20620 case "(($ac_try" in
20621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20622 *) ac_try_echo
=$ac_try;;
20624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20625 (eval "$ac_compile") 2>conftest.er1
20627 grep -v '^ *+' conftest.er1
>conftest.err
20629 cat conftest.err
>&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } && {
20632 test -z "$ac_c_werror_flag" ||
20633 test ! -s conftest.err
20634 } && test -s conftest.
$ac_objext; then
20635 ac_lo
=$ac_mid; break
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.
$ac_ext >&5
20640 ac_hi
=`expr '(' $ac_mid ')' - 1`
20641 if test $ac_mid -le $ac_hi; then
20645 ac_mid
=`expr 2 '*' $ac_mid`
20648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20651 echo "$as_me: failed program was:" >&5
20652 sed 's/^/| /' conftest.
$ac_ext >&5
20657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20661 # Binary search between lo and hi bounds.
20662 while test "x$ac_lo" != "x$ac_hi"; do
20663 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20664 cat >conftest.
$ac_ext <<_ACEOF
20667 cat confdefs.h
>>conftest.
$ac_ext
20668 cat >>conftest.
$ac_ext <<_ACEOF
20669 /* end confdefs.h. */
20670 $ac_includes_default
20671 typedef void * ac__type_sizeof_;
20675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20682 rm -f conftest.
$ac_objext
20683 if { (ac_try
="$ac_compile"
20684 case "(($ac_try" in
20685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20686 *) ac_try_echo=$ac_try;;
20688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20689 (eval "$ac_compile") 2>conftest.er1
20691 grep -v '^ *+' conftest.er1 >conftest.err
20693 cat conftest.err >&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); } && {
20696 test -z "$ac_c_werror_flag" ||
20697 test ! -s conftest.err
20698 } && test -s conftest.$ac_objext; then
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.$ac_ext >&5
20704 ac_lo=`expr '(' $ac_mid ')' + 1`
20707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20710 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20711 '') if test "$ac_cv_type_void_p" = yes; then
20712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20713 See \`config.log
' for more details." >&5
20714 echo "$as_me: error: cannot compute sizeof (void *)
20715 See \`config.log' for more details.
" >&2;}
20716 { (exit 77); exit 77; }; }
20718 ac_cv_sizeof_void_p=0
20722 cat >conftest.$ac_ext <<_ACEOF
20725 cat confdefs.h >>conftest.$ac_ext
20726 cat >>conftest.$ac_ext <<_ACEOF
20727 /* end confdefs.h. */
20728 $ac_includes_default
20729 typedef void * ac__type_sizeof_;
20730 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20731 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20733 #include <stdlib.h>
20738 FILE *f = fopen ("conftest.val
", "w
");
20741 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20743 long int i = longval ();
20744 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20746 fprintf (f, "%ld
\n", i);
20750 unsigned long int i = ulongval ();
20751 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20753 fprintf (f, "%lu
\n", i);
20755 return ferror (f) || fclose (f) != 0;
20761 rm -f conftest$ac_exeext
20762 if { (ac_try="$ac_link"
20763 case "(($ac_try" in
20764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20765 *) ac_try_echo=$ac_try;;
20767 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20768 (eval "$ac_link") 2>&5
20770 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20772 { (case "(($ac_try" in
20773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20774 *) ac_try_echo=$ac_try;;
20776 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20777 (eval "$ac_try") 2>&5
20779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20780 (exit $ac_status); }; }; then
20781 ac_cv_sizeof_void_p=`cat conftest.val`
20783 echo "$as_me: program exited with status
$ac_status" >&5
20784 echo "$as_me: failed program was
:" >&5
20785 sed 's/^/| /' conftest.$ac_ext >&5
20787 ( exit $ac_status )
20788 if test "$ac_cv_type_void_p" = yes; then
20789 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20790 See \
`config.log' for more details." >&5
20791 echo "$as_me: error: cannot compute sizeof (void *)
20792 See \`config.log
' for more details." >&2;}
20793 { (exit 77); exit 77; }; }
20795 ac_cv_sizeof_void_p=0
20798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20802 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20803 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20807 cat >>confdefs.h <<_ACEOF
20808 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20812 { echo "$as_me:$LINENO: checking for int" >&5
20813 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20814 if test "${ac_cv_type_int+set}" = set; then
20815 echo $ECHO_N "(cached) $ECHO_C" >&6
20817 cat >conftest.$ac_ext <<_ACEOF
20820 cat confdefs.h >>conftest.$ac_ext
20821 cat >>conftest.$ac_ext <<_ACEOF
20822 /* end confdefs.h. */
20823 $ac_includes_default
20824 typedef int ac__type_new_;
20828 if ((ac__type_new_ *) 0)
20830 if (sizeof (ac__type_new_))
20836 rm -f conftest.$ac_objext
20837 if { (ac_try="$ac_compile"
20838 case "(($ac_try" in
20839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20840 *) ac_try_echo=$ac_try;;
20842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20843 (eval "$ac_compile") 2>conftest.er1
20845 grep -v '^
*+' conftest.er1 >conftest.err
20847 cat conftest.err >&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); } && {
20850 test -z "$ac_c_werror_flag" ||
20851 test ! -s conftest.err
20852 } && test -s conftest.$ac_objext; then
20855 echo "$as_me: failed program was:" >&5
20856 sed 's
/^
/| /' conftest.$ac_ext >&5
20861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20863 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20864 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20866 # The cast to long int works around a bug in the HP C Compiler
20867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20869 # This bug is HP SR number 8606223364.
20870 { echo "$as_me:$LINENO: checking size of int" >&5
20871 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20872 if test "${ac_cv_sizeof_int+set}" = set; then
20873 echo $ECHO_N "(cached) $ECHO_C" >&6
20875 if test "$cross_compiling" = yes; then
20876 # Depending upon the size, compute the lo and hi bounds.
20877 cat >conftest.
$ac_ext <<_ACEOF
20880 cat confdefs.h
>>conftest.
$ac_ext
20881 cat >>conftest.
$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 $ac_includes_default
20884 typedef int ac__type_sizeof_;
20888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20895 rm -f conftest.
$ac_objext
20896 if { (ac_try
="$ac_compile"
20897 case "(($ac_try" in
20898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20899 *) ac_try_echo=$ac_try;;
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_compile") 2>conftest.er1
20904 grep -v '^ *+' conftest.er1 >conftest.err
20906 cat conftest.err >&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } && {
20909 test -z "$ac_c_werror_flag" ||
20910 test ! -s conftest.err
20911 } && test -s conftest.$ac_objext; then
20914 cat >conftest.$ac_ext <<_ACEOF
20917 cat confdefs.h >>conftest.$ac_ext
20918 cat >>conftest.$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20920 $ac_includes_default
20921 typedef int ac__type_sizeof_;
20925 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20932 rm -f conftest.$ac_objext
20933 if { (ac_try="$ac_compile"
20934 case "(($ac_try" in
20935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20936 *) ac_try_echo
=$ac_try;;
20938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20939 (eval "$ac_compile") 2>conftest.er1
20941 grep -v '^ *+' conftest.er1
>conftest.err
20943 cat conftest.err
>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } && {
20946 test -z "$ac_c_werror_flag" ||
20947 test ! -s conftest.err
20948 } && test -s conftest.
$ac_objext; then
20949 ac_hi
=$ac_mid; break
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.
$ac_ext >&5
20954 ac_lo
=`expr $ac_mid + 1`
20955 if test $ac_lo -le $ac_mid; then
20959 ac_mid
=`expr 2 '*' $ac_mid + 1`
20962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.
$ac_ext >&5
20968 cat >conftest.
$ac_ext <<_ACEOF
20971 cat confdefs.h
>>conftest.
$ac_ext
20972 cat >>conftest.
$ac_ext <<_ACEOF
20973 /* end confdefs.h. */
20974 $ac_includes_default
20975 typedef int ac__type_sizeof_;
20979 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20986 rm -f conftest.
$ac_objext
20987 if { (ac_try
="$ac_compile"
20988 case "(($ac_try" in
20989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20990 *) ac_try_echo=$ac_try;;
20992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20993 (eval "$ac_compile") 2>conftest.er1
20995 grep -v '^ *+' conftest.er1 >conftest.err
20997 cat conftest.err >&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } && {
21000 test -z "$ac_c_werror_flag" ||
21001 test ! -s conftest.err
21002 } && test -s conftest.$ac_objext; then
21005 cat >conftest.$ac_ext <<_ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 $ac_includes_default
21012 typedef int ac__type_sizeof_;
21016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21023 rm -f conftest.$ac_objext
21024 if { (ac_try="$ac_compile"
21025 case "(($ac_try" in
21026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21027 *) ac_try_echo
=$ac_try;;
21029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21030 (eval "$ac_compile") 2>conftest.er1
21032 grep -v '^ *+' conftest.er1
>conftest.err
21034 cat conftest.err
>&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); } && {
21037 test -z "$ac_c_werror_flag" ||
21038 test ! -s conftest.err
21039 } && test -s conftest.
$ac_objext; then
21040 ac_lo
=$ac_mid; break
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.
$ac_ext >&5
21045 ac_hi
=`expr '(' $ac_mid ')' - 1`
21046 if test $ac_mid -le $ac_hi; then
21050 ac_mid
=`expr 2 '*' $ac_mid`
21053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.
$ac_ext >&5
21062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21066 # Binary search between lo and hi bounds.
21067 while test "x$ac_lo" != "x$ac_hi"; do
21068 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21069 cat >conftest.
$ac_ext <<_ACEOF
21072 cat confdefs.h
>>conftest.
$ac_ext
21073 cat >>conftest.
$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075 $ac_includes_default
21076 typedef int ac__type_sizeof_;
21080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21087 rm -f conftest.
$ac_objext
21088 if { (ac_try
="$ac_compile"
21089 case "(($ac_try" in
21090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21091 *) ac_try_echo=$ac_try;;
21093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21094 (eval "$ac_compile") 2>conftest.er1
21096 grep -v '^ *+' conftest.er1 >conftest.err
21098 cat conftest.err >&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } && {
21101 test -z "$ac_c_werror_flag" ||
21102 test ! -s conftest.err
21103 } && test -s conftest.$ac_objext; then
21106 echo "$as_me: failed program was:" >&5
21107 sed 's/^/| /' conftest.$ac_ext >&5
21109 ac_lo=`expr '(' $ac_mid ')' + 1`
21112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115 ?*) ac_cv_sizeof_int=$ac_lo;;
21116 '') if test "$ac_cv_type_int" = yes; then
21117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21118 See \`config.log
' for more details." >&5
21119 echo "$as_me: error: cannot compute sizeof (int)
21120 See \`config.log' for more details.
" >&2;}
21121 { (exit 77); exit 77; }; }
21127 cat >conftest.$ac_ext <<_ACEOF
21130 cat confdefs.h >>conftest.$ac_ext
21131 cat >>conftest.$ac_ext <<_ACEOF
21132 /* end confdefs.h. */
21133 $ac_includes_default
21134 typedef int ac__type_sizeof_;
21135 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21136 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21138 #include <stdlib.h>
21143 FILE *f = fopen ("conftest.val
", "w
");
21146 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21148 long int i = longval ();
21149 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21151 fprintf (f, "%ld
\n", i);
21155 unsigned long int i = ulongval ();
21156 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21158 fprintf (f, "%lu
\n", i);
21160 return ferror (f) || fclose (f) != 0;
21166 rm -f conftest$ac_exeext
21167 if { (ac_try="$ac_link"
21168 case "(($ac_try" in
21169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21170 *) ac_try_echo=$ac_try;;
21172 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21173 (eval "$ac_link") 2>&5
21175 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21176 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21177 { (case "(($ac_try" in
21178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21179 *) ac_try_echo=$ac_try;;
21181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21182 (eval "$ac_try") 2>&5
21184 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21185 (exit $ac_status); }; }; then
21186 ac_cv_sizeof_int=`cat conftest.val`
21188 echo "$as_me: program exited with status
$ac_status" >&5
21189 echo "$as_me: failed program was
:" >&5
21190 sed 's/^/| /' conftest.$ac_ext >&5
21192 ( exit $ac_status )
21193 if test "$ac_cv_type_int" = yes; then
21194 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21195 See \
`config.log' for more details." >&5
21196 echo "$as_me: error: cannot compute sizeof (int)
21197 See \`config.log
' for more details." >&2;}
21198 { (exit 77); exit 77; }; }
21203 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21207 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21208 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21212 cat >>confdefs.h <<_ACEOF
21213 #define SIZEOF_INT $ac_cv_sizeof_int
21217 { echo "$as_me:$LINENO: checking for long" >&5
21218 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21219 if test "${ac_cv_type_long+set}" = set; then
21220 echo $ECHO_N "(cached) $ECHO_C" >&6
21222 cat >conftest.$ac_ext <<_ACEOF
21225 cat confdefs.h >>conftest.$ac_ext
21226 cat >>conftest.$ac_ext <<_ACEOF
21227 /* end confdefs.h. */
21228 $ac_includes_default
21229 typedef long ac__type_new_;
21233 if ((ac__type_new_ *) 0)
21235 if (sizeof (ac__type_new_))
21241 rm -f conftest.$ac_objext
21242 if { (ac_try="$ac_compile"
21243 case "(($ac_try" in
21244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21245 *) ac_try_echo=$ac_try;;
21247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21248 (eval "$ac_compile") 2>conftest.er1
21250 grep -v '^
*+' conftest.er1 >conftest.err
21252 cat conftest.err >&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); } && {
21255 test -z "$ac_c_werror_flag" ||
21256 test ! -s conftest.err
21257 } && test -s conftest.$ac_objext; then
21258 ac_cv_type_long=yes
21260 echo "$as_me: failed program was:" >&5
21261 sed 's
/^
/| /' conftest.$ac_ext >&5
21266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21268 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21269 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21271 # The cast to long int works around a bug in the HP C Compiler
21272 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21273 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21274 # This bug is HP SR number 8606223364.
21275 { echo "$as_me:$LINENO: checking size of long" >&5
21276 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21277 if test "${ac_cv_sizeof_long+set}" = set; then
21278 echo $ECHO_N "(cached) $ECHO_C" >&6
21280 if test "$cross_compiling" = yes; then
21281 # Depending upon the size, compute the lo and hi bounds.
21282 cat >conftest.
$ac_ext <<_ACEOF
21285 cat confdefs.h
>>conftest.
$ac_ext
21286 cat >>conftest.
$ac_ext <<_ACEOF
21287 /* end confdefs.h. */
21288 $ac_includes_default
21289 typedef long ac__type_sizeof_;
21293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21300 rm -f conftest.
$ac_objext
21301 if { (ac_try
="$ac_compile"
21302 case "(($ac_try" in
21303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21304 *) ac_try_echo=$ac_try;;
21306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21307 (eval "$ac_compile") 2>conftest.er1
21309 grep -v '^ *+' conftest.er1 >conftest.err
21311 cat conftest.err >&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); } && {
21314 test -z "$ac_c_werror_flag" ||
21315 test ! -s conftest.err
21316 } && test -s conftest.$ac_objext; then
21319 cat >conftest.$ac_ext <<_ACEOF
21322 cat confdefs.h >>conftest.$ac_ext
21323 cat >>conftest.$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21325 $ac_includes_default
21326 typedef long ac__type_sizeof_;
21330 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21337 rm -f conftest.$ac_objext
21338 if { (ac_try="$ac_compile"
21339 case "(($ac_try" in
21340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21341 *) ac_try_echo
=$ac_try;;
21343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21344 (eval "$ac_compile") 2>conftest.er1
21346 grep -v '^ *+' conftest.er1
>conftest.err
21348 cat conftest.err
>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } && {
21351 test -z "$ac_c_werror_flag" ||
21352 test ! -s conftest.err
21353 } && test -s conftest.
$ac_objext; then
21354 ac_hi
=$ac_mid; break
21356 echo "$as_me: failed program was:" >&5
21357 sed 's/^/| /' conftest.
$ac_ext >&5
21359 ac_lo
=`expr $ac_mid + 1`
21360 if test $ac_lo -le $ac_mid; then
21364 ac_mid
=`expr 2 '*' $ac_mid + 1`
21367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21370 echo "$as_me: failed program was:" >&5
21371 sed 's/^/| /' conftest.
$ac_ext >&5
21373 cat >conftest.
$ac_ext <<_ACEOF
21376 cat confdefs.h
>>conftest.
$ac_ext
21377 cat >>conftest.
$ac_ext <<_ACEOF
21378 /* end confdefs.h. */
21379 $ac_includes_default
21380 typedef long ac__type_sizeof_;
21384 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21391 rm -f conftest.
$ac_objext
21392 if { (ac_try
="$ac_compile"
21393 case "(($ac_try" in
21394 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21395 *) ac_try_echo=$ac_try;;
21397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21398 (eval "$ac_compile") 2>conftest.er1
21400 grep -v '^ *+' conftest.er1 >conftest.err
21402 cat conftest.err >&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); } && {
21405 test -z "$ac_c_werror_flag" ||
21406 test ! -s conftest.err
21407 } && test -s conftest.$ac_objext; then
21410 cat >conftest.$ac_ext <<_ACEOF
21413 cat confdefs.h >>conftest.$ac_ext
21414 cat >>conftest.$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 $ac_includes_default
21417 typedef long ac__type_sizeof_;
21421 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21428 rm -f conftest.$ac_objext
21429 if { (ac_try="$ac_compile"
21430 case "(($ac_try" in
21431 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21432 *) ac_try_echo
=$ac_try;;
21434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21435 (eval "$ac_compile") 2>conftest.er1
21437 grep -v '^ *+' conftest.er1
>conftest.err
21439 cat conftest.err
>&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); } && {
21442 test -z "$ac_c_werror_flag" ||
21443 test ! -s conftest.err
21444 } && test -s conftest.
$ac_objext; then
21445 ac_lo
=$ac_mid; break
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.
$ac_ext >&5
21450 ac_hi
=`expr '(' $ac_mid ')' - 1`
21451 if test $ac_mid -le $ac_hi; then
21455 ac_mid
=`expr 2 '*' $ac_mid`
21458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21461 echo "$as_me: failed program was:" >&5
21462 sed 's/^/| /' conftest.
$ac_ext >&5
21467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21471 # Binary search between lo and hi bounds.
21472 while test "x$ac_lo" != "x$ac_hi"; do
21473 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21474 cat >conftest.
$ac_ext <<_ACEOF
21477 cat confdefs.h
>>conftest.
$ac_ext
21478 cat >>conftest.
$ac_ext <<_ACEOF
21479 /* end confdefs.h. */
21480 $ac_includes_default
21481 typedef long ac__type_sizeof_;
21485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21492 rm -f conftest.
$ac_objext
21493 if { (ac_try
="$ac_compile"
21494 case "(($ac_try" in
21495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21496 *) ac_try_echo=$ac_try;;
21498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21499 (eval "$ac_compile") 2>conftest.er1
21501 grep -v '^ *+' conftest.er1 >conftest.err
21503 cat conftest.err >&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } && {
21506 test -z "$ac_c_werror_flag" ||
21507 test ! -s conftest.err
21508 } && test -s conftest.$ac_objext; then
21511 echo "$as_me: failed program was:" >&5
21512 sed 's/^/| /' conftest.$ac_ext >&5
21514 ac_lo=`expr '(' $ac_mid ')' + 1`
21517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21520 ?*) ac_cv_sizeof_long=$ac_lo;;
21521 '') if test "$ac_cv_type_long" = yes; then
21522 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21523 See \`config.log
' for more details." >&5
21524 echo "$as_me: error: cannot compute sizeof (long)
21525 See \`config.log' for more details.
" >&2;}
21526 { (exit 77); exit 77; }; }
21528 ac_cv_sizeof_long=0
21532 cat >conftest.$ac_ext <<_ACEOF
21535 cat confdefs.h >>conftest.$ac_ext
21536 cat >>conftest.$ac_ext <<_ACEOF
21537 /* end confdefs.h. */
21538 $ac_includes_default
21539 typedef long ac__type_sizeof_;
21540 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21541 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21543 #include <stdlib.h>
21548 FILE *f = fopen ("conftest.val
", "w
");
21551 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21553 long int i = longval ();
21554 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21556 fprintf (f, "%ld
\n", i);
21560 unsigned long int i = ulongval ();
21561 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21563 fprintf (f, "%lu
\n", i);
21565 return ferror (f) || fclose (f) != 0;
21571 rm -f conftest$ac_exeext
21572 if { (ac_try="$ac_link"
21573 case "(($ac_try" in
21574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21575 *) ac_try_echo=$ac_try;;
21577 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21578 (eval "$ac_link") 2>&5
21580 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21581 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21582 { (case "(($ac_try" in
21583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21584 *) ac_try_echo=$ac_try;;
21586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21587 (eval "$ac_try") 2>&5
21589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21590 (exit $ac_status); }; }; then
21591 ac_cv_sizeof_long=`cat conftest.val`
21593 echo "$as_me: program exited with status
$ac_status" >&5
21594 echo "$as_me: failed program was
:" >&5
21595 sed 's/^/| /' conftest.$ac_ext >&5
21597 ( exit $ac_status )
21598 if test "$ac_cv_type_long" = yes; then
21599 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21600 See \
`config.log' for more details." >&5
21601 echo "$as_me: error: cannot compute sizeof (long)
21602 See \`config.log
' for more details." >&2;}
21603 { (exit 77); exit 77; }; }
21605 ac_cv_sizeof_long=0
21608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21612 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21613 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21617 cat >>confdefs.h <<_ACEOF
21618 #define SIZEOF_LONG $ac_cv_sizeof_long
21622 { echo "$as_me:$LINENO: checking for size_t" >&5
21623 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21624 if test "${ac_cv_type_size_t+set}" = set; then
21625 echo $ECHO_N "(cached) $ECHO_C" >&6
21627 cat >conftest.$ac_ext <<_ACEOF
21630 cat confdefs.h >>conftest.$ac_ext
21631 cat >>conftest.$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 typedef size_t ac__type_new_;
21638 if ((ac__type_new_ *) 0)
21640 if (sizeof (ac__type_new_))
21646 rm -f conftest.$ac_objext
21647 if { (ac_try="$ac_compile"
21648 case "(($ac_try" in
21649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21650 *) ac_try_echo=$ac_try;;
21652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21653 (eval "$ac_compile") 2>conftest.er1
21655 grep -v '^
*+' conftest.er1 >conftest.err
21657 cat conftest.err >&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } && {
21660 test -z "$ac_c_werror_flag" ||
21661 test ! -s conftest.err
21662 } && test -s conftest.$ac_objext; then
21663 ac_cv_type_size_t=yes
21665 echo "$as_me: failed program was:" >&5
21666 sed 's
/^
/| /' conftest.$ac_ext >&5
21668 ac_cv_type_size_t=no
21671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21673 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21674 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21676 # The cast to long int works around a bug in the HP C Compiler
21677 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21678 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21679 # This bug is HP SR number 8606223364.
21680 { echo "$as_me:$LINENO: checking size of size_t" >&5
21681 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21682 if test "${ac_cv_sizeof_size_t+set}" = set; then
21683 echo $ECHO_N "(cached) $ECHO_C" >&6
21685 if test "$cross_compiling" = yes; then
21686 # Depending upon the size, compute the lo and hi bounds.
21687 cat >conftest.
$ac_ext <<_ACEOF
21690 cat confdefs.h
>>conftest.
$ac_ext
21691 cat >>conftest.
$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21693 $ac_includes_default
21694 typedef size_t ac__type_sizeof_;
21698 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21705 rm -f conftest.
$ac_objext
21706 if { (ac_try
="$ac_compile"
21707 case "(($ac_try" in
21708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21709 *) ac_try_echo=$ac_try;;
21711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21712 (eval "$ac_compile") 2>conftest.er1
21714 grep -v '^ *+' conftest.er1 >conftest.err
21716 cat conftest.err >&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } && {
21719 test -z "$ac_c_werror_flag" ||
21720 test ! -s conftest.err
21721 } && test -s conftest.$ac_objext; then
21724 cat >conftest.$ac_ext <<_ACEOF
21727 cat confdefs.h >>conftest.$ac_ext
21728 cat >>conftest.$ac_ext <<_ACEOF
21729 /* end confdefs.h. */
21730 $ac_includes_default
21731 typedef size_t ac__type_sizeof_;
21735 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21742 rm -f conftest.$ac_objext
21743 if { (ac_try="$ac_compile"
21744 case "(($ac_try" in
21745 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21746 *) ac_try_echo
=$ac_try;;
21748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21749 (eval "$ac_compile") 2>conftest.er1
21751 grep -v '^ *+' conftest.er1
>conftest.err
21753 cat conftest.err
>&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); } && {
21756 test -z "$ac_c_werror_flag" ||
21757 test ! -s conftest.err
21758 } && test -s conftest.
$ac_objext; then
21759 ac_hi
=$ac_mid; break
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.
$ac_ext >&5
21764 ac_lo
=`expr $ac_mid + 1`
21765 if test $ac_lo -le $ac_mid; then
21769 ac_mid
=`expr 2 '*' $ac_mid + 1`
21772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21775 echo "$as_me: failed program was:" >&5
21776 sed 's/^/| /' conftest.
$ac_ext >&5
21778 cat >conftest.
$ac_ext <<_ACEOF
21781 cat confdefs.h
>>conftest.
$ac_ext
21782 cat >>conftest.
$ac_ext <<_ACEOF
21783 /* end confdefs.h. */
21784 $ac_includes_default
21785 typedef size_t ac__type_sizeof_;
21789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21796 rm -f conftest.
$ac_objext
21797 if { (ac_try
="$ac_compile"
21798 case "(($ac_try" in
21799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21800 *) ac_try_echo=$ac_try;;
21802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21803 (eval "$ac_compile") 2>conftest.er1
21805 grep -v '^ *+' conftest.er1 >conftest.err
21807 cat conftest.err >&5
21808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); } && {
21810 test -z "$ac_c_werror_flag" ||
21811 test ! -s conftest.err
21812 } && test -s conftest.$ac_objext; then
21815 cat >conftest.$ac_ext <<_ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 $ac_includes_default
21822 typedef size_t ac__type_sizeof_;
21826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21833 rm -f conftest.$ac_objext
21834 if { (ac_try="$ac_compile"
21835 case "(($ac_try" in
21836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21837 *) ac_try_echo
=$ac_try;;
21839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21840 (eval "$ac_compile") 2>conftest.er1
21842 grep -v '^ *+' conftest.er1
>conftest.err
21844 cat conftest.err
>&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } && {
21847 test -z "$ac_c_werror_flag" ||
21848 test ! -s conftest.err
21849 } && test -s conftest.
$ac_objext; then
21850 ac_lo
=$ac_mid; break
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.
$ac_ext >&5
21855 ac_hi
=`expr '(' $ac_mid ')' - 1`
21856 if test $ac_mid -le $ac_hi; then
21860 ac_mid
=`expr 2 '*' $ac_mid`
21863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21866 echo "$as_me: failed program was:" >&5
21867 sed 's/^/| /' conftest.
$ac_ext >&5
21872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21876 # Binary search between lo and hi bounds.
21877 while test "x$ac_lo" != "x$ac_hi"; do
21878 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21879 cat >conftest.
$ac_ext <<_ACEOF
21882 cat confdefs.h
>>conftest.
$ac_ext
21883 cat >>conftest.
$ac_ext <<_ACEOF
21884 /* end confdefs.h. */
21885 $ac_includes_default
21886 typedef size_t ac__type_sizeof_;
21890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21897 rm -f conftest.
$ac_objext
21898 if { (ac_try
="$ac_compile"
21899 case "(($ac_try" in
21900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21901 *) ac_try_echo=$ac_try;;
21903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21904 (eval "$ac_compile") 2>conftest.er1
21906 grep -v '^ *+' conftest.er1 >conftest.err
21908 cat conftest.err >&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); } && {
21911 test -z "$ac_c_werror_flag" ||
21912 test ! -s conftest.err
21913 } && test -s conftest.$ac_objext; then
21916 echo "$as_me: failed program was:" >&5
21917 sed 's/^/| /' conftest.$ac_ext >&5
21919 ac_lo=`expr '(' $ac_mid ')' + 1`
21922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21925 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21926 '') if test "$ac_cv_type_size_t" = yes; then
21927 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21928 See \`config.log
' for more details." >&5
21929 echo "$as_me: error: cannot compute sizeof (size_t)
21930 See \`config.log' for more details.
" >&2;}
21931 { (exit 77); exit 77; }; }
21933 ac_cv_sizeof_size_t=0
21937 cat >conftest.$ac_ext <<_ACEOF
21940 cat confdefs.h >>conftest.$ac_ext
21941 cat >>conftest.$ac_ext <<_ACEOF
21942 /* end confdefs.h. */
21943 $ac_includes_default
21944 typedef size_t ac__type_sizeof_;
21945 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21946 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21948 #include <stdlib.h>
21953 FILE *f = fopen ("conftest.val
", "w
");
21956 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21958 long int i = longval ();
21959 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21961 fprintf (f, "%ld
\n", i);
21965 unsigned long int i = ulongval ();
21966 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21968 fprintf (f, "%lu
\n", i);
21970 return ferror (f) || fclose (f) != 0;
21976 rm -f conftest$ac_exeext
21977 if { (ac_try="$ac_link"
21978 case "(($ac_try" in
21979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21980 *) ac_try_echo=$ac_try;;
21982 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21983 (eval "$ac_link") 2>&5
21985 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21986 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21987 { (case "(($ac_try" in
21988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21989 *) ac_try_echo=$ac_try;;
21991 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21992 (eval "$ac_try") 2>&5
21994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21995 (exit $ac_status); }; }; then
21996 ac_cv_sizeof_size_t=`cat conftest.val`
21998 echo "$as_me: program exited with status
$ac_status" >&5
21999 echo "$as_me: failed program was
:" >&5
22000 sed 's/^/| /' conftest.$ac_ext >&5
22002 ( exit $ac_status )
22003 if test "$ac_cv_type_size_t" = yes; then
22004 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22005 See \
`config.log' for more details." >&5
22006 echo "$as_me: error: cannot compute sizeof (size_t)
22007 See \`config.log
' for more details." >&2;}
22008 { (exit 77); exit 77; }; }
22010 ac_cv_sizeof_size_t=0
22013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22017 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22018 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22022 cat >>confdefs.h <<_ACEOF
22023 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22030 { echo "$as_me:$LINENO: checking for long long" >&5
22031 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22032 if test "${ac_cv_type_long_long+set}" = set; then
22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22035 cat >conftest.$ac_ext <<_ACEOF
22038 cat confdefs.h >>conftest.$ac_ext
22039 cat >>conftest.$ac_ext <<_ACEOF
22040 /* end confdefs.h. */
22041 $ac_includes_default
22042 typedef long long ac__type_new_;
22046 if ((ac__type_new_ *) 0)
22048 if (sizeof (ac__type_new_))
22054 rm -f conftest.$ac_objext
22055 if { (ac_try="$ac_compile"
22056 case "(($ac_try" in
22057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22058 *) ac_try_echo=$ac_try;;
22060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22061 (eval "$ac_compile") 2>conftest.er1
22063 grep -v '^
*+' conftest.er1 >conftest.err
22065 cat conftest.err >&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } && {
22068 test -z "$ac_c_werror_flag" ||
22069 test ! -s conftest.err
22070 } && test -s conftest.$ac_objext; then
22071 ac_cv_type_long_long=yes
22073 echo "$as_me: failed program was:" >&5
22074 sed 's
/^
/| /' conftest.$ac_ext >&5
22076 ac_cv_type_long_long=no
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22081 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22082 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22084 # The cast to long int works around a bug in the HP C Compiler
22085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22087 # This bug is HP SR number 8606223364.
22088 { echo "$as_me:$LINENO: checking size of long long" >&5
22089 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22090 if test "${ac_cv_sizeof_long_long+set}" = set; then
22091 echo $ECHO_N "(cached) $ECHO_C" >&6
22093 if test "$cross_compiling" = yes; then
22094 # Depending upon the size, compute the lo and hi bounds.
22095 cat >conftest.
$ac_ext <<_ACEOF
22098 cat confdefs.h
>>conftest.
$ac_ext
22099 cat >>conftest.
$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22101 $ac_includes_default
22102 typedef long long ac__type_sizeof_;
22106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22113 rm -f conftest.
$ac_objext
22114 if { (ac_try
="$ac_compile"
22115 case "(($ac_try" in
22116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22117 *) ac_try_echo=$ac_try;;
22119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22120 (eval "$ac_compile") 2>conftest.er1
22122 grep -v '^ *+' conftest.er1 >conftest.err
22124 cat conftest.err >&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } && {
22127 test -z "$ac_c_werror_flag" ||
22128 test ! -s conftest.err
22129 } && test -s conftest.$ac_objext; then
22132 cat >conftest.$ac_ext <<_ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138 $ac_includes_default
22139 typedef long long ac__type_sizeof_;
22143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22150 rm -f conftest.$ac_objext
22151 if { (ac_try="$ac_compile"
22152 case "(($ac_try" in
22153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22154 *) ac_try_echo
=$ac_try;;
22156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22157 (eval "$ac_compile") 2>conftest.er1
22159 grep -v '^ *+' conftest.er1
>conftest.err
22161 cat conftest.err
>&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); } && {
22164 test -z "$ac_c_werror_flag" ||
22165 test ! -s conftest.err
22166 } && test -s conftest.
$ac_objext; then
22167 ac_hi
=$ac_mid; break
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.
$ac_ext >&5
22172 ac_lo
=`expr $ac_mid + 1`
22173 if test $ac_lo -le $ac_mid; then
22177 ac_mid
=`expr 2 '*' $ac_mid + 1`
22180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.
$ac_ext >&5
22186 cat >conftest.
$ac_ext <<_ACEOF
22189 cat confdefs.h
>>conftest.
$ac_ext
22190 cat >>conftest.
$ac_ext <<_ACEOF
22191 /* end confdefs.h. */
22192 $ac_includes_default
22193 typedef long long ac__type_sizeof_;
22197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22204 rm -f conftest.
$ac_objext
22205 if { (ac_try
="$ac_compile"
22206 case "(($ac_try" in
22207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22208 *) ac_try_echo=$ac_try;;
22210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22211 (eval "$ac_compile") 2>conftest.er1
22213 grep -v '^ *+' conftest.er1 >conftest.err
22215 cat conftest.err >&5
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); } && {
22218 test -z "$ac_c_werror_flag" ||
22219 test ! -s conftest.err
22220 } && test -s conftest.$ac_objext; then
22223 cat >conftest.$ac_ext <<_ACEOF
22226 cat confdefs.h >>conftest.$ac_ext
22227 cat >>conftest.$ac_ext <<_ACEOF
22228 /* end confdefs.h. */
22229 $ac_includes_default
22230 typedef long long ac__type_sizeof_;
22234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22241 rm -f conftest.$ac_objext
22242 if { (ac_try="$ac_compile"
22243 case "(($ac_try" in
22244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22245 *) ac_try_echo
=$ac_try;;
22247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22248 (eval "$ac_compile") 2>conftest.er1
22250 grep -v '^ *+' conftest.er1
>conftest.err
22252 cat conftest.err
>&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); } && {
22255 test -z "$ac_c_werror_flag" ||
22256 test ! -s conftest.err
22257 } && test -s conftest.
$ac_objext; then
22258 ac_lo
=$ac_mid; break
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.
$ac_ext >&5
22263 ac_hi
=`expr '(' $ac_mid ')' - 1`
22264 if test $ac_mid -le $ac_hi; then
22268 ac_mid
=`expr 2 '*' $ac_mid`
22271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.
$ac_ext >&5
22280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22284 # Binary search between lo and hi bounds.
22285 while test "x$ac_lo" != "x$ac_hi"; do
22286 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22287 cat >conftest.
$ac_ext <<_ACEOF
22290 cat confdefs.h
>>conftest.
$ac_ext
22291 cat >>conftest.
$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22293 $ac_includes_default
22294 typedef long long ac__type_sizeof_;
22298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22305 rm -f conftest.
$ac_objext
22306 if { (ac_try
="$ac_compile"
22307 case "(($ac_try" in
22308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22309 *) ac_try_echo=$ac_try;;
22311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22312 (eval "$ac_compile") 2>conftest.er1
22314 grep -v '^ *+' conftest.er1 >conftest.err
22316 cat conftest.err >&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); } && {
22319 test -z "$ac_c_werror_flag" ||
22320 test ! -s conftest.err
22321 } && test -s conftest.$ac_objext; then
22324 echo "$as_me: failed program was:" >&5
22325 sed 's/^/| /' conftest.$ac_ext >&5
22327 ac_lo=`expr '(' $ac_mid ')' + 1`
22330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22333 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22334 '') if test "$ac_cv_type_long_long" = yes; then
22335 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22336 See \`config.log
' for more details." >&5
22337 echo "$as_me: error: cannot compute sizeof (long long)
22338 See \`config.log' for more details.
" >&2;}
22339 { (exit 77); exit 77; }; }
22341 ac_cv_sizeof_long_long=0
22345 cat >conftest.$ac_ext <<_ACEOF
22348 cat confdefs.h >>conftest.$ac_ext
22349 cat >>conftest.$ac_ext <<_ACEOF
22350 /* end confdefs.h. */
22351 $ac_includes_default
22352 typedef long long ac__type_sizeof_;
22353 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22354 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22356 #include <stdlib.h>
22361 FILE *f = fopen ("conftest.val
", "w
");
22364 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22366 long int i = longval ();
22367 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22369 fprintf (f, "%ld
\n", i);
22373 unsigned long int i = ulongval ();
22374 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22376 fprintf (f, "%lu
\n", i);
22378 return ferror (f) || fclose (f) != 0;
22384 rm -f conftest$ac_exeext
22385 if { (ac_try="$ac_link"
22386 case "(($ac_try" in
22387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22388 *) ac_try_echo=$ac_try;;
22390 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22391 (eval "$ac_link") 2>&5
22393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22394 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22395 { (case "(($ac_try" in
22396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22397 *) ac_try_echo=$ac_try;;
22399 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22400 (eval "$ac_try") 2>&5
22402 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22403 (exit $ac_status); }; }; then
22404 ac_cv_sizeof_long_long=`cat conftest.val`
22406 echo "$as_me: program exited with status
$ac_status" >&5
22407 echo "$as_me: failed program was
:" >&5
22408 sed 's/^/| /' conftest.$ac_ext >&5
22410 ( exit $ac_status )
22411 if test "$ac_cv_type_long_long" = yes; then
22412 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22413 See \
`config.log' for more details." >&5
22414 echo "$as_me: error: cannot compute sizeof (long long)
22415 See \`config.log
' for more details." >&2;}
22416 { (exit 77); exit 77; }; }
22418 ac_cv_sizeof_long_long=0
22421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22425 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22426 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22430 cat >>confdefs.h <<_ACEOF
22431 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22437 { echo "$as_me:$LINENO: checking for long long" >&5
22438 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22439 if test "${ac_cv_type_long_long+set}" = set; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22442 cat >conftest.$ac_ext <<_ACEOF
22445 cat confdefs.h >>conftest.$ac_ext
22446 cat >>conftest.$ac_ext <<_ACEOF
22447 /* end confdefs.h. */
22448 $ac_includes_default
22449 typedef long long ac__type_new_;
22453 if ((ac__type_new_ *) 0)
22455 if (sizeof (ac__type_new_))
22461 rm -f conftest.$ac_objext
22462 if { (ac_try="$ac_compile"
22463 case "(($ac_try" in
22464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22465 *) ac_try_echo=$ac_try;;
22467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22468 (eval "$ac_compile") 2>conftest.er1
22470 grep -v '^
*+' conftest.er1 >conftest.err
22472 cat conftest.err >&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } && {
22475 test -z "$ac_c_werror_flag" ||
22476 test ! -s conftest.err
22477 } && test -s conftest.$ac_objext; then
22478 ac_cv_type_long_long=yes
22480 echo "$as_me: failed program was:" >&5
22481 sed 's
/^
/| /' conftest.$ac_ext >&5
22483 ac_cv_type_long_long=no
22486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22489 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22491 # The cast to long int works around a bug in the HP C Compiler
22492 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22493 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22494 # This bug is HP SR number 8606223364.
22495 { echo "$as_me:$LINENO: checking size of long long" >&5
22496 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22497 if test "${ac_cv_sizeof_long_long+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22500 if test "$cross_compiling" = yes; then
22501 # Depending upon the size, compute the lo and hi bounds.
22502 cat >conftest.
$ac_ext <<_ACEOF
22505 cat confdefs.h
>>conftest.
$ac_ext
22506 cat >>conftest.
$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 $ac_includes_default
22509 typedef long long ac__type_sizeof_;
22513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22520 rm -f conftest.
$ac_objext
22521 if { (ac_try
="$ac_compile"
22522 case "(($ac_try" in
22523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22524 *) ac_try_echo=$ac_try;;
22526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22527 (eval "$ac_compile") 2>conftest.er1
22529 grep -v '^ *+' conftest.er1 >conftest.err
22531 cat conftest.err >&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } && {
22534 test -z "$ac_c_werror_flag" ||
22535 test ! -s conftest.err
22536 } && test -s conftest.$ac_objext; then
22539 cat >conftest.$ac_ext <<_ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 $ac_includes_default
22546 typedef long long ac__type_sizeof_;
22550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22557 rm -f conftest.$ac_objext
22558 if { (ac_try="$ac_compile"
22559 case "(($ac_try" in
22560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22561 *) ac_try_echo
=$ac_try;;
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_compile") 2>conftest.er1
22566 grep -v '^ *+' conftest.er1
>conftest.err
22568 cat conftest.err
>&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } && {
22571 test -z "$ac_c_werror_flag" ||
22572 test ! -s conftest.err
22573 } && test -s conftest.
$ac_objext; then
22574 ac_hi
=$ac_mid; break
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.
$ac_ext >&5
22579 ac_lo
=`expr $ac_mid + 1`
22580 if test $ac_lo -le $ac_mid; then
22584 ac_mid
=`expr 2 '*' $ac_mid + 1`
22587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.
$ac_ext >&5
22593 cat >conftest.
$ac_ext <<_ACEOF
22596 cat confdefs.h
>>conftest.
$ac_ext
22597 cat >>conftest.
$ac_ext <<_ACEOF
22598 /* end confdefs.h. */
22599 $ac_includes_default
22600 typedef long long ac__type_sizeof_;
22604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22611 rm -f conftest.
$ac_objext
22612 if { (ac_try
="$ac_compile"
22613 case "(($ac_try" in
22614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22615 *) ac_try_echo=$ac_try;;
22617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22618 (eval "$ac_compile") 2>conftest.er1
22620 grep -v '^ *+' conftest.er1 >conftest.err
22622 cat conftest.err >&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && {
22625 test -z "$ac_c_werror_flag" ||
22626 test ! -s conftest.err
22627 } && test -s conftest.$ac_objext; then
22630 cat >conftest.$ac_ext <<_ACEOF
22633 cat confdefs.h >>conftest.$ac_ext
22634 cat >>conftest.$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636 $ac_includes_default
22637 typedef long long ac__type_sizeof_;
22641 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22648 rm -f conftest.$ac_objext
22649 if { (ac_try="$ac_compile"
22650 case "(($ac_try" in
22651 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22652 *) ac_try_echo
=$ac_try;;
22654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22655 (eval "$ac_compile") 2>conftest.er1
22657 grep -v '^ *+' conftest.er1
>conftest.err
22659 cat conftest.err
>&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } && {
22662 test -z "$ac_c_werror_flag" ||
22663 test ! -s conftest.err
22664 } && test -s conftest.
$ac_objext; then
22665 ac_lo
=$ac_mid; break
22667 echo "$as_me: failed program was:" >&5
22668 sed 's/^/| /' conftest.
$ac_ext >&5
22670 ac_hi
=`expr '(' $ac_mid ')' - 1`
22671 if test $ac_mid -le $ac_hi; then
22675 ac_mid
=`expr 2 '*' $ac_mid`
22678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22681 echo "$as_me: failed program was:" >&5
22682 sed 's/^/| /' conftest.
$ac_ext >&5
22687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22691 # Binary search between lo and hi bounds.
22692 while test "x$ac_lo" != "x$ac_hi"; do
22693 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22694 cat >conftest.
$ac_ext <<_ACEOF
22697 cat confdefs.h
>>conftest.
$ac_ext
22698 cat >>conftest.
$ac_ext <<_ACEOF
22699 /* end confdefs.h. */
22700 $ac_includes_default
22701 typedef long long ac__type_sizeof_;
22705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22712 rm -f conftest.
$ac_objext
22713 if { (ac_try
="$ac_compile"
22714 case "(($ac_try" in
22715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22716 *) ac_try_echo=$ac_try;;
22718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22719 (eval "$ac_compile") 2>conftest.er1
22721 grep -v '^ *+' conftest.er1 >conftest.err
22723 cat conftest.err >&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } && {
22726 test -z "$ac_c_werror_flag" ||
22727 test ! -s conftest.err
22728 } && test -s conftest.$ac_objext; then
22731 echo "$as_me: failed program was:" >&5
22732 sed 's/^/| /' conftest.$ac_ext >&5
22734 ac_lo=`expr '(' $ac_mid ')' + 1`
22737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22740 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22741 '') if test "$ac_cv_type_long_long" = yes; then
22742 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22743 See \`config.log
' for more details." >&5
22744 echo "$as_me: error: cannot compute sizeof (long long)
22745 See \`config.log' for more details.
" >&2;}
22746 { (exit 77); exit 77; }; }
22748 ac_cv_sizeof_long_long=0
22752 cat >conftest.$ac_ext <<_ACEOF
22755 cat confdefs.h >>conftest.$ac_ext
22756 cat >>conftest.$ac_ext <<_ACEOF
22757 /* end confdefs.h. */
22758 $ac_includes_default
22759 typedef long long ac__type_sizeof_;
22760 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22761 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22763 #include <stdlib.h>
22768 FILE *f = fopen ("conftest.val
", "w
");
22771 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22773 long int i = longval ();
22774 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22776 fprintf (f, "%ld
\n", i);
22780 unsigned long int i = ulongval ();
22781 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22783 fprintf (f, "%lu
\n", i);
22785 return ferror (f) || fclose (f) != 0;
22791 rm -f conftest$ac_exeext
22792 if { (ac_try="$ac_link"
22793 case "(($ac_try" in
22794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22795 *) ac_try_echo=$ac_try;;
22797 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22798 (eval "$ac_link") 2>&5
22800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22802 { (case "(($ac_try" in
22803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22804 *) ac_try_echo=$ac_try;;
22806 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22807 (eval "$ac_try") 2>&5
22809 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22810 (exit $ac_status); }; }; then
22811 ac_cv_sizeof_long_long=`cat conftest.val`
22813 echo "$as_me: program exited with status
$ac_status" >&5
22814 echo "$as_me: failed program was
:" >&5
22815 sed 's/^/| /' conftest.$ac_ext >&5
22817 ( exit $ac_status )
22818 if test "$ac_cv_type_long_long" = yes; then
22819 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22820 See \
`config.log' for more details." >&5
22821 echo "$as_me: error: cannot compute sizeof (long long)
22822 See \`config.log
' for more details." >&2;}
22823 { (exit 77); exit 77; }; }
22825 ac_cv_sizeof_long_long=0
22828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22832 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22833 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22837 cat >>confdefs.h <<_ACEOF
22838 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22842 if test "$ac_cv_sizeof_long_long" != 0; then
22843 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22847 { echo "$as_me:$LINENO: checking for long long" >&5
22848 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22849 if test "${ac_cv_type_long_long+set}" = set; then
22850 echo $ECHO_N "(cached) $ECHO_C" >&6
22852 cat >conftest.$ac_ext <<_ACEOF
22855 cat confdefs.h >>conftest.$ac_ext
22856 cat >>conftest.$ac_ext <<_ACEOF
22857 /* end confdefs.h. */
22858 $ac_includes_default
22859 typedef long long ac__type_new_;
22863 if ((ac__type_new_ *) 0)
22865 if (sizeof (ac__type_new_))
22871 rm -f conftest.$ac_objext
22872 if { (ac_try="$ac_compile"
22873 case "(($ac_try" in
22874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22875 *) ac_try_echo=$ac_try;;
22877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22878 (eval "$ac_compile") 2>conftest.er1
22880 grep -v '^
*+' conftest.er1 >conftest.err
22882 cat conftest.err >&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } && {
22885 test -z "$ac_c_werror_flag" ||
22886 test ! -s conftest.err
22887 } && test -s conftest.$ac_objext; then
22888 ac_cv_type_long_long=yes
22890 echo "$as_me: failed program was:" >&5
22891 sed 's
/^
/| /' conftest.$ac_ext >&5
22893 ac_cv_type_long_long=no
22896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22898 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22899 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22901 # The cast to long int works around a bug in the HP C Compiler
22902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22904 # This bug is HP SR number 8606223364.
22905 { echo "$as_me:$LINENO: checking size of long long" >&5
22906 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22907 if test "${ac_cv_sizeof_long_long+set}" = set; then
22908 echo $ECHO_N "(cached) $ECHO_C" >&6
22910 if test "$cross_compiling" = yes; then
22911 # Depending upon the size, compute the lo and hi bounds.
22912 cat >conftest.
$ac_ext <<_ACEOF
22915 cat confdefs.h
>>conftest.
$ac_ext
22916 cat >>conftest.
$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22918 $ac_includes_default
22919 typedef long long ac__type_sizeof_;
22923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22930 rm -f conftest.
$ac_objext
22931 if { (ac_try
="$ac_compile"
22932 case "(($ac_try" in
22933 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_compile") 2>conftest.er1
22939 grep -v '^ *+' conftest.er1 >conftest.err
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && {
22944 test -z "$ac_c_werror_flag" ||
22945 test ! -s conftest.err
22946 } && test -s conftest.$ac_objext; then
22949 cat >conftest.$ac_ext <<_ACEOF
22952 cat confdefs.h >>conftest.$ac_ext
22953 cat >>conftest.$ac_ext <<_ACEOF
22954 /* end confdefs.h. */
22955 $ac_includes_default
22956 typedef long long ac__type_sizeof_;
22960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22967 rm -f conftest.$ac_objext
22968 if { (ac_try="$ac_compile"
22969 case "(($ac_try" in
22970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22971 *) ac_try_echo
=$ac_try;;
22973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22974 (eval "$ac_compile") 2>conftest.er1
22976 grep -v '^ *+' conftest.er1
>conftest.err
22978 cat conftest.err
>&5
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); } && {
22981 test -z "$ac_c_werror_flag" ||
22982 test ! -s conftest.err
22983 } && test -s conftest.
$ac_objext; then
22984 ac_hi
=$ac_mid; break
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.
$ac_ext >&5
22989 ac_lo
=`expr $ac_mid + 1`
22990 if test $ac_lo -le $ac_mid; then
22994 ac_mid
=`expr 2 '*' $ac_mid + 1`
22997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.
$ac_ext >&5
23003 cat >conftest.
$ac_ext <<_ACEOF
23006 cat confdefs.h
>>conftest.
$ac_ext
23007 cat >>conftest.
$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23009 $ac_includes_default
23010 typedef long long ac__type_sizeof_;
23014 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23021 rm -f conftest.
$ac_objext
23022 if { (ac_try
="$ac_compile"
23023 case "(($ac_try" in
23024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23025 *) ac_try_echo=$ac_try;;
23027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23028 (eval "$ac_compile") 2>conftest.er1
23030 grep -v '^ *+' conftest.er1 >conftest.err
23032 cat conftest.err >&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); } && {
23035 test -z "$ac_c_werror_flag" ||
23036 test ! -s conftest.err
23037 } && test -s conftest.$ac_objext; then
23040 cat >conftest.$ac_ext <<_ACEOF
23043 cat confdefs.h >>conftest.$ac_ext
23044 cat >>conftest.$ac_ext <<_ACEOF
23045 /* end confdefs.h. */
23046 $ac_includes_default
23047 typedef long long ac__type_sizeof_;
23051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23058 rm -f conftest.$ac_objext
23059 if { (ac_try="$ac_compile"
23060 case "(($ac_try" in
23061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23062 *) ac_try_echo
=$ac_try;;
23064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23065 (eval "$ac_compile") 2>conftest.er1
23067 grep -v '^ *+' conftest.er1
>conftest.err
23069 cat conftest.err
>&5
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); } && {
23072 test -z "$ac_c_werror_flag" ||
23073 test ! -s conftest.err
23074 } && test -s conftest.
$ac_objext; then
23075 ac_lo
=$ac_mid; break
23077 echo "$as_me: failed program was:" >&5
23078 sed 's/^/| /' conftest.
$ac_ext >&5
23080 ac_hi
=`expr '(' $ac_mid ')' - 1`
23081 if test $ac_mid -le $ac_hi; then
23085 ac_mid
=`expr 2 '*' $ac_mid`
23088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23091 echo "$as_me: failed program was:" >&5
23092 sed 's/^/| /' conftest.
$ac_ext >&5
23097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23101 # Binary search between lo and hi bounds.
23102 while test "x$ac_lo" != "x$ac_hi"; do
23103 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23104 cat >conftest.
$ac_ext <<_ACEOF
23107 cat confdefs.h
>>conftest.
$ac_ext
23108 cat >>conftest.
$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 $ac_includes_default
23111 typedef long long ac__type_sizeof_;
23115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23122 rm -f conftest.
$ac_objext
23123 if { (ac_try
="$ac_compile"
23124 case "(($ac_try" in
23125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23126 *) ac_try_echo=$ac_try;;
23128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23129 (eval "$ac_compile") 2>conftest.er1
23131 grep -v '^ *+' conftest.er1 >conftest.err
23133 cat conftest.err >&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } && {
23136 test -z "$ac_c_werror_flag" ||
23137 test ! -s conftest.err
23138 } && test -s conftest.$ac_objext; then
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23144 ac_lo=`expr '(' $ac_mid ')' + 1`
23147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23150 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23151 '') if test "$ac_cv_type_long_long" = yes; then
23152 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23153 See \`config.log
' for more details." >&5
23154 echo "$as_me: error: cannot compute sizeof (long long)
23155 See \`config.log' for more details.
" >&2;}
23156 { (exit 77); exit 77; }; }
23158 ac_cv_sizeof_long_long=0
23162 cat >conftest.$ac_ext <<_ACEOF
23165 cat confdefs.h >>conftest.$ac_ext
23166 cat >>conftest.$ac_ext <<_ACEOF
23167 /* end confdefs.h. */
23168 $ac_includes_default
23169 typedef long long ac__type_sizeof_;
23170 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23171 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23173 #include <stdlib.h>
23178 FILE *f = fopen ("conftest.val
", "w
");
23181 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23183 long int i = longval ();
23184 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23186 fprintf (f, "%ld
\n", i);
23190 unsigned long int i = ulongval ();
23191 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23193 fprintf (f, "%lu
\n", i);
23195 return ferror (f) || fclose (f) != 0;
23201 rm -f conftest$ac_exeext
23202 if { (ac_try="$ac_link"
23203 case "(($ac_try" in
23204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23205 *) ac_try_echo=$ac_try;;
23207 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23208 (eval "$ac_link") 2>&5
23210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23211 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23212 { (case "(($ac_try" in
23213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23214 *) ac_try_echo=$ac_try;;
23216 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23217 (eval "$ac_try") 2>&5
23219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23220 (exit $ac_status); }; }; then
23221 ac_cv_sizeof_long_long=`cat conftest.val`
23223 echo "$as_me: program exited with status
$ac_status" >&5
23224 echo "$as_me: failed program was
:" >&5
23225 sed 's/^/| /' conftest.$ac_ext >&5
23227 ( exit $ac_status )
23228 if test "$ac_cv_type_long_long" = yes; then
23229 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23230 See \
`config.log' for more details." >&5
23231 echo "$as_me: error: cannot compute sizeof (long long)
23232 See \`config.log
' for more details." >&2;}
23233 { (exit 77); exit 77; }; }
23235 ac_cv_sizeof_long_long=0
23238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23242 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23243 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23247 cat >>confdefs.h <<_ACEOF
23248 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23254 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23255 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23256 if test "${ac_cv_type_wchar_t+set}" = set; then
23257 echo $ECHO_N "(cached) $ECHO_C" >&6
23259 cat >conftest.$ac_ext <<_ACEOF
23262 cat confdefs.h >>conftest.$ac_ext
23263 cat >>conftest.$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23266 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23267 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23268 # error "fake wchar_t"
23270 #ifdef HAVE_WCHAR_H
23272 # include <stddef.h>
23274 # include <wchar.h>
23276 #ifdef HAVE_STDLIB_H
23277 # include <stdlib.h>
23283 typedef wchar_t ac__type_new_
;
23287 if ((ac__type_new_
*) 0)
23289 if (sizeof
(ac__type_new_
))
23295 rm -f conftest.
$ac_objext
23296 if { (ac_try
="$ac_compile"
23297 case "(($ac_try" in
23298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23299 *) ac_try_echo=$ac_try;;
23301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23302 (eval "$ac_compile") 2>conftest.er1
23304 grep -v '^ *+' conftest.er1 >conftest.err
23306 cat conftest.err >&5
23307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308 (exit $ac_status); } && {
23309 test -z "$ac_c_werror_flag" ||
23310 test ! -s conftest.err
23311 } && test -s conftest.$ac_objext; then
23312 ac_cv_type_wchar_t=yes
23314 echo "$as_me: failed program was:" >&5
23315 sed 's/^/| /' conftest.$ac_ext >&5
23317 ac_cv_type_wchar_t=no
23320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23322 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23323 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23325 # The cast to long int works around a bug in the HP C Compiler
23326 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23327 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23328 # This bug is HP SR number 8606223364.
23329 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23330 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23331 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23332 echo $ECHO_N "(cached) $ECHO_C" >&6
23334 if test "$cross_compiling" = yes; then
23335 # Depending upon the size, compute the lo and hi bounds.
23336 cat >conftest.$ac_ext <<_ACEOF
23339 cat confdefs.h >>conftest.$ac_ext
23340 cat >>conftest.$ac_ext <<_ACEOF
23341 /* end confdefs.h. */
23343 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23344 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23345 # error "fake wchar_t"
23347 #ifdef HAVE_WCHAR_H
23349 # include <stddef.h>
23351 # include <wchar.h>
23353 #ifdef HAVE_STDLIB_H
23354 # include <stdlib.h>
23360 typedef wchar_t ac__type_sizeof_
;
23364 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23371 rm -f conftest.
$ac_objext
23372 if { (ac_try
="$ac_compile"
23373 case "(($ac_try" in
23374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23375 *) ac_try_echo=$ac_try;;
23377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23378 (eval "$ac_compile") 2>conftest.er1
23380 grep -v '^ *+' conftest.er1 >conftest.err
23382 cat conftest.err >&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); } && {
23385 test -z "$ac_c_werror_flag" ||
23386 test ! -s conftest.err
23387 } && test -s conftest.$ac_objext; then
23390 cat >conftest.$ac_ext <<_ACEOF
23393 cat confdefs.h >>conftest.$ac_ext
23394 cat >>conftest.$ac_ext <<_ACEOF
23395 /* end confdefs.h. */
23397 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23398 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23399 # error "fake wchar_t"
23401 #ifdef HAVE_WCHAR_H
23403 # include <stddef.h>
23405 # include <wchar.h>
23407 #ifdef HAVE_STDLIB_H
23408 # include <stdlib.h>
23414 typedef wchar_t ac__type_sizeof_;
23418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23425 rm -f conftest.$ac_objext
23426 if { (ac_try="$ac_compile"
23427 case "(($ac_try" in
23428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23429 *) ac_try_echo
=$ac_try;;
23431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23432 (eval "$ac_compile") 2>conftest.er1
23434 grep -v '^ *+' conftest.er1
>conftest.err
23436 cat conftest.err
>&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); } && {
23439 test -z "$ac_c_werror_flag" ||
23440 test ! -s conftest.err
23441 } && test -s conftest.
$ac_objext; then
23442 ac_hi
=$ac_mid; break
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.
$ac_ext >&5
23447 ac_lo
=`expr $ac_mid + 1`
23448 if test $ac_lo -le $ac_mid; then
23452 ac_mid
=`expr 2 '*' $ac_mid + 1`
23455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23458 echo "$as_me: failed program was:" >&5
23459 sed 's/^/| /' conftest.
$ac_ext >&5
23461 cat >conftest.
$ac_ext <<_ACEOF
23464 cat confdefs.h
>>conftest.
$ac_ext
23465 cat >>conftest.
$ac_ext <<_ACEOF
23466 /* end confdefs.h. */
23468 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23469 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23470 # error "fake wchar_t"
23472 #ifdef HAVE_WCHAR_H
23474 # include <stddef.h>
23476 # include <wchar.h>
23478 #ifdef HAVE_STDLIB_H
23479 # include <stdlib.h>
23485 typedef wchar_t ac__type_sizeof_;
23489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23496 rm -f conftest.
$ac_objext
23497 if { (ac_try
="$ac_compile"
23498 case "(($ac_try" in
23499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23500 *) ac_try_echo=$ac_try;;
23502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23503 (eval "$ac_compile") 2>conftest.er1
23505 grep -v '^ *+' conftest.er1 >conftest.err
23507 cat conftest.err >&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); } && {
23510 test -z "$ac_c_werror_flag" ||
23511 test ! -s conftest.err
23512 } && test -s conftest.$ac_objext; then
23515 cat >conftest.$ac_ext <<_ACEOF
23518 cat confdefs.h >>conftest.$ac_ext
23519 cat >>conftest.$ac_ext <<_ACEOF
23520 /* end confdefs.h. */
23522 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23523 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23524 # error "fake wchar_t"
23526 #ifdef HAVE_WCHAR_H
23528 # include <stddef.h>
23530 # include <wchar.h>
23532 #ifdef HAVE_STDLIB_H
23533 # include <stdlib.h>
23539 typedef wchar_t ac__type_sizeof_;
23543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23550 rm -f conftest.$ac_objext
23551 if { (ac_try="$ac_compile"
23552 case "(($ac_try" in
23553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23554 *) ac_try_echo
=$ac_try;;
23556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23557 (eval "$ac_compile") 2>conftest.er1
23559 grep -v '^ *+' conftest.er1
>conftest.err
23561 cat conftest.err
>&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); } && {
23564 test -z "$ac_c_werror_flag" ||
23565 test ! -s conftest.err
23566 } && test -s conftest.
$ac_objext; then
23567 ac_lo
=$ac_mid; break
23569 echo "$as_me: failed program was:" >&5
23570 sed 's/^/| /' conftest.
$ac_ext >&5
23572 ac_hi
=`expr '(' $ac_mid ')' - 1`
23573 if test $ac_mid -le $ac_hi; then
23577 ac_mid
=`expr 2 '*' $ac_mid`
23580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23583 echo "$as_me: failed program was:" >&5
23584 sed 's/^/| /' conftest.
$ac_ext >&5
23589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23593 # Binary search between lo and hi bounds.
23594 while test "x$ac_lo" != "x$ac_hi"; do
23595 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23596 cat >conftest.
$ac_ext <<_ACEOF
23599 cat confdefs.h
>>conftest.
$ac_ext
23600 cat >>conftest.
$ac_ext <<_ACEOF
23601 /* end confdefs.h. */
23603 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23604 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23605 # error "fake wchar_t"
23607 #ifdef HAVE_WCHAR_H
23609 # include <stddef.h>
23611 # include <wchar.h>
23613 #ifdef HAVE_STDLIB_H
23614 # include <stdlib.h>
23620 typedef wchar_t ac__type_sizeof_;
23624 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23631 rm -f conftest.
$ac_objext
23632 if { (ac_try
="$ac_compile"
23633 case "(($ac_try" in
23634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23635 *) ac_try_echo=$ac_try;;
23637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23638 (eval "$ac_compile") 2>conftest.er1
23640 grep -v '^ *+' conftest.er1 >conftest.err
23642 cat conftest.err >&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); } && {
23645 test -z "$ac_c_werror_flag" ||
23646 test ! -s conftest.err
23647 } && test -s conftest.$ac_objext; then
23650 echo "$as_me: failed program was:" >&5
23651 sed 's/^/| /' conftest.$ac_ext >&5
23653 ac_lo=`expr '(' $ac_mid ')' + 1`
23656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23659 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23660 '') if test "$ac_cv_type_wchar_t" = yes; then
23661 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23662 See \`config.log
' for more details." >&5
23663 echo "$as_me: error: cannot compute sizeof (wchar_t)
23664 See \`config.log' for more details.
" >&2;}
23665 { (exit 77); exit 77; }; }
23667 ac_cv_sizeof_wchar_t=0
23671 cat >conftest.$ac_ext <<_ACEOF
23674 cat confdefs.h >>conftest.$ac_ext
23675 cat >>conftest.$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23678 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23679 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23680 # error "fake wchar_t
"
23682 #ifdef HAVE_WCHAR_H
23684 # include <stddef.h>
23686 # include <wchar.h>
23688 #ifdef HAVE_STDLIB_H
23689 # include <stdlib.h>
23695 typedef wchar_t ac__type_sizeof_;
23696 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23697 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23699 #include <stdlib.h>
23704 FILE *f = fopen ("conftest.val
", "w
");
23707 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23709 long int i = longval ();
23710 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23712 fprintf (f, "%ld
\n", i);
23716 unsigned long int i = ulongval ();
23717 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23719 fprintf (f, "%lu
\n", i);
23721 return ferror (f) || fclose (f) != 0;
23727 rm -f conftest$ac_exeext
23728 if { (ac_try="$ac_link"
23729 case "(($ac_try" in
23730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23731 *) ac_try_echo=$ac_try;;
23733 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23734 (eval "$ac_link") 2>&5
23736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23737 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23738 { (case "(($ac_try" in
23739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23740 *) ac_try_echo=$ac_try;;
23742 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23743 (eval "$ac_try") 2>&5
23745 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23746 (exit $ac_status); }; }; then
23747 ac_cv_sizeof_wchar_t=`cat conftest.val`
23749 echo "$as_me: program exited with status
$ac_status" >&5
23750 echo "$as_me: failed program was
:" >&5
23751 sed 's/^/| /' conftest.$ac_ext >&5
23753 ( exit $ac_status )
23754 if test "$ac_cv_type_wchar_t" = yes; then
23755 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23756 See \
`config.log' for more details." >&5
23757 echo "$as_me: error: cannot compute sizeof (wchar_t)
23758 See \`config.log
' for more details." >&2;}
23759 { (exit 77); exit 77; }; }
23761 ac_cv_sizeof_wchar_t=0
23764 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23768 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23769 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23773 cat >>confdefs.h <<_ACEOF
23774 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23778 if test "$ac_cv_sizeof_wchar_t" != 0; then
23784 { echo "$as_me:$LINENO: checking for va_copy" >&5
23785 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23786 if test "${wx_cv_func_va_copy+set}" = set; then
23787 echo $ECHO_N "(cached) $ECHO_C" >&6
23791 ac_cpp='$CXXCPP $CPPFLAGS'
23792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23793 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796 cat >conftest.$ac_ext <<_ACEOF
23798 #include <stdarg.h>
23799 void foo(char *f, ...)
23813 rm -f conftest.$ac_objext conftest$ac_exeext
23814 if { (ac_try="$ac_link"
23815 case "(($ac_try" in
23816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23817 *) ac_try_echo=$ac_try;;
23819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23820 (eval "$ac_link") 2>conftest.er1
23822 grep -v '^
*+' conftest.er1 >conftest.err
23824 cat conftest.err >&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); } && {
23827 test -z "$ac_cxx_werror_flag" ||
23828 test ! -s conftest.err
23829 } && test -s conftest$ac_exeext &&
23830 $as_test_x conftest$ac_exeext; then
23831 wx_cv_func_va_copy=yes
23833 echo "$as_me: failed program was:" >&5
23834 sed 's
/^
/| /' conftest.$ac_ext >&5
23836 wx_cv_func_va_copy=no
23840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23841 conftest$ac_exeext conftest.$ac_ext
23843 ac_cpp='$CPP $CPPFLAGS'
23844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23845 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23851 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23852 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23854 if test $wx_cv_func_va_copy = "yes"; then
23855 cat >>confdefs.h <<\_ACEOF
23856 #define HAVE_VA_COPY 1
23860 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23861 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23862 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23863 echo $ECHO_N "(cached) $ECHO_C" >&6
23866 if test "$cross_compiling" = yes; then
23867 wx_cv_type_va_list_lvalue=yes
23870 cat >conftest.$ac_ext <<_ACEOF
23872 #include <stdarg.h>
23873 int foo(char *f, ...)
23878 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23886 return foo("hi", 17);
23889 rm -f conftest$ac_exeext
23890 if { (ac_try="$ac_link"
23891 case "(($ac_try" in
23892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23893 *) ac_try_echo=$ac_try;;
23895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23896 (eval "$ac_link") 2>&5
23898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23900 { (case "(($ac_try" in
23901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23902 *) ac_try_echo=$ac_try;;
23904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23905 (eval "$ac_try") 2>&5
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); }; }; then
23909 wx_cv_type_va_list_lvalue=yes
23911 echo "$as_me: program exited with status $ac_status" >&5
23912 echo "$as_me: failed program was:" >&5
23913 sed 's
/^
/| /' conftest.$ac_ext >&5
23915 ( exit $ac_status )
23916 wx_cv_type_va_list_lvalue=no
23918 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23925 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23926 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23928 if test $wx_cv_type_va_list_lvalue != "yes"; then
23929 cat >>confdefs.h <<\_ACEOF
23930 #define VA_LIST_IS_ARRAY 1
23936 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23938 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23939 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23940 if test "${wx_cv_have_variadic_macros+set}" = set; then
23941 echo $ECHO_N "(cached) $ECHO_C" >&6
23945 ac_cpp='$CXXCPP $CPPFLAGS'
23946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23947 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23950 cat >conftest.$ac_ext <<_ACEOF
23953 cat confdefs.h >>conftest.$ac_ext
23954 cat >>conftest.$ac_ext <<_ACEOF
23955 /* end confdefs.h. */
23958 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23964 test("%s %d %p", "test", 1, 0);
23971 rm -f conftest.$ac_objext
23972 if { (ac_try="$ac_compile"
23973 case "(($ac_try" in
23974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23975 *) ac_try_echo=$ac_try;;
23977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23978 (eval "$ac_compile") 2>conftest.er1
23980 grep -v '^
*+' conftest.er1 >conftest.err
23982 cat conftest.err >&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); } && {
23985 test -z "$ac_cxx_werror_flag" ||
23986 test ! -s conftest.err
23987 } && test -s conftest.$ac_objext; then
23988 wx_cv_have_variadic_macros=yes
23990 echo "$as_me: failed program was:" >&5
23991 sed 's
/^
/| /' conftest.$ac_ext >&5
23993 wx_cv_have_variadic_macros=no
23997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23999 ac_cpp='$CPP $CPPFLAGS'
24000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24001 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24007 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24008 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24010 if test $wx_cv_have_variadic_macros = "yes"; then
24011 cat >>confdefs.h <<\_ACEOF
24012 #define HAVE_VARIADIC_MACROS 1
24019 LARGEFILE_CPPFLAGS=
24020 # Check whether --enable-largefile was given.
24021 if test "${enable_largefile+set}" = set; then
24022 enableval=$enable_largefile;
24025 if test "$enable_largefile" != no; then
24028 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24029 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24030 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24031 echo $ECHO_N "(cached) $ECHO_C" >&6
24034 cat >conftest.$ac_ext <<_ACEOF
24037 cat confdefs.h >>conftest.$ac_ext
24038 cat >>conftest.$ac_ext <<_ACEOF
24039 /* end confdefs.h. */
24040 #define _FILE_OFFSET_BITS 64
24041 #include <sys/types.h>
24046 unsigned int field: sizeof(off_t) == 8;
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
24070 ac_cv_sys_file_offset_bits=64
24072 echo "$as_me: failed program was:" >&5
24073 sed 's
/^
/| /' conftest.$ac_ext >&5
24075 ac_cv_sys_file_offset_bits=no
24078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24082 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24083 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24085 if test "$ac_cv_sys_file_offset_bits" != no; then
24087 cat >>confdefs.h <<_ACEOF
24088 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24093 if test "x$wx_largefile" != "xyes"; then
24095 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24096 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24097 if test "${ac_cv_sys_large_files+set}" = set; then
24098 echo $ECHO_N "(cached) $ECHO_C" >&6
24101 cat >conftest.$ac_ext <<_ACEOF
24104 cat confdefs.h >>conftest.$ac_ext
24105 cat >>conftest.$ac_ext <<_ACEOF
24106 /* end confdefs.h. */
24107 #define _LARGE_FILES 1
24108 #include <sys/types.h>
24113 unsigned int field: sizeof(off_t) == 8;
24120 rm -f conftest.$ac_objext
24121 if { (ac_try="$ac_compile"
24122 case "(($ac_try" in
24123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24124 *) ac_try_echo=$ac_try;;
24126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24127 (eval "$ac_compile") 2>conftest.er1
24129 grep -v '^
*+' conftest.er1 >conftest.err
24131 cat conftest.err >&5
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); } && {
24134 test -z "$ac_c_werror_flag" ||
24135 test ! -s conftest.err
24136 } && test -s conftest.$ac_objext; then
24137 ac_cv_sys_large_files=1
24139 echo "$as_me: failed program was:" >&5
24140 sed 's
/^
/| /' conftest.$ac_ext >&5
24142 ac_cv_sys_large_files=no
24145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24149 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24150 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24152 if test "$ac_cv_sys_large_files" != no; then
24154 cat >>confdefs.h <<_ACEOF
24155 #define _LARGE_FILES $ac_cv_sys_large_files
24162 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24163 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24164 if test "x$wx_largefile" = "xyes"; then
24165 cat >>confdefs.h <<\_ACEOF
24166 #define HAVE_LARGEFILE_SUPPORT 1
24170 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24171 echo "${ECHO_T}$wx_largefile" >&6; }
24174 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24175 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24176 elif test "$ac_cv_sys_large_files" = 1; then
24177 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24180 if test -n "$LARGEFILE_CPPFLAGS"; then
24181 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24183 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24184 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24185 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24186 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24187 echo $ECHO_N "(cached) $ECHO_C" >&6
24191 ac_cpp='$CXXCPP $CPPFLAGS'
24192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24193 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24196 cat >conftest.$ac_ext <<_ACEOF
24199 cat confdefs.h >>conftest.$ac_ext
24200 cat >>conftest.$ac_ext <<_ACEOF
24201 /* end confdefs.h. */
24207 #ifndef __STDC_EXT__
24215 rm -f conftest.$ac_objext
24216 if { (ac_try="$ac_compile"
24217 case "(($ac_try" in
24218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24219 *) ac_try_echo=$ac_try;;
24221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24222 (eval "$ac_compile") 2>conftest.er1
24224 grep -v '^
*+' conftest.er1 >conftest.err
24226 cat conftest.err >&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); } && {
24229 test -z "$ac_cxx_werror_flag" ||
24230 test ! -s conftest.err
24231 } && test -s conftest.$ac_objext; then
24232 wx_cv_STDC_EXT_required=no
24234 echo "$as_me: failed program was:" >&5
24235 sed 's
/^
/| /' conftest.$ac_ext >&5
24237 wx_cv_STDC_EXT_required=yes
24241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24243 ac_cpp='$CPP $CPPFLAGS'
24244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24245 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24251 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24252 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24253 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24254 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24260 ac_cpp='$CXXCPP $CPPFLAGS'
24261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24262 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24265 old_CPPFLAGS="$CPPFLAGS"
24266 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24267 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24268 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24269 if test "${ac_cv_sys_largefile_source+set}" = set; then
24270 echo $ECHO_N "(cached) $ECHO_C" >&6
24273 cat >conftest.$ac_ext <<_ACEOF
24276 cat confdefs.h >>conftest.$ac_ext
24277 cat >>conftest.$ac_ext <<_ACEOF
24278 /* end confdefs.h. */
24279 #include <sys/types.h> /* for off_t */
24284 int (*fp) (FILE *, off_t, int) = fseeko;
24285 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24290 rm -f conftest.$ac_objext conftest$ac_exeext
24291 if { (ac_try="$ac_link"
24292 case "(($ac_try" in
24293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24294 *) ac_try_echo=$ac_try;;
24296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24297 (eval "$ac_link") 2>conftest.er1
24299 grep -v '^
*+' conftest.er1 >conftest.err
24301 cat conftest.err >&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); } && {
24304 test -z "$ac_cxx_werror_flag" ||
24305 test ! -s conftest.err
24306 } && test -s conftest$ac_exeext &&
24307 $as_test_x conftest$ac_exeext; then
24308 ac_cv_sys_largefile_source=no; break
24310 echo "$as_me: failed program was:" >&5
24311 sed 's
/^
/| /' conftest.$ac_ext >&5
24316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24317 conftest$ac_exeext conftest.$ac_ext
24318 cat >conftest.$ac_ext <<_ACEOF
24321 cat confdefs.h >>conftest.$ac_ext
24322 cat >>conftest.$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 #define _LARGEFILE_SOURCE 1
24325 #include <sys/types.h> /* for off_t */
24330 int (*fp) (FILE *, off_t, int) = fseeko;
24331 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24336 rm -f conftest.$ac_objext conftest$ac_exeext
24337 if { (ac_try="$ac_link"
24338 case "(($ac_try" in
24339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24340 *) ac_try_echo=$ac_try;;
24342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24343 (eval "$ac_link") 2>conftest.er1
24345 grep -v '^
*+' conftest.er1 >conftest.err
24347 cat conftest.err >&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } && {
24350 test -z "$ac_cxx_werror_flag" ||
24351 test ! -s conftest.err
24352 } && test -s conftest$ac_exeext &&
24353 $as_test_x conftest$ac_exeext; then
24354 ac_cv_sys_largefile_source=1; break
24356 echo "$as_me: failed program was:" >&5
24357 sed 's
/^
/| /' conftest.$ac_ext >&5
24362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24363 conftest$ac_exeext conftest.$ac_ext
24364 ac_cv_sys_largefile_source=unknown
24368 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24369 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24370 case $ac_cv_sys_largefile_source in #(
24373 cat >>confdefs.h <<_ACEOF
24374 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24380 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24381 # in glibc 2.1.3, but that breaks too many other things.
24382 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24383 if test $ac_cv_sys_largefile_source != unknown; then
24385 cat >>confdefs.h <<\_ACEOF
24386 #define HAVE_FSEEKO 1
24391 CPPFLAGS="$old_CPPFLAGS"
24393 ac_cpp='$CPP $CPPFLAGS'
24394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24395 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24398 if test "$ac_cv_sys_largefile_source" != no; then
24399 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24402 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24403 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24404 if test "${ac_cv_c_bigendian+set}" = set; then
24405 echo $ECHO_N "(cached) $ECHO_C" >&6
24407 ac_cv_c_bigendian=unknown
24408 # See if sys/param.h defines the BYTE_ORDER macro.
24409 cat >conftest.$ac_ext <<_ACEOF
24412 cat confdefs.h >>conftest.$ac_ext
24413 cat >>conftest.$ac_ext <<_ACEOF
24414 /* end confdefs.h. */
24415 #include <sys/types.h>
24416 #include <sys/param.h>
24421 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24422 bogus endian macros
24428 rm -f conftest.$ac_objext
24429 if { (ac_try="$ac_compile"
24430 case "(($ac_try" in
24431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24432 *) ac_try_echo=$ac_try;;
24434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24435 (eval "$ac_compile") 2>conftest.er1
24437 grep -v '^
*+' conftest.er1 >conftest.err
24439 cat conftest.err >&5
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); } && {
24442 test -z "$ac_c_werror_flag" ||
24443 test ! -s conftest.err
24444 } && test -s conftest.$ac_objext; then
24445 # It does; now see whether it defined to BIG_ENDIAN or not.
24446 cat >conftest.$ac_ext <<_ACEOF
24449 cat confdefs.h >>conftest.$ac_ext
24450 cat >>conftest.$ac_ext <<_ACEOF
24451 /* end confdefs.h. */
24452 #include <sys/types.h>
24453 #include <sys/param.h>
24458 #if BYTE_ORDER != BIG_ENDIAN
24465 rm -f conftest.$ac_objext
24466 if { (ac_try="$ac_compile"
24467 case "(($ac_try" in
24468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24469 *) ac_try_echo=$ac_try;;
24471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24472 (eval "$ac_compile") 2>conftest.er1
24474 grep -v '^
*+' conftest.er1 >conftest.err
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } && {
24479 test -z "$ac_c_werror_flag" ||
24480 test ! -s conftest.err
24481 } && test -s conftest.$ac_objext; then
24482 ac_cv_c_bigendian=yes
24484 echo "$as_me: failed program was:" >&5
24485 sed 's
/^
/| /' conftest.$ac_ext >&5
24487 ac_cv_c_bigendian=no
24490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24492 echo "$as_me: failed program was:" >&5
24493 sed 's
/^
/| /' conftest.$ac_ext >&5
24498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24499 if test $ac_cv_c_bigendian = unknown; then
24500 if test "$cross_compiling" = yes; then
24501 ac_cv_c_bigendian=unknown
24503 cat >conftest.$ac_ext <<_ACEOF
24506 cat confdefs.h >>conftest.$ac_ext
24507 cat >>conftest.$ac_ext <<_ACEOF
24508 /* end confdefs.h. */
24510 /* Are we little or big endian? From Harbison&Steele. */
24514 char c[sizeof (long)];
24517 exit (u.c[sizeof (long) - 1] == 1);
24520 rm -f conftest$ac_exeext
24521 if { (ac_try="$ac_link"
24522 case "(($ac_try" in
24523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24524 *) ac_try_echo=$ac_try;;
24526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24527 (eval "$ac_link") 2>&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24531 { (case "(($ac_try" in
24532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24533 *) ac_try_echo=$ac_try;;
24535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24536 (eval "$ac_try") 2>&5
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); }; }; then
24540 ac_cv_c_bigendian=no
24542 echo "$as_me: program exited with status $ac_status" >&5
24543 echo "$as_me: failed program was:" >&5
24544 sed 's
/^
/| /' conftest.$ac_ext >&5
24546 ( exit $ac_status )
24547 ac_cv_c_bigendian=yes
24549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24555 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24556 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24557 if test $ac_cv_c_bigendian = unknown; then
24558 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24559 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24561 if test $ac_cv_c_bigendian = yes; then
24562 cat >>confdefs.h <<\_ACEOF
24563 #define WORDS_BIGENDIAN 1
24572 ac_cpp='$CXXCPP $CPPFLAGS'
24573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24574 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24579 for ac_header in iostream
24581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24582 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24584 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24585 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 cat >conftest.$ac_ext <<_ACEOF
24590 cat confdefs.h >>conftest.$ac_ext
24591 cat >>conftest.$ac_ext <<_ACEOF
24592 /* end confdefs.h. */
24595 #include <$ac_header>
24597 rm -f conftest.$ac_objext
24598 if { (ac_try="$ac_compile"
24599 case "(($ac_try" in
24600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24601 *) ac_try_echo=$ac_try;;
24603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24604 (eval "$ac_compile") 2>conftest.er1
24606 grep -v '^
*+' conftest.er1 >conftest.err
24608 cat conftest.err >&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); } && {
24611 test -z "$ac_cxx_werror_flag" ||
24612 test ! -s conftest.err
24613 } && test -s conftest.$ac_objext; then
24614 eval "$as_ac_Header=yes"
24616 echo "$as_me: failed program was:" >&5
24617 sed 's
/^
/| /' conftest.$ac_ext >&5
24619 eval "$as_ac_Header=no"
24622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24624 ac_res=`eval echo '${'$as_ac_Header'}'`
24625 { echo "$as_me:$LINENO: result: $ac_res" >&5
24626 echo "${ECHO_T}$ac_res" >&6; }
24627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24628 cat >>confdefs.h <<_ACEOF
24629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24637 if test "$ac_cv_header_iostream" = "yes" ; then
24640 cat >>confdefs.h <<\_ACEOF
24641 #define wxUSE_IOSTREAMH 1
24647 ac_cpp='$CPP $CPPFLAGS'
24648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24649 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24655 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24656 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24657 if test "${wx_cv_explicit+set}" = set; then
24658 echo $ECHO_N "(cached) $ECHO_C" >&6
24663 ac_cpp='$CXXCPP $CPPFLAGS'
24664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24665 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24669 cat >conftest.$ac_ext <<_ACEOF
24672 cat confdefs.h >>conftest.$ac_ext
24673 cat >>conftest.$ac_ext <<_ACEOF
24674 /* end confdefs.h. */
24676 class Foo { public: explicit Foo(int) {} };
24688 rm -f conftest.$ac_objext
24689 if { (ac_try="$ac_compile"
24690 case "(($ac_try" in
24691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24692 *) ac_try_echo=$ac_try;;
24694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24695 (eval "$ac_compile") 2>conftest.er1
24697 grep -v '^
*+' conftest.er1 >conftest.err
24699 cat conftest.err >&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); } && {
24702 test -z "$ac_cxx_werror_flag" ||
24703 test ! -s conftest.err
24704 } && test -s conftest.$ac_objext; then
24706 cat >conftest.$ac_ext <<_ACEOF
24709 cat confdefs.h >>conftest.$ac_ext
24710 cat >>conftest.$ac_ext <<_ACEOF
24711 /* end confdefs.h. */
24713 class Foo { public: explicit Foo(int) {} };
24714 static void TakeFoo(const Foo& foo) { }
24727 rm -f conftest.$ac_objext
24728 if { (ac_try="$ac_compile"
24729 case "(($ac_try" in
24730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24731 *) ac_try_echo=$ac_try;;
24733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24734 (eval "$ac_compile") 2>conftest.er1
24736 grep -v '^
*+' conftest.er1 >conftest.err
24738 cat conftest.err >&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); } && {
24741 test -z "$ac_cxx_werror_flag" ||
24742 test ! -s conftest.err
24743 } && test -s conftest.$ac_objext; then
24746 echo "$as_me: failed program was:" >&5
24747 sed 's
/^
/| /' conftest.$ac_ext >&5
24753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24756 echo "$as_me: failed program was:" >&5
24757 sed 's
/^
/| /' conftest.$ac_ext >&5
24763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24766 ac_cpp='$CPP $CPPFLAGS'
24767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24768 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24773 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24774 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24776 if test "$wx_cv_explicit" = "yes"; then
24777 cat >>confdefs.h <<\_ACEOF
24778 #define HAVE_EXPLICIT 1
24784 if test "x$SUNCXX" = xyes; then
24785 CXXFLAGS="-features=tmplife $CXXFLAGS"
24788 if test "x$SUNCC" = xyes; then
24789 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24792 if test "x$SGICC" = "xyes"; then
24793 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24794 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24795 if test "${wx_cv_prog_sgicc744+set}" = set; then
24796 echo $ECHO_N "(cached) $ECHO_C" >&6
24799 cat >conftest.$ac_ext <<_ACEOF
24802 cat confdefs.h >>conftest.$ac_ext
24803 cat >>conftest.$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24810 #if _SGI_COMPILER_VERSION >= 744
24811 chock me: mipsPro is 7.4.4 or later
24818 rm -f conftest.$ac_objext
24819 if { (ac_try="$ac_compile"
24820 case "(($ac_try" in
24821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24822 *) ac_try_echo=$ac_try;;
24824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24825 (eval "$ac_compile") 2>conftest.er1
24827 grep -v '^
*+' conftest.er1 >conftest.err
24829 cat conftest.err >&5
24830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24831 (exit $ac_status); } && {
24832 test -z "$ac_c_werror_flag" ||
24833 test ! -s conftest.err
24834 } && test -s conftest.$ac_objext; then
24835 wx_cv_prog_sgicc744=no
24837 echo "$as_me: failed program was:" >&5
24838 sed 's
/^
/| /' conftest.$ac_ext >&5
24840 wx_cv_prog_sgicc744=yes
24844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24848 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24849 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24851 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24852 CFLAGS="-woff 3970 $CFLAGS"
24855 if test "x$SGICXX" = "xyes"; then
24856 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24857 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24858 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24859 echo $ECHO_N "(cached) $ECHO_C" >&6
24863 ac_cpp='$CXXCPP $CPPFLAGS'
24864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24865 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24868 cat >conftest.$ac_ext <<_ACEOF
24871 cat confdefs.h >>conftest.$ac_ext
24872 cat >>conftest.$ac_ext <<_ACEOF
24873 /* end confdefs.h. */
24879 #if _SGI_COMPILER_VERSION >= 744
24880 chock me: mipsPro is 7.4.4 or later
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_cxx_werror_flag" ||
24902 test ! -s conftest.err
24903 } && test -s conftest.$ac_objext; then
24904 wx_cv_prog_sgicxx744=no
24906 echo "$as_me: failed program was:" >&5
24907 sed 's
/^
/| /' conftest.$ac_ext >&5
24909 wx_cv_prog_sgicxx744=yes
24913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915 ac_cpp='$CPP $CPPFLAGS'
24916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24917 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24923 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24924 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24926 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24927 CXXFLAGS="-woff 3970 $CXXFLAGS"
24931 if test "x$HPCC" = "xyes"; then
24932 CFLAGS="+W 2011,2450 $CFLAGS"
24934 if test "x$HPCXX" = "xyes"; then
24935 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24938 if test "x$COMPAQCXX" = "xyes"; then
24939 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24943 ac_cpp='$CXXCPP $CPPFLAGS'
24944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24945 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24949 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24950 if test "$wxUSE_UNICODE" = "yes"; then
24951 std_string="std::wstring"
24952 char_type="wchar_t"
24954 std_string="std::string"
24958 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24959 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24960 if test "${wx_cv_class_stdstring+set}" = set; then
24961 echo $ECHO_N "(cached) $ECHO_C" >&6
24964 cat >conftest.$ac_ext <<_ACEOF
24967 cat confdefs.h >>conftest.$ac_ext
24968 cat >>conftest.$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24979 rm -f conftest.$ac_objext
24980 if { (ac_try="$ac_compile"
24981 case "(($ac_try" in
24982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24983 *) ac_try_echo=$ac_try;;
24985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24986 (eval "$ac_compile") 2>conftest.er1
24988 grep -v '^
*+' conftest.er1 >conftest.err
24990 cat conftest.err >&5
24991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24992 (exit $ac_status); } && {
24993 test -z "$ac_cxx_werror_flag" ||
24994 test ! -s conftest.err
24995 } && test -s conftest.$ac_objext; then
24996 wx_cv_class_stdstring=yes
24998 echo "$as_me: failed program was:" >&5
24999 sed 's
/^
/| /' conftest.$ac_ext >&5
25001 wx_cv_class_stdstring=no
25005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25009 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25010 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25012 if test "$wx_cv_class_stdstring" = yes; then
25013 if test "$wxUSE_UNICODE" = "yes"; then
25014 cat >>confdefs.h <<\_ACEOF
25015 #define HAVE_STD_WSTRING 1
25020 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25021 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25022 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25023 echo $ECHO_N "(cached) $ECHO_C" >&6
25026 cat >conftest.$ac_ext <<_ACEOF
25029 cat confdefs.h >>conftest.$ac_ext
25030 cat >>conftest.$ac_ext <<_ACEOF
25031 /* end confdefs.h. */
25033 #ifdef HAVE_WCHAR_H
25035 # include <stddef.h>
25037 # include <wchar.h>
25039 #ifdef HAVE_STDLIB_H
25040 # include <stdlib.h>
25048 std::basic_string<$char_type> foo;
25049 const $char_type* dummy = foo.c_str();
25054 rm -f conftest.$ac_objext
25055 if { (ac_try="$ac_compile"
25056 case "(($ac_try" in
25057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25058 *) ac_try_echo=$ac_try;;
25060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25061 (eval "$ac_compile") 2>conftest.er1
25063 grep -v '^
*+' conftest.er1 >conftest.err
25065 cat conftest.err >&5
25066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25067 (exit $ac_status); } && {
25068 test -z "$ac_cxx_werror_flag" ||
25069 test ! -s conftest.err
25070 } && test -s conftest.$ac_objext; then
25071 wx_cv_class_stdbasicstring=yes
25073 echo "$as_me: failed program was:" >&5
25074 sed 's
/^
/| /' conftest.$ac_ext >&5
25076 wx_cv_class_stdbasicstring=no
25080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25084 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25085 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25087 if test "$wx_cv_class_stdbasicstring" != yes; then
25088 if test "$wxUSE_STL" = "yes"; then
25089 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25090 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25091 { (exit 1); exit 1; }; }
25092 elif test "$wxUSE_STD_STRING" = "yes"; then
25093 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25094 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25095 { (exit 1); exit 1; }; }
25097 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25098 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25099 wxUSE_STD_STRING=no
25105 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25106 { echo "$as_me:$LINENO: checking for std::istream" >&5
25107 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25108 if test "${ac_cv_type_std__istream+set}" = set; then
25109 echo $ECHO_N "(cached) $ECHO_C" >&6
25111 cat >conftest.$ac_ext <<_ACEOF
25114 cat confdefs.h >>conftest.$ac_ext
25115 cat >>conftest.$ac_ext <<_ACEOF
25116 /* end confdefs.h. */
25117 #include <iostream>
25119 typedef std::istream ac__type_new_;
25123 if ((ac__type_new_ *) 0)
25125 if (sizeof (ac__type_new_))
25131 rm -f conftest.$ac_objext
25132 if { (ac_try="$ac_compile"
25133 case "(($ac_try" in
25134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25135 *) ac_try_echo=$ac_try;;
25137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25138 (eval "$ac_compile") 2>conftest.er1
25140 grep -v '^
*+' conftest.er1 >conftest.err
25142 cat conftest.err >&5
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); } && {
25145 test -z "$ac_cxx_werror_flag" ||
25146 test ! -s conftest.err
25147 } && test -s conftest.$ac_objext; then
25148 ac_cv_type_std__istream=yes
25150 echo "$as_me: failed program was:" >&5
25151 sed 's
/^
/| /' conftest.$ac_ext >&5
25153 ac_cv_type_std__istream=no
25156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25159 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25160 if test $ac_cv_type_std__istream = yes; then
25162 cat >>confdefs.h <<_ACEOF
25163 #define HAVE_STD__ISTREAM 1
25168 wxUSE_STD_IOSTREAM=no
25170 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25171 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25172 if test "${ac_cv_type_std__ostream+set}" = set; then
25173 echo $ECHO_N "(cached) $ECHO_C" >&6
25175 cat >conftest.$ac_ext <<_ACEOF
25178 cat confdefs.h >>conftest.$ac_ext
25179 cat >>conftest.$ac_ext <<_ACEOF
25180 /* end confdefs.h. */
25181 #include <iostream>
25183 typedef std::ostream ac__type_new_;
25187 if ((ac__type_new_ *) 0)
25189 if (sizeof (ac__type_new_))
25195 rm -f conftest.$ac_objext
25196 if { (ac_try="$ac_compile"
25197 case "(($ac_try" in
25198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25199 *) ac_try_echo=$ac_try;;
25201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25202 (eval "$ac_compile") 2>conftest.er1
25204 grep -v '^
*+' conftest.er1 >conftest.err
25206 cat conftest.err >&5
25207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); } && {
25209 test -z "$ac_cxx_werror_flag" ||
25210 test ! -s conftest.err
25211 } && test -s conftest.$ac_objext; then
25212 ac_cv_type_std__ostream=yes
25214 echo "$as_me: failed program was:" >&5
25215 sed 's
/^
/| /' conftest.$ac_ext >&5
25217 ac_cv_type_std__ostream=no
25220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25222 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25223 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25224 if test $ac_cv_type_std__ostream = yes; then
25226 cat >>confdefs.h <<_ACEOF
25227 #define HAVE_STD__OSTREAM 1
25232 wxUSE_STD_IOSTREAM=no
25236 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25237 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25238 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25239 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25240 { (exit 1); exit 1; }; }
25242 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25243 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25248 if test "$wxUSE_STL" = "yes"; then
25249 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25250 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25251 if test "${wx_cv_lib_stl+set}" = set; then
25252 echo $ECHO_N "(cached) $ECHO_C" >&6
25254 cat >conftest.$ac_ext <<_ACEOF
25257 cat confdefs.h >>conftest.$ac_ext
25258 cat >>conftest.$ac_ext <<_ACEOF
25259 /* end confdefs.h. */
25261 #include <functional>
25262 #include <algorithm>
25268 std::vector<int> moo;
25269 std::list<int> foo;
25270 std::vector<int>::iterator it =
25271 std::find_if(moo.begin(), moo.end(),
25272 std::bind2nd(std::less<int>(), 3));
25277 rm -f conftest.$ac_objext
25278 if { (ac_try="$ac_compile"
25279 case "(($ac_try" in
25280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25281 *) ac_try_echo=$ac_try;;
25283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25284 (eval "$ac_compile") 2>conftest.er1
25286 grep -v '^
*+' conftest.er1 >conftest.err
25288 cat conftest.err >&5
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); } && {
25291 test -z "$ac_cxx_werror_flag" ||
25292 test ! -s conftest.err
25293 } && test -s conftest.$ac_objext; then
25296 echo "$as_me: failed program was:" >&5
25297 sed 's
/^
/| /' conftest.$ac_ext >&5
25303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25306 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25307 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25309 if test "$wx_cv_lib_stl" != yes; then
25310 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25311 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25312 { (exit 1); exit 1; }; }
25315 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25316 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25317 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25318 echo $ECHO_N "(cached) $ECHO_C" >&6
25320 cat >conftest.$ac_ext <<_ACEOF
25323 cat confdefs.h >>conftest.$ac_ext
25324 cat >>conftest.$ac_ext <<_ACEOF
25325 /* end confdefs.h. */
25330 std::string foo, bar;
25332 foo.compare(1, 1, bar);
25333 foo.compare(1, 1, bar, 1, 1);
25335 foo.compare(1, 1, "");
25336 foo.compare(1, 1, "", 2);
25341 rm -f conftest.$ac_objext
25342 if { (ac_try="$ac_compile"
25343 case "(($ac_try" in
25344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25345 *) ac_try_echo=$ac_try;;
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_compile") 2>conftest.er1
25350 grep -v '^
*+' conftest.er1 >conftest.err
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && {
25355 test -z "$ac_cxx_werror_flag" ||
25356 test ! -s conftest.err
25357 } && test -s conftest.$ac_objext; then
25358 wx_cv_func_stdstring_compare=yes
25360 echo "$as_me: failed program was:" >&5
25361 sed 's
/^
/| /' conftest.$ac_ext >&5
25363 wx_cv_func_stdstring_compare=no
25367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25370 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25371 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25373 if test "$wx_cv_func_stdstring_compare" = yes; then
25374 cat >>confdefs.h <<\_ACEOF
25375 #define HAVE_STD_STRING_COMPARE 1
25380 if test "$wx_cv_class_gnuhashmapset" = yes; then
25381 cat >>confdefs.h <<\_ACEOF
25382 #define HAVE_EXT_HASH_MAP 1
25385 cat >>confdefs.h <<\_ACEOF
25386 #define HAVE_GNU_CXX_HASH_MAP 1
25391 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25392 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25393 if test "${ac_cv_header_unordered_map+set}" = set; then
25394 echo $ECHO_N "(cached) $ECHO_C" >&6
25396 cat >conftest.$ac_ext <<_ACEOF
25399 cat confdefs.h >>conftest.$ac_ext
25400 cat >>conftest.$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
25405 #include <unordered_map>
25407 rm -f conftest.$ac_objext
25408 if { (ac_try="$ac_compile"
25409 case "(($ac_try" in
25410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25411 *) ac_try_echo=$ac_try;;
25413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25414 (eval "$ac_compile") 2>conftest.er1
25416 grep -v '^
*+' conftest.er1 >conftest.err
25418 cat conftest.err >&5
25419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420 (exit $ac_status); } && {
25421 test -z "$ac_cxx_werror_flag" ||
25422 test ! -s conftest.err
25423 } && test -s conftest.$ac_objext; then
25424 ac_cv_header_unordered_map=yes
25426 echo "$as_me: failed program was:" >&5
25427 sed 's
/^
/| /' conftest.$ac_ext >&5
25429 ac_cv_header_unordered_map=no
25432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25434 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25435 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25436 if test $ac_cv_header_unordered_map = yes; then
25437 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25438 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25439 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25440 echo $ECHO_N "(cached) $ECHO_C" >&6
25442 cat >conftest.$ac_ext <<_ACEOF
25445 cat confdefs.h >>conftest.$ac_ext
25446 cat >>conftest.$ac_ext <<_ACEOF
25447 /* end confdefs.h. */
25448 #include <unordered_map>
25449 #include <unordered_set>
25453 std::unordered_map<double*, char*> test1;
25454 std::unordered_set<char*> test2;
25459 rm -f conftest.$ac_objext
25460 if { (ac_try="$ac_compile"
25461 case "(($ac_try" in
25462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25463 *) ac_try_echo=$ac_try;;
25465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25466 (eval "$ac_compile") 2>conftest.er1
25468 grep -v '^
*+' conftest.er1 >conftest.err
25470 cat conftest.err >&5
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); } && {
25473 test -z "$ac_cxx_werror_flag" ||
25474 test ! -s conftest.err
25475 } && test -s conftest.$ac_objext; then
25476 wx_cv_class_stdunorderedmapset=yes
25478 echo "$as_me: failed program was:" >&5
25479 sed 's
/^
/| /' conftest.$ac_ext >&5
25481 wx_cv_class_stdunorderedmapset=no
25484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25488 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25489 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25494 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25495 cat >>confdefs.h <<\_ACEOF
25496 #define HAVE_STD_UNORDERED_MAP 1
25499 cat >>confdefs.h <<\_ACEOF
25500 #define HAVE_STD_UNORDERED_SET 1
25504 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25505 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25506 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25507 echo $ECHO_N "(cached) $ECHO_C" >&6
25509 cat >conftest.$ac_ext <<_ACEOF
25512 cat confdefs.h >>conftest.$ac_ext
25513 cat >>conftest.$ac_ext <<_ACEOF
25514 /* end confdefs.h. */
25518 #include <tr1/unordered_map>
25520 rm -f conftest.$ac_objext
25521 if { (ac_try="$ac_compile"
25522 case "(($ac_try" in
25523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25524 *) ac_try_echo=$ac_try;;
25526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25527 (eval "$ac_compile") 2>conftest.er1
25529 grep -v '^
*+' conftest.er1 >conftest.err
25531 cat conftest.err >&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } && {
25534 test -z "$ac_cxx_werror_flag" ||
25535 test ! -s conftest.err
25536 } && test -s conftest.$ac_objext; then
25537 ac_cv_header_tr1_unordered_map=yes
25539 echo "$as_me: failed program was:" >&5
25540 sed 's
/^
/| /' conftest.$ac_ext >&5
25542 ac_cv_header_tr1_unordered_map=no
25545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25547 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25548 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25549 if test $ac_cv_header_tr1_unordered_map = yes; then
25550 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25551 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25552 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25553 echo $ECHO_N "(cached) $ECHO_C" >&6
25555 cat >conftest.$ac_ext <<_ACEOF
25558 cat confdefs.h >>conftest.$ac_ext
25559 cat >>conftest.$ac_ext <<_ACEOF
25560 /* end confdefs.h. */
25561 #include <tr1/unordered_map>
25562 #include <tr1/unordered_set>
25566 std::tr1::unordered_map<double*, char*> test1;
25567 std::tr1::unordered_set<char*> test2;
25568 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25569 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25575 rm -f conftest.
$ac_objext
25576 if { (ac_try
="$ac_compile"
25577 case "(($ac_try" in
25578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25579 *) ac_try_echo=$ac_try;;
25581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25582 (eval "$ac_compile") 2>conftest.er1
25584 grep -v '^ *+' conftest.er1 >conftest.err
25586 cat conftest.err >&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); } && {
25589 test -z "$ac_cxx_werror_flag" ||
25590 test ! -s conftest.err
25591 } && test -s conftest.$ac_objext; then
25592 wx_cv_class_tr1unorderedmapset=yes
25594 echo "$as_me: failed program was:" >&5
25595 sed 's/^/| /' conftest.$ac_ext >&5
25597 wx_cv_class_tr1unorderedmapset=no
25600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25604 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25605 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25610 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25611 cat >>confdefs.h <<\_ACEOF
25612 #define HAVE_TR1_UNORDERED_MAP 1
25615 cat >>confdefs.h <<\_ACEOF
25616 #define HAVE_TR1_UNORDERED_SET 1
25620 { echo "$as_me:$LINENO: checking for hash_map" >&5
25621 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25622 if test "${ac_cv_header_hash_map+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25625 cat >conftest.$ac_ext <<_ACEOF
25628 cat confdefs.h >>conftest.$ac_ext
25629 cat >>conftest.$ac_ext <<_ACEOF
25630 /* end confdefs.h. */
25634 #include <hash_map>
25636 rm -f conftest.$ac_objext
25637 if { (ac_try="$ac_compile"
25638 case "(($ac_try" in
25639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25640 *) ac_try_echo
=$ac_try;;
25642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25643 (eval "$ac_compile") 2>conftest.er1
25645 grep -v '^ *+' conftest.er1
>conftest.err
25647 cat conftest.err
>&5
25648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649 (exit $ac_status); } && {
25650 test -z "$ac_cxx_werror_flag" ||
25651 test ! -s conftest.err
25652 } && test -s conftest.
$ac_objext; then
25653 ac_cv_header_hash_map
=yes
25655 echo "$as_me: failed program was:" >&5
25656 sed 's/^/| /' conftest.
$ac_ext >&5
25658 ac_cv_header_hash_map
=no
25661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25663 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25664 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25665 if test $ac_cv_header_hash_map = yes; then
25666 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25667 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25668 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25671 cat >conftest.
$ac_ext <<_ACEOF
25674 cat confdefs.h
>>conftest.
$ac_ext
25675 cat >>conftest.
$ac_ext <<_ACEOF
25676 /* end confdefs.h. */
25677 #include <hash_map>
25678 #include <hash_set>
25682 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25683 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25688 rm -f conftest.
$ac_objext
25689 if { (ac_try
="$ac_compile"
25690 case "(($ac_try" in
25691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25692 *) ac_try_echo=$ac_try;;
25694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25695 (eval "$ac_compile") 2>conftest.er1
25697 grep -v '^ *+' conftest.er1 >conftest.err
25699 cat conftest.err >&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); } && {
25702 test -z "$ac_cxx_werror_flag" ||
25703 test ! -s conftest.err
25704 } && test -s conftest.$ac_objext; then
25705 wx_cv_class_stdhashmapset=yes
25707 echo "$as_me: failed program was:" >&5
25708 sed 's/^/| /' conftest.$ac_ext >&5
25710 wx_cv_class_stdhashmapset=no
25713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25717 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25718 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25723 if test "$wx_cv_class_stdhashmapset" = yes; then
25724 cat >>confdefs.h <<\_ACEOF
25725 #define HAVE_HASH_MAP 1
25728 cat >>confdefs.h <<\_ACEOF
25729 #define HAVE_STD_HASH_MAP 1
25734 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25735 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25736 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25737 echo $ECHO_N "(cached) $ECHO_C" >&6
25739 cat >conftest.$ac_ext <<_ACEOF
25742 cat confdefs.h >>conftest.$ac_ext
25743 cat >>conftest.$ac_ext <<_ACEOF
25744 /* end confdefs.h. */
25748 #include <ext/hash_map>
25750 rm -f conftest.$ac_objext
25751 if { (ac_try="$ac_compile"
25752 case "(($ac_try" in
25753 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25754 *) ac_try_echo
=$ac_try;;
25756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25757 (eval "$ac_compile") 2>conftest.er1
25759 grep -v '^ *+' conftest.er1
>conftest.err
25761 cat conftest.err
>&5
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); } && {
25764 test -z "$ac_cxx_werror_flag" ||
25765 test ! -s conftest.err
25766 } && test -s conftest.
$ac_objext; then
25767 ac_cv_header_ext_hash_map
=yes
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.
$ac_ext >&5
25772 ac_cv_header_ext_hash_map
=no
25775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25777 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25778 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25779 if test $ac_cv_header_ext_hash_map = yes; then
25780 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25781 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25782 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 cat >conftest.
$ac_ext <<_ACEOF
25788 cat confdefs.h
>>conftest.
$ac_ext
25789 cat >>conftest.
$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25791 #include <ext/hash_map>
25792 #include <ext/hash_set>
25796 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25797 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25802 rm -f conftest.
$ac_objext
25803 if { (ac_try
="$ac_compile"
25804 case "(($ac_try" in
25805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25806 *) ac_try_echo=$ac_try;;
25808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25809 (eval "$ac_compile") 2>conftest.er1
25811 grep -v '^ *+' conftest.er1 >conftest.err
25813 cat conftest.err >&5
25814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25815 (exit $ac_status); } && {
25816 test -z "$ac_cxx_werror_flag" ||
25817 test ! -s conftest.err
25818 } && test -s conftest.$ac_objext; then
25819 wx_cv_class_gnuhashmapset=yes
25821 echo "$as_me: failed program was:" >&5
25822 sed 's/^/| /' conftest.$ac_ext >&5
25824 wx_cv_class_gnuhashmapset=no
25827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25831 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25832 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25843 if test -n "$GCC"; then
25844 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25845 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25846 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25847 echo $ECHO_N "(cached) $ECHO_C" >&6
25850 cat >conftest.$ac_ext <<_ACEOF
25853 cat confdefs.h >>conftest.$ac_ext
25854 cat >>conftest.$ac_ext <<_ACEOF
25855 /* end confdefs.h. */
25861 unsigned int value=0;
25862 /* wxAtomicInc doesn't use return value here */
25863 __sync_fetch_and_add(&value, 2);
25864 __sync_sub_and_fetch(&value, 1);
25865 /* but wxAtomicDec does, so mimic that: */
25866 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25872 rm -f conftest.$ac_objext conftest$ac_exeext
25873 if { (ac_try="$ac_link"
25874 case "(($ac_try" in
25875 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25876 *) ac_try_echo
=$ac_try;;
25878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25879 (eval "$ac_link") 2>conftest.er1
25881 grep -v '^ *+' conftest.er1
>conftest.err
25883 cat conftest.err
>&5
25884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25885 (exit $ac_status); } && {
25886 test -z "$ac_cxx_werror_flag" ||
25887 test ! -s conftest.err
25888 } && test -s conftest
$ac_exeext &&
25889 $as_test_x conftest
$ac_exeext; then
25890 wx_cv_cc_gcc_atomic_builtins
=yes
25892 echo "$as_me: failed program was:" >&5
25893 sed 's/^/| /' conftest.
$ac_ext >&5
25895 wx_cv_cc_gcc_atomic_builtins
=no
25898 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25899 conftest
$ac_exeext conftest.
$ac_ext
25903 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25904 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25905 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25906 cat >>confdefs.h
<<\_ACEOF
25907 #define HAVE_GCC_ATOMIC_BUILTINS 1
25915 ac_cpp
='$CPP $CPPFLAGS'
25916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25923 /usr/local/include \
25924 /usr/local/X11/include \
25925 /usr/local/include/X11 \
25926 /usr/local/X11R7/include \
25927 /usr/local/X11R6/include \
25928 /usr/local/include/X11R7 \
25929 /usr/local/include/X11R6 \
25931 /usr/Motif-2.1/include \
25932 /usr/Motif-1.2/include \
25933 /usr/include/Motif1.2 \
25936 /usr/openwin/include \
25940 /usr/X11R7/include \
25941 /usr/X11R6/include \
25942 /usr/X11R6.4/include \
25944 /usr/include/X11R7 \
25945 /usr/include/X11R6 \
25950 /usr/XFree86/include/X11 \
25953 /usr/local/X1R5/include \
25954 /usr/local/include/X11R5 \
25955 /usr/X11R5/include \
25956 /usr/include/X11R5 \
25958 /usr/local/X11R4/include \
25959 /usr/local/include/X11R4 \
25960 /usr/X11R4/include \
25961 /usr/include/X11R4 \
25963 /usr/openwin/share/include"
25965 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25966 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25970 if test "${wx_cv_std_libpath+set}" = set; then
25971 echo $ECHO_N "(cached) $ECHO_C" >&6
25974 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25975 for e
in a so sl dylib dll.a
; do
25977 if test -f $libc; then
25980 cat >conftest.
$ac_ext <<_ACEOF
25981 int main() { return 0; }
25983 rm -f conftest.
$ac_objext conftest
$ac_exeext
25984 if { (ac_try
="$ac_link"
25985 case "(($ac_try" in
25986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25987 *) ac_try_echo=$ac_try;;
25989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25990 (eval "$ac_link") 2>conftest.er1
25992 grep -v '^ *+' conftest.er1 >conftest.err
25994 cat conftest.err >&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } && {
25997 test -z "$ac_c_werror_flag" ||
25998 test ! -s conftest.err
25999 } && test -s conftest$ac_exeext &&
26000 $as_test_x conftest$ac_exeext; then
26001 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
26003 echo "$as_me: failed program was:" >&5
26004 sed 's/^/| /' conftest.$ac_ext >&5
26009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26010 conftest$ac_exeext conftest.$ac_ext
26012 if test "x$wx_cv_std_libpath" != "x"; then
26018 if test "x$wx_cv_std_libpath" = "x"; then
26019 wx_cv_std_libpath="lib"
26028 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26029 wx_cv_std_libpath="lib/64"
26031 wx_cv_std_libpath="lib"
26036 if test "$ac_cv_sizeof_void_p" = 8 -a \
26037 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26038 wx_cv_std_libpath="lib64"
26040 wx_cv_std_libpath="lib"
26045 wx_cv_std_libpath="lib";
26049 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26050 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26052 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
26054 if test "$build" != "$host" -a "$GCC" = yes; then
26055 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
26056 cross_root=`dirname $cross_root`
26057 cross_root=`dirname $cross_root`
26059 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26060 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26061 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26063 if test -z "$PKG_CONFIG_PATH"; then
26064 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26065 export PKG_CONFIG_PATH
26068 if test -z "$x_includes" -o "$x_includes" = NONE; then
26071 for ac_dir in $SEARCH_INCLUDE /usr/include;
26073 if test -f "$ac_dir/X11/Intrinsic.h"; then
26074 ac_find_includes=$ac_dir
26079 x_includes=$ac_find_includes
26081 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26084 for ac_dir in $SEARCH_LIB;
26086 for ac_extension in a so sl dylib dll.a; do
26087 if test -f "$ac_dir/libXt.$ac_extension"; then
26088 ac_find_libraries=$ac_dir
26094 x_libraries=$ac_find_libraries
26100 cat >confcache <<\_ACEOF
26101 # This file is a shell script that caches the results of configure
26102 # tests run on this system so they can be shared between configure
26103 # scripts and configure runs, see configure's option --config-cache.
26104 # It is not useful on other systems. If it contains results you don't
26105 # want to keep, you may remove or edit it.
26107 # config.status only pays attention to the cache file if you give it
26108 # the --recheck option to rerun configure.
26110 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
26111 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26112 # following values.
26116 # The following way of writing the cache mishandles newlines in values,
26117 # but we know of no workaround that is simple, portable, and efficient.
26118 # So, we kill variables containing newlines.
26119 # Ultrix sh set writes to stderr and can't be redirected directly,
26120 # and sets the high bit in the cache file unless we assign to the vars.
26122 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26123 eval ac_val
=\$
$ac_var
26127 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26128 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26131 _
| IFS
| as_nl
) ;; #(
26132 *) $as_unset $ac_var ;;
26138 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26139 *${as_nl}ac_space
=\
*)
26140 # `set' does not quote correctly, so add quotes (double-quote
26141 # substitution turns \\\\ into \\, and sed turns \\ into \).
26144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26147 # `set' quotes correctly as required by POSIX, so do not add quotes.
26148 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26159 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26161 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26162 if test -w "$cache_file"; then
26163 test "x$cache_file" != "x/dev/null" &&
26164 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26165 echo "$as_me: updating cache $cache_file" >&6;}
26166 cat confcache
>$cache_file
26168 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26169 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26174 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26175 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26176 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26177 if test "${wx_cv_lib_glibc21+set}" = set; then
26178 echo $ECHO_N "(cached) $ECHO_C" >&6
26181 cat >conftest.
$ac_ext <<_ACEOF
26184 cat confdefs.h
>>conftest.
$ac_ext
26185 cat >>conftest.
$ac_ext <<_ACEOF
26186 /* end confdefs.h. */
26187 #include <features.h>
26192 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26200 rm -f conftest.
$ac_objext
26201 if { (ac_try
="$ac_compile"
26202 case "(($ac_try" in
26203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26204 *) ac_try_echo=$ac_try;;
26206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26207 (eval "$ac_compile") 2>conftest.er1
26209 grep -v '^ *+' conftest.er1 >conftest.err
26211 cat conftest.err >&5
26212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213 (exit $ac_status); } && {
26214 test -z "$ac_c_werror_flag" ||
26215 test ! -s conftest.err
26216 } && test -s conftest.$ac_objext; then
26218 wx_cv_lib_glibc21=yes
26221 echo "$as_me: failed program was:" >&5
26222 sed 's/^/| /' conftest.$ac_ext >&5
26225 wx_cv_lib_glibc21=no
26230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26233 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26234 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26235 if test "$wx_cv_lib_glibc21" = "yes"; then
26236 cat >>confdefs.h <<\_ACEOF
26237 #define wxHAVE_GLIBC2 1
26243 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26244 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26245 cat >>confdefs.h <<\_ACEOF
26246 #define _GNU_SOURCE 1
26257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26258 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26260 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26261 echo $ECHO_N "(cached) $ECHO_C" >&6
26263 cat >conftest.$ac_ext <<_ACEOF
26266 cat confdefs.h >>conftest.$ac_ext
26267 cat >>conftest.$ac_ext <<_ACEOF
26268 /* end confdefs.h. */
26269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26271 #define $ac_func innocuous_$ac_func
26273 /* System header to define __stub macros and hopefully few prototypes,
26274 which can conflict with char $ac_func (); below.
26275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26276 <limits.h> exists even on freestanding compilers. */
26279 # include <limits.h>
26281 # include <assert.h>
26286 /* Override any GCC internal prototype to avoid an error.
26287 Use char because int might match the return type of a GCC
26288 builtin and then its argument prototype would still apply. */
26293 /* The GNU C library defines this for functions which it implements
26294 to always fail with ENOSYS. Some functions are actually named
26295 something starting with __ and the normal name is an alias. */
26296 #if defined __stub_$ac_func || defined __stub___$ac_func
26303 return $ac_func ();
26308 rm -f conftest.$ac_objext conftest$ac_exeext
26309 if { (ac_try="$ac_link"
26310 case "(($ac_try" in
26311 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26312 *) ac_try_echo
=$ac_try;;
26314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26315 (eval "$ac_link") 2>conftest.er1
26317 grep -v '^ *+' conftest.er1
>conftest.err
26319 cat conftest.err
>&5
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); } && {
26322 test -z "$ac_c_werror_flag" ||
26323 test ! -s conftest.err
26324 } && test -s conftest
$ac_exeext &&
26325 $as_test_x conftest
$ac_exeext; then
26326 eval "$as_ac_var=yes"
26328 echo "$as_me: failed program was:" >&5
26329 sed 's/^/| /' conftest.
$ac_ext >&5
26331 eval "$as_ac_var=no"
26334 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26335 conftest
$ac_exeext conftest.
$ac_ext
26337 ac_res
=`eval echo '${'$as_ac_var'}'`
26338 { echo "$as_me:$LINENO: result: $ac_res" >&5
26339 echo "${ECHO_T}$ac_res" >&6; }
26340 if test `eval echo '${'$as_ac_var'}'` = yes; then
26341 cat >>confdefs.h
<<_ACEOF
26342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26349 for ac_func
in floor
26351 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26352 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26354 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26355 echo $ECHO_N "(cached) $ECHO_C" >&6
26357 cat >conftest.
$ac_ext <<_ACEOF
26360 cat confdefs.h
>>conftest.
$ac_ext
26361 cat >>conftest.
$ac_ext <<_ACEOF
26362 /* end confdefs.h. */
26363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26365 #define $ac_func innocuous_$ac_func
26367 /* System header to define __stub macros and hopefully few prototypes,
26368 which can conflict with char $ac_func (); below.
26369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26370 <limits.h> exists even on freestanding compilers. */
26373 # include <limits.h>
26375 # include <assert.h>
26380 /* Override any GCC internal prototype to avoid an error.
26381 Use char because int might match the return type of a GCC
26382 builtin and then its argument prototype would still apply. */
26387 /* The GNU C library defines this for functions which it implements
26388 to always fail with ENOSYS. Some functions are actually named
26389 something starting with __ and the normal name is an alias. */
26390 #if defined __stub_$ac_func || defined __stub___$ac_func
26397 return $ac_func ();
26402 rm -f conftest.
$ac_objext conftest
$ac_exeext
26403 if { (ac_try
="$ac_link"
26404 case "(($ac_try" in
26405 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26406 *) ac_try_echo=$ac_try;;
26408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26409 (eval "$ac_link") 2>conftest.er1
26411 grep -v '^ *+' conftest.er1 >conftest.err
26413 cat conftest.err >&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); } && {
26416 test -z "$ac_c_werror_flag" ||
26417 test ! -s conftest.err
26418 } && test -s conftest$ac_exeext &&
26419 $as_test_x conftest$ac_exeext; then
26420 eval "$as_ac_var=yes"
26422 echo "$as_me: failed program was:" >&5
26423 sed 's/^/| /' conftest.$ac_ext >&5
26425 eval "$as_ac_var=no"
26428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26429 conftest$ac_exeext conftest.$ac_ext
26431 ac_res=`eval echo '${'$as_ac_var'}'`
26432 { echo "$as_me:$LINENO: result: $ac_res" >&5
26433 echo "${ECHO_T}$ac_res" >&6; }
26434 if test `eval echo '${'$as_ac_var'}'` = yes; then
26435 cat >>confdefs.h <<_ACEOF
26436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26442 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26443 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26444 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26445 { echo "$as_me:$LINENO: result: yes" >&5
26446 echo "${ECHO_T}yes" >&6; }
26448 { echo "$as_me:$LINENO: result: no" >&5
26449 echo "${ECHO_T}no" >&6; }
26451 # use different functions to avoid configure caching
26457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26463 cat >conftest.$ac_ext <<_ACEOF
26466 cat confdefs.h >>conftest.$ac_ext
26467 cat >>conftest.$ac_ext <<_ACEOF
26468 /* end confdefs.h. */
26469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26471 #define $ac_func innocuous_$ac_func
26473 /* System header to define __stub macros and hopefully few prototypes,
26474 which can conflict with char $ac_func (); below.
26475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26476 <limits.h> exists even on freestanding compilers. */
26479 # include <limits.h>
26481 # include <assert.h>
26486 /* Override any GCC internal prototype to avoid an error.
26487 Use char because int might match the return type of a GCC
26488 builtin and then its argument prototype would still apply. */
26493 /* The GNU C library defines this for functions which it implements
26494 to always fail with ENOSYS. Some functions are actually named
26495 something starting with __ and the normal name is an alias. */
26496 #if defined __stub_$ac_func || defined __stub___$ac_func
26503 return $ac_func ();
26508 rm -f conftest.$ac_objext conftest$ac_exeext
26509 if { (ac_try="$ac_link"
26510 case "(($ac_try" in
26511 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26512 *) ac_try_echo
=$ac_try;;
26514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26515 (eval "$ac_link") 2>conftest.er1
26517 grep -v '^ *+' conftest.er1
>conftest.err
26519 cat conftest.err
>&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); } && {
26522 test -z "$ac_c_werror_flag" ||
26523 test ! -s conftest.err
26524 } && test -s conftest
$ac_exeext &&
26525 $as_test_x conftest
$ac_exeext; then
26526 eval "$as_ac_var=yes"
26528 echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.
$ac_ext >&5
26531 eval "$as_ac_var=no"
26534 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26535 conftest
$ac_exeext conftest.
$ac_ext
26537 ac_res
=`eval echo '${'$as_ac_var'}'`
26538 { echo "$as_me:$LINENO: result: $ac_res" >&5
26539 echo "${ECHO_T}$ac_res" >&6; }
26540 if test `eval echo '${'$as_ac_var'}'` = yes; then
26541 cat >>confdefs.h
<<_ACEOF
26542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26549 for ac_func
in ceil
26551 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26552 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26554 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26555 echo $ECHO_N "(cached) $ECHO_C" >&6
26557 cat >conftest.
$ac_ext <<_ACEOF
26560 cat confdefs.h
>>conftest.
$ac_ext
26561 cat >>conftest.
$ac_ext <<_ACEOF
26562 /* end confdefs.h. */
26563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26565 #define $ac_func innocuous_$ac_func
26567 /* System header to define __stub macros and hopefully few prototypes,
26568 which can conflict with char $ac_func (); below.
26569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26570 <limits.h> exists even on freestanding compilers. */
26573 # include <limits.h>
26575 # include <assert.h>
26580 /* Override any GCC internal prototype to avoid an error.
26581 Use char because int might match the return type of a GCC
26582 builtin and then its argument prototype would still apply. */
26587 /* The GNU C library defines this for functions which it implements
26588 to always fail with ENOSYS. Some functions are actually named
26589 something starting with __ and the normal name is an alias. */
26590 #if defined __stub_$ac_func || defined __stub___$ac_func
26597 return $ac_func ();
26602 rm -f conftest.
$ac_objext conftest
$ac_exeext
26603 if { (ac_try
="$ac_link"
26604 case "(($ac_try" in
26605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26606 *) ac_try_echo=$ac_try;;
26608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26609 (eval "$ac_link") 2>conftest.er1
26611 grep -v '^ *+' conftest.er1 >conftest.err
26613 cat conftest.err >&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); } && {
26616 test -z "$ac_c_werror_flag" ||
26617 test ! -s conftest.err
26618 } && test -s conftest$ac_exeext &&
26619 $as_test_x conftest$ac_exeext; then
26620 eval "$as_ac_var=yes"
26622 echo "$as_me: failed program was:" >&5
26623 sed 's/^/| /' conftest.$ac_ext >&5
26625 eval "$as_ac_var=no"
26628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26629 conftest$ac_exeext conftest.$ac_ext
26631 ac_res=`eval echo '${'$as_ac_var'}'`
26632 { echo "$as_me:$LINENO: result: $ac_res" >&5
26633 echo "${ECHO_T}$ac_res" >&6; }
26634 if test `eval echo '${'$as_ac_var'}'` = yes; then
26635 cat >>confdefs.h <<_ACEOF
26636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26642 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26643 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26644 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26645 { echo "$as_me:$LINENO: result: yes" >&5
26646 echo "${ECHO_T}yes" >&6; }
26648 { echo "$as_me:$LINENO: result: no" >&5
26649 echo "${ECHO_T}no" >&6; }
26650 # not sure we should warn the user, crash, etc.
26655 ac_cpp='$CXXCPP $CPPFLAGS'
26656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26660 if test "wxUSE_UNICODE" = "yes"; then
26662 for wx_func in wcstoull
26664 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26665 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26666 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26667 echo $ECHO_N "(cached) $ECHO_C" >&6
26670 cat >conftest.$ac_ext <<_ACEOF
26674 cat confdefs.h >>conftest.$ac_ext
26675 cat >>conftest.$ac_ext <<_ACEOF
26676 /* end confdefs.h. */
26679 $ac_includes_default
26695 rm -f conftest.$ac_objext conftest$ac_exeext
26696 if { (ac_try="$ac_link"
26697 case "(($ac_try" in
26698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26699 *) ac_try_echo
=$ac_try;;
26701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26702 (eval "$ac_link") 2>conftest.er1
26704 grep -v '^ *+' conftest.er1
>conftest.err
26706 cat conftest.err
>&5
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); } && {
26709 test -z "$ac_cxx_werror_flag" ||
26710 test ! -s conftest.err
26711 } && test -s conftest
$ac_exeext &&
26712 $as_test_x conftest
$ac_exeext; then
26713 eval wx_cv_func_
$wx_func=yes
26715 echo "$as_me: failed program was:" >&5
26716 sed 's/^/| /' conftest.
$ac_ext >&5
26718 eval wx_cv_func_
$wx_func=no
26721 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26722 conftest
$ac_exeext conftest.
$ac_ext
26725 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26726 { echo "$as_me:$LINENO: result: $ac_res" >&5
26727 echo "${ECHO_T}$ac_res" >&6; }
26729 if eval test \
$wx_cv_func_$wx_func = yes
26731 cat >>confdefs.h
<<_ACEOF
26732 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26744 for wx_func
in strtoull
26746 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26747 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26748 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26749 echo $ECHO_N "(cached) $ECHO_C" >&6
26752 cat >conftest.
$ac_ext <<_ACEOF
26756 cat confdefs.h
>>conftest.
$ac_ext
26757 cat >>conftest.
$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26761 $ac_includes_default
26777 rm -f conftest.
$ac_objext conftest
$ac_exeext
26778 if { (ac_try
="$ac_link"
26779 case "(($ac_try" in
26780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26781 *) ac_try_echo=$ac_try;;
26783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26784 (eval "$ac_link") 2>conftest.er1
26786 grep -v '^ *+' conftest.er1 >conftest.err
26788 cat conftest.err >&5
26789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26790 (exit $ac_status); } && {
26791 test -z "$ac_cxx_werror_flag" ||
26792 test ! -s conftest.err
26793 } && test -s conftest$ac_exeext &&
26794 $as_test_x conftest$ac_exeext; then
26795 eval wx_cv_func_$wx_func=yes
26797 echo "$as_me: failed program was:" >&5
26798 sed 's/^/| /' conftest.$ac_ext >&5
26800 eval wx_cv_func_$wx_func=no
26803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26804 conftest$ac_exeext conftest.$ac_ext
26807 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26808 { echo "$as_me:$LINENO: result: $ac_res" >&5
26809 echo "${ECHO_T}$ac_res" >&6; }
26811 if eval test \$wx_cv_func_$wx_func = yes
26813 cat >>confdefs.h <<_ACEOF
26814 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26826 ac_cpp='$CPP $CPPFLAGS'
26827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26834 if test "$wxUSE_REGEX" != "no"; then
26835 cat >>confdefs.h <<\_ACEOF
26836 #define wxUSE_REGEX 1
26840 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26841 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26842 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26843 wxUSE_REGEX=builtin
26846 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26847 { echo "$as_me:$LINENO: checking for regex.h" >&5
26848 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26849 if test "${ac_cv_header_regex_h+set}" = set; then
26850 echo $ECHO_N "(cached) $ECHO_C" >&6
26852 cat >conftest.$ac_ext <<_ACEOF
26855 cat confdefs.h >>conftest.$ac_ext
26856 cat >>conftest.$ac_ext <<_ACEOF
26857 /* end confdefs.h. */
26862 rm -f conftest.$ac_objext
26863 if { (ac_try="$ac_compile"
26864 case "(($ac_try" in
26865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26866 *) ac_try_echo
=$ac_try;;
26868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26869 (eval "$ac_compile") 2>conftest.er1
26871 grep -v '^ *+' conftest.er1
>conftest.err
26873 cat conftest.err
>&5
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); } && {
26876 test -z "$ac_c_werror_flag" ||
26877 test ! -s conftest.err
26878 } && test -s conftest.
$ac_objext; then
26879 ac_cv_header_regex_h
=yes
26881 echo "$as_me: failed program was:" >&5
26882 sed 's/^/| /' conftest.
$ac_ext >&5
26884 ac_cv_header_regex_h
=no
26887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26889 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26890 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26891 if test $ac_cv_header_regex_h = yes; then
26894 for ac_func
in regcomp re_search
26896 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26897 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26899 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26900 echo $ECHO_N "(cached) $ECHO_C" >&6
26902 cat >conftest.
$ac_ext <<_ACEOF
26905 cat confdefs.h
>>conftest.
$ac_ext
26906 cat >>conftest.
$ac_ext <<_ACEOF
26907 /* end confdefs.h. */
26908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26910 #define $ac_func innocuous_$ac_func
26912 /* System header to define __stub macros and hopefully few prototypes,
26913 which can conflict with char $ac_func (); below.
26914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26915 <limits.h> exists even on freestanding compilers. */
26918 # include <limits.h>
26920 # include <assert.h>
26925 /* Override any GCC internal prototype to avoid an error.
26926 Use char because int might match the return type of a GCC
26927 builtin and then its argument prototype would still apply. */
26932 /* The GNU C library defines this for functions which it implements
26933 to always fail with ENOSYS. Some functions are actually named
26934 something starting with __ and the normal name is an alias. */
26935 #if defined __stub_$ac_func || defined __stub___$ac_func
26942 return $ac_func ();
26947 rm -f conftest.
$ac_objext conftest
$ac_exeext
26948 if { (ac_try
="$ac_link"
26949 case "(($ac_try" in
26950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26951 *) ac_try_echo=$ac_try;;
26953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26954 (eval "$ac_link") 2>conftest.er1
26956 grep -v '^ *+' conftest.er1 >conftest.err
26958 cat conftest.err >&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); } && {
26961 test -z "$ac_c_werror_flag" ||
26962 test ! -s conftest.err
26963 } && test -s conftest$ac_exeext &&
26964 $as_test_x conftest$ac_exeext; then
26965 eval "$as_ac_var=yes"
26967 echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.$ac_ext >&5
26970 eval "$as_ac_var=no"
26973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26974 conftest$ac_exeext conftest.$ac_ext
26976 ac_res=`eval echo '${'$as_ac_var'}'`
26977 { echo "$as_me:$LINENO: result: $ac_res" >&5
26978 echo "${ECHO_T}$ac_res" >&6; }
26979 if test `eval echo '${'$as_ac_var'}'` = yes; then
26980 cat >>confdefs.h <<_ACEOF
26981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26991 if test "x$ac_cv_func_regcomp" != "xyes"; then
26992 if test "$wxUSE_REGEX" = "sys" ; then
26993 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26994 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26995 { (exit 1); exit 1; }; }
26997 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26998 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26999 wxUSE_REGEX=builtin
27003 cat >>confdefs.h <<\_ACEOF
27004 #define WX_NO_REGEX_ADVANCED 1
27013 if test "$wxUSE_ZLIB" != "no" ; then
27014 cat >>confdefs.h <<\_ACEOF
27015 #define wxUSE_ZLIB 1
27019 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27020 if test "$USE_DARWIN" = 1; then
27021 system_zlib_h_ok="yes"
27023 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27024 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27025 if test "${ac_cv_header_zlib_h+set}" = set; then
27026 echo $ECHO_N "(cached) $ECHO_C" >&6
27028 if test "$cross_compiling" = yes; then
27029 unset ac_cv_header_zlib_h
27032 cat >conftest.$ac_ext <<_ACEOF
27035 cat confdefs.h >>conftest.$ac_ext
27036 cat >>conftest.$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27044 FILE *f=fopen("conftestval", "w");
27047 ZLIB_VERSION[0] == '1' &&
27048 (ZLIB_VERSION[2] > '1' ||
27049 (ZLIB_VERSION[2] == '1' &&
27050 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27055 rm -f conftest$ac_exeext
27056 if { (ac_try="$ac_link"
27057 case "(($ac_try" in
27058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27059 *) ac_try_echo
=$ac_try;;
27061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27062 (eval "$ac_link") 2>&5
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27066 { (case "(($ac_try" in
27067 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27068 *) ac_try_echo=$ac_try;;
27070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27071 (eval "$ac_try") 2>&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); }; }; then
27075 ac_cv_header_zlib_h=`cat conftestval
`
27077 echo "$as_me: program exited with status $ac_status" >&5
27078 echo "$as_me: failed program was:" >&5
27079 sed 's/^/| /' conftest.$ac_ext >&5
27081 ( exit $ac_status )
27082 ac_cv_header_zlib_h=no
27084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27090 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27091 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27092 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27093 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27094 if test "${ac_cv_header_zlib_h+set}" = set; then
27095 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 cat >conftest.$ac_ext <<_ACEOF
27100 cat confdefs.h >>conftest.$ac_ext
27101 cat >>conftest.$ac_ext <<_ACEOF
27102 /* end confdefs.h. */
27107 rm -f conftest.$ac_objext
27108 if { (ac_try="$ac_compile"
27109 case "(($ac_try" in
27110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27111 *) ac_try_echo
=$ac_try;;
27113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27114 (eval "$ac_compile") 2>conftest.er1
27116 grep -v '^ *+' conftest.er1
>conftest.err
27118 cat conftest.err
>&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); } && {
27121 test -z "$ac_c_werror_flag" ||
27122 test ! -s conftest.err
27123 } && test -s conftest.
$ac_objext; then
27124 ac_cv_header_zlib_h
=yes
27126 echo "$as_me: failed program was:" >&5
27127 sed 's/^/| /' conftest.
$ac_ext >&5
27129 ac_cv_header_zlib_h
=no
27132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27134 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27135 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27139 system_zlib_h_ok
=$ac_cv_header_zlib_h
27142 if test "$system_zlib_h_ok" = "yes"; then
27143 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27144 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27145 if test "${ac_cv_lib_z_deflate+set}" = set; then
27146 echo $ECHO_N "(cached) $ECHO_C" >&6
27148 ac_check_lib_save_LIBS
=$LIBS
27150 cat >conftest.
$ac_ext <<_ACEOF
27153 cat confdefs.h
>>conftest.
$ac_ext
27154 cat >>conftest.
$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27157 /* Override any GCC internal prototype to avoid an error.
27158 Use char because int might match the return type of a GCC
27159 builtin and then its argument prototype would still apply. */
27172 rm -f conftest.
$ac_objext conftest
$ac_exeext
27173 if { (ac_try
="$ac_link"
27174 case "(($ac_try" in
27175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27176 *) ac_try_echo=$ac_try;;
27178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27179 (eval "$ac_link") 2>conftest.er1
27181 grep -v '^ *+' conftest.er1 >conftest.err
27183 cat conftest.err >&5
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); } && {
27186 test -z "$ac_c_werror_flag" ||
27187 test ! -s conftest.err
27188 } && test -s conftest$ac_exeext &&
27189 $as_test_x conftest$ac_exeext; then
27190 ac_cv_lib_z_deflate=yes
27192 echo "$as_me: failed program was:" >&5
27193 sed 's/^/| /' conftest.$ac_ext >&5
27195 ac_cv_lib_z_deflate=no
27198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27199 conftest$ac_exeext conftest.$ac_ext
27200 LIBS=$ac_check_lib_save_LIBS
27202 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27203 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27204 if test $ac_cv_lib_z_deflate = yes; then
27210 if test "x$ZLIB_LINK" = "x" ; then
27211 if test "$wxUSE_ZLIB" = "sys" ; then
27212 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27213 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27214 { (exit 1); exit 1; }; }
27216 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27217 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27228 if test "$wxUSE_LIBPNG" != "no" ; then
27229 cat >>confdefs.h <<\_ACEOF
27230 #define wxUSE_LIBPNG 1
27234 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27235 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27236 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27240 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27241 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27242 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27243 wxUSE_LIBPNG=builtin
27246 if test "$wxUSE_MGL" != 1 ; then
27247 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27248 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27249 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27250 if test "${ac_cv_header_png_h+set}" = set; then
27251 echo $ECHO_N "(cached) $ECHO_C" >&6
27253 if test "$cross_compiling" = yes; then
27254 unset ac_cv_header_png_h
27257 cat >conftest.$ac_ext <<_ACEOF
27260 cat confdefs.h >>conftest.$ac_ext
27261 cat >>conftest.$ac_ext <<_ACEOF
27262 /* end confdefs.h. */
27269 FILE *f=fopen("conftestval", "w");
27272 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27277 rm -f conftest$ac_exeext
27278 if { (ac_try="$ac_link"
27279 case "(($ac_try" in
27280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27281 *) ac_try_echo
=$ac_try;;
27283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27284 (eval "$ac_link") 2>&5
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27288 { (case "(($ac_try" in
27289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27290 *) ac_try_echo=$ac_try;;
27292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27293 (eval "$ac_try") 2>&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; }; then
27297 ac_cv_header_png_h=`cat conftestval
`
27299 echo "$as_me: program exited with status $ac_status" >&5
27300 echo "$as_me: failed program was:" >&5
27301 sed 's/^/| /' conftest.$ac_ext >&5
27303 ( exit $ac_status )
27304 ac_cv_header_png_h=no
27306 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27312 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27313 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27314 { echo "$as_me:$LINENO: checking for png.h" >&5
27315 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27316 if test "${ac_cv_header_png_h+set}" = set; then
27317 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 cat >conftest.$ac_ext <<_ACEOF
27322 cat confdefs.h >>conftest.$ac_ext
27323 cat >>conftest.$ac_ext <<_ACEOF
27324 /* end confdefs.h. */
27329 rm -f conftest.$ac_objext
27330 if { (ac_try="$ac_compile"
27331 case "(($ac_try" in
27332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27333 *) ac_try_echo
=$ac_try;;
27335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27336 (eval "$ac_compile") 2>conftest.er1
27338 grep -v '^ *+' conftest.er1
>conftest.err
27340 cat conftest.err
>&5
27341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27342 (exit $ac_status); } && {
27343 test -z "$ac_c_werror_flag" ||
27344 test ! -s conftest.err
27345 } && test -s conftest.
$ac_objext; then
27346 ac_cv_header_png_h
=yes
27348 echo "$as_me: failed program was:" >&5
27349 sed 's/^/| /' conftest.
$ac_ext >&5
27351 ac_cv_header_png_h
=no
27354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27356 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27357 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27361 if test "$ac_cv_header_png_h" = "yes"; then
27362 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27363 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27364 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27365 echo $ECHO_N "(cached) $ECHO_C" >&6
27367 ac_check_lib_save_LIBS
=$LIBS
27368 LIBS
="-lpng -lz -lm $LIBS"
27369 cat >conftest.
$ac_ext <<_ACEOF
27372 cat confdefs.h
>>conftest.
$ac_ext
27373 cat >>conftest.
$ac_ext <<_ACEOF
27374 /* end confdefs.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. */
27382 char png_sig_cmp ();
27386 return png_sig_cmp ();
27391 rm -f conftest.
$ac_objext conftest
$ac_exeext
27392 if { (ac_try
="$ac_link"
27393 case "(($ac_try" in
27394 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27395 *) ac_try_echo=$ac_try;;
27397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27398 (eval "$ac_link") 2>conftest.er1
27400 grep -v '^ *+' conftest.er1 >conftest.err
27402 cat conftest.err >&5
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); } && {
27405 test -z "$ac_c_werror_flag" ||
27406 test ! -s conftest.err
27407 } && test -s conftest$ac_exeext &&
27408 $as_test_x conftest$ac_exeext; then
27409 ac_cv_lib_png_png_sig_cmp=yes
27411 echo "$as_me: failed program was:" >&5
27412 sed 's/^/| /' conftest.$ac_ext >&5
27414 ac_cv_lib_png_png_sig_cmp=no
27417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27418 conftest$ac_exeext conftest.$ac_ext
27419 LIBS=$ac_check_lib_save_LIBS
27421 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27422 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27423 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27424 PNG_LINK=" -lpng -lz"
27429 if test "x$PNG_LINK" = "x" ; then
27430 if test "$wxUSE_LIBPNG" = "sys" ; then
27431 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27432 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27433 { (exit 1); exit 1; }; }
27435 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27436 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27437 wxUSE_LIBPNG=builtin
27448 if test "$wxUSE_LIBJPEG" != "no" ; then
27449 cat >>confdefs.h <<\_ACEOF
27450 #define wxUSE_LIBJPEG 1
27454 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27455 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27456 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27460 if test "$wxUSE_MGL" != 1 ; then
27461 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27462 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27463 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27464 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27465 echo $ECHO_N "(cached) $ECHO_C" >&6
27467 cat >conftest.$ac_ext <<_ACEOF
27470 cat confdefs.h >>conftest.$ac_ext
27471 cat >>conftest.$ac_ext <<_ACEOF
27472 /* end confdefs.h. */
27474 #undef HAVE_STDLIB_H
27476 #include <jpeglib.h>
27487 rm -f conftest.$ac_objext
27488 if { (ac_try="$ac_compile"
27489 case "(($ac_try" in
27490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27491 *) ac_try_echo
=$ac_try;;
27493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27494 (eval "$ac_compile") 2>conftest.er1
27496 grep -v '^ *+' conftest.er1
>conftest.err
27498 cat conftest.err
>&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } && {
27501 test -z "$ac_c_werror_flag" ||
27502 test ! -s conftest.err
27503 } && test -s conftest.
$ac_objext; then
27504 ac_cv_header_jpeglib_h
=yes
27506 echo "$as_me: failed program was:" >&5
27507 sed 's/^/| /' conftest.
$ac_ext >&5
27509 ac_cv_header_jpeglib_h
=no
27513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27517 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27518 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27520 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27521 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27522 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27523 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27524 echo $ECHO_N "(cached) $ECHO_C" >&6
27526 ac_check_lib_save_LIBS
=$LIBS
27527 LIBS
="-ljpeg $LIBS"
27528 cat >conftest.
$ac_ext <<_ACEOF
27531 cat confdefs.h
>>conftest.
$ac_ext
27532 cat >>conftest.
$ac_ext <<_ACEOF
27533 /* end confdefs.h. */
27535 /* Override any GCC internal prototype to avoid an error.
27536 Use char because int might match the return type of a GCC
27537 builtin and then its argument prototype would still apply. */
27541 char jpeg_read_header ();
27545 return jpeg_read_header ();
27550 rm -f conftest.
$ac_objext conftest
$ac_exeext
27551 if { (ac_try
="$ac_link"
27552 case "(($ac_try" in
27553 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27554 *) ac_try_echo=$ac_try;;
27556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27557 (eval "$ac_link") 2>conftest.er1
27559 grep -v '^ *+' conftest.er1 >conftest.err
27561 cat conftest.err >&5
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); } && {
27564 test -z "$ac_c_werror_flag" ||
27565 test ! -s conftest.err
27566 } && test -s conftest$ac_exeext &&
27567 $as_test_x conftest$ac_exeext; then
27568 ac_cv_lib_jpeg_jpeg_read_header=yes
27570 echo "$as_me: failed program was:" >&5
27571 sed 's/^/| /' conftest.$ac_ext >&5
27573 ac_cv_lib_jpeg_jpeg_read_header=no
27576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27577 conftest$ac_exeext conftest.$ac_ext
27578 LIBS=$ac_check_lib_save_LIBS
27580 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27581 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27582 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27583 JPEG_LINK=" -ljpeg"
27588 if test "x$JPEG_LINK" = "x" ; then
27589 if test "$wxUSE_LIBJPEG" = "sys" ; then
27590 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27591 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27592 { (exit 1); exit 1; }; }
27594 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27595 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27596 wxUSE_LIBJPEG=builtin
27601 if test "$wxUSE_MSW" = 1; then
27602 { echo "$as_me:$LINENO: checking for boolean" >&5
27603 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27604 if test "${ac_cv_type_boolean+set}" = set; then
27605 echo $ECHO_N "(cached) $ECHO_C" >&6
27607 cat >conftest.$ac_ext <<_ACEOF
27610 cat confdefs.h >>conftest.$ac_ext
27611 cat >>conftest.$ac_ext <<_ACEOF
27612 /* end confdefs.h. */
27613 #include <windows.h>
27615 typedef boolean ac__type_new_;
27619 if ((ac__type_new_ *) 0)
27621 if (sizeof (ac__type_new_))
27627 rm -f conftest.$ac_objext
27628 if { (ac_try="$ac_compile"
27629 case "(($ac_try" in
27630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27631 *) ac_try_echo
=$ac_try;;
27633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27634 (eval "$ac_compile") 2>conftest.er1
27636 grep -v '^ *+' conftest.er1
>conftest.err
27638 cat conftest.err
>&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); } && {
27641 test -z "$ac_c_werror_flag" ||
27642 test ! -s conftest.err
27643 } && test -s conftest.
$ac_objext; then
27644 ac_cv_type_boolean
=yes
27646 echo "$as_me: failed program was:" >&5
27647 sed 's/^/| /' conftest.
$ac_ext >&5
27649 ac_cv_type_boolean
=no
27652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27654 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27655 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27656 if test $ac_cv_type_boolean = yes; then
27658 cat >>confdefs.h
<<_ACEOF
27659 #define HAVE_BOOLEAN 1
27663 { echo "$as_me:$LINENO: checking for boolean" >&5
27664 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27665 if test "${ac_cv_type_boolean+set}" = set; then
27666 echo $ECHO_N "(cached) $ECHO_C" >&6
27668 cat >conftest.
$ac_ext <<_ACEOF
27671 cat confdefs.h
>>conftest.
$ac_ext
27672 cat >>conftest.
$ac_ext <<_ACEOF
27673 /* end confdefs.h. */
27675 #undef HAVE_BOOLEAN
27677 #include <jpeglib.h>
27680 typedef boolean ac__type_new_;
27684 if ((ac__type_new_ *) 0)
27686 if (sizeof (ac__type_new_))
27692 rm -f conftest.
$ac_objext
27693 if { (ac_try
="$ac_compile"
27694 case "(($ac_try" in
27695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27696 *) ac_try_echo=$ac_try;;
27698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27699 (eval "$ac_compile") 2>conftest.er1
27701 grep -v '^ *+' conftest.er1 >conftest.err
27703 cat conftest.err >&5
27704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705 (exit $ac_status); } && {
27706 test -z "$ac_c_werror_flag" ||
27707 test ! -s conftest.err
27708 } && test -s conftest.$ac_objext; then
27709 ac_cv_type_boolean=yes
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.$ac_ext >&5
27714 ac_cv_type_boolean=no
27717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27719 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27720 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27722 # The cast to long int works around a bug in the HP C Compiler
27723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27724 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27725 # This bug is HP SR number 8606223364.
27726 { echo "$as_me:$LINENO: checking size of boolean" >&5
27727 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27728 if test "${ac_cv_sizeof_boolean+set}" = set; then
27729 echo $ECHO_N "(cached) $ECHO_C" >&6
27731 if test "$cross_compiling" = yes; then
27732 # Depending upon the size, compute the lo and hi bounds.
27733 cat >conftest.$ac_ext <<_ACEOF
27736 cat confdefs.h >>conftest.$ac_ext
27737 cat >>conftest.$ac_ext <<_ACEOF
27738 /* end confdefs.h. */
27740 #undef HAVE_BOOLEAN
27742 #include <jpeglib.h>
27745 typedef boolean ac__type_sizeof_;
27749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27756 rm -f conftest.$ac_objext
27757 if { (ac_try="$ac_compile"
27758 case "(($ac_try" in
27759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27760 *) ac_try_echo=$ac_try;;
27762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27763 (eval "$ac_compile") 2>conftest.er1
27765 grep -v '^
*+' conftest.er1 >conftest.err
27767 cat conftest.err >&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); } && {
27770 test -z "$ac_c_werror_flag" ||
27771 test ! -s conftest.err
27772 } && test -s conftest.$ac_objext; then
27775 cat >conftest.$ac_ext <<_ACEOF
27778 cat confdefs.h >>conftest.$ac_ext
27779 cat >>conftest.$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27782 #undef HAVE_BOOLEAN
27784 #include <jpeglib.h>
27787 typedef boolean ac__type_sizeof_;
27791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27798 rm -f conftest.$ac_objext
27799 if { (ac_try="$ac_compile"
27800 case "(($ac_try" in
27801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27802 *) ac_try_echo=$ac_try;;
27804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27805 (eval "$ac_compile") 2>conftest.er1
27807 grep -v '^
*+' conftest.er1 >conftest.err
27809 cat conftest.err >&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); } && {
27812 test -z "$ac_c_werror_flag" ||
27813 test ! -s conftest.err
27814 } && test -s conftest.$ac_objext; then
27815 ac_hi=$ac_mid; break
27817 echo "$as_me: failed program was:" >&5
27818 sed 's
/^
/| /' conftest.$ac_ext >&5
27820 ac_lo=`expr $ac_mid + 1`
27821 if test $ac_lo -le $ac_mid; then
27825 ac_mid=`expr 2 '*' $ac_mid + 1`
27828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27831 echo "$as_me: failed program was:" >&5
27832 sed 's
/^
/| /' conftest.$ac_ext >&5
27834 cat >conftest.$ac_ext <<_ACEOF
27837 cat confdefs.h >>conftest.$ac_ext
27838 cat >>conftest.$ac_ext <<_ACEOF
27839 /* end confdefs.h. */
27841 #undef HAVE_BOOLEAN
27843 #include <jpeglib.h>
27846 typedef boolean ac__type_sizeof_;
27850 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27857 rm -f conftest.$ac_objext
27858 if { (ac_try="$ac_compile"
27859 case "(($ac_try" in
27860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27861 *) ac_try_echo=$ac_try;;
27863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27864 (eval "$ac_compile") 2>conftest.er1
27866 grep -v '^
*+' conftest.er1 >conftest.err
27868 cat conftest.err >&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); } && {
27871 test -z "$ac_c_werror_flag" ||
27872 test ! -s conftest.err
27873 } && test -s conftest.$ac_objext; then
27876 cat >conftest.$ac_ext <<_ACEOF
27879 cat confdefs.h >>conftest.$ac_ext
27880 cat >>conftest.$ac_ext <<_ACEOF
27881 /* end confdefs.h. */
27883 #undef HAVE_BOOLEAN
27885 #include <jpeglib.h>
27888 typedef boolean ac__type_sizeof_;
27892 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27899 rm -f conftest.$ac_objext
27900 if { (ac_try="$ac_compile"
27901 case "(($ac_try" in
27902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27903 *) ac_try_echo=$ac_try;;
27905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27906 (eval "$ac_compile") 2>conftest.er1
27908 grep -v '^
*+' conftest.er1 >conftest.err
27910 cat conftest.err >&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); } && {
27913 test -z "$ac_c_werror_flag" ||
27914 test ! -s conftest.err
27915 } && test -s conftest.$ac_objext; then
27916 ac_lo=$ac_mid; break
27918 echo "$as_me: failed program was:" >&5
27919 sed 's
/^
/| /' conftest.$ac_ext >&5
27921 ac_hi=`expr '(' $ac_mid ')' - 1`
27922 if test $ac_mid -le $ac_hi; then
27926 ac_mid=`expr 2 '*' $ac_mid`
27929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27932 echo "$as_me: failed program was:" >&5
27933 sed 's
/^
/| /' conftest.$ac_ext >&5
27938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27942 # Binary search between lo and hi bounds.
27943 while test "x$ac_lo" != "x$ac_hi"; do
27944 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27945 cat >conftest.$ac_ext <<_ACEOF
27948 cat confdefs.h >>conftest.$ac_ext
27949 cat >>conftest.$ac_ext <<_ACEOF
27950 /* end confdefs.h. */
27952 #undef HAVE_BOOLEAN
27954 #include <jpeglib.h>
27957 typedef boolean ac__type_sizeof_;
27961 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27968 rm -f conftest.$ac_objext
27969 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
27987 echo "$as_me: failed program was:" >&5
27988 sed 's
/^
/| /' conftest.$ac_ext >&5
27990 ac_lo=`expr '(' $ac_mid ')' + 1`
27993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27996 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27997 '') if test "$ac_cv_type_boolean" = yes; then
27998 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27999 See \`config.log' for more details.
" >&5
28000 echo "$as_me: error
: cannot compute sizeof
(boolean
)
28001 See \
`config.log' for more details." >&2;}
28002 { (exit 77); exit 77; }; }
28004 ac_cv_sizeof_boolean=0
28008 cat >conftest.$ac_ext <<_ACEOF
28011 cat confdefs.h >>conftest.$ac_ext
28012 cat >>conftest.$ac_ext <<_ACEOF
28013 /* end confdefs.h. */
28015 #undef HAVE_BOOLEAN
28017 #include <jpeglib.h>
28020 typedef boolean ac__type_sizeof_;
28021 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28022 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28024 #include <stdlib.h>
28029 FILE *f = fopen ("conftest.val", "w");
28032 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28034 long int i = longval ();
28035 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28037 fprintf (f, "%ld\n", i);
28041 unsigned long int i = ulongval ();
28042 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28044 fprintf (f, "%lu\n", i);
28046 return ferror (f) || fclose (f) != 0;
28052 rm -f conftest$ac_exeext
28053 if { (ac_try="$ac_link"
28054 case "(($ac_try" in
28055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28056 *) ac_try_echo
=$ac_try;;
28058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28059 (eval "$ac_link") 2>&5
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28063 { (case "(($ac_try" in
28064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28065 *) ac_try_echo=$ac_try;;
28067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28068 (eval "$ac_try") 2>&5
28070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28071 (exit $ac_status); }; }; then
28072 ac_cv_sizeof_boolean=`cat conftest.val
`
28074 echo "$as_me: program exited with status $ac_status" >&5
28075 echo "$as_me: failed program was:" >&5
28076 sed 's/^/| /' conftest.$ac_ext >&5
28078 ( exit $ac_status )
28079 if test "$ac_cv_type_boolean" = yes; then
28080 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28081 See \`config.log
' for more details." >&5
28082 echo "$as_me: error: cannot compute sizeof (boolean)
28083 See \`config.log' for more details.
" >&2;}
28084 { (exit 77); exit 77; }; }
28086 ac_cv_sizeof_boolean=0
28089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28093 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28094 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28098 cat >>confdefs.h <<_ACEOF
28099 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28103 cat >>confdefs.h <<_ACEOF
28104 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28118 TIFF_PREREQ_LINKS=-lm
28119 if test "$wxUSE_LIBTIFF" != "no
" ; then
28120 cat >>confdefs.h <<\_ACEOF
28121 #define wxUSE_LIBTIFF 1
28125 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28126 if test "$wxUSE_LIBJPEG" = "sys
"; then
28127 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28129 if test "$wxUSE_ZLIB" = "sys
"; then
28130 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28132 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28133 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28134 if test "${ac_cv_header_tiffio_h+set}" = set; then
28135 echo $ECHO_N "(cached
) $ECHO_C" >&6
28137 cat >conftest.$ac_ext <<_ACEOF
28140 cat confdefs.h >>conftest.$ac_ext
28141 cat >>conftest.$ac_ext <<_ACEOF
28142 /* end confdefs.h. */
28146 #include <tiffio.h>
28148 rm -f conftest.$ac_objext
28149 if { (ac_try="$ac_compile"
28150 case "(($ac_try" in
28151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28152 *) ac_try_echo=$ac_try;;
28154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28155 (eval "$ac_compile") 2>conftest.er1
28157 grep -v '^ *+' conftest.er1 >conftest.err
28159 cat conftest.err >&5
28160 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28161 (exit $ac_status); } && {
28162 test -z "$ac_c_werror_flag" ||
28163 test ! -s conftest.err
28164 } && test -s conftest.$ac_objext; then
28165 ac_cv_header_tiffio_h=yes
28167 echo "$as_me: failed program was
:" >&5
28168 sed 's/^/| /' conftest.$ac_ext >&5
28170 ac_cv_header_tiffio_h=no
28173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28175 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28176 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28177 if test $ac_cv_header_tiffio_h = yes; then
28179 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28180 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28181 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28182 echo $ECHO_N "(cached
) $ECHO_C" >&6
28184 ac_check_lib_save_LIBS=$LIBS
28185 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28186 cat >conftest.$ac_ext <<_ACEOF
28189 cat confdefs.h >>conftest.$ac_ext
28190 cat >>conftest.$ac_ext <<_ACEOF
28191 /* end confdefs.h. */
28193 /* Override any GCC internal prototype to avoid an error.
28194 Use char because int might match the return type of a GCC
28195 builtin and then its argument prototype would still apply. */
28203 return TIFFError ();
28208 rm -f conftest.$ac_objext conftest$ac_exeext
28209 if { (ac_try="$ac_link"
28210 case "(($ac_try" in
28211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28212 *) ac_try_echo=$ac_try;;
28214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28215 (eval "$ac_link") 2>conftest.er1
28217 grep -v '^ *+' conftest.er1 >conftest.err
28219 cat conftest.err >&5
28220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28221 (exit $ac_status); } && {
28222 test -z "$ac_c_werror_flag" ||
28223 test ! -s conftest.err
28224 } && test -s conftest$ac_exeext &&
28225 $as_test_x conftest$ac_exeext; then
28226 ac_cv_lib_tiff_TIFFError=yes
28228 echo "$as_me: failed program was
:" >&5
28229 sed 's/^/| /' conftest.$ac_ext >&5
28231 ac_cv_lib_tiff_TIFFError=no
28234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28235 conftest$ac_exeext conftest.$ac_ext
28236 LIBS=$ac_check_lib_save_LIBS
28238 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
28239 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28240 if test $ac_cv_lib_tiff_TIFFError = yes; then
28241 TIFF_LINK=" -ltiff"
28249 if test "x
$TIFF_LINK" = "x
" ; then
28250 if test "$wxUSE_LIBTIFF" = "sys
" ; then
28251 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
28252 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
28253 { (exit 1); exit 1; }; }
28255 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
28256 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
28257 wxUSE_LIBTIFF=builtin
28263 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28264 if test "$wxUSE_LIBJPEG" = "no
"; then
28265 ac_configure_args="$ac_configure_args --disable-jpeg"
28267 subdirs="$subdirs src
/tiff
"
28273 if test "$wxUSE_WCHAR_T" != "yes"; then
28274 if test "$wxUSE_EXPAT" != "no
"; then
28275 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
28276 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
28279 if test "$wxUSE_XML" != "no
"; then
28280 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
28281 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
28286 if test "$wxUSE_EXPAT" != "no
"; then
28288 cat >>confdefs.h <<\_ACEOF
28289 #define wxUSE_EXPAT 1
28292 cat >>confdefs.h <<\_ACEOF
28293 #define wxUSE_XML 1
28297 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
28298 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
28299 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
28300 if test "${ac_cv_header_expat_h+set}" = set; then
28301 echo $ECHO_N "(cached
) $ECHO_C" >&6
28303 cat >conftest.$ac_ext <<_ACEOF
28306 cat confdefs.h >>conftest.$ac_ext
28307 cat >>conftest.$ac_ext <<_ACEOF
28308 /* end confdefs.h. */
28313 rm -f conftest.$ac_objext
28314 if { (ac_try="$ac_compile"
28315 case "(($ac_try" in
28316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28317 *) ac_try_echo=$ac_try;;
28319 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28320 (eval "$ac_compile") 2>conftest.er1
28322 grep -v '^ *+' conftest.er1 >conftest.err
28324 cat conftest.err >&5
28325 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28326 (exit $ac_status); } && {
28327 test -z "$ac_c_werror_flag" ||
28328 test ! -s conftest.err
28329 } && test -s conftest.$ac_objext; then
28330 ac_cv_header_expat_h=yes
28332 echo "$as_me: failed program was
:" >&5
28333 sed 's/^/| /' conftest.$ac_ext >&5
28335 ac_cv_header_expat_h=no
28338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28340 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
28341 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28342 if test $ac_cv_header_expat_h = yes; then
28347 if test "x
$found_expat_h" = "x1
"; then
28348 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28349 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28350 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28351 echo $ECHO_N "(cached
) $ECHO_C" >&6
28355 ac_cpp='$CXXCPP $CPPFLAGS'
28356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28360 cat >conftest.$ac_ext <<_ACEOF
28363 cat confdefs.h >>conftest.$ac_ext
28364 cat >>conftest.$ac_ext <<_ACEOF
28365 /* end confdefs.h. */
28375 rm -f conftest.$ac_objext
28376 if { (ac_try="$ac_compile"
28377 case "(($ac_try" in
28378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28379 *) ac_try_echo=$ac_try;;
28381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28382 (eval "$ac_compile") 2>conftest.er1
28384 grep -v '^ *+' conftest.er1 >conftest.err
28386 cat conftest.err >&5
28387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28388 (exit $ac_status); } && {
28389 test -z "$ac_cxx_werror_flag" ||
28390 test ! -s conftest.err
28391 } && test -s conftest.$ac_objext; then
28392 wx_cv_expat_is_not_broken=yes
28394 echo "$as_me: failed program was
:" >&5
28395 sed 's/^/| /' conftest.$ac_ext >&5
28397 wx_cv_expat_is_not_broken=no
28401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28403 ac_cpp='$CPP $CPPFLAGS'
28404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28411 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28412 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28413 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28414 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28415 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28416 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28417 echo $ECHO_N "(cached
) $ECHO_C" >&6
28419 ac_check_lib_save_LIBS=$LIBS
28420 LIBS="-lexpat $LIBS"
28421 cat >conftest.$ac_ext <<_ACEOF
28424 cat confdefs.h >>conftest.$ac_ext
28425 cat >>conftest.$ac_ext <<_ACEOF
28426 /* end confdefs.h. */
28428 /* Override any GCC internal prototype to avoid an error.
28429 Use char because int might match the return type of a GCC
28430 builtin and then its argument prototype would still apply. */
28434 char XML_ParserCreate ();
28438 return XML_ParserCreate ();
28443 rm -f conftest.$ac_objext conftest$ac_exeext
28444 if { (ac_try="$ac_link"
28445 case "(($ac_try" in
28446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28447 *) ac_try_echo=$ac_try;;
28449 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28450 (eval "$ac_link") 2>conftest.er1
28452 grep -v '^ *+' conftest.er1 >conftest.err
28454 cat conftest.err >&5
28455 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28456 (exit $ac_status); } && {
28457 test -z "$ac_c_werror_flag" ||
28458 test ! -s conftest.err
28459 } && test -s conftest$ac_exeext &&
28460 $as_test_x conftest$ac_exeext; then
28461 ac_cv_lib_expat_XML_ParserCreate=yes
28463 echo "$as_me: failed program was
:" >&5
28464 sed 's/^/| /' conftest.$ac_ext >&5
28466 ac_cv_lib_expat_XML_ParserCreate=no
28469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28470 conftest$ac_exeext conftest.$ac_ext
28471 LIBS=$ac_check_lib_save_LIBS
28473 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28474 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28475 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28476 EXPAT_LINK=" -lexpat"
28481 if test "x
$EXPAT_LINK" = "x
" ; then
28482 if test "$wxUSE_EXPAT" = "sys
" ; then
28483 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
28484 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
28485 { (exit 1); exit 1; }; }
28487 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
28488 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
28489 wxUSE_EXPAT=builtin
28495 if test "$wxUSE_EXPAT" = "builtin" ; then
28496 subdirs="$subdirs src
/expat
"
28503 if test "$wxUSE_LIBMSPACK" != "no
"; then
28504 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28505 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28506 if test "${ac_cv_header_mspack_h+set}" = set; then
28507 echo $ECHO_N "(cached
) $ECHO_C" >&6
28509 cat >conftest.$ac_ext <<_ACEOF
28512 cat confdefs.h >>conftest.$ac_ext
28513 cat >>conftest.$ac_ext <<_ACEOF
28514 /* end confdefs.h. */
28517 #include <mspack.h>
28519 rm -f conftest.$ac_objext
28520 if { (ac_try="$ac_compile"
28521 case "(($ac_try" in
28522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28523 *) ac_try_echo=$ac_try;;
28525 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28526 (eval "$ac_compile") 2>conftest.er1
28528 grep -v '^ *+' conftest.er1 >conftest.err
28530 cat conftest.err >&5
28531 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28532 (exit $ac_status); } && {
28533 test -z "$ac_c_werror_flag" ||
28534 test ! -s conftest.err
28535 } && test -s conftest.$ac_objext; then
28536 ac_cv_header_mspack_h=yes
28538 echo "$as_me: failed program was
:" >&5
28539 sed 's/^/| /' conftest.$ac_ext >&5
28541 ac_cv_header_mspack_h=no
28544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28546 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28547 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28548 if test $ac_cv_header_mspack_h = yes; then
28553 if test "x
$found_mspack_h" = "x1
"; then
28554 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28555 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28556 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28557 echo $ECHO_N "(cached
) $ECHO_C" >&6
28559 ac_check_lib_save_LIBS=$LIBS
28560 LIBS="-lmspack $LIBS"
28561 cat >conftest.$ac_ext <<_ACEOF
28564 cat confdefs.h >>conftest.$ac_ext
28565 cat >>conftest.$ac_ext <<_ACEOF
28566 /* end confdefs.h. */
28568 /* Override any GCC internal prototype to avoid an error.
28569 Use char because int might match the return type of a GCC
28570 builtin and then its argument prototype would still apply. */
28574 char mspack_create_chm_decompressor ();
28578 return mspack_create_chm_decompressor ();
28583 rm -f conftest.$ac_objext conftest$ac_exeext
28584 if { (ac_try="$ac_link"
28585 case "(($ac_try" in
28586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28587 *) ac_try_echo=$ac_try;;
28589 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28590 (eval "$ac_link") 2>conftest.er1
28592 grep -v '^ *+' conftest.er1 >conftest.err
28594 cat conftest.err >&5
28595 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28596 (exit $ac_status); } && {
28597 test -z "$ac_c_werror_flag" ||
28598 test ! -s conftest.err
28599 } && test -s conftest$ac_exeext &&
28600 $as_test_x conftest$ac_exeext; then
28601 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28603 echo "$as_me: failed program was
:" >&5
28604 sed 's/^/| /' conftest.$ac_ext >&5
28606 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28610 conftest$ac_exeext conftest.$ac_ext
28611 LIBS=$ac_check_lib_save_LIBS
28613 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28614 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28615 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28616 MSPACK_LINK=" -lmspack"
28620 if test "x
$MSPACK_LINK" = "x
" ; then
28625 if test "$wxUSE_LIBMSPACK" != "no
"; then
28626 cat >>confdefs.h <<\_ACEOF
28627 #define wxUSE_LIBMSPACK 1
28641 if test "$USE_WIN32" = 1 ; then
28643 for ac_header in w32api.h
28645 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28646 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28647 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28648 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28649 echo $ECHO_N "(cached
) $ECHO_C" >&6
28651 cat >conftest.$ac_ext <<_ACEOF
28654 cat confdefs.h >>conftest.$ac_ext
28655 cat >>conftest.$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28659 #include <$ac_header>
28661 rm -f conftest.$ac_objext
28662 if { (ac_try="$ac_compile"
28663 case "(($ac_try" in
28664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28665 *) ac_try_echo=$ac_try;;
28667 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28668 (eval "$ac_compile") 2>conftest.er1
28670 grep -v '^ *+' conftest.er1 >conftest.err
28672 cat conftest.err >&5
28673 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28674 (exit $ac_status); } && {
28675 test -z "$ac_c_werror_flag" ||
28676 test ! -s conftest.err
28677 } && test -s conftest.$ac_objext; then
28678 eval "$as_ac_Header=yes"
28680 echo "$as_me: failed program was
:" >&5
28681 sed 's/^/| /' conftest.$ac_ext >&5
28683 eval "$as_ac_Header=no
"
28686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28688 ac_res=`eval echo '${'$as_ac_Header'}'`
28689 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28690 echo "${ECHO_T}$ac_res" >&6; }
28691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28692 cat >>confdefs.h <<_ACEOF
28693 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28700 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28701 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28702 if test "${ac_cv_header_windows_h+set}" = set; then
28703 echo $ECHO_N "(cached
) $ECHO_C" >&6
28705 cat >conftest.$ac_ext <<_ACEOF
28708 cat confdefs.h >>conftest.$ac_ext
28709 cat >>conftest.$ac_ext <<_ACEOF
28710 /* end confdefs.h. */
28713 #include <windows.h>
28715 rm -f conftest.$ac_objext
28716 if { (ac_try="$ac_compile"
28717 case "(($ac_try" in
28718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28719 *) ac_try_echo=$ac_try;;
28721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28722 (eval "$ac_compile") 2>conftest.er1
28724 grep -v '^ *+' conftest.er1 >conftest.err
28726 cat conftest.err >&5
28727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28728 (exit $ac_status); } && {
28729 test -z "$ac_c_werror_flag" ||
28730 test ! -s conftest.err
28731 } && test -s conftest.$ac_objext; then
28732 ac_cv_header_windows_h=yes
28734 echo "$as_me: failed program was
:" >&5
28735 sed 's/^/| /' conftest.$ac_ext >&5
28737 ac_cv_header_windows_h=no
28740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28742 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28743 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28744 if test $ac_cv_header_windows_h = yes; then
28748 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28749 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28750 { (exit 1); exit 1; }; }
28757 x86_64-*-mingw32* )
28758 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28760 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
28763 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28766 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28767 LIBS="$LIBS -loleacc"
28772 LIBS="$LIBS -lkernel32 -luser32"
28775 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28776 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28778 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28780 WIN32INSTALL=win32install
28782 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28783 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28784 if test "${ac_cv_header_pbt_h+set}" = set; then
28785 echo $ECHO_N "(cached
) $ECHO_C" >&6
28787 cat >conftest.$ac_ext <<_ACEOF
28790 cat confdefs.h >>conftest.$ac_ext
28791 cat >>conftest.$ac_ext <<_ACEOF
28792 /* end confdefs.h. */
28797 rm -f conftest.$ac_objext
28798 if { (ac_try="$ac_compile"
28799 case "(($ac_try" in
28800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28801 *) ac_try_echo=$ac_try;;
28803 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28804 (eval "$ac_compile") 2>conftest.er1
28806 grep -v '^ *+' conftest.er1 >conftest.err
28808 cat conftest.err >&5
28809 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28810 (exit $ac_status); } && {
28811 test -z "$ac_c_werror_flag" ||
28812 test ! -s conftest.err
28813 } && test -s conftest.$ac_objext; then
28814 ac_cv_header_pbt_h=yes
28816 echo "$as_me: failed program was
:" >&5
28817 sed 's/^/| /' conftest.$ac_ext >&5
28819 ac_cv_header_pbt_h=no
28822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28824 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28825 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28826 if test $ac_cv_header_pbt_h = yes; then
28829 cat >>confdefs.h <<\_ACEOF
28830 #define NEED_PBT_H 1
28838 if test "$wxUSE_GUI" = "yes"; then
28848 if test "$wxUSE_OLD_COCOA" = 1 ; then
28849 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28850 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28851 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28852 wxUSE_PRINTING_ARCHITECTURE=no
28854 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28855 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28856 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28857 wxUSE_DRAG_AND_DROP=no
28859 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28860 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28861 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28866 if test "$wxUSE_MSW" = 1 ; then
28872 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28876 if test "$wxUSE_GTK" = 1; then
28877 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28878 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28880 gtk_version_cached=1
28881 if test "${wx_cv_lib_gtk+set}" = set; then
28882 echo $ECHO_N "(cached
) $ECHO_C" >&6
28885 gtk_version_cached=0
28886 { echo "$as_me:$LINENO: result
: " >&5
28887 echo "${ECHO_T}" >&6; }
28890 if test "$wxUSE_THREADS" = "yes"; then
28891 GTK_MODULES=gthread
28895 if test "x
$wxGTK_VERSION" != "x1
"
28899 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28904 # Check whether --enable-gtktest was given.
28905 if test "${enable_gtktest+set}" = set; then
28906 enableval=$enable_gtktest;
28912 pkg_config_args=gtk+-2.0
28913 for module in . $GTK_MODULES
28917 pkg_config_args="$pkg_config_args gthread
-2.0
"
28924 # Extract the first word of "pkg
-config", so it can be a program name with args.
28925 set dummy pkg-config; ac_word=$2
28926 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28927 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28928 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28929 echo $ECHO_N "(cached
) $ECHO_C" >&6
28931 case $PKG_CONFIG in
28933 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28937 for as_dir in $PATH
28940 test -z "$as_dir" && as_dir=.
28941 for ac_exec_ext in '' $ac_executable_extensions; do
28942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28943 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28944 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28951 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28955 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28956 if test -n "$PKG_CONFIG"; then
28957 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28958 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28960 { echo "$as_me:$LINENO: result
: no
" >&5
28961 echo "${ECHO_T}no
" >&6; }
28966 if test x$PKG_CONFIG != xno ; then
28967 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28970 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28978 min_gtk_version=2.4.0
28979 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28980 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28982 if test x$PKG_CONFIG != xno ; then
28983 ## don't try to run the test against uninstalled libtool libs
28984 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28985 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28989 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28996 if test x"$no_gtk" = x ; then
28997 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28998 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28999 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29000 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29001 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29002 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29003 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29004 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29005 if test "x
$enable_gtktest" = "xyes
" ; then
29006 ac_save_CFLAGS="$CFLAGS"
29007 ac_save_LIBS="$LIBS"
29008 CFLAGS="$CFLAGS $GTK_CFLAGS"
29009 LIBS="$GTK_LIBS $LIBS"
29011 if test "$cross_compiling" = yes; then
29012 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29014 cat >conftest.$ac_ext <<_ACEOF
29017 cat confdefs.h >>conftest.$ac_ext
29018 cat >>conftest.$ac_ext <<_ACEOF
29019 /* end confdefs.h. */
29021 #include <gtk/gtk.h>
29023 #include <stdlib.h>
29028 int major, minor, micro;
29031 system ("touch conf.gtktest
");
29033 /* HP/UX 9 (%@#!) writes to sscanf strings */
29034 tmp_version = g_strdup("$min_gtk_version");
29035 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29036 printf("%s
, bad version string
\n", "$min_gtk_version");
29040 if ((gtk_major_version != $gtk_config_major_version) ||
29041 (gtk_minor_version != $gtk_config_minor_version) ||
29042 (gtk_micro_version != $gtk_config_micro_version))
29044 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29045 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29046 gtk_major_version, gtk_minor_version, gtk_micro_version);
29047 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29048 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29049 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29050 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29051 printf("*** required on your system.
\n");
29052 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29053 printf("*** to point to the correct configuration files
\n");
29055 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29056 (gtk_minor_version != GTK_MINOR_VERSION) ||
29057 (gtk_micro_version != GTK_MICRO_VERSION))
29059 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29060 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29061 printf("*** library
(version
%d.
%d.
%d
)\n",
29062 gtk_major_version, gtk_minor_version, gtk_micro_version);
29066 if ((gtk_major_version > major) ||
29067 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29068 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29074 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29075 gtk_major_version, gtk_minor_version, gtk_micro_version);
29076 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29077 major, minor, micro);
29078 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29080 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29081 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29082 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29083 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29084 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29085 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29086 printf("*** so that the correct libraries are found
at run
-time))\n");
29093 rm -f conftest$ac_exeext
29094 if { (ac_try="$ac_link"
29095 case "(($ac_try" in
29096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29097 *) ac_try_echo=$ac_try;;
29099 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29100 (eval "$ac_link") 2>&5
29102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29104 { (case "(($ac_try" in
29105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29106 *) ac_try_echo=$ac_try;;
29108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29109 (eval "$ac_try") 2>&5
29111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29112 (exit $ac_status); }; }; then
29115 echo "$as_me: program exited with status
$ac_status" >&5
29116 echo "$as_me: failed program was
:" >&5
29117 sed 's/^/| /' conftest.$ac_ext >&5
29119 ( exit $ac_status )
29122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29126 CFLAGS="$ac_save_CFLAGS"
29127 LIBS="$ac_save_LIBS"
29130 if test "x
$no_gtk" = x ; then
29131 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29132 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29135 { echo "$as_me:$LINENO: result
: no
" >&5
29136 echo "${ECHO_T}no
" >&6; }
29137 if test "$PKG_CONFIG" = "no
" ; then
29138 echo "*** A new enough version of pkg
-config was not found.
"
29139 echo "*** See http
://pkgconfig.sourceforge.net
"
29141 if test -f conf.gtktest ; then
29144 echo "*** Could not run GTK
+ test program
, checking why...
"
29145 ac_save_CFLAGS="$CFLAGS"
29146 ac_save_LIBS="$LIBS"
29147 CFLAGS="$CFLAGS $GTK_CFLAGS"
29148 LIBS="$LIBS $GTK_LIBS"
29149 cat >conftest.$ac_ext <<_ACEOF
29152 cat confdefs.h >>conftest.$ac_ext
29153 cat >>conftest.$ac_ext <<_ACEOF
29154 /* end confdefs.h. */
29156 #include <gtk/gtk.h>
29162 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29167 rm -f conftest.$ac_objext conftest$ac_exeext
29168 if { (ac_try="$ac_link"
29169 case "(($ac_try" in
29170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29171 *) ac_try_echo=$ac_try;;
29173 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29174 (eval "$ac_link") 2>conftest.er1
29176 grep -v '^ *+' conftest.er1 >conftest.err
29178 cat conftest.err >&5
29179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29180 (exit $ac_status); } && {
29181 test -z "$ac_c_werror_flag" ||
29182 test ! -s conftest.err
29183 } && test -s conftest$ac_exeext &&
29184 $as_test_x conftest$ac_exeext; then
29185 echo "*** The
test program compiled
, but did not run. This usually means
"
29186 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29187 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29188 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29189 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29190 echo "*** is required on your system"
29192 echo "*** If you have an old version installed, it is best to remove it, although"
29193 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29195 echo "$as_me: failed program was:" >&5
29196 sed 's
/^
/| /' conftest.$ac_ext >&5
29198 echo "*** The test program failed to compile or link. See the file config.log for the"
29199 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29203 conftest$ac_exeext conftest.$ac_ext
29204 CFLAGS="$ac_save_CFLAGS"
29205 LIBS="$ac_save_LIBS"
29219 if test "$wxUSE_SHARED" != "yes"; then
29220 GTK_LIBS="$GTK_LIBS -lX11"
29225 if test -z "$wx_cv_lib_gtk"; then
29226 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29228 # Check whether --with-gtk-prefix was given.
29229 if test "${with_gtk_prefix+set}" = set; then
29230 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29232 gtk_config_prefix=""
29236 # Check whether --with-gtk-exec-prefix was given.
29237 if test "${with_gtk_exec_prefix+set}" = set; then
29238 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29240 gtk_config_exec_prefix=""
29243 # Check whether --enable-gtktest was given.
29244 if test "${enable_gtktest+set}" = set; then
29245 enableval=$enable_gtktest;
29251 for module in . $GTK_MODULES
29255 gtk_config_args="$gtk_config_args gthread"
29260 if test x$gtk_config_exec_prefix != x ; then
29261 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29262 if test x${GTK_CONFIG+set} != xset ; then
29263 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29266 if test x$gtk_config_prefix != x ; then
29267 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29268 if test x${GTK_CONFIG+set} != xset ; then
29269 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29273 # Extract the first word of "gtk-config", so it can be a program name with args.
29274 set dummy gtk-config; ac_word=$2
29275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29277 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29278 echo $ECHO_N "(cached) $ECHO_C" >&6
29280 case $GTK_CONFIG in
29282 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29286 for as_dir in $PATH
29289 test -z "$as_dir" && as_dir=.
29290 for ac_exec_ext in '' $ac_executable_extensions; do
29291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29292 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29300 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29304 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29305 if test -n "$GTK_CONFIG"; then
29306 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29307 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29309 { echo "$as_me:$LINENO: result: no" >&5
29310 echo "${ECHO_T}no" >&6; }
29314 min_gtk_version=1.2.7
29315 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29316 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29318 if test "$GTK_CONFIG" = "no" ; then
29321 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29322 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29323 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29324 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
29325 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29326 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
29327 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29328 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
29329 if test "x$enable_gtktest" = "xyes" ; then
29330 ac_save_CFLAGS="$CFLAGS"
29331 ac_save_LIBS="$LIBS"
29332 CFLAGS="$CFLAGS $GTK_CFLAGS"
29333 LIBS="$GTK_LIBS $LIBS"
29335 if test "$cross_compiling" = yes; then
29336 echo $ac_n "cross compiling; assumed OK... $ac_c"
29338 cat >conftest.$ac_ext <<_ACEOF
29341 cat confdefs.h >>conftest.$ac_ext
29342 cat >>conftest.$ac_ext <<_ACEOF
29343 /* end confdefs.h. */
29345 #include <gtk/gtk.h>
29347 #include <stdlib.h>
29352 int major, minor, micro;
29355 system ("touch conf.gtktest");
29357 /* HP/UX 9 (%@#!) writes to sscanf strings */
29358 tmp_version = g_strdup("$min_gtk_version");
29359 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29360 printf("%s, bad version string\n", "$min_gtk_version");
29364 if ((gtk_major_version != $gtk_config_major_version) ||
29365 (gtk_minor_version != $gtk_config_minor_version) ||
29366 (gtk_micro_version != $gtk_config_micro_version))
29368 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29369 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29370 gtk_major_version, gtk_minor_version, gtk_micro_version);
29371 printf ("*** was found! If gtk-config was correct, then it is best\n");
29372 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29373 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29374 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29375 printf("*** required on your system.\n");
29376 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29377 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29378 printf("*** before re-running configure\n");
29380 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29381 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29382 (gtk_minor_version != GTK_MINOR_VERSION) ||
29383 (gtk_micro_version != GTK_MICRO_VERSION))
29385 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29386 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29387 printf("*** library (version %d.%d.%d)\n",
29388 gtk_major_version, gtk_minor_version, gtk_micro_version);
29390 #endif /* defined (GTK_MAJOR_VERSION) ... */
29393 if ((gtk_major_version > major) ||
29394 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29395 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29401 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29402 gtk_major_version, gtk_minor_version, gtk_micro_version);
29403 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29404 major, minor, micro);
29405 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29407 printf("*** If you have already installed a sufficiently new version, this error\n");
29408 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29409 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29410 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29411 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29412 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29413 printf("*** so that the correct libraries are found at run-time))\n");
29420 rm -f conftest$ac_exeext
29421 if { (ac_try="$ac_link"
29422 case "(($ac_try" in
29423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29424 *) ac_try_echo=$ac_try;;
29426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29427 (eval "$ac_link") 2>&5
29429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29430 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29431 { (case "(($ac_try" in
29432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29433 *) ac_try_echo=$ac_try;;
29435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29436 (eval "$ac_try") 2>&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); }; }; then
29442 echo "$as_me: program exited with status $ac_status" >&5
29443 echo "$as_me: failed program was:" >&5
29444 sed 's
/^
/| /' conftest.$ac_ext >&5
29446 ( exit $ac_status )
29449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29453 CFLAGS="$ac_save_CFLAGS"
29454 LIBS="$ac_save_LIBS"
29457 if test "x$no_gtk" = x ; then
29458 { echo "$as_me:$LINENO: result: yes" >&5
29459 echo "${ECHO_T}yes" >&6; }
29460 wx_cv_lib_gtk=1.2.7
29462 { echo "$as_me:$LINENO: result: no" >&5
29463 echo "${ECHO_T}no" >&6; }
29464 if test "$GTK_CONFIG" = "no" ; then
29465 echo "*** The gtk-config script installed by GTK could not be found"
29466 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29467 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29468 echo "*** full path to gtk-config."
29470 if test -f conf.gtktest ; then
29473 echo "*** Could not run GTK test program, checking why..."
29474 CFLAGS="$CFLAGS $GTK_CFLAGS"
29475 LIBS="$LIBS $GTK_LIBS"
29476 cat >conftest.$ac_ext <<_ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29483 #include <gtk/gtk.h>
29489 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29494 rm -f conftest.$ac_objext conftest$ac_exeext
29495 if { (ac_try="$ac_link"
29496 case "(($ac_try" in
29497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29498 *) ac_try_echo=$ac_try;;
29500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29501 (eval "$ac_link") 2>conftest.er1
29503 grep -v '^
*+' conftest.er1 >conftest.err
29505 cat conftest.err >&5
29506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 (exit $ac_status); } && {
29508 test -z "$ac_c_werror_flag" ||
29509 test ! -s conftest.err
29510 } && test -s conftest$ac_exeext &&
29511 $as_test_x conftest$ac_exeext; then
29512 echo "*** The test program compiled, but did not run. This usually means"
29513 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29514 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29515 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29516 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29517 echo "*** is required on your system
"
29519 echo "*** If you have an old version installed
, it is best to remove it
, although
"
29520 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
29522 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
29523 echo "*** came with the system with the
command"
29525 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29527 echo "$as_me: failed program was
:" >&5
29528 sed 's/^/| /' conftest.$ac_ext >&5
29530 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29531 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29532 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29533 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29537 conftest$ac_exeext conftest.$ac_ext
29538 CFLAGS="$ac_save_CFLAGS"
29539 LIBS="$ac_save_LIBS"
29551 if test -z "$wx_cv_lib_gtk"; then
29553 # Check whether --with-gtk-prefix was given.
29554 if test "${with_gtk_prefix+set}" = set; then
29555 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29557 gtk_config_prefix=""
29561 # Check whether --with-gtk-exec-prefix was given.
29562 if test "${with_gtk_exec_prefix+set}" = set; then
29563 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29565 gtk_config_exec_prefix=""
29568 # Check whether --enable-gtktest was given.
29569 if test "${enable_gtktest+set}" = set; then
29570 enableval=$enable_gtktest;
29576 for module in . $GTK_MODULES
29580 gtk_config_args="$gtk_config_args gthread
"
29585 if test x$gtk_config_exec_prefix != x ; then
29586 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29587 if test x${GTK_CONFIG+set} != xset ; then
29588 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29591 if test x$gtk_config_prefix != x ; then
29592 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29593 if test x${GTK_CONFIG+set} != xset ; then
29594 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29598 # Extract the first word of "gtk
-config", so it can be a program name with args.
29599 set dummy gtk-config; ac_word=$2
29600 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29601 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29602 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29603 echo $ECHO_N "(cached
) $ECHO_C" >&6
29605 case $GTK_CONFIG in
29607 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29611 for as_dir in $PATH
29614 test -z "$as_dir" && as_dir=.
29615 for ac_exec_ext in '' $ac_executable_extensions; do
29616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29617 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29618 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29625 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29629 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29630 if test -n "$GTK_CONFIG"; then
29631 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29632 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29634 { echo "$as_me:$LINENO: result
: no
" >&5
29635 echo "${ECHO_T}no
" >&6; }
29639 min_gtk_version=1.2.3
29640 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29641 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29643 if test "$GTK_CONFIG" = "no
" ; then
29646 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29647 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29648 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29649 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29650 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29651 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29652 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29653 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29654 if test "x
$enable_gtktest" = "xyes
" ; then
29655 ac_save_CFLAGS="$CFLAGS"
29656 ac_save_LIBS="$LIBS"
29657 CFLAGS="$CFLAGS $GTK_CFLAGS"
29658 LIBS="$GTK_LIBS $LIBS"
29660 if test "$cross_compiling" = yes; then
29661 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29663 cat >conftest.$ac_ext <<_ACEOF
29666 cat confdefs.h >>conftest.$ac_ext
29667 cat >>conftest.$ac_ext <<_ACEOF
29668 /* end confdefs.h. */
29670 #include <gtk/gtk.h>
29672 #include <stdlib.h>
29677 int major, minor, micro;
29680 system ("touch conf.gtktest
");
29682 /* HP/UX 9 (%@#!) writes to sscanf strings */
29683 tmp_version = g_strdup("$min_gtk_version");
29684 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29685 printf("%s
, bad version string
\n", "$min_gtk_version");
29689 if ((gtk_major_version != $gtk_config_major_version) ||
29690 (gtk_minor_version != $gtk_config_minor_version) ||
29691 (gtk_micro_version != $gtk_config_micro_version))
29693 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29694 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29695 gtk_major_version, gtk_minor_version, gtk_micro_version);
29696 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29697 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29698 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29699 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29700 printf("*** required on your system.
\n");
29701 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29702 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29703 printf("*** before re
-running configure
\n");
29705 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29706 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29707 (gtk_minor_version != GTK_MINOR_VERSION) ||
29708 (gtk_micro_version != GTK_MICRO_VERSION))
29710 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29711 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29712 printf("*** library
(version
%d.
%d.
%d
)\n",
29713 gtk_major_version, gtk_minor_version, gtk_micro_version);
29715 #endif /* defined (GTK_MAJOR_VERSION) ... */
29718 if ((gtk_major_version > major) ||
29719 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29720 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29726 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29727 gtk_major_version, gtk_minor_version, gtk_micro_version);
29728 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29729 major, minor, micro);
29730 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29732 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29733 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29734 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29735 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29736 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29737 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29738 printf("*** so that the correct libraries are found
at run
-time))\n");
29745 rm -f conftest$ac_exeext
29746 if { (ac_try="$ac_link"
29747 case "(($ac_try" in
29748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29749 *) ac_try_echo=$ac_try;;
29751 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29752 (eval "$ac_link") 2>&5
29754 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29755 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29756 { (case "(($ac_try" in
29757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29758 *) ac_try_echo=$ac_try;;
29760 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29761 (eval "$ac_try") 2>&5
29763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29764 (exit $ac_status); }; }; then
29767 echo "$as_me: program exited with status
$ac_status" >&5
29768 echo "$as_me: failed program was
:" >&5
29769 sed 's/^/| /' conftest.$ac_ext >&5
29771 ( exit $ac_status )
29774 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29778 CFLAGS="$ac_save_CFLAGS"
29779 LIBS="$ac_save_LIBS"
29782 if test "x
$no_gtk" = x ; then
29783 { echo "$as_me:$LINENO: result
: yes" >&5
29784 echo "${ECHO_T}yes" >&6; }
29785 wx_cv_lib_gtk=1.2.3
29787 { echo "$as_me:$LINENO: result
: no
" >&5
29788 echo "${ECHO_T}no
" >&6; }
29789 if test "$GTK_CONFIG" = "no
" ; then
29790 echo "*** The gtk
-config script installed by GTK could not be found
"
29791 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29792 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29793 echo "*** full path to gtk
-config.
"
29795 if test -f conf.gtktest ; then
29798 echo "*** Could not run GTK
test program
, checking why...
"
29799 CFLAGS="$CFLAGS $GTK_CFLAGS"
29800 LIBS="$LIBS $GTK_LIBS"
29801 cat >conftest.$ac_ext <<_ACEOF
29804 cat confdefs.h >>conftest.$ac_ext
29805 cat >>conftest.$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29808 #include <gtk/gtk.h>
29814 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29819 rm -f conftest.$ac_objext conftest$ac_exeext
29820 if { (ac_try="$ac_link"
29821 case "(($ac_try" in
29822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29823 *) ac_try_echo=$ac_try;;
29825 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29826 (eval "$ac_link") 2>conftest.er1
29828 grep -v '^ *+' conftest.er1 >conftest.err
29830 cat conftest.err >&5
29831 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29832 (exit $ac_status); } && {
29833 test -z "$ac_c_werror_flag" ||
29834 test ! -s conftest.err
29835 } && test -s conftest$ac_exeext &&
29836 $as_test_x conftest$ac_exeext; then
29837 echo "*** The
test program compiled
, but did not run. This usually means
"
29838 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29839 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29840 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29841 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29842 echo "*** is required on your system"
29844 echo "*** If you have an old version installed, it is best to remove it, although"
29845 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29847 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29848 echo "*** came with the system with the command"
29850 echo "*** rpm --erase --nodeps gtk gtk-devel"
29852 echo "$as_me: failed program was:" >&5
29853 sed 's
/^
/| /' conftest.$ac_ext >&5
29855 echo "*** The test program failed to compile or link. See the file config.log for the"
29856 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29857 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29858 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29862 conftest$ac_exeext conftest.$ac_ext
29863 CFLAGS="$ac_save_CFLAGS"
29864 LIBS="$ac_save_LIBS"
29879 if test -z "$wx_cv_lib_gtk"; then
29882 wx_cv_cflags_gtk=$GTK_CFLAGS
29883 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29890 if test "$gtk_version_cached" = 1; then
29891 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29892 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29895 case "$wx_cv_lib_gtk" in
29904 *) { { echo "$as_me:$LINENO: error:
29905 The development files for GTK+ were not found. For GTK+ 2, please
29906 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29907 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29908 and that the version is 1.2.3 or above. Also check that the
29909 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29910 --libs' are in the LD_LIBRARY_PATH or equivalent.
29912 echo "$as_me: error:
29913 The development files for GTK+ were not found. For GTK+ 2, please
29914 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29915 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29916 and that the version is 1.2.3 or above. Also check that the
29917 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29918 --libs' are in the LD_LIBRARY_PATH or equivalent.
29920 { (exit 1); exit 1; }; }
29924 if test "$WXGTK2" = 1; then
29925 save_CFLAGS="$CFLAGS"
29927 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29928 LIBS="$LIBS $wx_cv_libs_gtk"
29930 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29931 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29932 cat >conftest.$ac_ext <<_ACEOF
29935 cat confdefs.h >>conftest.$ac_ext
29936 cat >>conftest.$ac_ext <<_ACEOF
29937 /* end confdefs.h. */
29939 #include <gtk/gtk.h>
29945 #if !GTK_CHECK_VERSION(2,18,0)
29953 rm -f conftest.$ac_objext
29954 if { (ac_try="$ac_compile"
29955 case "(($ac_try" in
29956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29957 *) ac_try_echo=$ac_try;;
29959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29960 (eval "$ac_compile") 2>conftest.er1
29962 grep -v '^
*+' conftest.er1 >conftest.err
29964 cat conftest.err >&5
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); } && {
29967 test -z "$ac_c_werror_flag" ||
29968 test ! -s conftest.err
29969 } && test -s conftest.$ac_objext; then
29971 cat >>confdefs.h <<\_ACEOF
29972 #define __WXGTK218__ 1
29975 cat >>confdefs.h <<\_ACEOF
29976 #define __WXGTK210__ 1
29979 cat >>confdefs.h <<\_ACEOF
29980 #define __WXGTK26__ 1
29983 { echo "$as_me:$LINENO: result: yes" >&5
29984 echo "${ECHO_T}yes" >&6; }
29988 echo "$as_me: failed program was:" >&5
29989 sed 's
/^
/| /' conftest.$ac_ext >&5
29992 { echo "$as_me:$LINENO: result: no" >&5
29993 echo "${ECHO_T}no" >&6; }
29998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30000 if test "$ac_wxgtk218" = 0; then
30001 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30002 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30003 cat >conftest.$ac_ext <<_ACEOF
30006 cat confdefs.h >>conftest.$ac_ext
30007 cat >>conftest.$ac_ext <<_ACEOF
30008 /* end confdefs.h. */
30010 #include <gtk/gtk.h>
30016 #if !GTK_CHECK_VERSION(2,10,0)
30024 rm -f conftest.$ac_objext
30025 if { (ac_try="$ac_compile"
30026 case "(($ac_try" in
30027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30028 *) ac_try_echo=$ac_try;;
30030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30031 (eval "$ac_compile") 2>conftest.er1
30033 grep -v '^
*+' conftest.er1 >conftest.err
30035 cat conftest.err >&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); } && {
30038 test -z "$ac_c_werror_flag" ||
30039 test ! -s conftest.err
30040 } && test -s conftest.$ac_objext; then
30042 cat >>confdefs.h <<\_ACEOF
30043 #define __WXGTK210__ 1
30046 cat >>confdefs.h <<\_ACEOF
30047 #define __WXGTK26__ 1
30050 { echo "$as_me:$LINENO: result: yes" >&5
30051 echo "${ECHO_T}yes" >&6; }
30055 echo "$as_me: failed program was:" >&5
30056 sed 's
/^
/| /' conftest.$ac_ext >&5
30059 { echo "$as_me:$LINENO: result: no" >&5
30060 echo "${ECHO_T}no" >&6; }
30065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30067 if test "$ac_wxgtk210" = 0; then
30068 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30069 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30070 cat >conftest.$ac_ext <<_ACEOF
30073 cat confdefs.h >>conftest.$ac_ext
30074 cat >>conftest.$ac_ext <<_ACEOF
30075 /* end confdefs.h. */
30077 #include <gtk/gtk.h>
30083 #if !GTK_CHECK_VERSION(2,6,0)
30091 rm -f conftest.$ac_objext
30092 if { (ac_try="$ac_compile"
30093 case "(($ac_try" in
30094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30095 *) ac_try_echo=$ac_try;;
30097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30098 (eval "$ac_compile") 2>conftest.er1
30100 grep -v '^
*+' conftest.er1 >conftest.err
30102 cat conftest.err >&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); } && {
30105 test -z "$ac_c_werror_flag" ||
30106 test ! -s conftest.err
30107 } && test -s conftest.$ac_objext; then
30109 cat >>confdefs.h <<\_ACEOF
30110 #define __WXGTK26__ 1
30113 { echo "$as_me:$LINENO: result: yes" >&5
30114 echo "${ECHO_T}yes" >&6; }
30118 echo "$as_me: failed program was:" >&5
30119 sed 's
/^
/| /' conftest.$ac_ext >&5
30122 { echo "$as_me:$LINENO: result: no" >&5
30123 echo "${ECHO_T}no" >&6; }
30128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30132 CFLAGS="$save_CFLAGS"
30135 if test "$wxUSE_UNICODE" = "yes"; then
30136 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30137 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30141 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30142 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30143 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30144 echo $ECHO_N "(cached) $ECHO_C" >&6
30146 ac_check_lib_save_LIBS=$LIBS
30148 cat >conftest.$ac_ext <<_ACEOF
30151 cat confdefs.h >>conftest.$ac_ext
30152 cat >>conftest.$ac_ext <<_ACEOF
30153 /* end confdefs.h. */
30155 /* Override any GCC internal prototype to avoid an error.
30156 Use char because int might match the return type of a GCC
30157 builtin and then its argument prototype would still apply. */
30161 char gdk_im_open ();
30165 return gdk_im_open ();
30170 rm -f conftest.$ac_objext conftest$ac_exeext
30171 if { (ac_try="$ac_link"
30172 case "(($ac_try" in
30173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30174 *) ac_try_echo=$ac_try;;
30176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30177 (eval "$ac_link") 2>conftest.er1
30179 grep -v '^
*+' conftest.er1 >conftest.err
30181 cat conftest.err >&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); } && {
30184 test -z "$ac_c_werror_flag" ||
30185 test ! -s conftest.err
30186 } && test -s conftest$ac_exeext &&
30187 $as_test_x conftest$ac_exeext; then
30188 ac_cv_lib_gdk_gdk_im_open=yes
30190 echo "$as_me: failed program was:" >&5
30191 sed 's
/^
/| /' conftest.$ac_ext >&5
30193 ac_cv_lib_gdk_gdk_im_open=no
30196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30197 conftest$ac_exeext conftest.$ac_ext
30198 LIBS=$ac_check_lib_save_LIBS
30200 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30201 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30202 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30203 cat >>confdefs.h <<\_ACEOF
30210 if test "$USE_DARWIN" != 1; then
30212 for ac_func in poll
30214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30215 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30217 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30218 echo $ECHO_N "(cached) $ECHO_C" >&6
30220 cat >conftest.$ac_ext <<_ACEOF
30223 cat confdefs.h >>conftest.$ac_ext
30224 cat >>conftest.$ac_ext <<_ACEOF
30225 /* end confdefs.h. */
30226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30228 #define $ac_func innocuous_$ac_func
30230 /* System header to define __stub macros and hopefully few prototypes,
30231 which can conflict with char $ac_func (); below.
30232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30233 <limits.h> exists even on freestanding compilers. */
30236 # include <limits.h>
30238 # include <assert.h>
30243 /* Override any GCC internal prototype to avoid an error.
30244 Use char because int might match the return type of a GCC
30245 builtin and then its argument prototype would still apply. */
30250 /* The GNU C library defines this for functions which it implements
30251 to always fail with ENOSYS. Some functions are actually named
30252 something starting with __ and the normal name is an alias. */
30253 #if defined __stub_$ac_func || defined __stub___$ac_func
30260 return $ac_func ();
30265 rm -f conftest.$ac_objext conftest$ac_exeext
30266 if { (ac_try="$ac_link"
30267 case "(($ac_try" in
30268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30269 *) ac_try_echo=$ac_try;;
30271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30272 (eval "$ac_link") 2>conftest.er1
30274 grep -v '^
*+' conftest.er1 >conftest.err
30276 cat conftest.err >&5
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); } && {
30279 test -z "$ac_c_werror_flag" ||
30280 test ! -s conftest.err
30281 } && test -s conftest$ac_exeext &&
30282 $as_test_x conftest$ac_exeext; then
30283 eval "$as_ac_var=yes"
30285 echo "$as_me: failed program was:" >&5
30286 sed 's
/^
/| /' conftest.$ac_ext >&5
30288 eval "$as_ac_var=no"
30291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30292 conftest$ac_exeext conftest.$ac_ext
30294 ac_res=`eval echo '${'$as_ac_var'}'`
30295 { echo "$as_me:$LINENO: result: $ac_res" >&5
30296 echo "${ECHO_T}$ac_res" >&6; }
30297 if test `eval echo '${'$as_ac_var'}'` = yes; then
30298 cat >>confdefs.h <<_ACEOF
30299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30308 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30309 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30311 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30313 AFMINSTALL=afminstall
30317 if test "$wxUSE_GPE" = "yes"; then
30318 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30319 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30322 for ac_dir in $SEARCH_LIB;
30324 for ac_extension in a so sl dylib dll.a; do
30325 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30326 ac_find_libraries=$ac_dir
30332 if test "$ac_find_libraries" != "" ; then
30334 if test "$ac_find_libraries" = "default location"; then
30337 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30339 if test $result = 0; then
30342 ac_path_to_link=" -L$ac_find_libraries"
30346 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30348 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30349 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30351 { echo "$as_me:$LINENO: result: not found" >&5
30352 echo "${ECHO_T}not found" >&6; }
30358 if test "$wxUSE_MGL" = 1; then
30359 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30360 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30361 if test "x$MGL_ROOT" = x ; then
30362 { echo "$as_me:$LINENO: result: not found" >&5
30363 echo "${ECHO_T}not found" >&6; }
30364 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30365 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30366 { (exit 1); exit 1; }; }
30368 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30369 echo "${ECHO_T}$MGL_ROOT" >&6; }
30372 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30373 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30376 if test "x$wxUSE_SHARED" = xyes ; then
30377 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30379 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30383 mgl_os_candidates="dos32/dj2"
30386 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30387 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30388 { (exit 1); exit 1; }; }
30394 for mgl_os_i in $mgl_os_candidates ; do
30395 if test "x$mgl_os" = x ; then
30396 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30397 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30398 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30403 if test "x$mgl_lib_type" = x ; then
30404 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30405 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30406 mgl_lib_type=release
30413 if test "x$mgl_os" = x ; then
30414 { echo "$as_me:$LINENO: result: not found" >&5
30415 echo "${ECHO_T}not found" >&6; }
30416 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30417 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30418 { (exit 1); exit 1; }; }
30420 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30421 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30423 wxUSE_UNIVERSAL="yes"
30425 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30426 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30428 AFMINSTALL=afminstall
30433 if test "$wxUSE_DFB" = 1; then
30436 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30437 if test -n "$ac_tool_prefix"; then
30438 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30439 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30442 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30443 echo $ECHO_N "(cached) $ECHO_C" >&6
30445 case $PKG_CONFIG in
30447 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30451 for as_dir in $PATH
30454 test -z "$as_dir" && as_dir=.
30455 for ac_exec_ext in '' $ac_executable_extensions; do
30456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30457 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30468 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30469 if test -n "$PKG_CONFIG"; then
30470 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30471 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30473 { echo "$as_me:$LINENO: result: no" >&5
30474 echo "${ECHO_T}no" >&6; }
30479 if test -z "$ac_cv_path_PKG_CONFIG"; then
30480 ac_pt_PKG_CONFIG=$PKG_CONFIG
30481 # Extract the first word of "pkg-config", so it can be a program name with args.
30482 set dummy pkg-config; ac_word=$2
30483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30485 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30486 echo $ECHO_N "(cached) $ECHO_C" >&6
30488 case $ac_pt_PKG_CONFIG in
30490 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30494 for as_dir in $PATH
30497 test -z "$as_dir" && as_dir=.
30498 for ac_exec_ext in '' $ac_executable_extensions; do
30499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30500 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30511 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30512 if test -n "$ac_pt_PKG_CONFIG"; then
30513 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30514 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30516 { echo "$as_me:$LINENO: result: no" >&5
30517 echo "${ECHO_T}no" >&6; }
30520 if test "x$ac_pt_PKG_CONFIG" = x; then
30523 case $cross_compiling:$ac_tool_warned in
30525 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30526 whose name does not start with the host triplet. If you think this
30527 configuration is useful to you, please write to autoconf@gnu.org." >&5
30528 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30529 whose name does not start with the host triplet. If you think this
30530 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30531 ac_tool_warned=yes ;;
30533 PKG_CONFIG=$ac_pt_PKG_CONFIG
30536 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30540 if test -n "$PKG_CONFIG"; then
30541 _pkg_min_version=0.9.0
30542 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30543 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30544 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30545 { echo "$as_me:$LINENO: result: yes" >&5
30546 echo "${ECHO_T}yes" >&6; }
30548 { echo "$as_me:$LINENO: result: no" >&5
30549 echo "${ECHO_T}no" >&6; }
30557 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30558 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30560 if test -n "$PKG_CONFIG"; then
30561 if test -n "$DIRECTFB_CFLAGS"; then
30562 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30564 if test -n "$PKG_CONFIG" && \
30565 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30566 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); }; then
30570 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30578 if test -n "$PKG_CONFIG"; then
30579 if test -n "$DIRECTFB_LIBS"; then
30580 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30582 if test -n "$PKG_CONFIG" && \
30583 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30584 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; then
30588 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30599 if test $pkg_failed = yes; then
30601 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30602 _pkg_short_errors_supported=yes
30604 _pkg_short_errors_supported=no
30606 if test $_pkg_short_errors_supported = yes; then
30607 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30609 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30611 # Put the nasty error message in config.log where it belongs
30612 echo "$DIRECTFB_PKG_ERRORS" >&5
30615 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30616 echo "$as_me: error: DirectFB not found." >&2;}
30617 { (exit 1); exit 1; }; }
30620 elif test $pkg_failed = untried; then
30622 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30623 echo "$as_me: error: DirectFB not found." >&2;}
30624 { (exit 1); exit 1; }; }
30628 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30629 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30630 { echo "$as_me:$LINENO: result: yes" >&5
30631 echo "${ECHO_T}yes" >&6; }
30633 wxUSE_UNIVERSAL="yes"
30634 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30635 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30642 if test "$wxUSE_MICROWIN" = 1; then
30643 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30644 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30645 if test "x$MICROWINDOWS" = x ; then
30646 { echo "$as_me:$LINENO: result: not found" >&5
30647 echo "${ECHO_T}not found" >&6; }
30648 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30649 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30650 { (exit 1); exit 1; }; }
30652 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30653 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30656 if test -f $MICROWINDOWS/lib/libmwin.a; then
30657 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30658 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30660 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30661 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30662 { (exit 1); exit 1; }; }
30665 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30666 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30668 wxUSE_UNIVERSAL="yes"
30670 AFMINSTALL=afminstall
30672 GUIDIST=MICROWIN_DIST
30674 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30677 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30678 { echo "$as_me:$LINENO: checking for X" >&5
30679 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30682 # Check whether --with-x was given.
30683 if test "${with_x+set}" = set; then
30687 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30688 if test "x$with_x" = xno; then
30689 # The user explicitly disabled X.
30692 case $x_includes,$x_libraries in #(
30693 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30694 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30695 { (exit 1); exit 1; }; };; #(
30696 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30697 echo $ECHO_N "(cached) $ECHO_C" >&6
30699 # One or both of the vars are not set, and there is no cached value.
30700 ac_x_includes=no ac_x_libraries=no
30701 rm -f -r conftest.dir
30702 if mkdir conftest.dir; then
30704 cat >Imakefile <<'_ACEOF'
30706 @echo incroot='${INCROOT}'
30708 @echo usrlibdir='${USRLIBDIR}'
30710 @echo libdir='${LIBDIR}'
30712 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30713 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30714 for ac_var in incroot usrlibdir libdir; do
30715 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30717 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30718 for ac_extension in a so sl; do
30719 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30720 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30721 ac_im_usrlibdir=$ac_im_libdir; break
30724 # Screen out bogus values from the imake configuration. They are
30725 # bogus both because they are the default anyway, and because
30726 # using them would break gcc on systems where it needs fixed includes.
30727 case $ac_im_incroot in
30728 /usr/include) ac_x_includes= ;;
30729 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30731 case $ac_im_usrlibdir in
30732 /usr/lib | /lib) ;;
30733 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30737 rm -f -r conftest.dir
30740 # Standard set of common directories for X headers.
30741 # Check X11 before X11Rn because it is often a symlink to the current release.
30753 /usr
/local
/X
11/include
30754 /usr
/local
/X
11R
6/include
30755 /usr
/local
/X
11R
5/include
30756 /usr
/local
/X
11R
4/include
30758 /usr
/local
/include
/X11
30759 /usr
/local
/include
/X11R6
30760 /usr
/local
/include
/X11R5
30761 /usr
/local
/include
/X11R4
30765 /usr
/XFree
86/include
/X11
30769 /usr
/unsupported
/include
30770 /usr
/athena
/include
30771 /usr
/local
/x
11r
5/include
30772 /usr
/lpp
/Xamples
/include
30774 /usr
/openwin
/include
30775 /usr
/openwin
/share
/include
'
30777 if test "$ac_x_includes" = no; then
30778 # Guess where to find include files, by looking for Xlib.h.
30779 # First, try using that file with no special directory specified.
30780 cat >conftest.$ac_ext <<_ACEOF
30783 cat confdefs.h >>conftest.$ac_ext
30784 cat >>conftest.$ac_ext <<_ACEOF
30785 /* end confdefs.h. */
30786 #include <X11/Xlib.h>
30788 if { (ac_try="$ac_cpp conftest.$ac_ext"
30789 case "(($ac_try" in
30790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30791 *) ac_try_echo=$ac_try;;
30793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30796 grep -v '^
*+' conftest.er1 >conftest.err
30798 cat conftest.err >&5
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); } >/dev/null && {
30801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30802 test ! -s conftest.err
30804 # We can compile using X headers with no special include directory.
30807 echo "$as_me: failed program was:" >&5
30808 sed 's
/^
/| /' conftest.$ac_ext >&5
30810 for ac_dir in $ac_x_header_dirs; do
30811 if test -r "$ac_dir/X11/Xlib.h"; then
30812 ac_x_includes=$ac_dir
30818 rm -f conftest.err conftest.$ac_ext
30819 fi # $ac_x_includes = no
30821 if test "$ac_x_libraries" = no; then
30822 # Check for the libraries.
30823 # See if we find them without any special options.
30824 # Don't add to
$LIBS permanently.
30827 cat >conftest.
$ac_ext <<_ACEOF
30830 cat confdefs.h
>>conftest.
$ac_ext
30831 cat >>conftest.
$ac_ext <<_ACEOF
30832 /* end confdefs.h. */
30833 #include <X11/Xlib.h>
30842 rm -f conftest.
$ac_objext conftest
$ac_exeext
30843 if { (ac_try
="$ac_link"
30844 case "(($ac_try" in
30845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30846 *) ac_try_echo=$ac_try;;
30848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30849 (eval "$ac_link") 2>conftest.er1
30851 grep -v '^ *+' conftest.er1 >conftest.err
30853 cat conftest.err >&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } && {
30856 test -z "$ac_c_werror_flag" ||
30857 test ! -s conftest.err
30858 } && test -s conftest$ac_exeext &&
30859 $as_test_x conftest$ac_exeext; then
30861 # We can link X programs with no special library path.
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30868 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30870 # Don't even attempt the hair of trying to link an X program!
30871 for ac_extension in a so sl; do
30872 if test -r "$ac_dir/libX11.$ac_extension"; then
30873 ac_x_libraries=$ac_dir
30880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30881 conftest$ac_exeext conftest.$ac_ext
30882 fi # $ac_x_libraries = no
30884 case $ac_x_includes,$ac_x_libraries in #(
30885 no,* | *,no | *\'*)
30886 # Didn't find X, or a directory has "'" in its name.
30887 ac_cv_have_x="have_x=no";; #(
30889 # Record where we found X for the cache.
30890 ac_cv_have_x="have_x=yes\
30891 ac_x_includes='$ac_x_includes'\
30892 ac_x_libraries='$ac_x_libraries'"
30898 eval "$ac_cv_have_x"
30901 if test "$have_x" != yes; then
30902 { echo "$as_me:$LINENO: result: $have_x" >&5
30903 echo "${ECHO_T}$have_x" >&6; }
30906 # If each of the values was on the command line, it overrides each guess.
30907 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30908 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30909 # Update the cache value to reflect the command line values.
30910 ac_cv_have_x="have_x=yes\
30911 ac_x_includes='$x_includes'\
30912 ac_x_libraries='$x_libraries'"
30913 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30914 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30917 if test "$no_x" = yes; then
30918 # Not all programs may use this symbol, but it does not hurt to define it.
30920 cat >>confdefs.h <<\_ACEOF
30921 #define X_DISPLAY_MISSING 1
30924 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30926 if test -n "$x_includes"; then
30927 X_CFLAGS="$X_CFLAGS -I$x_includes"
30930 # It would also be nice to do this for all -L options, not just this one.
30931 if test -n "$x_libraries"; then
30932 X_LIBS="$X_LIBS -L$x_libraries"
30933 # For Solaris; some versions of Sun CC require a space after -R and
30934 # others require no space. Words are not sufficient . . . .
30935 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30936 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30937 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30938 ac_xsave_c_werror_flag=$ac_c_werror_flag
30939 ac_c_werror_flag=yes
30940 cat >conftest.$ac_ext <<_ACEOF
30943 cat confdefs.h >>conftest.$ac_ext
30944 cat >>conftest.$ac_ext <<_ACEOF
30945 /* end confdefs.h. */
30955 rm -f conftest.$ac_objext conftest$ac_exeext
30956 if { (ac_try="$ac_link"
30957 case "(($ac_try" in
30958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30959 *) ac_try_echo
=$ac_try;;
30961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30962 (eval "$ac_link") 2>conftest.er1
30964 grep -v '^ *+' conftest.er1
>conftest.err
30966 cat conftest.err
>&5
30967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968 (exit $ac_status); } && {
30969 test -z "$ac_c_werror_flag" ||
30970 test ! -s conftest.err
30971 } && test -s conftest
$ac_exeext &&
30972 $as_test_x conftest
$ac_exeext; then
30973 { echo "$as_me:$LINENO: result: no" >&5
30974 echo "${ECHO_T}no" >&6; }
30975 X_LIBS
="$X_LIBS -R$x_libraries"
30977 echo "$as_me: failed program was:" >&5
30978 sed 's/^/| /' conftest.
$ac_ext >&5
30980 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30981 cat >conftest.
$ac_ext <<_ACEOF
30984 cat confdefs.h
>>conftest.
$ac_ext
30985 cat >>conftest.
$ac_ext <<_ACEOF
30986 /* end confdefs.h. */
30996 rm -f conftest.
$ac_objext conftest
$ac_exeext
30997 if { (ac_try
="$ac_link"
30998 case "(($ac_try" in
30999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31000 *) ac_try_echo=$ac_try;;
31002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31003 (eval "$ac_link") 2>conftest.er1
31005 grep -v '^ *+' conftest.er1 >conftest.err
31007 cat conftest.err >&5
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); } && {
31010 test -z "$ac_c_werror_flag" ||
31011 test ! -s conftest.err
31012 } && test -s conftest$ac_exeext &&
31013 $as_test_x conftest$ac_exeext; then
31014 { echo "$as_me:$LINENO: result: yes" >&5
31015 echo "${ECHO_T}yes" >&6; }
31016 X_LIBS="$X_LIBS -R $x_libraries"
31018 echo "$as_me: failed program was:" >&5
31019 sed 's/^/| /' conftest.$ac_ext >&5
31021 { echo "$as_me:$LINENO: result: neither works" >&5
31022 echo "${ECHO_T}neither works" >&6; }
31025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31026 conftest$ac_exeext conftest.$ac_ext
31029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31030 conftest$ac_exeext conftest.$ac_ext
31031 ac_c_werror_flag=$ac_xsave_c_werror_flag
31032 LIBS=$ac_xsave_LIBS
31035 # Check for system-dependent libraries X programs must link with.
31036 # Do this before checking for the system-independent R6 libraries
31037 # (-lICE), since we may need -lsocket or whatever for X linking.
31039 if test "$ISC" = yes; then
31040 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31042 # Martyn Johnson says this is needed for Ultrix, if the X
31043 # libraries were built with DECnet support. And Karl Berry says
31044 # the Alpha needs dnet_stub (dnet does not exist).
31045 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31046 cat >conftest.$ac_ext <<_ACEOF
31049 cat confdefs.h >>conftest.$ac_ext
31050 cat >>conftest.$ac_ext <<_ACEOF
31051 /* end confdefs.h. */
31053 /* Override any GCC internal prototype to avoid an error.
31054 Use char because int might match the return type of a GCC
31055 builtin and then its argument prototype would still apply. */
31059 char XOpenDisplay ();
31063 return XOpenDisplay ();
31068 rm -f conftest.$ac_objext conftest$ac_exeext
31069 if { (ac_try="$ac_link"
31070 case "(($ac_try" in
31071 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31072 *) ac_try_echo
=$ac_try;;
31074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31075 (eval "$ac_link") 2>conftest.er1
31077 grep -v '^ *+' conftest.er1
>conftest.err
31079 cat conftest.err
>&5
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); } && {
31082 test -z "$ac_c_werror_flag" ||
31083 test ! -s conftest.err
31084 } && test -s conftest
$ac_exeext &&
31085 $as_test_x conftest
$ac_exeext; then
31088 echo "$as_me: failed program was:" >&5
31089 sed 's/^/| /' conftest.
$ac_ext >&5
31091 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31092 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31093 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31094 echo $ECHO_N "(cached) $ECHO_C" >&6
31096 ac_check_lib_save_LIBS
=$LIBS
31097 LIBS
="-ldnet $LIBS"
31098 cat >conftest.
$ac_ext <<_ACEOF
31101 cat confdefs.h
>>conftest.
$ac_ext
31102 cat >>conftest.
$ac_ext <<_ACEOF
31103 /* end confdefs.h. */
31105 /* Override any GCC internal prototype to avoid an error.
31106 Use char because int might match the return type of a GCC
31107 builtin and then its argument prototype would still apply. */
31115 return dnet_ntoa ();
31120 rm -f conftest.
$ac_objext conftest
$ac_exeext
31121 if { (ac_try
="$ac_link"
31122 case "(($ac_try" in
31123 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31124 *) ac_try_echo=$ac_try;;
31126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31127 (eval "$ac_link") 2>conftest.er1
31129 grep -v '^ *+' conftest.er1 >conftest.err
31131 cat conftest.err >&5
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); } && {
31134 test -z "$ac_c_werror_flag" ||
31135 test ! -s conftest.err
31136 } && test -s conftest$ac_exeext &&
31137 $as_test_x conftest$ac_exeext; then
31138 ac_cv_lib_dnet_dnet_ntoa=yes
31140 echo "$as_me: failed program was:" >&5
31141 sed 's/^/| /' conftest.$ac_ext >&5
31143 ac_cv_lib_dnet_dnet_ntoa=no
31146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31147 conftest$ac_exeext conftest.$ac_ext
31148 LIBS=$ac_check_lib_save_LIBS
31150 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31151 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31152 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31153 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31156 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31157 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31158 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31159 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31160 echo $ECHO_N "(cached) $ECHO_C" >&6
31162 ac_check_lib_save_LIBS=$LIBS
31163 LIBS="-ldnet_stub $LIBS"
31164 cat >conftest.$ac_ext <<_ACEOF
31167 cat confdefs.h >>conftest.$ac_ext
31168 cat >>conftest.$ac_ext <<_ACEOF
31169 /* end confdefs.h. */
31171 /* Override any GCC internal prototype to avoid an error.
31172 Use char because int might match the return type of a GCC
31173 builtin and then its argument prototype would still apply. */
31181 return dnet_ntoa ();
31186 rm -f conftest.$ac_objext conftest$ac_exeext
31187 if { (ac_try="$ac_link"
31188 case "(($ac_try" in
31189 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31190 *) ac_try_echo
=$ac_try;;
31192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31193 (eval "$ac_link") 2>conftest.er1
31195 grep -v '^ *+' conftest.er1
>conftest.err
31197 cat conftest.err
>&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } && {
31200 test -z "$ac_c_werror_flag" ||
31201 test ! -s conftest.err
31202 } && test -s conftest
$ac_exeext &&
31203 $as_test_x conftest
$ac_exeext; then
31204 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31206 echo "$as_me: failed program was:" >&5
31207 sed 's/^/| /' conftest.
$ac_ext >&5
31209 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31212 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31213 conftest
$ac_exeext conftest.
$ac_ext
31214 LIBS
=$ac_check_lib_save_LIBS
31216 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31217 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31218 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31219 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31225 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31226 conftest
$ac_exeext conftest.
$ac_ext
31227 LIBS
="$ac_xsave_LIBS"
31229 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31230 # to get the SysV transport functions.
31231 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31233 # The nsl library prevents programs from opening the X display
31234 # on Irix 5.2, according to T.E. Dickey.
31235 # The functions gethostbyname, getservbyname, and inet_addr are
31236 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31237 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31238 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31239 if test "${ac_cv_func_gethostbyname+set}" = set; then
31240 echo $ECHO_N "(cached) $ECHO_C" >&6
31242 cat >conftest.
$ac_ext <<_ACEOF
31245 cat confdefs.h
>>conftest.
$ac_ext
31246 cat >>conftest.
$ac_ext <<_ACEOF
31247 /* end confdefs.h. */
31248 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31250 #define gethostbyname innocuous_gethostbyname
31252 /* System header to define __stub macros and hopefully few prototypes,
31253 which can conflict with char gethostbyname (); below.
31254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31255 <limits.h> exists even on freestanding compilers. */
31258 # include <limits.h>
31260 # include <assert.h>
31263 #undef gethostbyname
31265 /* Override any GCC internal prototype to avoid an error.
31266 Use char because int might match the return type of a GCC
31267 builtin and then its argument prototype would still apply. */
31271 char gethostbyname ();
31272 /* The GNU C library defines this for functions which it implements
31273 to always fail with ENOSYS. Some functions are actually named
31274 something starting with __ and the normal name is an alias. */
31275 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31282 return gethostbyname ();
31287 rm -f conftest.
$ac_objext conftest
$ac_exeext
31288 if { (ac_try
="$ac_link"
31289 case "(($ac_try" in
31290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31291 *) ac_try_echo=$ac_try;;
31293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31294 (eval "$ac_link") 2>conftest.er1
31296 grep -v '^ *+' conftest.er1 >conftest.err
31298 cat conftest.err >&5
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); } && {
31301 test -z "$ac_c_werror_flag" ||
31302 test ! -s conftest.err
31303 } && test -s conftest$ac_exeext &&
31304 $as_test_x conftest$ac_exeext; then
31305 ac_cv_func_gethostbyname=yes
31307 echo "$as_me: failed program was:" >&5
31308 sed 's/^/| /' conftest.$ac_ext >&5
31310 ac_cv_func_gethostbyname=no
31313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31314 conftest$ac_exeext conftest.$ac_ext
31316 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31317 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31319 if test $ac_cv_func_gethostbyname = no; then
31320 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31321 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31322 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31323 echo $ECHO_N "(cached) $ECHO_C" >&6
31325 ac_check_lib_save_LIBS=$LIBS
31327 cat >conftest.$ac_ext <<_ACEOF
31330 cat confdefs.h >>conftest.$ac_ext
31331 cat >>conftest.$ac_ext <<_ACEOF
31332 /* end confdefs.h. */
31334 /* Override any GCC internal prototype to avoid an error.
31335 Use char because int might match the return type of a GCC
31336 builtin and then its argument prototype would still apply. */
31340 char gethostbyname ();
31344 return gethostbyname ();
31349 rm -f conftest.$ac_objext conftest$ac_exeext
31350 if { (ac_try="$ac_link"
31351 case "(($ac_try" in
31352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31353 *) ac_try_echo
=$ac_try;;
31355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31356 (eval "$ac_link") 2>conftest.er1
31358 grep -v '^ *+' conftest.er1
>conftest.err
31360 cat conftest.err
>&5
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); } && {
31363 test -z "$ac_c_werror_flag" ||
31364 test ! -s conftest.err
31365 } && test -s conftest
$ac_exeext &&
31366 $as_test_x conftest
$ac_exeext; then
31367 ac_cv_lib_nsl_gethostbyname
=yes
31369 echo "$as_me: failed program was:" >&5
31370 sed 's/^/| /' conftest.
$ac_ext >&5
31372 ac_cv_lib_nsl_gethostbyname
=no
31375 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31376 conftest
$ac_exeext conftest.
$ac_ext
31377 LIBS
=$ac_check_lib_save_LIBS
31379 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31380 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31381 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31382 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31385 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31386 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31387 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31388 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31389 echo $ECHO_N "(cached) $ECHO_C" >&6
31391 ac_check_lib_save_LIBS
=$LIBS
31393 cat >conftest.
$ac_ext <<_ACEOF
31396 cat confdefs.h
>>conftest.
$ac_ext
31397 cat >>conftest.
$ac_ext <<_ACEOF
31398 /* end confdefs.h. */
31400 /* Override any GCC internal prototype to avoid an error.
31401 Use char because int might match the return type of a GCC
31402 builtin and then its argument prototype would still apply. */
31406 char gethostbyname ();
31410 return gethostbyname ();
31415 rm -f conftest.
$ac_objext conftest
$ac_exeext
31416 if { (ac_try
="$ac_link"
31417 case "(($ac_try" in
31418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31419 *) ac_try_echo=$ac_try;;
31421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31422 (eval "$ac_link") 2>conftest.er1
31424 grep -v '^ *+' conftest.er1 >conftest.err
31426 cat conftest.err >&5
31427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428 (exit $ac_status); } && {
31429 test -z "$ac_c_werror_flag" ||
31430 test ! -s conftest.err
31431 } && test -s conftest$ac_exeext &&
31432 $as_test_x conftest$ac_exeext; then
31433 ac_cv_lib_bsd_gethostbyname=yes
31435 echo "$as_me: failed program was:" >&5
31436 sed 's/^/| /' conftest.$ac_ext >&5
31438 ac_cv_lib_bsd_gethostbyname=no
31441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31442 conftest$ac_exeext conftest.$ac_ext
31443 LIBS=$ac_check_lib_save_LIBS
31445 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31446 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31447 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31448 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31454 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31455 # socket/setsockopt and other routines are undefined under SCO ODT
31456 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31457 # on later versions), says Simon Leinen: it contains gethostby*
31458 # variants that don't use the name server (or something). -lsocket
31459 # must be given before -lnsl if both are needed. We assume that
31460 # if connect needs -lnsl, so does gethostbyname.
31461 { echo "$as_me:$LINENO: checking for connect" >&5
31462 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31463 if test "${ac_cv_func_connect+set}" = set; then
31464 echo $ECHO_N "(cached) $ECHO_C" >&6
31466 cat >conftest.$ac_ext <<_ACEOF
31469 cat confdefs.h >>conftest.$ac_ext
31470 cat >>conftest.$ac_ext <<_ACEOF
31471 /* end confdefs.h. */
31472 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31474 #define connect innocuous_connect
31476 /* System header to define __stub macros and hopefully few prototypes,
31477 which can conflict with char connect (); below.
31478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31479 <limits.h> exists even on freestanding compilers. */
31482 # include <limits.h>
31484 # include <assert.h>
31489 /* Override any GCC internal prototype to avoid an error.
31490 Use char because int might match the return type of a GCC
31491 builtin and then its argument prototype would still apply. */
31496 /* The GNU C library defines this for functions which it implements
31497 to always fail with ENOSYS. Some functions are actually named
31498 something starting with __ and the normal name is an alias. */
31499 #if defined __stub_connect || defined __stub___connect
31511 rm -f conftest.$ac_objext conftest$ac_exeext
31512 if { (ac_try="$ac_link"
31513 case "(($ac_try" in
31514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31515 *) ac_try_echo
=$ac_try;;
31517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31518 (eval "$ac_link") 2>conftest.er1
31520 grep -v '^ *+' conftest.er1
>conftest.err
31522 cat conftest.err
>&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); } && {
31525 test -z "$ac_c_werror_flag" ||
31526 test ! -s conftest.err
31527 } && test -s conftest
$ac_exeext &&
31528 $as_test_x conftest
$ac_exeext; then
31529 ac_cv_func_connect
=yes
31531 echo "$as_me: failed program was:" >&5
31532 sed 's/^/| /' conftest.
$ac_ext >&5
31534 ac_cv_func_connect
=no
31537 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31538 conftest
$ac_exeext conftest.
$ac_ext
31540 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31541 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31543 if test $ac_cv_func_connect = no
; then
31544 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31545 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31546 if test "${ac_cv_lib_socket_connect+set}" = set; then
31547 echo $ECHO_N "(cached) $ECHO_C" >&6
31549 ac_check_lib_save_LIBS
=$LIBS
31550 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31551 cat >conftest.
$ac_ext <<_ACEOF
31554 cat confdefs.h
>>conftest.
$ac_ext
31555 cat >>conftest.
$ac_ext <<_ACEOF
31556 /* end confdefs.h. */
31558 /* Override any GCC internal prototype to avoid an error.
31559 Use char because int might match the return type of a GCC
31560 builtin and then its argument prototype would still apply. */
31573 rm -f conftest.
$ac_objext conftest
$ac_exeext
31574 if { (ac_try
="$ac_link"
31575 case "(($ac_try" in
31576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31577 *) ac_try_echo=$ac_try;;
31579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31580 (eval "$ac_link") 2>conftest.er1
31582 grep -v '^ *+' conftest.er1 >conftest.err
31584 cat conftest.err >&5
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); } && {
31587 test -z "$ac_c_werror_flag" ||
31588 test ! -s conftest.err
31589 } && test -s conftest$ac_exeext &&
31590 $as_test_x conftest$ac_exeext; then
31591 ac_cv_lib_socket_connect=yes
31593 echo "$as_me: failed program was:" >&5
31594 sed 's/^/| /' conftest.$ac_ext >&5
31596 ac_cv_lib_socket_connect=no
31599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31600 conftest$ac_exeext conftest.$ac_ext
31601 LIBS=$ac_check_lib_save_LIBS
31603 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31604 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31605 if test $ac_cv_lib_socket_connect = yes; then
31606 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31611 # Guillermo Gomez says -lposix is necessary on A/UX.
31612 { echo "$as_me:$LINENO: checking for remove" >&5
31613 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31614 if test "${ac_cv_func_remove+set}" = set; then
31615 echo $ECHO_N "(cached) $ECHO_C" >&6
31617 cat >conftest.$ac_ext <<_ACEOF
31620 cat confdefs.h >>conftest.$ac_ext
31621 cat >>conftest.$ac_ext <<_ACEOF
31622 /* end confdefs.h. */
31623 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31625 #define remove innocuous_remove
31627 /* System header to define __stub macros and hopefully few prototypes,
31628 which can conflict with char remove (); below.
31629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31630 <limits.h> exists even on freestanding compilers. */
31633 # include <limits.h>
31635 # include <assert.h>
31640 /* Override any GCC internal prototype to avoid an error.
31641 Use char because int might match the return type of a GCC
31642 builtin and then its argument prototype would still apply. */
31647 /* The GNU C library defines this for functions which it implements
31648 to always fail with ENOSYS. Some functions are actually named
31649 something starting with __ and the normal name is an alias. */
31650 #if defined __stub_remove || defined __stub___remove
31662 rm -f conftest.$ac_objext conftest$ac_exeext
31663 if { (ac_try="$ac_link"
31664 case "(($ac_try" in
31665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31666 *) ac_try_echo
=$ac_try;;
31668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31669 (eval "$ac_link") 2>conftest.er1
31671 grep -v '^ *+' conftest.er1
>conftest.err
31673 cat conftest.err
>&5
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); } && {
31676 test -z "$ac_c_werror_flag" ||
31677 test ! -s conftest.err
31678 } && test -s conftest
$ac_exeext &&
31679 $as_test_x conftest
$ac_exeext; then
31680 ac_cv_func_remove
=yes
31682 echo "$as_me: failed program was:" >&5
31683 sed 's/^/| /' conftest.
$ac_ext >&5
31685 ac_cv_func_remove
=no
31688 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31689 conftest
$ac_exeext conftest.
$ac_ext
31691 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31692 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31694 if test $ac_cv_func_remove = no
; then
31695 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31696 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31697 if test "${ac_cv_lib_posix_remove+set}" = set; then
31698 echo $ECHO_N "(cached) $ECHO_C" >&6
31700 ac_check_lib_save_LIBS
=$LIBS
31701 LIBS
="-lposix $LIBS"
31702 cat >conftest.
$ac_ext <<_ACEOF
31705 cat confdefs.h
>>conftest.
$ac_ext
31706 cat >>conftest.
$ac_ext <<_ACEOF
31707 /* end confdefs.h. */
31709 /* Override any GCC internal prototype to avoid an error.
31710 Use char because int might match the return type of a GCC
31711 builtin and then its argument prototype would still apply. */
31724 rm -f conftest.
$ac_objext conftest
$ac_exeext
31725 if { (ac_try
="$ac_link"
31726 case "(($ac_try" in
31727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31728 *) ac_try_echo=$ac_try;;
31730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31731 (eval "$ac_link") 2>conftest.er1
31733 grep -v '^ *+' conftest.er1 >conftest.err
31735 cat conftest.err >&5
31736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31737 (exit $ac_status); } && {
31738 test -z "$ac_c_werror_flag" ||
31739 test ! -s conftest.err
31740 } && test -s conftest$ac_exeext &&
31741 $as_test_x conftest$ac_exeext; then
31742 ac_cv_lib_posix_remove=yes
31744 echo "$as_me: failed program was:" >&5
31745 sed 's/^/| /' conftest.$ac_ext >&5
31747 ac_cv_lib_posix_remove=no
31750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31751 conftest$ac_exeext conftest.$ac_ext
31752 LIBS=$ac_check_lib_save_LIBS
31754 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31755 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31756 if test $ac_cv_lib_posix_remove = yes; then
31757 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31762 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31763 { echo "$as_me:$LINENO: checking for shmat" >&5
31764 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31765 if test "${ac_cv_func_shmat+set}" = set; then
31766 echo $ECHO_N "(cached) $ECHO_C" >&6
31768 cat >conftest.$ac_ext <<_ACEOF
31771 cat confdefs.h >>conftest.$ac_ext
31772 cat >>conftest.$ac_ext <<_ACEOF
31773 /* end confdefs.h. */
31774 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31776 #define shmat innocuous_shmat
31778 /* System header to define __stub macros and hopefully few prototypes,
31779 which can conflict with char shmat (); below.
31780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31781 <limits.h> exists even on freestanding compilers. */
31784 # include <limits.h>
31786 # include <assert.h>
31791 /* Override any GCC internal prototype to avoid an error.
31792 Use char because int might match the return type of a GCC
31793 builtin and then its argument prototype would still apply. */
31798 /* The GNU C library defines this for functions which it implements
31799 to always fail with ENOSYS. Some functions are actually named
31800 something starting with __ and the normal name is an alias. */
31801 #if defined __stub_shmat || defined __stub___shmat
31813 rm -f conftest.$ac_objext conftest$ac_exeext
31814 if { (ac_try="$ac_link"
31815 case "(($ac_try" in
31816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31817 *) ac_try_echo
=$ac_try;;
31819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31820 (eval "$ac_link") 2>conftest.er1
31822 grep -v '^ *+' conftest.er1
>conftest.err
31824 cat conftest.err
>&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } && {
31827 test -z "$ac_c_werror_flag" ||
31828 test ! -s conftest.err
31829 } && test -s conftest
$ac_exeext &&
31830 $as_test_x conftest
$ac_exeext; then
31831 ac_cv_func_shmat
=yes
31833 echo "$as_me: failed program was:" >&5
31834 sed 's/^/| /' conftest.
$ac_ext >&5
31836 ac_cv_func_shmat
=no
31839 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31840 conftest
$ac_exeext conftest.
$ac_ext
31842 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31843 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31845 if test $ac_cv_func_shmat = no
; then
31846 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31847 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31848 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31849 echo $ECHO_N "(cached) $ECHO_C" >&6
31851 ac_check_lib_save_LIBS
=$LIBS
31853 cat >conftest.
$ac_ext <<_ACEOF
31856 cat confdefs.h
>>conftest.
$ac_ext
31857 cat >>conftest.
$ac_ext <<_ACEOF
31858 /* end confdefs.h. */
31860 /* Override any GCC internal prototype to avoid an error.
31861 Use char because int might match the return type of a GCC
31862 builtin and then its argument prototype would still apply. */
31875 rm -f conftest.
$ac_objext conftest
$ac_exeext
31876 if { (ac_try
="$ac_link"
31877 case "(($ac_try" in
31878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31879 *) ac_try_echo=$ac_try;;
31881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31882 (eval "$ac_link") 2>conftest.er1
31884 grep -v '^ *+' conftest.er1 >conftest.err
31886 cat conftest.err >&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); } && {
31889 test -z "$ac_c_werror_flag" ||
31890 test ! -s conftest.err
31891 } && test -s conftest$ac_exeext &&
31892 $as_test_x conftest$ac_exeext; then
31893 ac_cv_lib_ipc_shmat=yes
31895 echo "$as_me: failed program was:" >&5
31896 sed 's/^/| /' conftest.$ac_ext >&5
31898 ac_cv_lib_ipc_shmat=no
31901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31902 conftest$ac_exeext conftest.$ac_ext
31903 LIBS=$ac_check_lib_save_LIBS
31905 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31906 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31907 if test $ac_cv_lib_ipc_shmat = yes; then
31908 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31914 # Check for libraries that X11R6 Xt/Xaw programs need.
31915 ac_save_LDFLAGS=$LDFLAGS
31916 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31917 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31918 # check for ICE first), but we must link in the order -lSM -lICE or
31919 # we get undefined symbols. So assume we have SM if we have ICE.
31920 # These have to be linked with before -lX11, unlike the other
31921 # libraries we check for below, so use a different variable.
31922 # John Interrante, Karl Berry
31923 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31924 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31925 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31926 echo $ECHO_N "(cached) $ECHO_C" >&6
31928 ac_check_lib_save_LIBS=$LIBS
31929 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31930 cat >conftest.$ac_ext <<_ACEOF
31933 cat confdefs.h >>conftest.$ac_ext
31934 cat >>conftest.$ac_ext <<_ACEOF
31935 /* end confdefs.h. */
31937 /* Override any GCC internal prototype to avoid an error.
31938 Use char because int might match the return type of a GCC
31939 builtin and then its argument prototype would still apply. */
31943 char IceConnectionNumber ();
31947 return IceConnectionNumber ();
31952 rm -f conftest.$ac_objext conftest$ac_exeext
31953 if { (ac_try="$ac_link"
31954 case "(($ac_try" in
31955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31956 *) ac_try_echo
=$ac_try;;
31958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31959 (eval "$ac_link") 2>conftest.er1
31961 grep -v '^ *+' conftest.er1
>conftest.err
31963 cat conftest.err
>&5
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); } && {
31966 test -z "$ac_c_werror_flag" ||
31967 test ! -s conftest.err
31968 } && test -s conftest
$ac_exeext &&
31969 $as_test_x conftest
$ac_exeext; then
31970 ac_cv_lib_ICE_IceConnectionNumber
=yes
31972 echo "$as_me: failed program was:" >&5
31973 sed 's/^/| /' conftest.
$ac_ext >&5
31975 ac_cv_lib_ICE_IceConnectionNumber
=no
31978 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31979 conftest
$ac_exeext conftest.
$ac_ext
31980 LIBS
=$ac_check_lib_save_LIBS
31982 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31983 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31984 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31985 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31988 LDFLAGS
=$ac_save_LDFLAGS
31993 if test "$no_x" = "yes"; then
31994 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31995 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31996 { (exit 1); exit 1; }; }
31999 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32000 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32001 AFMINSTALL
=afminstall
32002 COMPILED_X_PROGRAM
=0
32006 if test "$wxUSE_X11" = 1; then
32007 if test "$wxUSE_NANOX" = "yes"; then
32008 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32009 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32010 if test "x$MICROWIN" = x
; then
32011 { echo "$as_me:$LINENO: result: not found" >&5
32012 echo "${ECHO_T}not found" >&6; }
32013 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32014 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32015 { (exit 1); exit 1; }; }
32017 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32018 echo "${ECHO_T}$MICROWIN" >&6; }
32019 cat >>confdefs.h
<<\_ACEOF
32020 #define wxUSE_NANOX 1
32026 if test "$wxUSE_UNICODE" = "yes"; then
32029 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32030 if test -n "$ac_tool_prefix"; then
32031 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32032 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32035 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32036 echo $ECHO_N "(cached) $ECHO_C" >&6
32038 case $PKG_CONFIG in
32040 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32044 for as_dir
in $PATH
32047 test -z "$as_dir" && as_dir
=.
32048 for ac_exec_ext
in '' $ac_executable_extensions; do
32049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32050 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32061 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32062 if test -n "$PKG_CONFIG"; then
32063 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32064 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32066 { echo "$as_me:$LINENO: result: no" >&5
32067 echo "${ECHO_T}no" >&6; }
32072 if test -z "$ac_cv_path_PKG_CONFIG"; then
32073 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32074 # Extract the first word of "pkg-config", so it can be a program name with args.
32075 set dummy pkg
-config; ac_word
=$2
32076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32078 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32079 echo $ECHO_N "(cached) $ECHO_C" >&6
32081 case $ac_pt_PKG_CONFIG in
32083 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32087 for as_dir
in $PATH
32090 test -z "$as_dir" && as_dir
=.
32091 for ac_exec_ext
in '' $ac_executable_extensions; do
32092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32093 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32104 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32105 if test -n "$ac_pt_PKG_CONFIG"; then
32106 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32107 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32109 { echo "$as_me:$LINENO: result: no" >&5
32110 echo "${ECHO_T}no" >&6; }
32113 if test "x$ac_pt_PKG_CONFIG" = x
; then
32116 case $cross_compiling:$ac_tool_warned in
32118 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32119 whose name does not start with the host triplet. If you think this
32120 configuration is useful to you, please write to autoconf@gnu.org." >&5
32121 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32122 whose name does not start with the host triplet. If you think this
32123 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32124 ac_tool_warned
=yes ;;
32126 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32129 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32133 if test -n "$PKG_CONFIG"; then
32134 _pkg_min_version
=0.9.0
32135 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32136 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32137 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32138 { echo "$as_me:$LINENO: result: yes" >&5
32139 echo "${ECHO_T}yes" >&6; }
32141 { echo "$as_me:$LINENO: result: no" >&5
32142 echo "${ECHO_T}no" >&6; }
32150 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32151 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32153 if test -n "$PKG_CONFIG"; then
32154 if test -n "$PANGOX_CFLAGS"; then
32155 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32157 if test -n "$PKG_CONFIG" && \
32158 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32159 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162 (exit $ac_status); }; then
32163 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32171 if test -n "$PKG_CONFIG"; then
32172 if test -n "$PANGOX_LIBS"; then
32173 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32175 if test -n "$PKG_CONFIG" && \
32176 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32177 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32180 (exit $ac_status); }; then
32181 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32192 if test $pkg_failed = yes; then
32194 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32195 _pkg_short_errors_supported
=yes
32197 _pkg_short_errors_supported
=no
32199 if test $_pkg_short_errors_supported = yes; then
32200 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32202 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32204 # Put the nasty error message in config.log where it belongs
32205 echo "$PANGOX_PKG_ERRORS" >&5
32208 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32209 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32210 { (exit 1); exit 1; }; }
32213 elif test $pkg_failed = untried
; then
32215 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32216 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32217 { (exit 1); exit 1; }; }
32221 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32222 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32223 { echo "$as_me:$LINENO: result: yes" >&5
32224 echo "${ECHO_T}yes" >&6; }
32226 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
32227 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32228 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32233 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32234 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32236 if test -n "$PKG_CONFIG"; then
32237 if test -n "$PANGOFT2_CFLAGS"; then
32238 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32240 if test -n "$PKG_CONFIG" && \
32241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32242 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); }; then
32246 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32254 if test -n "$PKG_CONFIG"; then
32255 if test -n "$PANGOFT2_LIBS"; then
32256 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32258 if test -n "$PKG_CONFIG" && \
32259 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32260 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; then
32264 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32275 if test $pkg_failed = yes; then
32277 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32278 _pkg_short_errors_supported
=yes
32280 _pkg_short_errors_supported
=no
32282 if test $_pkg_short_errors_supported = yes; then
32283 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32285 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32287 # Put the nasty error message in config.log where it belongs
32288 echo "$PANGOFT2_PKG_ERRORS" >&5
32291 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32292 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32293 wxUSE_PRINTING_ARCHITECTURE
="no"
32296 elif test $pkg_failed = untried
; then
32298 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32299 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32300 wxUSE_PRINTING_ARCHITECTURE
="no"
32304 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32305 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32306 { echo "$as_me:$LINENO: result: yes" >&5
32307 echo "${ECHO_T}yes" >&6; }
32309 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32310 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32311 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32316 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32317 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32319 if test -n "$PKG_CONFIG"; then
32320 if test -n "$PANGOXFT_CFLAGS"; then
32321 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32323 if test -n "$PKG_CONFIG" && \
32324 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32325 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328 (exit $ac_status); }; then
32329 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32337 if test -n "$PKG_CONFIG"; then
32338 if test -n "$PANGOXFT_LIBS"; then
32339 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32341 if test -n "$PKG_CONFIG" && \
32342 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32343 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346 (exit $ac_status); }; then
32347 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32358 if test $pkg_failed = yes; then
32360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32361 _pkg_short_errors_supported
=yes
32363 _pkg_short_errors_supported
=no
32365 if test $_pkg_short_errors_supported = yes; then
32366 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32368 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32370 # Put the nasty error message in config.log where it belongs
32371 echo "$PANGOXFT_PKG_ERRORS" >&5
32374 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32375 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32378 elif test $pkg_failed = untried
; then
32380 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32381 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32385 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32386 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32387 { echo "$as_me:$LINENO: result: yes" >&5
32388 echo "${ECHO_T}yes" >&6; }
32390 cat >>confdefs.h
<<\_ACEOF
32391 #define HAVE_PANGO_XFT 1
32394 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32395 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32396 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32400 LIBS
="$LIBS $PANGOX_LIBS"
32402 for ac_func
in pango_font_family_is_monospace
32404 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32405 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32407 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32408 echo $ECHO_N "(cached) $ECHO_C" >&6
32410 cat >conftest.
$ac_ext <<_ACEOF
32413 cat confdefs.h
>>conftest.
$ac_ext
32414 cat >>conftest.
$ac_ext <<_ACEOF
32415 /* end confdefs.h. */
32416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32418 #define $ac_func innocuous_$ac_func
32420 /* System header to define __stub macros and hopefully few prototypes,
32421 which can conflict with char $ac_func (); below.
32422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32423 <limits.h> exists even on freestanding compilers. */
32426 # include <limits.h>
32428 # include <assert.h>
32433 /* Override any GCC internal prototype to avoid an error.
32434 Use char because int might match the return type of a GCC
32435 builtin and then its argument prototype would still apply. */
32440 /* The GNU C library defines this for functions which it implements
32441 to always fail with ENOSYS. Some functions are actually named
32442 something starting with __ and the normal name is an alias. */
32443 #if defined __stub_$ac_func || defined __stub___$ac_func
32450 return $ac_func ();
32455 rm -f conftest.
$ac_objext conftest
$ac_exeext
32456 if { (ac_try
="$ac_link"
32457 case "(($ac_try" in
32458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32459 *) ac_try_echo=$ac_try;;
32461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32462 (eval "$ac_link") 2>conftest.er1
32464 grep -v '^ *+' conftest.er1 >conftest.err
32466 cat conftest.err >&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } && {
32469 test -z "$ac_c_werror_flag" ||
32470 test ! -s conftest.err
32471 } && test -s conftest$ac_exeext &&
32472 $as_test_x conftest$ac_exeext; then
32473 eval "$as_ac_var=yes"
32475 echo "$as_me: failed program was:" >&5
32476 sed 's/^/| /' conftest.$ac_ext >&5
32478 eval "$as_ac_var=no"
32481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32482 conftest$ac_exeext conftest.$ac_ext
32484 ac_res=`eval echo '${'$as_ac_var'}'`
32485 { echo "$as_me:$LINENO: result: $ac_res" >&5
32486 echo "${ECHO_T}$ac_res" >&6; }
32487 if test `eval echo '${'$as_ac_var'}'` = yes; then
32488 cat >>confdefs.h <<_ACEOF
32489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32498 wxUSE_UNIVERSAL="yes"
32500 if test "$wxUSE_NANOX" = "yes"; then
32501 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32502 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"
32503 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32505 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32512 if test "$wxUSE_MOTIF" = 1; then
32513 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32514 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32517 for ac_dir in $SEARCH_INCLUDE /usr/include;
32519 if test -f "$ac_dir/Xm/Xm.h"; then
32520 ac_find_includes=$ac_dir
32525 if test "$ac_find_includes" != "" ; then
32526 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32527 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32529 if test "x$ac_find_includes" = "x/usr/include"; then
32530 ac_path_to_include=""
32532 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32534 if test $result = 0; then
32535 ac_path_to_include=""
32537 ac_path_to_include=" -I$ac_find_includes"
32541 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32543 save_CFLAGS=$CFLAGS
32544 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32546 cat >conftest.$ac_ext <<_ACEOF
32549 cat confdefs.h >>conftest.$ac_ext
32550 cat >>conftest.$ac_ext <<_ACEOF
32551 /* end confdefs.h. */
32560 version = xmUseVersion;
32566 rm -f conftest.$ac_objext
32567 if { (ac_try="$ac_compile"
32568 case "(($ac_try" in
32569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32570 *) ac_try_echo
=$ac_try;;
32572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32573 (eval "$ac_compile") 2>conftest.er1
32575 grep -v '^ *+' conftest.er1
>conftest.err
32577 cat conftest.err
>&5
32578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32579 (exit $ac_status); } && {
32580 test -z "$ac_c_werror_flag" ||
32581 test ! -s conftest.err
32582 } && test -s conftest.
$ac_objext; then
32584 { echo "$as_me:$LINENO: result: found in default search path" >&5
32585 echo "${ECHO_T}found in default search path" >&6; }
32586 COMPILED_X_PROGRAM
=1
32589 echo "$as_me: failed program was:" >&5
32590 sed 's/^/| /' conftest.
$ac_ext >&5
32593 { echo "$as_me:$LINENO: result: no" >&5
32594 echo "${ECHO_T}no" >&6; }
32595 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32596 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32597 { (exit 1); exit 1; }; }
32602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32604 CFLAGS
=$save_CFLAGS
32608 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32609 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32612 for ac_dir
in $SEARCH_LIB;
32614 for ac_extension
in a so sl dylib dll.a
; do
32615 if test -f "$ac_dir/libXm.$ac_extension"; then
32616 ac_find_libraries
=$ac_dir
32623 if test "x$ac_find_libraries" != "x" ; then
32624 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32625 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32628 if test "$ac_find_libraries" = "default location"; then
32631 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32633 if test $result = 0; then
32636 ac_path_to_link
=" -L$ac_find_libraries"
32640 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32642 save_CFLAGS
=$CFLAGS
32643 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32645 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32647 cat >conftest.
$ac_ext <<_ACEOF
32650 cat confdefs.h
>>conftest.
$ac_ext
32651 cat >>conftest.
$ac_ext <<_ACEOF
32652 /* end confdefs.h. */
32661 version = xmUseVersion;
32667 rm -f conftest.
$ac_objext conftest
$ac_exeext
32668 if { (ac_try
="$ac_link"
32669 case "(($ac_try" in
32670 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32671 *) ac_try_echo=$ac_try;;
32673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32674 (eval "$ac_link") 2>conftest.er1
32676 grep -v '^ *+' conftest.er1 >conftest.err
32678 cat conftest.err >&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); } && {
32681 test -z "$ac_c_werror_flag" ||
32682 test ! -s conftest.err
32683 } && test -s conftest$ac_exeext &&
32684 $as_test_x conftest$ac_exeext; then
32686 { echo "$as_me:$LINENO: result: found in default search path" >&5
32687 echo "${ECHO_T}found in default search path" >&6; }
32688 COMPILED_X_PROGRAM=1
32691 echo "$as_me: failed program was:" >&5
32692 sed 's/^/| /' conftest.$ac_ext >&5
32695 { echo "$as_me:$LINENO: result: no" >&5
32696 echo "${ECHO_T}no" >&6; }
32697 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32698 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32699 { (exit 1); exit 1; }; }
32704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32705 conftest$ac_exeext conftest.$ac_ext
32707 CFLAGS=$save_CFLAGS
32711 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32712 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32716 for libp in "" " -lXp"; do
32717 if test "$libs_found" = 0; then
32718 for libsm_ice in "" " -lSM -lICE"; do
32719 if test "$libs_found" = 0; then
32721 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32722 save_CFLAGS=$CFLAGS
32723 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32725 cat >conftest.$ac_ext <<_ACEOF
32728 cat confdefs.h >>conftest.$ac_ext
32729 cat >>conftest.$ac_ext <<_ACEOF
32730 /* end confdefs.h. */
32733 #include <Xm/List.h>
32739 XmString string = NULL;
32742 XmListAddItem(w, string, position);
32748 rm -f conftest.$ac_objext conftest$ac_exeext
32749 if { (ac_try="$ac_link"
32750 case "(($ac_try" in
32751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32752 *) ac_try_echo
=$ac_try;;
32754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32755 (eval "$ac_link") 2>conftest.er1
32757 grep -v '^ *+' conftest.er1
>conftest.err
32759 cat conftest.err
>&5
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); } && {
32762 test -z "$ac_c_werror_flag" ||
32763 test ! -s conftest.err
32764 } && test -s conftest
$ac_exeext &&
32765 $as_test_x conftest
$ac_exeext; then
32768 libsm_ice_link
="$libsm_ice"
32769 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32770 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32774 echo "$as_me: failed program was:" >&5
32775 sed 's/^/| /' conftest.
$ac_ext >&5
32781 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32782 conftest
$ac_exeext conftest.
$ac_ext
32785 CFLAGS
=$save_CFLAGS
32791 if test "$libs_found" = 0; then
32792 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32793 echo "${ECHO_T}can't find the right libraries" >&6; }
32794 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32795 echo "$as_me: error: can't link a simple motif program" >&2;}
32796 { (exit 1); exit 1; }; }
32799 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32800 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32801 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32802 echo $ECHO_N "(cached) $ECHO_C" >&6
32804 ac_check_lib_save_LIBS
=$LIBS
32806 cat >conftest.
$ac_ext <<_ACEOF
32809 cat confdefs.h
>>conftest.
$ac_ext
32810 cat >>conftest.
$ac_ext <<_ACEOF
32811 /* end confdefs.h. */
32813 /* Override any GCC internal prototype to avoid an error.
32814 Use char because int might match the return type of a GCC
32815 builtin and then its argument prototype would still apply. */
32819 char SgCreateList ();
32823 return SgCreateList ();
32828 rm -f conftest.
$ac_objext conftest
$ac_exeext
32829 if { (ac_try
="$ac_link"
32830 case "(($ac_try" in
32831 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32832 *) ac_try_echo=$ac_try;;
32834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32835 (eval "$ac_link") 2>conftest.er1
32837 grep -v '^ *+' conftest.er1 >conftest.err
32839 cat conftest.err >&5
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); } && {
32842 test -z "$ac_c_werror_flag" ||
32843 test ! -s conftest.err
32844 } && test -s conftest$ac_exeext &&
32845 $as_test_x conftest$ac_exeext; then
32846 ac_cv_lib_Sgm_SgCreateList=yes
32848 echo "$as_me: failed program was:" >&5
32849 sed 's/^/| /' conftest.$ac_ext >&5
32851 ac_cv_lib_Sgm_SgCreateList=no
32854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32855 conftest$ac_exeext conftest.$ac_ext
32856 LIBS=$ac_check_lib_save_LIBS
32858 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32859 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32860 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32861 libsgm_link=" -lSgm"
32865 save_CFLAGS=$CFLAGS
32866 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32868 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32869 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32870 if test "${wx_cv_lib_motif2+set}" = set; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32873 cat >conftest.$ac_ext <<_ACEOF
32876 cat confdefs.h >>conftest.$ac_ext
32877 cat >>conftest.$ac_ext <<_ACEOF
32878 /* end confdefs.h. */
32886 #if XmVersion < 2000
32894 rm -f conftest.$ac_objext
32895 if { (ac_try="$ac_compile"
32896 case "(($ac_try" in
32897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32898 *) ac_try_echo
=$ac_try;;
32900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32901 (eval "$ac_compile") 2>conftest.er1
32903 grep -v '^ *+' conftest.er1
>conftest.err
32905 cat conftest.err
>&5
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); } && {
32908 test -z "$ac_c_werror_flag" ||
32909 test ! -s conftest.err
32910 } && test -s conftest.
$ac_objext; then
32911 wx_cv_lib_motif2
="yes"
32913 echo "$as_me: failed program was:" >&5
32914 sed 's/^/| /' conftest.
$ac_ext >&5
32916 wx_cv_lib_motif2
="no"
32919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32921 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32922 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32923 if test "$wx_cv_lib_motif2" = "yes"; then
32924 cat >>confdefs.h
<<\_ACEOF
32925 #define __WXMOTIF20__ 1
32929 cat >>confdefs.h
<<\_ACEOF
32930 #define __WXMOTIF20__ 0
32935 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32936 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32937 if test "${wx_cv_lib_lesstif+set}" = set; then
32938 echo $ECHO_N "(cached) $ECHO_C" >&6
32940 cat >conftest.
$ac_ext <<_ACEOF
32943 cat confdefs.h
>>conftest.
$ac_ext
32944 cat >>conftest.
$ac_ext <<_ACEOF
32945 /* end confdefs.h. */
32953 #if !defined(LesstifVersion) || LesstifVersion <= 0
32961 rm -f conftest.
$ac_objext
32962 if { (ac_try
="$ac_compile"
32963 case "(($ac_try" in
32964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32965 *) ac_try_echo=$ac_try;;
32967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32968 (eval "$ac_compile") 2>conftest.er1
32970 grep -v '^ *+' conftest.er1 >conftest.err
32972 cat conftest.err >&5
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); } && {
32975 test -z "$ac_c_werror_flag" ||
32976 test ! -s conftest.err
32977 } && test -s conftest.$ac_objext; then
32978 wx_cv_lib_lesstif="yes"
32980 echo "$as_me: failed program was:" >&5
32981 sed 's/^/| /' conftest.$ac_ext >&5
32983 wx_cv_lib_lesstif="no"
32986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32989 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32990 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32991 if test "$wx_cv_lib_lesstif" = "yes"; then
32992 cat >>confdefs.h <<\_ACEOF
32993 #define __WXLESSTIF__ 1
32997 cat >>confdefs.h <<\_ACEOF
32998 #define __WXLESSTIF__ 0
33003 CFLAGS=$save_CFLAGS
33005 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33010 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33011 if test "$wxUSE_LIBXPM" = "sys"; then
33012 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33013 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33016 for ac_dir in $SEARCH_LIB;
33018 for ac_extension in a so sl dylib dll.a; do
33019 if test -f "$ac_dir/libXpm.$ac_extension"; then
33020 ac_find_libraries=$ac_dir
33026 if test "$ac_find_libraries" != "" ; then
33028 if test "$ac_find_libraries" = "default location"; then
33031 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33033 if test $result = 0; then
33036 ac_path_to_link=" -L$ac_find_libraries"
33040 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33041 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33042 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33044 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33045 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33046 if test "${wx_cv_x11_xpm_h+set}" = set; then
33047 echo $ECHO_N "(cached) $ECHO_C" >&6
33050 save_CFLAGS=$CFLAGS
33051 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33053 cat >conftest.$ac_ext <<_ACEOF
33056 cat confdefs.h >>conftest.$ac_ext
33057 cat >>conftest.$ac_ext <<_ACEOF
33058 /* end confdefs.h. */
33060 #include <X11/xpm.h>
33067 version = XpmLibraryVersion();
33073 rm -f conftest.$ac_objext
33074 if { (ac_try="$ac_compile"
33075 case "(($ac_try" in
33076 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33077 *) ac_try_echo
=$ac_try;;
33079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33080 (eval "$ac_compile") 2>conftest.er1
33082 grep -v '^ *+' conftest.er1
>conftest.err
33084 cat conftest.err
>&5
33085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086 (exit $ac_status); } && {
33087 test -z "$ac_c_werror_flag" ||
33088 test ! -s conftest.err
33089 } && test -s conftest.
$ac_objext; then
33090 wx_cv_x11_xpm_h
=yes
33092 echo "$as_me: failed program was:" >&5
33093 sed 's/^/| /' conftest.
$ac_ext >&5
33099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33101 CFLAGS
=$save_CFLAGS
33105 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33106 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33108 if test $wx_cv_x11_xpm_h = "yes"; then
33109 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33110 cat >>confdefs.h
<<\_ACEOF
33111 #define wxHAVE_LIB_XPM 1
33115 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33116 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33122 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33123 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33124 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33125 echo $ECHO_N "(cached) $ECHO_C" >&6
33127 ac_check_lib_save_LIBS
=$LIBS
33128 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33129 cat >conftest.
$ac_ext <<_ACEOF
33132 cat confdefs.h
>>conftest.
$ac_ext
33133 cat >>conftest.
$ac_ext <<_ACEOF
33134 /* end confdefs.h. */
33136 /* Override any GCC internal prototype to avoid an error.
33137 Use char because int might match the return type of a GCC
33138 builtin and then its argument prototype would still apply. */
33142 char XShapeQueryExtension ();
33146 return XShapeQueryExtension ();
33151 rm -f conftest.
$ac_objext conftest
$ac_exeext
33152 if { (ac_try
="$ac_link"
33153 case "(($ac_try" in
33154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33155 *) ac_try_echo=$ac_try;;
33157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33158 (eval "$ac_link") 2>conftest.er1
33160 grep -v '^ *+' conftest.er1 >conftest.err
33162 cat conftest.err >&5
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); } && {
33165 test -z "$ac_c_werror_flag" ||
33166 test ! -s conftest.err
33167 } && test -s conftest$ac_exeext &&
33168 $as_test_x conftest$ac_exeext; then
33169 ac_cv_lib_Xext_XShapeQueryExtension=yes
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.$ac_ext >&5
33174 ac_cv_lib_Xext_XShapeQueryExtension=no
33177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33178 conftest$ac_exeext conftest.$ac_ext
33179 LIBS=$ac_check_lib_save_LIBS
33181 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33182 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33183 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33185 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33191 if test "$wxHAVE_XEXT_LIB" = 1; then
33192 save_CFLAGS="$CFLAGS"
33193 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33195 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33196 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33197 cat >conftest.$ac_ext <<_ACEOF
33200 cat confdefs.h >>conftest.$ac_ext
33201 cat >>conftest.$ac_ext <<_ACEOF
33202 /* end confdefs.h. */
33204 #include <X11/Xlib.h>
33205 #include <X11/extensions/shape.h>
33211 int dummy1, dummy2;
33212 XShapeQueryExtension((Display*)NULL,
33213 (int*)NULL, (int*)NULL);
33219 rm -f conftest.$ac_objext
33220 if { (ac_try="$ac_compile"
33221 case "(($ac_try" in
33222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33223 *) ac_try_echo
=$ac_try;;
33225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33226 (eval "$ac_compile") 2>conftest.er1
33228 grep -v '^ *+' conftest.er1
>conftest.err
33230 cat conftest.err
>&5
33231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33232 (exit $ac_status); } && {
33233 test -z "$ac_c_werror_flag" ||
33234 test ! -s conftest.err
33235 } && test -s conftest.
$ac_objext; then
33237 cat >>confdefs.h
<<\_ACEOF
33238 #define HAVE_XSHAPE 1
33241 { echo "$as_me:$LINENO: result: found" >&5
33242 echo "${ECHO_T}found" >&6; }
33245 echo "$as_me: failed program was:" >&5
33246 sed 's/^/| /' conftest.
$ac_ext >&5
33249 { echo "$as_me:$LINENO: result: not found" >&5
33250 echo "${ECHO_T}not found" >&6; }
33254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33255 CFLAGS
="$save_CFLAGS"
33260 if test "$wxUSE_OSX_CARBON" = 1; then
33261 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33262 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33263 if test "$GCC" = yes; then
33264 { echo "$as_me:$LINENO: result: gcc" >&5
33265 echo "${ECHO_T}gcc" >&6; }
33266 CPPFLAGS_PASCAL
="-fpascal-strings"
33267 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33268 { echo "$as_me:$LINENO: result: xlc" >&5
33269 echo "${ECHO_T}xlc" >&6; }
33270 CPPFLAGS_PASCAL
="-qmacpstr"
33272 { echo "$as_me:$LINENO: result: none" >&5
33273 echo "${ECHO_T}none" >&6; }
33276 if test "x$wxUSE_UNIX" = "xyes"; then
33277 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33279 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33283 GUIDIST
=OSX_CARBON_DIST
33284 WXBASEPORT
="_carbon"
33286 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33289 if test "$wxUSE_OSX_COCOA" = 1; then
33291 GUIDIST
=OSX_COCOA_DIST
33293 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33296 if test "$wxUSE_OSX_IPHONE" = 1; then
33300 if test "$wxUSE_OLD_COCOA" = 1; then
33305 if test "$wxUSE_PM" = 1; then
33308 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33309 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33310 if test "${wx_cv_spbcdata+set}" = set; then
33311 echo $ECHO_N "(cached) $ECHO_C" >&6
33314 cat >conftest.
$ac_ext <<_ACEOF
33317 cat confdefs.h
>>conftest.
$ac_ext
33318 cat >>conftest.
$ac_ext <<_ACEOF
33319 /* end confdefs.h. */
33334 rm -f conftest.
$ac_objext
33335 if { (ac_try
="$ac_compile"
33336 case "(($ac_try" in
33337 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33338 *) ac_try_echo=$ac_try;;
33340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33341 (eval "$ac_compile") 2>conftest.er1
33343 grep -v '^ *+' conftest.er1 >conftest.err
33345 cat conftest.err >&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); } && {
33348 test -z "$ac_c_werror_flag" ||
33349 test ! -s conftest.err
33350 } && test -s conftest.$ac_objext; then
33353 echo "$as_me: failed program was:" >&5
33354 sed 's/^/| /' conftest.$ac_ext >&5
33360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33364 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33365 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33367 if test $wx_cv_spbcdata = "yes"; then
33368 cat >>confdefs.h <<\_ACEOF
33369 #define HAVE_SPBCDATA 1
33375 if test "$TOOLKIT" = "PM" ; then
33378 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33381 if test "$wxUSE_UNIVERSAL" = "yes"; then
33382 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33386 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33387 DISTDIR="wx\$(TOOLKIT)"
33393 if test "$USE_WIN32" = 1 ; then
33397 GUIDIST="BASE_DIST"
33403 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33404 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33405 wxUSE_UNICODE_UTF8=yes
33406 elif test "$USE_OS2" = 1 ; then
33407 wxUSE_UNICODE_UTF8=yes
33409 wxUSE_UNICODE_UTF8=no
33414 if test "$wxUSE_GUI" = "yes"; then
33415 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33417 for ac_header in X11/Xlib.h
33419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33420 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33423 echo $ECHO_N "(cached) $ECHO_C" >&6
33425 cat >conftest.$ac_ext <<_ACEOF
33428 cat confdefs.h >>conftest.$ac_ext
33429 cat >>conftest.$ac_ext <<_ACEOF
33430 /* end confdefs.h. */
33433 #include <$ac_header>
33435 rm -f conftest.$ac_objext
33436 if { (ac_try="$ac_compile"
33437 case "(($ac_try" in
33438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33439 *) ac_try_echo
=$ac_try;;
33441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33442 (eval "$ac_compile") 2>conftest.er1
33444 grep -v '^ *+' conftest.er1
>conftest.err
33446 cat conftest.err
>&5
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); } && {
33449 test -z "$ac_c_werror_flag" ||
33450 test ! -s conftest.err
33451 } && test -s conftest.
$ac_objext; then
33452 eval "$as_ac_Header=yes"
33454 echo "$as_me: failed program was:" >&5
33455 sed 's/^/| /' conftest.
$ac_ext >&5
33457 eval "$as_ac_Header=no"
33460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33462 ac_res
=`eval echo '${'$as_ac_Header'}'`
33463 { echo "$as_me:$LINENO: result: $ac_res" >&5
33464 echo "${ECHO_T}$ac_res" >&6; }
33465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33466 cat >>confdefs.h
<<_ACEOF
33467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33475 for ac_header
in X
11/XKBlib.h
33477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33480 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33481 echo $ECHO_N "(cached) $ECHO_C" >&6
33483 cat >conftest.
$ac_ext <<_ACEOF
33486 cat confdefs.h
>>conftest.
$ac_ext
33487 cat >>conftest.
$ac_ext <<_ACEOF
33488 /* end confdefs.h. */
33490 #if HAVE_X11_XLIB_H
33491 #include <X11/Xlib.h>
33495 #include <$ac_header>
33497 rm -f conftest.
$ac_objext
33498 if { (ac_try
="$ac_compile"
33499 case "(($ac_try" in
33500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33501 *) ac_try_echo=$ac_try;;
33503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33504 (eval "$ac_compile") 2>conftest.er1
33506 grep -v '^ *+' conftest.er1 >conftest.err
33508 cat conftest.err >&5
33509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510 (exit $ac_status); } && {
33511 test -z "$ac_c_werror_flag" ||
33512 test ! -s conftest.err
33513 } && test -s conftest.$ac_objext; then
33514 eval "$as_ac_Header=yes"
33516 echo "$as_me: failed program was:" >&5
33517 sed 's/^/| /' conftest.$ac_ext >&5
33519 eval "$as_ac_Header=no"
33522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33524 ac_res=`eval echo '${'$as_ac_Header'}'`
33525 { echo "$as_me:$LINENO: result: $ac_res" >&5
33526 echo "${ECHO_T}$ac_res" >&6; }
33527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33528 cat >>confdefs.h <<_ACEOF
33529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33541 if test "$wxUSE_DISPLAY" = "yes"; then
33542 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33543 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33544 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33547 for ac_dir in $SEARCH_LIB;
33549 for ac_extension in a so sl dylib dll.a; do
33550 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33551 ac_find_libraries=$ac_dir
33557 if test "$ac_find_libraries" != "" ; then
33559 if test "$ac_find_libraries" = "default location"; then
33562 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33564 if test $result = 0; then
33567 ac_path_to_link=" -L$ac_find_libraries"
33571 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33572 LDFLAGS="$LDFLAGS $ac_path_to_link"
33574 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33575 { echo "$as_me:$LINENO: result: yes" >&5
33576 echo "${ECHO_T}yes" >&6; }
33578 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33579 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33582 for ac_dir in $SEARCH_LIB;
33584 for ac_extension in a so sl dylib dll.a; do
33585 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33586 ac_find_libraries=$ac_dir
33592 if test "$ac_find_libraries" != "" ; then
33593 { echo "$as_me:$LINENO: result: yes" >&5
33594 echo "${ECHO_T}yes" >&6; }
33596 for ac_header in X11/extensions/xf86vmode.h
33598 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33599 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33602 echo $ECHO_N "(cached) $ECHO_C" >&6
33604 cat >conftest.$ac_ext <<_ACEOF
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33611 #if HAVE_X11_XLIB_H
33612 #include <X11/Xlib.h>
33616 #include <$ac_header>
33618 rm -f conftest.$ac_objext
33619 if { (ac_try="$ac_compile"
33620 case "(($ac_try" in
33621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33622 *) ac_try_echo
=$ac_try;;
33624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33625 (eval "$ac_compile") 2>conftest.er1
33627 grep -v '^ *+' conftest.er1
>conftest.err
33629 cat conftest.err
>&5
33630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33631 (exit $ac_status); } && {
33632 test -z "$ac_c_werror_flag" ||
33633 test ! -s conftest.err
33634 } && test -s conftest.
$ac_objext; then
33635 eval "$as_ac_Header=yes"
33637 echo "$as_me: failed program was:" >&5
33638 sed 's/^/| /' conftest.
$ac_ext >&5
33640 eval "$as_ac_Header=no"
33643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33645 ac_res
=`eval echo '${'$as_ac_Header'}'`
33646 { echo "$as_me:$LINENO: result: $ac_res" >&5
33647 echo "${ECHO_T}$ac_res" >&6; }
33648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33649 cat >>confdefs.h
<<_ACEOF
33650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33653 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33660 { echo "$as_me:$LINENO: result: no" >&5
33661 echo "${ECHO_T}no" >&6; }
33665 { echo "$as_me:$LINENO: result: no" >&5
33666 echo "${ECHO_T}no" >&6; }
33667 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33668 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33671 elif test "$wxUSE_MSW" = 1; then
33672 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33673 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33674 if test "${ac_cv_header_ddraw_h+set}" = set; then
33675 echo $ECHO_N "(cached) $ECHO_C" >&6
33677 cat >conftest.
$ac_ext <<_ACEOF
33680 cat confdefs.h
>>conftest.
$ac_ext
33681 cat >>conftest.
$ac_ext <<_ACEOF
33682 /* end confdefs.h. */
33683 #include <windows.h>
33687 rm -f conftest.
$ac_objext
33688 if { (ac_try
="$ac_compile"
33689 case "(($ac_try" in
33690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33691 *) ac_try_echo=$ac_try;;
33693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33694 (eval "$ac_compile") 2>conftest.er1
33696 grep -v '^ *+' conftest.er1 >conftest.err
33698 cat conftest.err >&5
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); } && {
33701 test -z "$ac_c_werror_flag" ||
33702 test ! -s conftest.err
33703 } && test -s conftest.$ac_objext; then
33704 ac_cv_header_ddraw_h=yes
33706 echo "$as_me: failed program was:" >&5
33707 sed 's/^/| /' conftest.$ac_ext >&5
33709 ac_cv_header_ddraw_h=no
33712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33714 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33715 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33721 if test "$wxUSE_DETECT_SM" = "yes"; then
33722 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33723 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33724 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33727 for ac_dir in $SEARCH_LIB;
33729 for ac_extension in a so sl dylib dll.a; do
33730 if test -f "$ac_dir/libSM.$ac_extension"; then
33731 ac_find_libraries=$ac_dir
33737 if test "$ac_find_libraries" != "" ; then
33739 if test "$ac_find_libraries" = "default location"; then
33742 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33744 if test $result = 0; then
33747 ac_path_to_link=" -L$ac_find_libraries"
33751 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33752 LDFLAGS="$LDFLAGS $ac_path_to_link"
33754 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33755 { echo "$as_me:$LINENO: result: yes" >&5
33756 echo "${ECHO_T}yes" >&6; }
33758 { echo "$as_me:$LINENO: result: no" >&5
33759 echo "${ECHO_T}no" >&6; }
33760 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33761 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33762 wxUSE_DETECT_SM="no"
33765 wxUSE_DETECT_SM="no"
33772 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33775 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
33776 OPENGL_LIBS="-framework OpenGL -framework AGL"
33777 elif test "$wxUSE_MSW" = 1; then
33778 OPENGL_LIBS="-lopengl32 -lglu32"
33779 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33781 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33782 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33785 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33787 if test -f "$ac_dir/GL/gl.h"; then
33788 ac_find_includes=$ac_dir
33793 if test "$ac_find_includes" != "" ; then
33794 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33795 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33797 if test "x$ac_find_includes" = "x/usr/include"; then
33798 ac_path_to_include=""
33800 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33802 if test $result = 0; then
33803 ac_path_to_include=""
33805 ac_path_to_include=" -I$ac_find_includes"
33809 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33811 { echo "$as_me:$LINENO: result: not found" >&5
33812 echo "${ECHO_T}not found" >&6; }
33815 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33816 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33817 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33818 echo $ECHO_N "(cached) $ECHO_C" >&6
33820 cat >conftest.$ac_ext <<_ACEOF
33823 cat confdefs.h >>conftest.$ac_ext
33824 cat >>conftest.$ac_ext <<_ACEOF
33825 /* end confdefs.h. */
33830 rm -f conftest.$ac_objext
33831 if { (ac_try="$ac_compile"
33832 case "(($ac_try" in
33833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33834 *) ac_try_echo
=$ac_try;;
33836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33837 (eval "$ac_compile") 2>conftest.er1
33839 grep -v '^ *+' conftest.er1
>conftest.err
33841 cat conftest.err
>&5
33842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843 (exit $ac_status); } && {
33844 test -z "$ac_c_werror_flag" ||
33845 test ! -s conftest.err
33846 } && test -s conftest.
$ac_objext; then
33847 ac_cv_header_GL_gl_h
=yes
33849 echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.
$ac_ext >&5
33852 ac_cv_header_GL_gl_h
=no
33855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33857 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33858 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33859 if test $ac_cv_header_GL_gl_h = yes; then
33861 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33862 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33863 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33864 echo $ECHO_N "(cached) $ECHO_C" >&6
33866 cat >conftest.
$ac_ext <<_ACEOF
33869 cat confdefs.h
>>conftest.
$ac_ext
33870 cat >>conftest.
$ac_ext <<_ACEOF
33871 /* end confdefs.h. */
33874 #include <GL/glu.h>
33876 rm -f conftest.
$ac_objext
33877 if { (ac_try
="$ac_compile"
33878 case "(($ac_try" in
33879 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33880 *) ac_try_echo=$ac_try;;
33882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33883 (eval "$ac_compile") 2>conftest.er1
33885 grep -v '^ *+' conftest.er1 >conftest.err
33887 cat conftest.err >&5
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); } && {
33890 test -z "$ac_c_werror_flag" ||
33891 test ! -s conftest.err
33892 } && test -s conftest.$ac_objext; then
33893 ac_cv_header_GL_glu_h=yes
33895 echo "$as_me: failed program was:" >&5
33896 sed 's/^/| /' conftest.$ac_ext >&5
33898 ac_cv_header_GL_glu_h=no
33901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33903 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33904 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33905 if test $ac_cv_header_GL_glu_h = yes; then
33909 { echo "$as_me:$LINENO: checking for -lGL" >&5
33910 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33913 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33915 for ac_extension in a so sl dylib dll.a; do
33916 if test -f "$ac_dir/libGL.$ac_extension"; then
33917 ac_find_libraries=$ac_dir
33923 if test "$ac_find_libraries" != "" ; then
33924 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33925 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33928 if test "$ac_find_libraries" = "default location"; then
33931 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33933 if test $result = 0; then
33936 ac_path_to_link=" -L$ac_find_libraries"
33940 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33941 LDFLAGS_GL="$ac_path_to_link"
33944 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33945 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33948 for ac_dir in $SEARCH_LIB;
33950 for ac_extension in a so sl dylib dll.a; do
33951 if test -f "$ac_dir/libGLU.$ac_extension"; then
33952 ac_find_libraries=$ac_dir
33958 if test "$ac_find_libraries" != "" ; then
33960 if test "$ac_find_libraries" = "default location"; then
33963 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33965 if test $result = 0; then
33968 ac_path_to_link=" -L$ac_find_libraries"
33972 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33973 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33974 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33978 OPENGL_LIBS="-lGL -lGLU"
33979 { echo "$as_me:$LINENO: result: yes" >&5
33980 echo "${ECHO_T}yes" >&6; }
33982 { echo "$as_me:$LINENO: result: no" >&5
33983 echo "${ECHO_T}no" >&6; }
33986 { echo "$as_me:$LINENO: result: no" >&5
33987 echo "${ECHO_T}no" >&6; }
33990 if test "$found_gl" != 1; then
33991 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33992 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33995 for ac_dir in $SEARCH_LIB;
33997 for ac_extension in a so sl dylib dll.a; do
33998 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33999 ac_find_libraries=$ac_dir
34005 if test "$ac_find_libraries" != "" ; then
34007 if test "$ac_find_libraries" = "default location"; then
34010 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34012 if test $result = 0; then
34015 ac_path_to_link=" -L$ac_find_libraries"
34019 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34020 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34021 { echo "$as_me:$LINENO: result: yes" >&5
34022 echo "${ECHO_T}yes" >&6; }
34024 { echo "$as_me:$LINENO: result: no" >&5
34025 echo "${ECHO_T}no" >&6; }
34037 if test "x$OPENGL_LIBS" = "x"; then
34038 if test "$wxUSE_OPENGL" = "yes"; then
34039 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34040 echo "$as_me: error: OpenGL libraries not available" >&2;}
34041 { (exit 1); exit 1; }; }
34043 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34044 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34050 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34051 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34055 if test "$wxUSE_OPENGL" = "auto"; then
34059 if test "$wxUSE_OPENGL" = "yes"; then
34061 cat >>confdefs.h <<\_ACEOF
34062 #define wxUSE_OPENGL 1
34065 cat >>confdefs.h <<\_ACEOF
34066 #define wxUSE_GLCANVAS 1
34069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34074 if test -n "$TOOLKIT" ; then
34075 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34080 if test "$wxUSE_SHARED" = "yes"; then
34084 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34085 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34090 if test "$wxUSE_SHARED" = "yes"; then
34094 *-*-cygwin* | *-*-mingw* )
34095 wx_cv_version_script=no
34099 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34100 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34101 if test "${wx_cv_version_script+set}" = set; then
34102 echo $ECHO_N "(cached) $ECHO_C" >&6
34105 echo "VER_1 { *; };" >conftest.sym
34106 echo "int main() { return 0; }" >conftest.cpp
34109 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34110 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34112 (eval $ac_try) 2>&5
34114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34115 (exit $ac_status); }; } ; then
34116 if test -s conftest.stderr ; then
34117 wx_cv_version_script=no
34119 wx_cv_version_script=yes
34122 wx_cv_version_script=no
34125 if test $wx_cv_version_script = yes
34127 echo "struct B { virtual ~B() { } }; \
34128 struct D : public B { }; \
34129 void F() { D d; }" > conftest.cpp
34132 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34133 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34135 (eval $ac_try) 2>&5
34137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34138 (exit $ac_status); }; } &&
34140 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34141 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34143 (eval $ac_try) 2>&5
34145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146 (exit $ac_status); }; }
34149 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34150 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34152 (eval $ac_try) 2>&5
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); }; }
34157 wx_cv_version_script=yes
34159 wx_cv_version_script=no
34164 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34165 rm -f conftest1.output conftest2.output conftest3.output
34168 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34169 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34171 if test $wx_cv_version_script = yes ; then
34172 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34178 if test "$wxUSE_VISIBILITY" != "no"; then
34181 if test -n "$GCC"; then
34182 CFLAGS_VISIBILITY="-fvisibility=hidden"
34183 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34184 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34185 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34186 if test "${wx_cv_cc_visibility+set}" = set; then
34187 echo $ECHO_N "(cached) $ECHO_C" >&6
34190 wx_save_CXXFLAGS="$CXXFLAGS"
34191 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34193 ac_cpp='$CXXCPP $CPPFLAGS'
34194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34198 cat >conftest.$ac_ext <<_ACEOF
34201 cat confdefs.h >>conftest.$ac_ext
34202 cat >>conftest.$ac_ext <<_ACEOF
34203 /* end confdefs.h. */
34205 /* we need gcc >= 4.0, older versions with visibility support
34206 didn't have class visibility: */
34207 #if defined(__GNUC__) && __GNUC__ < 4
34208 error this gcc is too old;
34211 /* visibility only makes sense for ELF shared libs: */
34212 #if !defined(__ELF__) && !defined(__APPLE__)
34213 error this platform has no visibility;
34216 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34217 extern __attribute__((__visibility__("default"))) int exportedvar;
34218 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34219 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34220 class __attribute__((__visibility__("default"))) Foo {
34232 rm -f conftest.$ac_objext
34233 if { (ac_try="$ac_compile"
34234 case "(($ac_try" in
34235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34236 *) ac_try_echo
=$ac_try;;
34238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34239 (eval "$ac_compile") 2>conftest.er1
34241 grep -v '^ *+' conftest.er1
>conftest.err
34243 cat conftest.err
>&5
34244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34245 (exit $ac_status); } && {
34246 test -z "$ac_cxx_werror_flag" ||
34247 test ! -s conftest.err
34248 } && test -s conftest.
$ac_objext; then
34249 wx_cv_cc_visibility
=yes
34251 echo "$as_me: failed program was:" >&5
34252 sed 's/^/| /' conftest.
$ac_ext >&5
34254 wx_cv_cc_visibility
=no
34257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34259 ac_cpp
='$CPP $CPPFLAGS'
34260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34264 CXXFLAGS
="$wx_save_CXXFLAGS"
34267 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34268 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34269 if test $wx_cv_cc_visibility = yes; then
34270 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34271 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34272 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34273 echo $ECHO_N "(cached) $ECHO_C" >&6
34276 wx_save_CXXFLAGS
="$CXXFLAGS"
34277 wx_save_LDFLAGS
="$LDFLAGS"
34278 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34279 LDFLAGS
="$LDFLAGS -shared -fPIC"
34281 ac_cpp
='$CXXCPP $CPPFLAGS'
34282 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34283 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34284 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34286 cat >conftest.
$ac_ext <<_ACEOF
34289 cat confdefs.h
>>conftest.
$ac_ext
34290 cat >>conftest.
$ac_ext <<_ACEOF
34291 /* end confdefs.h. */
34299 std::string s("hello");
34306 rm -f conftest.
$ac_objext conftest
$ac_exeext
34307 if { (ac_try
="$ac_link"
34308 case "(($ac_try" in
34309 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34310 *) ac_try_echo=$ac_try;;
34312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34313 (eval "$ac_link") 2>conftest.er1
34315 grep -v '^ *+' conftest.er1 >conftest.err
34317 cat conftest.err >&5
34318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34319 (exit $ac_status); } && {
34320 test -z "$ac_cxx_werror_flag" ||
34321 test ! -s conftest.err
34322 } && test -s conftest$ac_exeext &&
34323 $as_test_x conftest$ac_exeext; then
34324 wx_cv_cc_broken_libstdcxx_visibility=no
34326 echo "$as_me: failed program was:" >&5
34327 sed 's/^/| /' conftest.$ac_ext >&5
34329 wx_cv_cc_broken_libstdcxx_visibility=yes
34332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34333 conftest$ac_exeext conftest.$ac_ext
34335 ac_cpp='$CPP $CPPFLAGS'
34336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34340 CXXFLAGS="$wx_save_CXXFLAGS"
34341 LDFLAGS="$wx_save_LDFLAGS"
34344 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34345 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34347 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34348 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34349 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34350 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34351 echo $ECHO_N "(cached) $ECHO_C" >&6
34355 ac_cpp='$CXXCPP $CPPFLAGS'
34356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34360 cat >conftest.$ac_ext <<_ACEOF
34363 cat confdefs.h >>conftest.$ac_ext
34364 cat >>conftest.$ac_ext <<_ACEOF
34365 /* end confdefs.h. */
34367 #pragma GCC visibility push(default)
34369 #pragma GCC visibility pop
34375 std::string s("hello");
34382 rm -f conftest.$ac_objext conftest$ac_exeext
34383 if { (ac_try="$ac_link"
34384 case "(($ac_try" in
34385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34386 *) ac_try_echo
=$ac_try;;
34388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34389 (eval "$ac_link") 2>conftest.er1
34391 grep -v '^ *+' conftest.er1
>conftest.err
34393 cat conftest.err
>&5
34394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34395 (exit $ac_status); } && {
34396 test -z "$ac_cxx_werror_flag" ||
34397 test ! -s conftest.err
34398 } && test -s conftest
$ac_exeext &&
34399 $as_test_x conftest
$ac_exeext; then
34400 wx_cv_cc_visibility_workaround
=no
34402 echo "$as_me: failed program was:" >&5
34403 sed 's/^/| /' conftest.
$ac_ext >&5
34405 wx_cv_cc_visibility_workaround
=yes
34408 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34409 conftest
$ac_exeext conftest.
$ac_ext
34411 ac_cpp
='$CPP $CPPFLAGS'
34412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34419 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34420 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34422 if test $wx_cv_cc_visibility_workaround = no
; then
34423 wx_cv_cc_visibility
=no
34428 if test $wx_cv_cc_visibility = yes; then
34429 cat >>confdefs.h
<<\_ACEOF
34430 #define HAVE_VISIBILITY 1
34433 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34434 cat >>confdefs.h
<<\_ACEOF
34435 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34440 CFLAGS_VISIBILITY
=""
34441 CXXFLAGS_VISIBILITY
=""
34449 if test "x$SUNCXX" = xyes
; then
34450 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34451 WXCONFIG_RPATH
="-R\$libdir"
34454 *-*-linux* | *-*-gnu* )
34455 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34456 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34461 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34463 saveLdflags
="$LDFLAGS"
34464 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34465 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34466 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34467 cat >conftest.
$ac_ext <<_ACEOF
34470 cat confdefs.h
>>conftest.
$ac_ext
34471 cat >>conftest.
$ac_ext <<_ACEOF
34472 /* end confdefs.h. */
34482 rm -f conftest.
$ac_objext conftest
$ac_exeext
34483 if { (ac_try
="$ac_link"
34484 case "(($ac_try" in
34485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34486 *) ac_try_echo=$ac_try;;
34488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34489 (eval "$ac_link") 2>conftest.er1
34491 grep -v '^ *+' conftest.er1 >conftest.err
34493 cat conftest.err >&5
34494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34495 (exit $ac_status); } && {
34496 test -z "$ac_c_werror_flag" ||
34497 test ! -s conftest.err
34498 } && test -s conftest$ac_exeext &&
34499 $as_test_x conftest$ac_exeext; then
34501 { echo "$as_me:$LINENO: result: yes" >&5
34502 echo "${ECHO_T}yes" >&6; }
34503 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34504 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34507 echo "$as_me: failed program was:" >&5
34508 sed 's/^/| /' conftest.$ac_ext >&5
34511 { echo "$as_me:$LINENO: result: no" >&5
34512 echo "${ECHO_T}no" >&6; }
34513 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34514 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34515 LDFLAGS="$saveLdflags -Wl,-R,/"
34516 cat >conftest.$ac_ext <<_ACEOF
34519 cat confdefs.h >>conftest.$ac_ext
34520 cat >>conftest.$ac_ext <<_ACEOF
34521 /* end confdefs.h. */
34531 rm -f conftest.$ac_objext conftest$ac_exeext
34532 if { (ac_try="$ac_link"
34533 case "(($ac_try" in
34534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34535 *) ac_try_echo
=$ac_try;;
34537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34538 (eval "$ac_link") 2>conftest.er1
34540 grep -v '^ *+' conftest.er1
>conftest.err
34542 cat conftest.err
>&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); } && {
34545 test -z "$ac_c_werror_flag" ||
34546 test ! -s conftest.err
34547 } && test -s conftest
$ac_exeext &&
34548 $as_test_x conftest
$ac_exeext; then
34550 { echo "$as_me:$LINENO: result: yes" >&5
34551 echo "${ECHO_T}yes" >&6; }
34552 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34553 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34556 echo "$as_me: failed program was:" >&5
34557 sed 's/^/| /' conftest.
$ac_ext >&5
34560 { echo "$as_me:$LINENO: result: no" >&5
34561 echo "${ECHO_T}no" >&6; }
34565 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34566 conftest
$ac_exeext conftest.
$ac_ext
34570 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34571 conftest
$ac_exeext conftest.
$ac_ext
34572 LDFLAGS
="$saveLdflags"
34576 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
34577 if test "$install_name_tool" -a -x "$install_name_tool"; then
34578 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34579 cat <<EOF >change-install-names
34581 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34582 for i in \${libnames} ; do
34583 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34584 for dep in \${libnames} ; do
34585 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34589 chmod +x change
-install-names
34590 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34593 HEADER_PAD_OPTION
="-headerpad_max_install_names"
34596 *-*-cygwin* | *-*-mingw32* )
34600 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34601 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34607 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34609 if test $wxUSE_RPATH = "no"; then
34610 SAMPLES_RPATH_FLAG
=''
34611 DYLIB_PATH_POSTLINK
=''
34619 config_linkage_component
="-static"
34626 lib_unicode_suffix
=
34628 if test "$wxUSE_UNICODE" = "yes"; then
34629 lib_unicode_suffix
=u
34630 WX_CHARTYPE
="unicode"
34634 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34635 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34638 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34642 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34644 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34646 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34649 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34650 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34652 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34654 if test "${TOOLKIT_DIR}" = "os2"; then
34655 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34657 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34662 if test "$wxUSE_OLD_COCOA" = 1; then
34665 ac_cpp
='$CPP $CPPFLAGS'
34666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34672 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34673 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34674 cat >conftest.
$ac_ext <<_ACEOF
34677 cat confdefs.h
>>conftest.
$ac_ext
34678 cat >>conftest.
$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34680 #include <AppKit/NSEvent.h>
34681 #include <CoreFoundation/CoreFoundation.h>
34691 rm -f conftest.
$ac_objext
34692 if { (ac_try
="$ac_compile"
34693 case "(($ac_try" in
34694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34695 *) ac_try_echo=$ac_try;;
34697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34698 (eval "$ac_compile") 2>conftest.er1
34700 grep -v '^ *+' conftest.er1 >conftest.err
34702 cat conftest.err >&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); } && {
34705 test -z "$ac_c_werror_flag" ||
34706 test ! -s conftest.err
34707 } && test -s conftest.$ac_objext; then
34708 { echo "$as_me:$LINENO: result: no" >&5
34709 echo "${ECHO_T}no" >&6; }
34711 echo "$as_me: failed program was:" >&5
34712 sed 's/^/| /' conftest.$ac_ext >&5
34714 { echo "$as_me:$LINENO: result: yes" >&5
34715 echo "${ECHO_T}yes" >&6; }
34716 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34717 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34718 cat >conftest.$ac_ext <<_ACEOF
34721 cat confdefs.h >>conftest.$ac_ext
34722 cat >>conftest.$ac_ext <<_ACEOF
34723 /* end confdefs.h. */
34724 #define __Point__ 1
34725 #include <AppKit/NSEvent.h>
34726 #include <CoreFoundation/CoreFoundation.h>
34736 rm -f conftest.$ac_objext
34737 if { (ac_try="$ac_compile"
34738 case "(($ac_try" in
34739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34740 *) ac_try_echo
=$ac_try;;
34742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34743 (eval "$ac_compile") 2>conftest.er1
34745 grep -v '^ *+' conftest.er1
>conftest.err
34747 cat conftest.err
>&5
34748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749 (exit $ac_status); } && {
34750 test -z "$ac_c_werror_flag" ||
34751 test ! -s conftest.err
34752 } && test -s conftest.
$ac_objext; then
34753 { echo "$as_me:$LINENO: result: yes" >&5
34754 echo "${ECHO_T}yes" >&6; }
34755 cat >>confdefs.h
<<\_ACEOF
34756 #define __Point__ 1
34761 echo "$as_me: failed program was:" >&5
34762 sed 's/^/| /' conftest.
$ac_ext >&5
34764 { { echo "$as_me:$LINENO: error: no
34765 See \`config.log' for more details." >&5
34766 echo "$as_me: error: no
34767 See \`config.log' for more details." >&2;}
34768 { (exit 1); exit 1; }; }
34772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34778 ac_cpp
='$CPP $CPPFLAGS'
34779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34786 { echo "$as_me:$LINENO: checking for mode_t" >&5
34787 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34788 if test "${ac_cv_type_mode_t+set}" = set; then
34789 echo $ECHO_N "(cached) $ECHO_C" >&6
34791 cat >conftest.
$ac_ext <<_ACEOF
34794 cat confdefs.h
>>conftest.
$ac_ext
34795 cat >>conftest.
$ac_ext <<_ACEOF
34796 /* end confdefs.h. */
34797 $ac_includes_default
34798 typedef mode_t ac__type_new_;
34802 if ((ac__type_new_ *) 0)
34804 if (sizeof (ac__type_new_))
34810 rm -f conftest.
$ac_objext
34811 if { (ac_try
="$ac_compile"
34812 case "(($ac_try" in
34813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34814 *) ac_try_echo=$ac_try;;
34816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34817 (eval "$ac_compile") 2>conftest.er1
34819 grep -v '^ *+' conftest.er1 >conftest.err
34821 cat conftest.err >&5
34822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34823 (exit $ac_status); } && {
34824 test -z "$ac_c_werror_flag" ||
34825 test ! -s conftest.err
34826 } && test -s conftest.$ac_objext; then
34827 ac_cv_type_mode_t=yes
34829 echo "$as_me: failed program was:" >&5
34830 sed 's/^/| /' conftest.$ac_ext >&5
34832 ac_cv_type_mode_t=no
34835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34837 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34838 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34839 if test $ac_cv_type_mode_t = yes; then
34843 cat >>confdefs.h <<_ACEOF
34849 { echo "$as_me:$LINENO: checking for off_t" >&5
34850 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34851 if test "${ac_cv_type_off_t+set}" = set; then
34852 echo $ECHO_N "(cached) $ECHO_C" >&6
34854 cat >conftest.$ac_ext <<_ACEOF
34857 cat confdefs.h >>conftest.$ac_ext
34858 cat >>conftest.$ac_ext <<_ACEOF
34859 /* end confdefs.h. */
34860 $ac_includes_default
34861 typedef off_t ac__type_new_;
34865 if ((ac__type_new_ *) 0)
34867 if (sizeof (ac__type_new_))
34873 rm -f conftest.$ac_objext
34874 if { (ac_try="$ac_compile"
34875 case "(($ac_try" in
34876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34877 *) ac_try_echo
=$ac_try;;
34879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34880 (eval "$ac_compile") 2>conftest.er1
34882 grep -v '^ *+' conftest.er1
>conftest.err
34884 cat conftest.err
>&5
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); } && {
34887 test -z "$ac_c_werror_flag" ||
34888 test ! -s conftest.err
34889 } && test -s conftest.
$ac_objext; then
34890 ac_cv_type_off_t
=yes
34892 echo "$as_me: failed program was:" >&5
34893 sed 's/^/| /' conftest.
$ac_ext >&5
34895 ac_cv_type_off_t
=no
34898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34900 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34901 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34902 if test $ac_cv_type_off_t = yes; then
34906 cat >>confdefs.h
<<_ACEOF
34907 #define off_t long int
34912 { echo "$as_me:$LINENO: checking for pid_t" >&5
34913 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34914 if test "${ac_cv_type_pid_t+set}" = set; then
34915 echo $ECHO_N "(cached) $ECHO_C" >&6
34917 cat >conftest.
$ac_ext <<_ACEOF
34920 cat confdefs.h
>>conftest.
$ac_ext
34921 cat >>conftest.
$ac_ext <<_ACEOF
34922 /* end confdefs.h. */
34923 $ac_includes_default
34924 typedef pid_t ac__type_new_;
34928 if ((ac__type_new_ *) 0)
34930 if (sizeof (ac__type_new_))
34936 rm -f conftest.
$ac_objext
34937 if { (ac_try
="$ac_compile"
34938 case "(($ac_try" in
34939 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34940 *) ac_try_echo=$ac_try;;
34942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34943 (eval "$ac_compile") 2>conftest.er1
34945 grep -v '^ *+' conftest.er1 >conftest.err
34947 cat conftest.err >&5
34948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949 (exit $ac_status); } && {
34950 test -z "$ac_c_werror_flag" ||
34951 test ! -s conftest.err
34952 } && test -s conftest.$ac_objext; then
34953 ac_cv_type_pid_t=yes
34955 echo "$as_me: failed program was:" >&5
34956 sed 's/^/| /' conftest.$ac_ext >&5
34958 ac_cv_type_pid_t=no
34961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34963 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34964 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34965 if test $ac_cv_type_pid_t = yes; then
34969 cat >>confdefs.h <<_ACEOF
34975 { echo "$as_me:$LINENO: checking for size_t" >&5
34976 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34977 if test "${ac_cv_type_size_t+set}" = set; then
34978 echo $ECHO_N "(cached) $ECHO_C" >&6
34980 cat >conftest.$ac_ext <<_ACEOF
34983 cat confdefs.h >>conftest.$ac_ext
34984 cat >>conftest.$ac_ext <<_ACEOF
34985 /* end confdefs.h. */
34986 $ac_includes_default
34987 typedef size_t ac__type_new_;
34991 if ((ac__type_new_ *) 0)
34993 if (sizeof (ac__type_new_))
34999 rm -f conftest.$ac_objext
35000 if { (ac_try="$ac_compile"
35001 case "(($ac_try" in
35002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35003 *) ac_try_echo
=$ac_try;;
35005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35006 (eval "$ac_compile") 2>conftest.er1
35008 grep -v '^ *+' conftest.er1
>conftest.err
35010 cat conftest.err
>&5
35011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35012 (exit $ac_status); } && {
35013 test -z "$ac_c_werror_flag" ||
35014 test ! -s conftest.err
35015 } && test -s conftest.
$ac_objext; then
35016 ac_cv_type_size_t
=yes
35018 echo "$as_me: failed program was:" >&5
35019 sed 's/^/| /' conftest.
$ac_ext >&5
35021 ac_cv_type_size_t
=no
35024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35026 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35027 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35028 if test $ac_cv_type_size_t = yes; then
35032 cat >>confdefs.h
<<_ACEOF
35033 #define size_t unsigned int
35039 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35040 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35041 if test "${ac_cv_type_ssize_t+set}" = set; then
35042 echo $ECHO_N "(cached) $ECHO_C" >&6
35044 cat >conftest.
$ac_ext <<_ACEOF
35047 cat confdefs.h
>>conftest.
$ac_ext
35048 cat >>conftest.
$ac_ext <<_ACEOF
35049 /* end confdefs.h. */
35050 $ac_includes_default
35051 typedef ssize_t ac__type_new_;
35055 if ((ac__type_new_ *) 0)
35057 if (sizeof (ac__type_new_))
35063 rm -f conftest.
$ac_objext
35064 if { (ac_try
="$ac_compile"
35065 case "(($ac_try" in
35066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35067 *) ac_try_echo=$ac_try;;
35069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35070 (eval "$ac_compile") 2>conftest.er1
35072 grep -v '^ *+' conftest.er1 >conftest.err
35074 cat conftest.err >&5
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); } && {
35077 test -z "$ac_c_werror_flag" ||
35078 test ! -s conftest.err
35079 } && test -s conftest.$ac_objext; then
35080 ac_cv_type_ssize_t=yes
35082 echo "$as_me: failed program was:" >&5
35083 sed 's/^/| /' conftest.$ac_ext >&5
35085 ac_cv_type_ssize_t=no
35088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35090 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35091 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35092 if test $ac_cv_type_ssize_t = yes; then
35094 cat >>confdefs.h <<_ACEOF
35095 #define HAVE_SSIZE_T 1
35103 ac_cpp='$CXXCPP $CPPFLAGS'
35104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35107 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35108 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35109 if test "${wx_cv_size_t_is_uint+set}" = set; then
35110 echo $ECHO_N "(cached) $ECHO_C" >&6
35113 cat >conftest.$ac_ext <<_ACEOF
35116 cat confdefs.h >>conftest.$ac_ext
35117 cat >>conftest.$ac_ext <<_ACEOF
35118 /* end confdefs.h. */
35119 #include <stddef.h>
35126 struct Foo { void foo(size_t); void foo(unsigned int); };
35134 rm -f conftest.$ac_objext
35135 if { (ac_try="$ac_compile"
35136 case "(($ac_try" in
35137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35138 *) ac_try_echo
=$ac_try;;
35140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35141 (eval "$ac_compile") 2>conftest.er1
35143 grep -v '^ *+' conftest.er1
>conftest.err
35145 cat conftest.err
>&5
35146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35147 (exit $ac_status); } && {
35148 test -z "$ac_cxx_werror_flag" ||
35149 test ! -s conftest.err
35150 } && test -s conftest.
$ac_objext; then
35151 wx_cv_size_t_is_uint
=no
35153 echo "$as_me: failed program was:" >&5
35154 sed 's/^/| /' conftest.
$ac_ext >&5
35156 wx_cv_size_t_is_uint
=yes
35160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35164 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35165 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35167 if test "$wx_cv_size_t_is_uint" = "yes"; then
35168 cat >>confdefs.h
<<\_ACEOF
35169 #define wxSIZE_T_IS_UINT 1
35173 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35174 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35175 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35176 echo $ECHO_N "(cached) $ECHO_C" >&6
35178 cat >conftest.
$ac_ext <<_ACEOF
35181 cat confdefs.h
>>conftest.
$ac_ext
35182 cat >>conftest.
$ac_ext <<_ACEOF
35183 /* end confdefs.h. */
35184 #include <stddef.h>
35191 struct Foo { void foo(size_t); void foo(unsigned long); };
35199 rm -f conftest.
$ac_objext
35200 if { (ac_try
="$ac_compile"
35201 case "(($ac_try" in
35202 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35203 *) ac_try_echo=$ac_try;;
35205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35206 (eval "$ac_compile") 2>conftest.er1
35208 grep -v '^ *+' conftest.er1 >conftest.err
35210 cat conftest.err >&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } && {
35213 test -z "$ac_cxx_werror_flag" ||
35214 test ! -s conftest.err
35215 } && test -s conftest.$ac_objext; then
35216 wx_cv_size_t_is_ulong=no
35218 echo "$as_me: failed program was:" >&5
35219 sed 's/^/| /' conftest.$ac_ext >&5
35221 wx_cv_size_t_is_ulong=yes
35225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35228 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35229 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35231 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35232 cat >>confdefs.h <<\_ACEOF
35233 #define wxSIZE_T_IS_ULONG 1
35239 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35240 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35241 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35244 cat >conftest.$ac_ext <<_ACEOF
35247 cat confdefs.h >>conftest.$ac_ext
35248 cat >>conftest.$ac_ext <<_ACEOF
35249 /* end confdefs.h. */
35257 struct Foo { void foo(wchar_t);
35258 void foo(unsigned short);
35259 void foo(unsigned int);
35260 void foo(unsigned long); };
35268 rm -f conftest.$ac_objext
35269 if { (ac_try="$ac_compile"
35270 case "(($ac_try" in
35271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35272 *) ac_try_echo
=$ac_try;;
35274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35275 (eval "$ac_compile") 2>conftest.er1
35277 grep -v '^ *+' conftest.er1
>conftest.err
35279 cat conftest.err
>&5
35280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281 (exit $ac_status); } && {
35282 test -z "$ac_cxx_werror_flag" ||
35283 test ! -s conftest.err
35284 } && test -s conftest.
$ac_objext; then
35285 wx_cv_wchar_t_is_separate_type
=yes
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.
$ac_ext >&5
35290 wx_cv_wchar_t_is_separate_type
=no
35294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35297 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35298 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35300 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35301 cat >>confdefs.h
<<\_ACEOF
35302 #define wxWCHAR_T_IS_REAL_TYPE 1
35306 cat >>confdefs.h
<<\_ACEOF
35307 #define wxWCHAR_T_IS_REAL_TYPE 0
35313 ac_cpp
='$CPP $CPPFLAGS'
35314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35319 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35320 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35321 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35325 cat >conftest.
$ac_ext <<_ACEOF
35328 cat confdefs.h
>>conftest.
$ac_ext
35329 cat >>conftest.
$ac_ext <<_ACEOF
35330 /* end confdefs.h. */
35344 rm -f conftest.
$ac_objext
35345 if { (ac_try
="$ac_compile"
35346 case "(($ac_try" in
35347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35348 *) ac_try_echo=$ac_try;;
35350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35351 (eval "$ac_compile") 2>conftest.er1
35353 grep -v '^ *+' conftest.er1 >conftest.err
35355 cat conftest.err >&5
35356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357 (exit $ac_status); } && {
35358 test -z "$ac_c_werror_flag" ||
35359 test ! -s conftest.err
35360 } && test -s conftest.$ac_objext; then
35362 wx_cv_struct_pw_gecos=yes
35365 echo "$as_me: failed program was:" >&5
35366 sed 's/^/| /' conftest.$ac_ext >&5
35369 wx_cv_struct_pw_gecos=no
35374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35378 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35379 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35381 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35382 cat >>confdefs.h <<\_ACEOF
35383 #define HAVE_PW_GECOS 1
35389 if test "$wxUSE_WCHAR_T" = "yes"; then
35390 cat >>confdefs.h <<\_ACEOF
35391 #define wxUSE_WCHAR_T 1
35398 for ac_func in wcslen
35400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35404 echo $ECHO_N "(cached) $ECHO_C" >&6
35406 cat >conftest.$ac_ext <<_ACEOF
35409 cat confdefs.h >>conftest.$ac_ext
35410 cat >>conftest.$ac_ext <<_ACEOF
35411 /* end confdefs.h. */
35412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35414 #define $ac_func innocuous_$ac_func
35416 /* System header to define __stub macros and hopefully few prototypes,
35417 which can conflict with char $ac_func (); below.
35418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35419 <limits.h> exists even on freestanding compilers. */
35422 # include <limits.h>
35424 # include <assert.h>
35429 /* Override any GCC internal prototype to avoid an error.
35430 Use char because int might match the return type of a GCC
35431 builtin and then its argument prototype would still apply. */
35436 /* The GNU C library defines this for functions which it implements
35437 to always fail with ENOSYS. Some functions are actually named
35438 something starting with __ and the normal name is an alias. */
35439 #if defined __stub_$ac_func || defined __stub___$ac_func
35446 return $ac_func ();
35451 rm -f conftest.$ac_objext conftest$ac_exeext
35452 if { (ac_try="$ac_link"
35453 case "(($ac_try" in
35454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35455 *) ac_try_echo
=$ac_try;;
35457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35458 (eval "$ac_link") 2>conftest.er1
35460 grep -v '^ *+' conftest.er1
>conftest.err
35462 cat conftest.err
>&5
35463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35464 (exit $ac_status); } && {
35465 test -z "$ac_c_werror_flag" ||
35466 test ! -s conftest.err
35467 } && test -s conftest
$ac_exeext &&
35468 $as_test_x conftest
$ac_exeext; then
35469 eval "$as_ac_var=yes"
35471 echo "$as_me: failed program was:" >&5
35472 sed 's/^/| /' conftest.
$ac_ext >&5
35474 eval "$as_ac_var=no"
35477 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35478 conftest
$ac_exeext conftest.
$ac_ext
35480 ac_res
=`eval echo '${'$as_ac_var'}'`
35481 { echo "$as_me:$LINENO: result: $ac_res" >&5
35482 echo "${ECHO_T}$ac_res" >&6; }
35483 if test `eval echo '${'$as_ac_var'}'` = yes; then
35484 cat >>confdefs.h
<<_ACEOF
35485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35492 if test "$WCSLEN_FOUND" = 0; then
35493 if test "$TOOLKIT" = "MSW"; then
35494 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35495 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35496 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35497 echo $ECHO_N "(cached) $ECHO_C" >&6
35499 ac_check_lib_save_LIBS
=$LIBS
35500 LIBS
="-lmsvcrt $LIBS"
35501 cat >conftest.
$ac_ext <<_ACEOF
35504 cat confdefs.h
>>conftest.
$ac_ext
35505 cat >>conftest.
$ac_ext <<_ACEOF
35506 /* end confdefs.h. */
35508 /* Override any GCC internal prototype to avoid an error.
35509 Use char because int might match the return type of a GCC
35510 builtin and then its argument prototype would still apply. */
35523 rm -f conftest.
$ac_objext conftest
$ac_exeext
35524 if { (ac_try
="$ac_link"
35525 case "(($ac_try" in
35526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35527 *) ac_try_echo=$ac_try;;
35529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35530 (eval "$ac_link") 2>conftest.er1
35532 grep -v '^ *+' conftest.er1 >conftest.err
35534 cat conftest.err >&5
35535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35536 (exit $ac_status); } && {
35537 test -z "$ac_c_werror_flag" ||
35538 test ! -s conftest.err
35539 } && test -s conftest$ac_exeext &&
35540 $as_test_x conftest$ac_exeext; then
35541 ac_cv_lib_msvcrt_wcslen=yes
35543 echo "$as_me: failed program was:" >&5
35544 sed 's/^/| /' conftest.$ac_ext >&5
35546 ac_cv_lib_msvcrt_wcslen=no
35549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35550 conftest$ac_exeext conftest.$ac_ext
35551 LIBS=$ac_check_lib_save_LIBS
35553 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35554 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35555 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35560 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35561 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35562 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35563 echo $ECHO_N "(cached) $ECHO_C" >&6
35565 ac_check_lib_save_LIBS=$LIBS
35567 cat >conftest.$ac_ext <<_ACEOF
35570 cat confdefs.h >>conftest.$ac_ext
35571 cat >>conftest.$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35574 /* Override any GCC internal prototype to avoid an error.
35575 Use char because int might match the return type of a GCC
35576 builtin and then its argument prototype would still apply. */
35589 rm -f conftest.$ac_objext conftest$ac_exeext
35590 if { (ac_try="$ac_link"
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_link") 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_exeext &&
35606 $as_test_x conftest
$ac_exeext; then
35607 ac_cv_lib_w_wcslen
=yes
35609 echo "$as_me: failed program was:" >&5
35610 sed 's/^/| /' conftest.
$ac_ext >&5
35612 ac_cv_lib_w_wcslen
=no
35615 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35616 conftest
$ac_exeext conftest.
$ac_ext
35617 LIBS
=$ac_check_lib_save_LIBS
35619 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35620 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35621 if test $ac_cv_lib_w_wcslen = yes; then
35631 if test "$WCSLEN_FOUND" = 1; then
35632 cat >>confdefs.h
<<\_ACEOF
35633 #define HAVE_WCSLEN 1
35643 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35645 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35646 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35648 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35649 echo $ECHO_N "(cached) $ECHO_C" >&6
35651 cat >conftest.
$ac_ext <<_ACEOF
35654 cat confdefs.h
>>conftest.
$ac_ext
35655 cat >>conftest.
$ac_ext <<_ACEOF
35656 /* end confdefs.h. */
35657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35659 #define $ac_func innocuous_$ac_func
35661 /* System header to define __stub macros and hopefully few prototypes,
35662 which can conflict with char $ac_func (); below.
35663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35664 <limits.h> exists even on freestanding compilers. */
35667 # include <limits.h>
35669 # include <assert.h>
35674 /* Override any GCC internal prototype to avoid an error.
35675 Use char because int might match the return type of a GCC
35676 builtin and then its argument prototype would still apply. */
35681 /* The GNU C library defines this for functions which it implements
35682 to always fail with ENOSYS. Some functions are actually named
35683 something starting with __ and the normal name is an alias. */
35684 #if defined __stub_$ac_func || defined __stub___$ac_func
35691 return $ac_func ();
35696 rm -f conftest.
$ac_objext conftest
$ac_exeext
35697 if { (ac_try
="$ac_link"
35698 case "(($ac_try" in
35699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35700 *) ac_try_echo=$ac_try;;
35702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35703 (eval "$ac_link") 2>conftest.er1
35705 grep -v '^ *+' conftest.er1 >conftest.err
35707 cat conftest.err >&5
35708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35709 (exit $ac_status); } && {
35710 test -z "$ac_c_werror_flag" ||
35711 test ! -s conftest.err
35712 } && test -s conftest$ac_exeext &&
35713 $as_test_x conftest$ac_exeext; then
35714 eval "$as_ac_var=yes"
35716 echo "$as_me: failed program was:" >&5
35717 sed 's/^/| /' conftest.$ac_ext >&5
35719 eval "$as_ac_var=no"
35722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35723 conftest$ac_exeext conftest.$ac_ext
35725 ac_res=`eval echo '${'$as_ac_var'}'`
35726 { echo "$as_me:$LINENO: result: $ac_res" >&5
35727 echo "${ECHO_T}$ac_res" >&6; }
35728 if test `eval echo '${'$as_ac_var'}'` = yes; then
35729 cat >>confdefs.h <<_ACEOF
35730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35737 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35738 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35741 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35742 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35743 if test "${ac_cv_type_mbstate_t+set}" = set; then
35744 echo $ECHO_N "(cached) $ECHO_C" >&6
35746 cat >conftest.$ac_ext <<_ACEOF
35749 cat confdefs.h >>conftest.$ac_ext
35750 cat >>conftest.$ac_ext <<_ACEOF
35751 /* end confdefs.h. */
35754 typedef mbstate_t ac__type_new_;
35758 if ((ac__type_new_ *) 0)
35760 if (sizeof (ac__type_new_))
35766 rm -f conftest.$ac_objext
35767 if { (ac_try="$ac_compile"
35768 case "(($ac_try" in
35769 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35770 *) ac_try_echo
=$ac_try;;
35772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35773 (eval "$ac_compile") 2>conftest.er1
35775 grep -v '^ *+' conftest.er1
>conftest.err
35777 cat conftest.err
>&5
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); } && {
35780 test -z "$ac_c_werror_flag" ||
35781 test ! -s conftest.err
35782 } && test -s conftest.
$ac_objext; then
35783 ac_cv_type_mbstate_t
=yes
35785 echo "$as_me: failed program was:" >&5
35786 sed 's/^/| /' conftest.
$ac_ext >&5
35788 ac_cv_type_mbstate_t
=no
35791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35793 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35794 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35795 if test $ac_cv_type_mbstate_t = yes; then
35797 cat >>confdefs.h
<<_ACEOF
35798 #define HAVE_MBSTATE_T 1
35802 for ac_func
in wcsrtombs
35804 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35805 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35807 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35808 echo $ECHO_N "(cached) $ECHO_C" >&6
35810 cat >conftest.
$ac_ext <<_ACEOF
35813 cat confdefs.h
>>conftest.
$ac_ext
35814 cat >>conftest.
$ac_ext <<_ACEOF
35815 /* end confdefs.h. */
35816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35818 #define $ac_func innocuous_$ac_func
35820 /* System header to define __stub macros and hopefully few prototypes,
35821 which can conflict with char $ac_func (); below.
35822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35823 <limits.h> exists even on freestanding compilers. */
35826 # include <limits.h>
35828 # include <assert.h>
35833 /* Override any GCC internal prototype to avoid an error.
35834 Use char because int might match the return type of a GCC
35835 builtin and then its argument prototype would still apply. */
35840 /* The GNU C library defines this for functions which it implements
35841 to always fail with ENOSYS. Some functions are actually named
35842 something starting with __ and the normal name is an alias. */
35843 #if defined __stub_$ac_func || defined __stub___$ac_func
35850 return $ac_func ();
35855 rm -f conftest.
$ac_objext conftest
$ac_exeext
35856 if { (ac_try
="$ac_link"
35857 case "(($ac_try" in
35858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35859 *) ac_try_echo=$ac_try;;
35861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35862 (eval "$ac_link") 2>conftest.er1
35864 grep -v '^ *+' conftest.er1 >conftest.err
35866 cat conftest.err >&5
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); } && {
35869 test -z "$ac_c_werror_flag" ||
35870 test ! -s conftest.err
35871 } && test -s conftest$ac_exeext &&
35872 $as_test_x conftest$ac_exeext; then
35873 eval "$as_ac_var=yes"
35875 echo "$as_me: failed program was:" >&5
35876 sed 's/^/| /' conftest.$ac_ext >&5
35878 eval "$as_ac_var=no"
35881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35882 conftest$ac_exeext conftest.$ac_ext
35884 ac_res=`eval echo '${'$as_ac_var'}'`
35885 { echo "$as_me:$LINENO: result: $ac_res" >&5
35886 echo "${ECHO_T}$ac_res" >&6; }
35887 if test `eval echo '${'$as_ac_var'}'` = yes; then
35888 cat >>confdefs.h <<_ACEOF
35889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35898 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35899 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35905 for ac_func in snprintf vsnprintf vsscanf
35907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35908 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35910 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35911 echo $ECHO_N "(cached) $ECHO_C" >&6
35913 cat >conftest.$ac_ext <<_ACEOF
35916 cat confdefs.h >>conftest.$ac_ext
35917 cat >>conftest.$ac_ext <<_ACEOF
35918 /* end confdefs.h. */
35919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35921 #define $ac_func innocuous_$ac_func
35923 /* System header to define __stub macros and hopefully few prototypes,
35924 which can conflict with char $ac_func (); below.
35925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35926 <limits.h> exists even on freestanding compilers. */
35929 # include <limits.h>
35931 # include <assert.h>
35936 /* Override any GCC internal prototype to avoid an error.
35937 Use char because int might match the return type of a GCC
35938 builtin and then its argument prototype would still apply. */
35943 /* The GNU C library defines this for functions which it implements
35944 to always fail with ENOSYS. Some functions are actually named
35945 something starting with __ and the normal name is an alias. */
35946 #if defined __stub_$ac_func || defined __stub___$ac_func
35953 return $ac_func ();
35958 rm -f conftest.$ac_objext conftest$ac_exeext
35959 if { (ac_try="$ac_link"
35960 case "(($ac_try" in
35961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35962 *) ac_try_echo
=$ac_try;;
35964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35965 (eval "$ac_link") 2>conftest.er1
35967 grep -v '^ *+' conftest.er1
>conftest.err
35969 cat conftest.err
>&5
35970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35971 (exit $ac_status); } && {
35972 test -z "$ac_c_werror_flag" ||
35973 test ! -s conftest.err
35974 } && test -s conftest
$ac_exeext &&
35975 $as_test_x conftest
$ac_exeext; then
35976 eval "$as_ac_var=yes"
35978 echo "$as_me: failed program was:" >&5
35979 sed 's/^/| /' conftest.
$ac_ext >&5
35981 eval "$as_ac_var=no"
35984 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35985 conftest
$ac_exeext conftest.
$ac_ext
35987 ac_res
=`eval echo '${'$as_ac_var'}'`
35988 { echo "$as_me:$LINENO: result: $ac_res" >&5
35989 echo "${ECHO_T}$ac_res" >&6; }
35990 if test `eval echo '${'$as_ac_var'}'` = yes; then
35991 cat >>confdefs.h
<<_ACEOF
35992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36000 ac_cpp
='$CXXCPP $CPPFLAGS'
36001 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36005 if test "$ac_cv_func_vsnprintf" = "yes"; then
36006 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36007 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36008 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36009 echo $ECHO_N "(cached) $ECHO_C" >&6
36012 cat >conftest.
$ac_ext <<_ACEOF
36015 cat confdefs.h
>>conftest.
$ac_ext
36016 cat >>conftest.
$ac_ext <<_ACEOF
36017 /* end confdefs.h. */
36020 #include <stdarg.h>
36022 #if __MSL__ >= 0x6000
36024 using namespace std;
36034 vsnprintf(buf, 10u, "%s", ap);
36040 rm -f conftest.
$ac_objext
36041 if { (ac_try
="$ac_compile"
36042 case "(($ac_try" in
36043 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36044 *) ac_try_echo=$ac_try;;
36046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36047 (eval "$ac_compile") 2>conftest.er1
36049 grep -v '^ *+' conftest.er1 >conftest.err
36051 cat conftest.err >&5
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); } && {
36054 test -z "$ac_cxx_werror_flag" ||
36055 test ! -s conftest.err
36056 } && test -s conftest.$ac_objext; then
36057 wx_cv_func_vsnprintf_decl=yes
36059 echo "$as_me: failed program was:" >&5
36060 sed 's/^/| /' conftest.$ac_ext >&5
36062 wx_cv_func_vsnprintf_decl=no
36066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36070 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36071 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36073 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36074 cat >>confdefs.h <<\_ACEOF
36075 #define HAVE_VSNPRINTF_DECL 1
36079 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36080 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36081 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36082 echo $ECHO_N "(cached) $ECHO_C" >&6
36085 cat >conftest.$ac_ext <<_ACEOF
36088 cat confdefs.h >>conftest.$ac_ext
36089 cat >>conftest.$ac_ext <<_ACEOF
36090 /* end confdefs.h. */
36093 #include <stdarg.h>
36095 #if __MSL__ >= 0x6000
36097 using namespace std;
36107 const char *fmt = "%s";
36108 vsnprintf(buf, 10u, fmt, ap);
36114 rm -f conftest.$ac_objext
36115 if { (ac_try="$ac_compile"
36116 case "(($ac_try" in
36117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36118 *) ac_try_echo
=$ac_try;;
36120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36121 (eval "$ac_compile") 2>conftest.er1
36123 grep -v '^ *+' conftest.er1
>conftest.err
36125 cat conftest.err
>&5
36126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36127 (exit $ac_status); } && {
36128 test -z "$ac_cxx_werror_flag" ||
36129 test ! -s conftest.err
36130 } && test -s conftest.
$ac_objext; then
36131 wx_cv_func_broken_vsnprintf_decl
=no
36133 echo "$as_me: failed program was:" >&5
36134 sed 's/^/| /' conftest.
$ac_ext >&5
36136 wx_cv_func_broken_vsnprintf_decl
=yes
36140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36144 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36145 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36147 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36148 cat >>confdefs.h
<<\_ACEOF
36149 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36156 if test "$ac_cv_func_snprintf" = "yes"; then
36157 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36158 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36159 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36160 echo $ECHO_N "(cached) $ECHO_C" >&6
36163 cat >conftest.
$ac_ext <<_ACEOF
36166 cat confdefs.h
>>conftest.
$ac_ext
36167 cat >>conftest.
$ac_ext <<_ACEOF
36168 /* end confdefs.h. */
36171 #include <stdarg.h>
36173 #if __MSL__ >= 0x6000
36175 using namespace std;
36184 snprintf(buf, 10u, "%s", "wx");
36190 rm -f conftest.
$ac_objext
36191 if { (ac_try
="$ac_compile"
36192 case "(($ac_try" in
36193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36194 *) ac_try_echo=$ac_try;;
36196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36197 (eval "$ac_compile") 2>conftest.er1
36199 grep -v '^ *+' conftest.er1 >conftest.err
36201 cat conftest.err >&5
36202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203 (exit $ac_status); } && {
36204 test -z "$ac_cxx_werror_flag" ||
36205 test ! -s conftest.err
36206 } && test -s conftest.$ac_objext; then
36207 wx_cv_func_snprintf_decl=yes
36209 echo "$as_me: failed program was:" >&5
36210 sed 's/^/| /' conftest.$ac_ext >&5
36212 wx_cv_func_snprintf_decl=no
36216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36220 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36221 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36223 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36224 cat >>confdefs.h <<\_ACEOF
36225 #define HAVE_SNPRINTF_DECL 1
36230 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36232 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36233 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36234 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36235 echo $ECHO_N "(cached) $ECHO_C" >&6
36238 if test "$cross_compiling" = yes; then
36240 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36241 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36242 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36243 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36244 wx_cv_func_snprintf_pos_params=no
36248 cat >conftest.$ac_ext <<_ACEOF
36251 cat confdefs.h >>conftest.$ac_ext
36252 cat >>conftest.$ac_ext <<_ACEOF
36253 /* end confdefs.h. */
36260 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36261 if (strcmp ("2 3 1", buffer) == 0)
36267 rm -f conftest$ac_exeext
36268 if { (ac_try="$ac_link"
36269 case "(($ac_try" in
36270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36271 *) ac_try_echo
=$ac_try;;
36273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36274 (eval "$ac_link") 2>&5
36276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36277 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36278 { (case "(($ac_try" in
36279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36280 *) ac_try_echo=$ac_try;;
36282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36283 (eval "$ac_try") 2>&5
36285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36286 (exit $ac_status); }; }; then
36287 wx_cv_func_snprintf_pos_params=no
36289 echo "$as_me: program exited with status $ac_status" >&5
36290 echo "$as_me: failed program was:" >&5
36291 sed 's/^/| /' conftest.$ac_ext >&5
36293 ( exit $ac_status )
36294 wx_cv_func_snprintf_pos_params=yes
36296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36303 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36304 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36306 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36307 cat >>confdefs.h <<\_ACEOF
36308 #define HAVE_UNIX98_PRINTF 1
36315 if test "$ac_cv_func_vsscanf" = "yes"; then
36316 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36317 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36318 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36319 echo $ECHO_N "(cached) $ECHO_C" >&6
36322 cat >conftest.$ac_ext <<_ACEOF
36325 cat confdefs.h >>conftest.$ac_ext
36326 cat >>conftest.$ac_ext <<_ACEOF
36327 /* end confdefs.h. */
36330 #include <stdarg.h>
36332 #if __MSL__ >= 0x6000
36334 using namespace std;
36344 vsscanf(buf, "%s", args);
36350 rm -f conftest.$ac_objext
36351 if { (ac_try="$ac_compile"
36352 case "(($ac_try" in
36353 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36354 *) ac_try_echo
=$ac_try;;
36356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36357 (eval "$ac_compile") 2>conftest.er1
36359 grep -v '^ *+' conftest.er1
>conftest.err
36361 cat conftest.err
>&5
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); } && {
36364 test -z "$ac_cxx_werror_flag" ||
36365 test ! -s conftest.err
36366 } && test -s conftest.
$ac_objext; then
36367 wx_cv_func_vsscanf_decl
=yes
36369 echo "$as_me: failed program was:" >&5
36370 sed 's/^/| /' conftest.
$ac_ext >&5
36372 wx_cv_func_vsscanf_decl
=no
36376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36380 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36381 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36383 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36384 cat >>confdefs.h
<<\_ACEOF
36385 #define HAVE_VSSCANF_DECL 1
36391 ac_cpp
='$CPP $CPPFLAGS'
36392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36397 if test "$wxUSE_UNICODE" = yes; then
36399 wchar_headers
="#include <stdio.h>
36400 #include <wchar.h>"
36404 for ac_header
in widec.h
36406 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36407 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36409 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36410 echo $ECHO_N "(cached) $ECHO_C" >&6
36412 cat >conftest.
$ac_ext <<_ACEOF
36415 cat confdefs.h
>>conftest.
$ac_ext
36416 cat >>conftest.
$ac_ext <<_ACEOF
36417 /* end confdefs.h. */
36418 $ac_includes_default
36420 #include <$ac_header>
36422 rm -f conftest.
$ac_objext
36423 if { (ac_try
="$ac_compile"
36424 case "(($ac_try" in
36425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36426 *) ac_try_echo=$ac_try;;
36428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36429 (eval "$ac_compile") 2>conftest.er1
36431 grep -v '^ *+' conftest.er1 >conftest.err
36433 cat conftest.err >&5
36434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435 (exit $ac_status); } && {
36436 test -z "$ac_c_werror_flag" ||
36437 test ! -s conftest.err
36438 } && test -s conftest.$ac_objext; then
36439 eval "$as_ac_Header=yes"
36441 echo "$as_me: failed program was:" >&5
36442 sed 's/^/| /' conftest.$ac_ext >&5
36444 eval "$as_ac_Header=no"
36447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36449 ac_res=`eval echo '${'$as_ac_Header'}'`
36450 { echo "$as_me:$LINENO: result: $ac_res" >&5
36451 echo "${ECHO_T}$ac_res" >&6; }
36452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36453 cat >>confdefs.h <<_ACEOF
36454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36461 if test "$ac_cv_header_widec_h" = "yes"; then
36462 wchar_headers="$wchar_headers
36463 #include <widec.h>"
36468 for wx_func in putws fputws wprintf vswprintf vswscanf
36470 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36471 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36472 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36473 echo $ECHO_N "(cached) $ECHO_C" >&6
36476 cat >conftest.$ac_ext <<_ACEOF
36480 cat confdefs.h >>conftest.$ac_ext
36481 cat >>conftest.$ac_ext <<_ACEOF
36482 /* end confdefs.h. */
36485 $ac_includes_default
36501 rm -f conftest.$ac_objext conftest$ac_exeext
36502 if { (ac_try="$ac_link"
36503 case "(($ac_try" in
36504 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36505 *) ac_try_echo
=$ac_try;;
36507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36508 (eval "$ac_link") 2>conftest.er1
36510 grep -v '^ *+' conftest.er1
>conftest.err
36512 cat conftest.err
>&5
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); } && {
36515 test -z "$ac_c_werror_flag" ||
36516 test ! -s conftest.err
36517 } && test -s conftest
$ac_exeext &&
36518 $as_test_x conftest
$ac_exeext; then
36519 eval wx_cv_func_
$wx_func=yes
36521 echo "$as_me: failed program was:" >&5
36522 sed 's/^/| /' conftest.
$ac_ext >&5
36524 eval wx_cv_func_
$wx_func=no
36527 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36528 conftest
$ac_exeext conftest.
$ac_ext
36531 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36532 { echo "$as_me:$LINENO: result: $ac_res" >&5
36533 echo "${ECHO_T}$ac_res" >&6; }
36535 if eval test \
$wx_cv_func_$wx_func = yes
36537 cat >>confdefs.h
<<_ACEOF
36538 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36549 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36550 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36551 cat >conftest.
$ac_ext <<_ACEOF
36554 cat confdefs.h
>>conftest.
$ac_ext
36555 cat >>conftest.
$ac_ext <<_ACEOF
36556 /* end confdefs.h. */
36566 rm -f conftest.
$ac_objext
36567 if { (ac_try
="$ac_compile"
36568 case "(($ac_try" in
36569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36570 *) ac_try_echo=$ac_try;;
36572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36573 (eval "$ac_compile") 2>conftest.er1
36575 grep -v '^ *+' conftest.er1 >conftest.err
36577 cat conftest.err >&5
36578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36579 (exit $ac_status); } && {
36580 test -z "$ac_c_werror_flag" ||
36581 test ! -s conftest.err
36582 } && test -s conftest.$ac_objext; then
36583 { echo "$as_me:$LINENO: result: yes" >&5
36584 echo "${ECHO_T}yes" >&6; }
36585 cat >>confdefs.h <<\_ACEOF
36586 #define HAVE__VSNWPRINTF 1
36590 echo "$as_me: failed program was:" >&5
36591 sed 's/^/| /' conftest.$ac_ext >&5
36593 { echo "$as_me:$LINENO: result: no" >&5
36594 echo "${ECHO_T}no" >&6; }
36597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36600 if test "$wxUSE_FILE" = "yes"; then
36602 for wx_func in fsync
36604 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36605 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36606 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36607 echo $ECHO_N "(cached) $ECHO_C" >&6
36610 cat >conftest.$ac_ext <<_ACEOF
36614 cat confdefs.h >>conftest.$ac_ext
36615 cat >>conftest.$ac_ext <<_ACEOF
36616 /* end confdefs.h. */
36619 $ac_includes_default
36635 rm -f conftest.$ac_objext conftest$ac_exeext
36636 if { (ac_try="$ac_link"
36637 case "(($ac_try" in
36638 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36639 *) ac_try_echo
=$ac_try;;
36641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36642 (eval "$ac_link") 2>conftest.er1
36644 grep -v '^ *+' conftest.er1
>conftest.err
36646 cat conftest.err
>&5
36647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36648 (exit $ac_status); } && {
36649 test -z "$ac_c_werror_flag" ||
36650 test ! -s conftest.err
36651 } && test -s conftest
$ac_exeext &&
36652 $as_test_x conftest
$ac_exeext; then
36653 eval wx_cv_func_
$wx_func=yes
36655 echo "$as_me: failed program was:" >&5
36656 sed 's/^/| /' conftest.
$ac_ext >&5
36658 eval wx_cv_func_
$wx_func=no
36661 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36662 conftest
$ac_exeext conftest.
$ac_ext
36665 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36666 { echo "$as_me:$LINENO: result: $ac_res" >&5
36667 echo "${ECHO_T}$ac_res" >&6; }
36669 if eval test \
$wx_cv_func_$wx_func = yes
36671 cat >>confdefs.h
<<_ACEOF
36672 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36685 ac_cpp
='$CXXCPP $CPPFLAGS'
36686 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36687 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36688 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36691 for wx_func
in round
36693 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36694 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36695 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36696 echo $ECHO_N "(cached) $ECHO_C" >&6
36699 cat >conftest.
$ac_ext <<_ACEOF
36703 cat confdefs.h
>>conftest.
$ac_ext
36704 cat >>conftest.
$ac_ext <<_ACEOF
36705 /* end confdefs.h. */
36708 $ac_includes_default
36724 rm -f conftest.
$ac_objext conftest
$ac_exeext
36725 if { (ac_try
="$ac_link"
36726 case "(($ac_try" in
36727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36728 *) ac_try_echo=$ac_try;;
36730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36731 (eval "$ac_link") 2>conftest.er1
36733 grep -v '^ *+' conftest.er1 >conftest.err
36735 cat conftest.err >&5
36736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36737 (exit $ac_status); } && {
36738 test -z "$ac_cxx_werror_flag" ||
36739 test ! -s conftest.err
36740 } && test -s conftest$ac_exeext &&
36741 $as_test_x conftest$ac_exeext; then
36742 eval wx_cv_func_$wx_func=yes
36744 echo "$as_me: failed program was:" >&5
36745 sed 's/^/| /' conftest.$ac_ext >&5
36747 eval wx_cv_func_$wx_func=no
36750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36751 conftest$ac_exeext conftest.$ac_ext
36754 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36755 { echo "$as_me:$LINENO: result: $ac_res" >&5
36756 echo "${ECHO_T}$ac_res" >&6; }
36758 if eval test \$wx_cv_func_$wx_func = yes
36760 cat >>confdefs.h <<_ACEOF
36761 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36772 ac_cpp='$CPP $CPPFLAGS'
36773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36778 if test "$TOOLKIT" != "MSW"; then
36780 if test "$wxUSE_LIBICONV" != "no" ; then
36784 # Check whether --with-libiconv-prefix was given.
36785 if test "${with_libiconv_prefix+set}" = set; then
36786 withval=$with_libiconv_prefix;
36787 for dir in `echo "$withval" | tr : ' '`; do
36788 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36789 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36795 { echo "$as_me:$LINENO: checking for iconv" >&5
36796 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36797 if test "${am_cv_func_iconv+set}" = set; then
36798 echo $ECHO_N "(cached) $ECHO_C" >&6
36801 am_cv_func_iconv="no, consider installing GNU libiconv"
36803 cat >conftest.$ac_ext <<_ACEOF
36806 cat confdefs.h >>conftest.$ac_ext
36807 cat >>conftest.$ac_ext <<_ACEOF
36808 /* end confdefs.h. */
36809 #include <stdlib.h>
36814 iconv_t cd = iconv_open("","");
36815 iconv(cd,NULL,NULL,NULL,NULL);
36821 rm -f conftest.$ac_objext conftest$ac_exeext
36822 if { (ac_try="$ac_link"
36823 case "(($ac_try" in
36824 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36825 *) ac_try_echo
=$ac_try;;
36827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36828 (eval "$ac_link") 2>conftest.er1
36830 grep -v '^ *+' conftest.er1
>conftest.err
36832 cat conftest.err
>&5
36833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36834 (exit $ac_status); } && {
36835 test -z "$ac_c_werror_flag" ||
36836 test ! -s conftest.err
36837 } && test -s conftest
$ac_exeext &&
36838 $as_test_x conftest
$ac_exeext; then
36839 am_cv_func_iconv
=yes
36841 echo "$as_me: failed program was:" >&5
36842 sed 's/^/| /' conftest.
$ac_ext >&5
36847 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36848 conftest
$ac_exeext conftest.
$ac_ext
36849 if test "$am_cv_func_iconv" != yes; then
36850 am_save_LIBS
="$LIBS"
36851 LIBS
="$LIBS -liconv"
36852 cat >conftest.
$ac_ext <<_ACEOF
36855 cat confdefs.h
>>conftest.
$ac_ext
36856 cat >>conftest.
$ac_ext <<_ACEOF
36857 /* end confdefs.h. */
36858 #include <stdlib.h>
36863 iconv_t cd = iconv_open("","");
36864 iconv(cd,NULL,NULL,NULL,NULL);
36870 rm -f conftest.
$ac_objext conftest
$ac_exeext
36871 if { (ac_try
="$ac_link"
36872 case "(($ac_try" in
36873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36874 *) ac_try_echo=$ac_try;;
36876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36877 (eval "$ac_link") 2>conftest.er1
36879 grep -v '^ *+' conftest.er1 >conftest.err
36881 cat conftest.err >&5
36882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883 (exit $ac_status); } && {
36884 test -z "$ac_c_werror_flag" ||
36885 test ! -s conftest.err
36886 } && test -s conftest$ac_exeext &&
36887 $as_test_x conftest$ac_exeext; then
36888 am_cv_lib_iconv=yes
36889 am_cv_func_iconv=yes
36891 echo "$as_me: failed program was:" >&5
36892 sed 's/^/| /' conftest.$ac_ext >&5
36897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36898 conftest$ac_exeext conftest.$ac_ext
36899 LIBS="$am_save_LIBS"
36903 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36904 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36905 if test "$am_cv_func_iconv" = yes; then
36907 cat >>confdefs.h <<\_ACEOF
36908 #define HAVE_ICONV 1
36911 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36912 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36913 if test "${wx_cv_func_iconv_const+set}" = set; then
36914 echo $ECHO_N "(cached) $ECHO_C" >&6
36916 cat >conftest.$ac_ext <<_ACEOF
36919 cat confdefs.h >>conftest.$ac_ext
36920 cat >>conftest.$ac_ext <<_ACEOF
36921 /* end confdefs.h. */
36923 #include <stdlib.h>
36929 #if defined(__STDC__) || defined(__cplusplus)
36930 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36943 rm -f conftest.$ac_objext
36944 if { (ac_try="$ac_compile"
36945 case "(($ac_try" in
36946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36947 *) ac_try_echo
=$ac_try;;
36949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36950 (eval "$ac_compile") 2>conftest.er1
36952 grep -v '^ *+' conftest.er1
>conftest.err
36954 cat conftest.err
>&5
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); } && {
36957 test -z "$ac_c_werror_flag" ||
36958 test ! -s conftest.err
36959 } && test -s conftest.
$ac_objext; then
36960 wx_cv_func_iconv_const
="no"
36962 echo "$as_me: failed program was:" >&5
36963 sed 's/^/| /' conftest.
$ac_ext >&5
36965 wx_cv_func_iconv_const
="yes"
36969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36972 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36973 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36976 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36977 iconv_const
="const"
36981 cat >>confdefs.h
<<_ACEOF
36982 #define ICONV_CONST $iconv_const
36987 if test "$am_cv_lib_iconv" = yes; then
36992 LIBS
="$LIBICONV $LIBS"
36995 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36997 for ac_func
in sigaction
36999 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37000 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37002 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37003 echo $ECHO_N "(cached) $ECHO_C" >&6
37005 cat >conftest.
$ac_ext <<_ACEOF
37008 cat confdefs.h
>>conftest.
$ac_ext
37009 cat >>conftest.
$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37013 #define $ac_func innocuous_$ac_func
37015 /* System header to define __stub macros and hopefully few prototypes,
37016 which can conflict with char $ac_func (); below.
37017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37018 <limits.h> exists even on freestanding compilers. */
37021 # include <limits.h>
37023 # include <assert.h>
37028 /* Override any GCC internal prototype to avoid an error.
37029 Use char because int might match the return type of a GCC
37030 builtin and then its argument prototype would still apply. */
37035 /* The GNU C library defines this for functions which it implements
37036 to always fail with ENOSYS. Some functions are actually named
37037 something starting with __ and the normal name is an alias. */
37038 #if defined __stub_$ac_func || defined __stub___$ac_func
37045 return $ac_func ();
37050 rm -f conftest.
$ac_objext conftest
$ac_exeext
37051 if { (ac_try
="$ac_link"
37052 case "(($ac_try" in
37053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37054 *) ac_try_echo=$ac_try;;
37056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37057 (eval "$ac_link") 2>conftest.er1
37059 grep -v '^ *+' conftest.er1 >conftest.err
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } && {
37064 test -z "$ac_c_werror_flag" ||
37065 test ! -s conftest.err
37066 } && test -s conftest$ac_exeext &&
37067 $as_test_x conftest$ac_exeext; then
37068 eval "$as_ac_var=yes"
37070 echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.$ac_ext >&5
37073 eval "$as_ac_var=no"
37076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37077 conftest$ac_exeext conftest.$ac_ext
37079 ac_res=`eval echo '${'$as_ac_var'}'`
37080 { echo "$as_me:$LINENO: result: $ac_res" >&5
37081 echo "${ECHO_T}$ac_res" >&6; }
37082 if test `eval echo '${'$as_ac_var'}'` = yes; then
37083 cat >>confdefs.h <<_ACEOF
37084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37091 if test "$ac_cv_func_sigaction" = "no"; then
37092 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37093 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37094 wxUSE_ON_FATAL_EXCEPTION=no
37097 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37098 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37099 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37100 if test "${wx_cv_type_sa_handler+set}" = set; then
37101 echo $ECHO_N "(cached) $ECHO_C" >&6
37105 ac_cpp='$CXXCPP $CPPFLAGS'
37106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37110 cat >conftest.$ac_ext <<_ACEOF
37113 cat confdefs.h >>conftest.$ac_ext
37114 cat >>conftest.$ac_ext <<_ACEOF
37115 /* end confdefs.h. */
37116 #include <signal.h>
37121 extern void testSigHandler(int);
37123 struct sigaction sa;
37124 sa.sa_handler = testSigHandler;
37130 rm -f conftest.$ac_objext
37131 if { (ac_try="$ac_compile"
37132 case "(($ac_try" in
37133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37134 *) ac_try_echo
=$ac_try;;
37136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37137 (eval "$ac_compile") 2>conftest.er1
37139 grep -v '^ *+' conftest.er1
>conftest.err
37141 cat conftest.err
>&5
37142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37143 (exit $ac_status); } && {
37144 test -z "$ac_cxx_werror_flag" ||
37145 test ! -s conftest.err
37146 } && test -s conftest.
$ac_objext; then
37148 wx_cv_type_sa_handler
=int
37151 echo "$as_me: failed program was:" >&5
37152 sed 's/^/| /' conftest.
$ac_ext >&5
37155 wx_cv_type_sa_handler
=void
37159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
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
37168 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37169 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37171 cat >>confdefs.h
<<_ACEOF
37172 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37178 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37179 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37180 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37181 if test "${wx_cv_func_backtrace+set}" = set; then
37182 echo $ECHO_N "(cached) $ECHO_C" >&6
37186 ac_cpp
='$CXXCPP $CPPFLAGS'
37187 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37188 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37189 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37191 cat >conftest.
$ac_ext <<_ACEOF
37194 cat confdefs.h
>>conftest.
$ac_ext
37195 cat >>conftest.
$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37197 #include <execinfo.h>
37205 backtrace(trace, 1);
37206 messages = backtrace_symbols(trace, 1);
37212 rm -f conftest.
$ac_objext
37213 if { (ac_try
="$ac_compile"
37214 case "(($ac_try" in
37215 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37216 *) ac_try_echo=$ac_try;;
37218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37219 (eval "$ac_compile") 2>conftest.er1
37221 grep -v '^ *+' conftest.er1 >conftest.err
37223 cat conftest.err >&5
37224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37225 (exit $ac_status); } && {
37226 test -z "$ac_cxx_werror_flag" ||
37227 test ! -s conftest.err
37228 } && test -s conftest.$ac_objext; then
37229 wx_cv_func_backtrace=yes
37231 echo "$as_me: failed program was:" >&5
37232 sed 's/^/| /' conftest.$ac_ext >&5
37234 wx_cv_func_backtrace=no
37238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37240 ac_cpp='$CPP $CPPFLAGS'
37241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37248 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37249 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37252 if test "$wx_cv_func_backtrace" = "no"; then
37253 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37254 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37255 wxUSE_STACKWALKER=no
37257 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37258 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37259 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37260 echo $ECHO_N "(cached) $ECHO_C" >&6
37264 ac_cpp='$CXXCPP $CPPFLAGS'
37265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37269 cat >conftest.$ac_ext <<_ACEOF
37272 cat confdefs.h >>conftest.$ac_ext
37273 cat >>conftest.$ac_ext <<_ACEOF
37274 /* end confdefs.h. */
37275 #include <cxxabi.h>
37281 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37287 rm -f conftest.$ac_objext conftest$ac_exeext
37288 if { (ac_try="$ac_link"
37289 case "(($ac_try" in
37290 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37291 *) ac_try_echo
=$ac_try;;
37293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37294 (eval "$ac_link") 2>conftest.er1
37296 grep -v '^ *+' conftest.er1
>conftest.err
37298 cat conftest.err
>&5
37299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37300 (exit $ac_status); } && {
37301 test -z "$ac_cxx_werror_flag" ||
37302 test ! -s conftest.err
37303 } && test -s conftest
$ac_exeext &&
37304 $as_test_x conftest
$ac_exeext; then
37305 wx_cv_func_cxa_demangle
=yes
37307 echo "$as_me: failed program was:" >&5
37308 sed 's/^/| /' conftest.
$ac_ext >&5
37310 wx_cv_func_cxa_demangle
=no
37314 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37315 conftest
$ac_exeext conftest.
$ac_ext
37317 ac_cpp
='$CPP $CPPFLAGS'
37318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37325 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37326 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37328 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37329 cat >>confdefs.h
<<\_ACEOF
37330 #define HAVE_CXA_DEMANGLE 1
37337 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37338 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37339 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37340 wxUSE_STACKWALKER
=no
37346 for ac_func
in mkstemp mktemp
37348 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37349 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37351 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37352 echo $ECHO_N "(cached) $ECHO_C" >&6
37354 cat >conftest.
$ac_ext <<_ACEOF
37357 cat confdefs.h
>>conftest.
$ac_ext
37358 cat >>conftest.
$ac_ext <<_ACEOF
37359 /* end confdefs.h. */
37360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37362 #define $ac_func innocuous_$ac_func
37364 /* System header to define __stub macros and hopefully few prototypes,
37365 which can conflict with char $ac_func (); below.
37366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37367 <limits.h> exists even on freestanding compilers. */
37370 # include <limits.h>
37372 # include <assert.h>
37377 /* Override any GCC internal prototype to avoid an error.
37378 Use char because int might match the return type of a GCC
37379 builtin and then its argument prototype would still apply. */
37384 /* The GNU C library defines this for functions which it implements
37385 to always fail with ENOSYS. Some functions are actually named
37386 something starting with __ and the normal name is an alias. */
37387 #if defined __stub_$ac_func || defined __stub___$ac_func
37394 return $ac_func ();
37399 rm -f conftest.
$ac_objext conftest
$ac_exeext
37400 if { (ac_try
="$ac_link"
37401 case "(($ac_try" in
37402 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37403 *) ac_try_echo=$ac_try;;
37405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37406 (eval "$ac_link") 2>conftest.er1
37408 grep -v '^ *+' conftest.er1 >conftest.err
37410 cat conftest.err >&5
37411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37412 (exit $ac_status); } && {
37413 test -z "$ac_c_werror_flag" ||
37414 test ! -s conftest.err
37415 } && test -s conftest$ac_exeext &&
37416 $as_test_x conftest$ac_exeext; then
37417 eval "$as_ac_var=yes"
37419 echo "$as_me: failed program was:" >&5
37420 sed 's/^/| /' conftest.$ac_ext >&5
37422 eval "$as_ac_var=no"
37425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37426 conftest$ac_exeext conftest.$ac_ext
37428 ac_res=`eval echo '${'$as_ac_var'}'`
37429 { echo "$as_me:$LINENO: result: $ac_res" >&5
37430 echo "${ECHO_T}$ac_res" >&6; }
37431 if test `eval echo '${'$as_ac_var'}'` = yes; then
37432 cat >>confdefs.h <<_ACEOF
37433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37440 { echo "$as_me:$LINENO: checking for statfs" >&5
37441 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37442 if test "${wx_cv_func_statfs+set}" = set; then
37443 echo $ECHO_N "(cached) $ECHO_C" >&6
37445 cat >conftest.$ac_ext <<_ACEOF
37448 cat confdefs.h >>conftest.$ac_ext
37449 cat >>conftest.$ac_ext <<_ACEOF
37450 /* end confdefs.h. */
37452 #if defined(__BSD__)
37453 #include <sys/param.h>
37454 #include <sys/mount.h>
37456 #include <sys/vfs.h>
37474 rm -f conftest.$ac_objext
37475 if { (ac_try="$ac_compile"
37476 case "(($ac_try" in
37477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37478 *) ac_try_echo
=$ac_try;;
37480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37481 (eval "$ac_compile") 2>conftest.er1
37483 grep -v '^ *+' conftest.er1
>conftest.err
37485 cat conftest.err
>&5
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); } && {
37488 test -z "$ac_c_werror_flag" ||
37489 test ! -s conftest.err
37490 } && test -s conftest.
$ac_objext; then
37491 wx_cv_func_statfs
=yes
37493 echo "$as_me: failed program was:" >&5
37494 sed 's/^/| /' conftest.
$ac_ext >&5
37496 wx_cv_func_statfs
=no
37500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37503 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37504 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37506 if test "$wx_cv_func_statfs" = "yes"; then
37507 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37508 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37509 if test "${wx_cv_func_statfs_decl+set}" = set; then
37510 echo $ECHO_N "(cached) $ECHO_C" >&6
37513 ac_cpp
='$CXXCPP $CPPFLAGS'
37514 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37515 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37516 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37518 cat >conftest.
$ac_ext <<_ACEOF
37521 cat confdefs.h
>>conftest.
$ac_ext
37522 cat >>conftest.
$ac_ext <<_ACEOF
37523 /* end confdefs.h. */
37525 #if defined(__BSD__)
37526 #include <sys/param.h>
37527 #include <sys/mount.h>
37529 #include <sys/vfs.h>
37543 rm -f conftest.
$ac_objext
37544 if { (ac_try
="$ac_compile"
37545 case "(($ac_try" in
37546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37547 *) ac_try_echo=$ac_try;;
37549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37550 (eval "$ac_compile") 2>conftest.er1
37552 grep -v '^ *+' conftest.er1 >conftest.err
37554 cat conftest.err >&5
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); } && {
37557 test -z "$ac_cxx_werror_flag" ||
37558 test ! -s conftest.err
37559 } && test -s conftest.$ac_objext; then
37560 wx_cv_func_statfs_decl=yes
37562 echo "$as_me: failed program was:" >&5
37563 sed 's/^/| /' conftest.$ac_ext >&5
37565 wx_cv_func_statfs_decl=no
37569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37571 ac_cpp='$CPP $CPPFLAGS'
37572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37578 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37579 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37581 if test "$wx_cv_func_statfs_decl" = "yes"; then
37582 cat >>confdefs.h <<\_ACEOF
37583 #define HAVE_STATFS_DECL 1
37588 wx_cv_type_statvfs_t="struct statfs"
37589 cat >>confdefs.h <<\_ACEOF
37590 #define HAVE_STATFS 1
37594 { echo "$as_me:$LINENO: checking for statvfs" >&5
37595 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37596 if test "${wx_cv_func_statvfs+set}" = set; then
37597 echo $ECHO_N "(cached) $ECHO_C" >&6
37599 cat >conftest.$ac_ext <<_ACEOF
37602 cat confdefs.h >>conftest.$ac_ext
37603 cat >>conftest.$ac_ext <<_ACEOF
37604 /* end confdefs.h. */
37606 #include <stddef.h>
37607 #include <sys/statvfs.h>
37613 statvfs("/", NULL);
37619 rm -f conftest.$ac_objext
37620 if { (ac_try="$ac_compile"
37621 case "(($ac_try" in
37622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37623 *) ac_try_echo
=$ac_try;;
37625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37626 (eval "$ac_compile") 2>conftest.er1
37628 grep -v '^ *+' conftest.er1
>conftest.err
37630 cat conftest.err
>&5
37631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37632 (exit $ac_status); } && {
37633 test -z "$ac_c_werror_flag" ||
37634 test ! -s conftest.err
37635 } && test -s conftest.
$ac_objext; then
37636 wx_cv_func_statvfs
=yes
37638 echo "$as_me: failed program was:" >&5
37639 sed 's/^/| /' conftest.
$ac_ext >&5
37641 wx_cv_func_statvfs
=no
37645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37648 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37649 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37651 if test "$wx_cv_func_statvfs" = "yes"; then
37652 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37653 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37654 if test "${wx_cv_type_statvfs_t+set}" = set; then
37655 echo $ECHO_N "(cached) $ECHO_C" >&6
37658 ac_cpp
='$CXXCPP $CPPFLAGS'
37659 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37660 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37661 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37663 cat >conftest.
$ac_ext <<_ACEOF
37666 cat confdefs.h
>>conftest.
$ac_ext
37667 cat >>conftest.
$ac_ext <<_ACEOF
37668 /* end confdefs.h. */
37670 #include <sys/statvfs.h>
37687 rm -f conftest.
$ac_objext
37688 if { (ac_try
="$ac_compile"
37689 case "(($ac_try" in
37690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37691 *) ac_try_echo=$ac_try;;
37693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37694 (eval "$ac_compile") 2>conftest.er1
37696 grep -v '^ *+' conftest.er1 >conftest.err
37698 cat conftest.err >&5
37699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37700 (exit $ac_status); } && {
37701 test -z "$ac_cxx_werror_flag" ||
37702 test ! -s conftest.err
37703 } && test -s conftest.$ac_objext; then
37704 wx_cv_type_statvfs_t=statvfs_t
37706 echo "$as_me: failed program was:" >&5
37707 sed 's/^/| /' conftest.$ac_ext >&5
37710 cat >conftest.$ac_ext <<_ACEOF
37713 cat confdefs.h >>conftest.$ac_ext
37714 cat >>conftest.$ac_ext <<_ACEOF
37715 /* end confdefs.h. */
37717 #include <sys/statvfs.h>
37734 rm -f conftest.$ac_objext
37735 if { (ac_try="$ac_compile"
37736 case "(($ac_try" in
37737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37738 *) ac_try_echo
=$ac_try;;
37740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37741 (eval "$ac_compile") 2>conftest.er1
37743 grep -v '^ *+' conftest.er1
>conftest.err
37745 cat conftest.err
>&5
37746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37747 (exit $ac_status); } && {
37748 test -z "$ac_cxx_werror_flag" ||
37749 test ! -s conftest.err
37750 } && test -s conftest.
$ac_objext; then
37751 wx_cv_type_statvfs_t
="struct statvfs"
37753 echo "$as_me: failed program was:" >&5
37754 sed 's/^/| /' conftest.
$ac_ext >&5
37756 wx_cv_type_statvfs_t
="unknown"
37760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37767 ac_cpp
='$CPP $CPPFLAGS'
37768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37774 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37775 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37777 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37778 cat >>confdefs.h
<<\_ACEOF
37779 #define HAVE_STATVFS 1
37784 wx_cv_type_statvfs_t
="unknown"
37788 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37789 cat >>confdefs.h
<<_ACEOF
37790 #define WX_STATFS_T $wx_cv_type_statvfs_t
37794 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37795 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37798 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37801 for ac_func
in fcntl flock
37803 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37806 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37807 echo $ECHO_N "(cached) $ECHO_C" >&6
37809 cat >conftest.
$ac_ext <<_ACEOF
37812 cat confdefs.h
>>conftest.
$ac_ext
37813 cat >>conftest.
$ac_ext <<_ACEOF
37814 /* end confdefs.h. */
37815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37817 #define $ac_func innocuous_$ac_func
37819 /* System header to define __stub macros and hopefully few prototypes,
37820 which can conflict with char $ac_func (); below.
37821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37822 <limits.h> exists even on freestanding compilers. */
37825 # include <limits.h>
37827 # include <assert.h>
37832 /* Override any GCC internal prototype to avoid an error.
37833 Use char because int might match the return type of a GCC
37834 builtin and then its argument prototype would still apply. */
37839 /* The GNU C library defines this for functions which it implements
37840 to always fail with ENOSYS. Some functions are actually named
37841 something starting with __ and the normal name is an alias. */
37842 #if defined __stub_$ac_func || defined __stub___$ac_func
37849 return $ac_func ();
37854 rm -f conftest.
$ac_objext conftest
$ac_exeext
37855 if { (ac_try
="$ac_link"
37856 case "(($ac_try" in
37857 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37858 *) ac_try_echo=$ac_try;;
37860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37861 (eval "$ac_link") 2>conftest.er1
37863 grep -v '^ *+' conftest.er1 >conftest.err
37865 cat conftest.err >&5
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); } && {
37868 test -z "$ac_c_werror_flag" ||
37869 test ! -s conftest.err
37870 } && test -s conftest$ac_exeext &&
37871 $as_test_x conftest$ac_exeext; then
37872 eval "$as_ac_var=yes"
37874 echo "$as_me: failed program was:" >&5
37875 sed 's/^/| /' conftest.$ac_ext >&5
37877 eval "$as_ac_var=no"
37880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37881 conftest$ac_exeext conftest.$ac_ext
37883 ac_res=`eval echo '${'$as_ac_var'}'`
37884 { echo "$as_me:$LINENO: result: $ac_res" >&5
37885 echo "${ECHO_T}$ac_res" >&6; }
37886 if test `eval echo '${'$as_ac_var'}'` = yes; then
37887 cat >>confdefs.h <<_ACEOF
37888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37895 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37896 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37897 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37898 wxUSE_SNGLINST_CHECKER=no
37904 for ac_func in setenv putenv
37906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37907 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37909 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37910 echo $ECHO_N "(cached) $ECHO_C" >&6
37912 cat >conftest.$ac_ext <<_ACEOF
37915 cat confdefs.h >>conftest.$ac_ext
37916 cat >>conftest.$ac_ext <<_ACEOF
37917 /* end confdefs.h. */
37918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37920 #define $ac_func innocuous_$ac_func
37922 /* System header to define __stub macros and hopefully few prototypes,
37923 which can conflict with char $ac_func (); below.
37924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37925 <limits.h> exists even on freestanding compilers. */
37928 # include <limits.h>
37930 # include <assert.h>
37935 /* Override any GCC internal prototype to avoid an error.
37936 Use char because int might match the return type of a GCC
37937 builtin and then its argument prototype would still apply. */
37942 /* The GNU C library defines this for functions which it implements
37943 to always fail with ENOSYS. Some functions are actually named
37944 something starting with __ and the normal name is an alias. */
37945 #if defined __stub_$ac_func || defined __stub___$ac_func
37952 return $ac_func ();
37957 rm -f conftest.$ac_objext conftest$ac_exeext
37958 if { (ac_try="$ac_link"
37959 case "(($ac_try" in
37960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37961 *) ac_try_echo
=$ac_try;;
37963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37964 (eval "$ac_link") 2>conftest.er1
37966 grep -v '^ *+' conftest.er1
>conftest.err
37968 cat conftest.err
>&5
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); } && {
37971 test -z "$ac_c_werror_flag" ||
37972 test ! -s conftest.err
37973 } && test -s conftest
$ac_exeext &&
37974 $as_test_x conftest
$ac_exeext; then
37975 eval "$as_ac_var=yes"
37977 echo "$as_me: failed program was:" >&5
37978 sed 's/^/| /' conftest.
$ac_ext >&5
37980 eval "$as_ac_var=no"
37983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37984 conftest
$ac_exeext conftest.
$ac_ext
37986 ac_res
=`eval echo '${'$as_ac_var'}'`
37987 { echo "$as_me:$LINENO: result: $ac_res" >&5
37988 echo "${ECHO_T}$ac_res" >&6; }
37989 if test `eval echo '${'$as_ac_var'}'` = yes; then
37990 cat >>confdefs.h
<<_ACEOF
37991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37997 if test "$ac_cv_func_setenv" = "yes"; then
37999 for ac_func
in unsetenv
38001 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38002 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38004 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38005 echo $ECHO_N "(cached) $ECHO_C" >&6
38007 cat >conftest.
$ac_ext <<_ACEOF
38010 cat confdefs.h
>>conftest.
$ac_ext
38011 cat >>conftest.
$ac_ext <<_ACEOF
38012 /* end confdefs.h. */
38013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38015 #define $ac_func innocuous_$ac_func
38017 /* System header to define __stub macros and hopefully few prototypes,
38018 which can conflict with char $ac_func (); below.
38019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38020 <limits.h> exists even on freestanding compilers. */
38023 # include <limits.h>
38025 # include <assert.h>
38030 /* Override any GCC internal prototype to avoid an error.
38031 Use char because int might match the return type of a GCC
38032 builtin and then its argument prototype would still apply. */
38037 /* The GNU C library defines this for functions which it implements
38038 to always fail with ENOSYS. Some functions are actually named
38039 something starting with __ and the normal name is an alias. */
38040 #if defined __stub_$ac_func || defined __stub___$ac_func
38047 return $ac_func ();
38052 rm -f conftest.
$ac_objext conftest
$ac_exeext
38053 if { (ac_try
="$ac_link"
38054 case "(($ac_try" in
38055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38056 *) ac_try_echo=$ac_try;;
38058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38059 (eval "$ac_link") 2>conftest.er1
38061 grep -v '^ *+' conftest.er1 >conftest.err
38063 cat conftest.err >&5
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); } && {
38066 test -z "$ac_c_werror_flag" ||
38067 test ! -s conftest.err
38068 } && test -s conftest$ac_exeext &&
38069 $as_test_x conftest$ac_exeext; then
38070 eval "$as_ac_var=yes"
38072 echo "$as_me: failed program was:" >&5
38073 sed 's/^/| /' conftest.$ac_ext >&5
38075 eval "$as_ac_var=no"
38078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38079 conftest$ac_exeext conftest.$ac_ext
38081 ac_res=`eval echo '${'$as_ac_var'}'`
38082 { echo "$as_me:$LINENO: result: $ac_res" >&5
38083 echo "${ECHO_T}$ac_res" >&6; }
38084 if test `eval echo '${'$as_ac_var'}'` = yes; then
38085 cat >>confdefs.h <<_ACEOF
38086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38094 HAVE_SOME_SLEEP_FUNC=0
38095 if test "$USE_BEOS" = 1; then
38096 cat >>confdefs.h <<\_ACEOF
38097 #define HAVE_SLEEP 1
38100 HAVE_SOME_SLEEP_FUNC=1
38103 if test "$USE_DARWIN" = 1; then
38104 cat >>confdefs.h <<\_ACEOF
38105 #define HAVE_USLEEP 1
38108 HAVE_SOME_SLEEP_FUNC=1
38111 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38114 for ac_func in nanosleep
38116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38117 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38119 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38120 echo $ECHO_N "(cached) $ECHO_C" >&6
38122 cat >conftest.$ac_ext <<_ACEOF
38125 cat confdefs.h >>conftest.$ac_ext
38126 cat >>conftest.$ac_ext <<_ACEOF
38127 /* end confdefs.h. */
38128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38130 #define $ac_func innocuous_$ac_func
38132 /* System header to define __stub macros and hopefully few prototypes,
38133 which can conflict with char $ac_func (); below.
38134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38135 <limits.h> exists even on freestanding compilers. */
38138 # include <limits.h>
38140 # include <assert.h>
38145 /* Override any GCC internal prototype to avoid an error.
38146 Use char because int might match the return type of a GCC
38147 builtin and then its argument prototype would still apply. */
38152 /* The GNU C library defines this for functions which it implements
38153 to always fail with ENOSYS. Some functions are actually named
38154 something starting with __ and the normal name is an alias. */
38155 #if defined __stub_$ac_func || defined __stub___$ac_func
38162 return $ac_func ();
38167 rm -f conftest.$ac_objext conftest$ac_exeext
38168 if { (ac_try="$ac_link"
38169 case "(($ac_try" in
38170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38171 *) ac_try_echo
=$ac_try;;
38173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38174 (eval "$ac_link") 2>conftest.er1
38176 grep -v '^ *+' conftest.er1
>conftest.err
38178 cat conftest.err
>&5
38179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38180 (exit $ac_status); } && {
38181 test -z "$ac_c_werror_flag" ||
38182 test ! -s conftest.err
38183 } && test -s conftest
$ac_exeext &&
38184 $as_test_x conftest
$ac_exeext; then
38185 eval "$as_ac_var=yes"
38187 echo "$as_me: failed program was:" >&5
38188 sed 's/^/| /' conftest.
$ac_ext >&5
38190 eval "$as_ac_var=no"
38193 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38194 conftest
$ac_exeext conftest.
$ac_ext
38196 ac_res
=`eval echo '${'$as_ac_var'}'`
38197 { echo "$as_me:$LINENO: result: $ac_res" >&5
38198 echo "${ECHO_T}$ac_res" >&6; }
38199 if test `eval echo '${'$as_ac_var'}'` = yes; then
38200 cat >>confdefs.h
<<_ACEOF
38201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38203 cat >>confdefs.h
<<\_ACEOF
38204 #define HAVE_NANOSLEEP 1
38209 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38210 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38211 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38212 echo $ECHO_N "(cached) $ECHO_C" >&6
38214 ac_check_lib_save_LIBS
=$LIBS
38215 LIBS
="-lposix4 $LIBS"
38216 cat >conftest.
$ac_ext <<_ACEOF
38219 cat confdefs.h
>>conftest.
$ac_ext
38220 cat >>conftest.
$ac_ext <<_ACEOF
38221 /* end confdefs.h. */
38223 /* Override any GCC internal prototype to avoid an error.
38224 Use char because int might match the return type of a GCC
38225 builtin and then its argument prototype would still apply. */
38233 return nanosleep ();
38238 rm -f conftest.
$ac_objext conftest
$ac_exeext
38239 if { (ac_try
="$ac_link"
38240 case "(($ac_try" in
38241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38242 *) ac_try_echo=$ac_try;;
38244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38245 (eval "$ac_link") 2>conftest.er1
38247 grep -v '^ *+' conftest.er1 >conftest.err
38249 cat conftest.err >&5
38250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251 (exit $ac_status); } && {
38252 test -z "$ac_c_werror_flag" ||
38253 test ! -s conftest.err
38254 } && test -s conftest$ac_exeext &&
38255 $as_test_x conftest$ac_exeext; then
38256 ac_cv_lib_posix4_nanosleep=yes
38258 echo "$as_me: failed program was:" >&5
38259 sed 's/^/| /' conftest.$ac_ext >&5
38261 ac_cv_lib_posix4_nanosleep=no
38264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38265 conftest$ac_exeext conftest.$ac_ext
38266 LIBS=$ac_check_lib_save_LIBS
38268 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38269 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38270 if test $ac_cv_lib_posix4_nanosleep = yes; then
38272 cat >>confdefs.h <<\_ACEOF
38273 #define HAVE_NANOSLEEP 1
38276 POSIX4_LINK=" -lposix4"
38281 for wx_func in usleep
38283 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38284 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38285 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38286 echo $ECHO_N "(cached) $ECHO_C" >&6
38289 cat >conftest.$ac_ext <<_ACEOF
38293 cat confdefs.h >>conftest.$ac_ext
38294 cat >>conftest.$ac_ext <<_ACEOF
38295 /* end confdefs.h. */
38298 $ac_includes_default
38314 rm -f conftest.$ac_objext conftest$ac_exeext
38315 if { (ac_try="$ac_link"
38316 case "(($ac_try" in
38317 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38318 *) ac_try_echo
=$ac_try;;
38320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38321 (eval "$ac_link") 2>conftest.er1
38323 grep -v '^ *+' conftest.er1
>conftest.err
38325 cat conftest.err
>&5
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); } && {
38328 test -z "$ac_c_werror_flag" ||
38329 test ! -s conftest.err
38330 } && test -s conftest
$ac_exeext &&
38331 $as_test_x conftest
$ac_exeext; then
38332 eval wx_cv_func_
$wx_func=yes
38334 echo "$as_me: failed program was:" >&5
38335 sed 's/^/| /' conftest.
$ac_ext >&5
38337 eval wx_cv_func_
$wx_func=no
38340 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38341 conftest
$ac_exeext conftest.
$ac_ext
38344 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38345 { echo "$as_me:$LINENO: result: $ac_res" >&5
38346 echo "${ECHO_T}$ac_res" >&6; }
38348 if eval test \
$wx_cv_func_$wx_func = yes
38350 cat >>confdefs.h
<<_ACEOF
38351 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38357 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38358 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38375 for wx_func
in uname
38377 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38378 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38379 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38380 echo $ECHO_N "(cached) $ECHO_C" >&6
38383 cat >conftest.
$ac_ext <<_ACEOF
38387 cat confdefs.h
>>conftest.
$ac_ext
38388 cat >>conftest.
$ac_ext <<_ACEOF
38389 /* end confdefs.h. */
38391 #include <sys/utsname.h>
38392 $ac_includes_default
38408 rm -f conftest.
$ac_objext conftest
$ac_exeext
38409 if { (ac_try
="$ac_link"
38410 case "(($ac_try" in
38411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38412 *) ac_try_echo=$ac_try;;
38414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38415 (eval "$ac_link") 2>conftest.er1
38417 grep -v '^ *+' conftest.er1 >conftest.err
38419 cat conftest.err >&5
38420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421 (exit $ac_status); } && {
38422 test -z "$ac_c_werror_flag" ||
38423 test ! -s conftest.err
38424 } && test -s conftest$ac_exeext &&
38425 $as_test_x conftest$ac_exeext; then
38426 eval wx_cv_func_$wx_func=yes
38428 echo "$as_me: failed program was:" >&5
38429 sed 's/^/| /' conftest.$ac_ext >&5
38431 eval wx_cv_func_$wx_func=no
38434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38435 conftest$ac_exeext conftest.$ac_ext
38438 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38439 { echo "$as_me:$LINENO: result: $ac_res" >&5
38440 echo "${ECHO_T}$ac_res" >&6; }
38442 if eval test \$wx_cv_func_$wx_func = yes
38444 cat >>confdefs.h <<_ACEOF
38445 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38455 if test "$wx_cv_func_uname" != yes; then
38457 for wx_func in gethostname
38459 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38460 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38461 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38462 echo $ECHO_N "(cached) $ECHO_C" >&6
38465 cat >conftest.$ac_ext <<_ACEOF
38469 cat confdefs.h >>conftest.$ac_ext
38470 cat >>conftest.$ac_ext <<_ACEOF
38471 /* end confdefs.h. */
38474 $ac_includes_default
38490 rm -f conftest.$ac_objext conftest$ac_exeext
38491 if { (ac_try="$ac_link"
38492 case "(($ac_try" in
38493 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38494 *) ac_try_echo
=$ac_try;;
38496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38497 (eval "$ac_link") 2>conftest.er1
38499 grep -v '^ *+' conftest.er1
>conftest.err
38501 cat conftest.err
>&5
38502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38503 (exit $ac_status); } && {
38504 test -z "$ac_c_werror_flag" ||
38505 test ! -s conftest.err
38506 } && test -s conftest
$ac_exeext &&
38507 $as_test_x conftest
$ac_exeext; then
38508 eval wx_cv_func_
$wx_func=yes
38510 echo "$as_me: failed program was:" >&5
38511 sed 's/^/| /' conftest.
$ac_ext >&5
38513 eval wx_cv_func_
$wx_func=no
38516 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38517 conftest
$ac_exeext conftest.
$ac_ext
38520 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38521 { echo "$as_me:$LINENO: result: $ac_res" >&5
38522 echo "${ECHO_T}$ac_res" >&6; }
38524 if eval test \
$wx_cv_func_$wx_func = yes
38526 cat >>confdefs.h
<<_ACEOF
38527 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38540 for wx_func
in strtok_r
38542 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38543 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38544 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38545 echo $ECHO_N "(cached) $ECHO_C" >&6
38548 cat >conftest.
$ac_ext <<_ACEOF
38552 cat confdefs.h
>>conftest.
$ac_ext
38553 cat >>conftest.
$ac_ext <<_ACEOF
38554 /* end confdefs.h. */
38557 $ac_includes_default
38573 rm -f conftest.
$ac_objext conftest
$ac_exeext
38574 if { (ac_try
="$ac_link"
38575 case "(($ac_try" in
38576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38577 *) ac_try_echo=$ac_try;;
38579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38580 (eval "$ac_link") 2>conftest.er1
38582 grep -v '^ *+' conftest.er1 >conftest.err
38584 cat conftest.err >&5
38585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38586 (exit $ac_status); } && {
38587 test -z "$ac_c_werror_flag" ||
38588 test ! -s conftest.err
38589 } && test -s conftest$ac_exeext &&
38590 $as_test_x conftest$ac_exeext; then
38591 eval wx_cv_func_$wx_func=yes
38593 echo "$as_me: failed program was:" >&5
38594 sed 's/^/| /' conftest.$ac_ext >&5
38596 eval wx_cv_func_$wx_func=no
38599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38600 conftest$ac_exeext conftest.$ac_ext
38603 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38604 { echo "$as_me:$LINENO: result: $ac_res" >&5
38605 echo "${ECHO_T}$ac_res" >&6; }
38607 if eval test \$wx_cv_func_$wx_func = yes
38609 cat >>confdefs.h <<_ACEOF
38610 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38623 for ac_func in inet_addr
38625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38626 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38628 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38629 echo $ECHO_N "(cached) $ECHO_C" >&6
38631 cat >conftest.$ac_ext <<_ACEOF
38634 cat confdefs.h >>conftest.$ac_ext
38635 cat >>conftest.$ac_ext <<_ACEOF
38636 /* end confdefs.h. */
38637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38639 #define $ac_func innocuous_$ac_func
38641 /* System header to define __stub macros and hopefully few prototypes,
38642 which can conflict with char $ac_func (); below.
38643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38644 <limits.h> exists even on freestanding compilers. */
38647 # include <limits.h>
38649 # include <assert.h>
38654 /* Override any GCC internal prototype to avoid an error.
38655 Use char because int might match the return type of a GCC
38656 builtin and then its argument prototype would still apply. */
38661 /* The GNU C library defines this for functions which it implements
38662 to always fail with ENOSYS. Some functions are actually named
38663 something starting with __ and the normal name is an alias. */
38664 #if defined __stub_$ac_func || defined __stub___$ac_func
38671 return $ac_func ();
38676 rm -f conftest.$ac_objext conftest$ac_exeext
38677 if { (ac_try="$ac_link"
38678 case "(($ac_try" in
38679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38680 *) ac_try_echo
=$ac_try;;
38682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38683 (eval "$ac_link") 2>conftest.er1
38685 grep -v '^ *+' conftest.er1
>conftest.err
38687 cat conftest.err
>&5
38688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689 (exit $ac_status); } && {
38690 test -z "$ac_c_werror_flag" ||
38691 test ! -s conftest.err
38692 } && test -s conftest
$ac_exeext &&
38693 $as_test_x conftest
$ac_exeext; then
38694 eval "$as_ac_var=yes"
38696 echo "$as_me: failed program was:" >&5
38697 sed 's/^/| /' conftest.
$ac_ext >&5
38699 eval "$as_ac_var=no"
38702 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38703 conftest
$ac_exeext conftest.
$ac_ext
38705 ac_res
=`eval echo '${'$as_ac_var'}'`
38706 { echo "$as_me:$LINENO: result: $ac_res" >&5
38707 echo "${ECHO_T}$ac_res" >&6; }
38708 if test `eval echo '${'$as_ac_var'}'` = yes; then
38709 cat >>confdefs.h
<<_ACEOF
38710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38712 cat >>confdefs.h
<<\_ACEOF
38713 #define HAVE_INET_ADDR 1
38718 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38719 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38720 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38721 echo $ECHO_N "(cached) $ECHO_C" >&6
38723 ac_check_lib_save_LIBS
=$LIBS
38725 cat >conftest.
$ac_ext <<_ACEOF
38728 cat confdefs.h
>>conftest.
$ac_ext
38729 cat >>conftest.
$ac_ext <<_ACEOF
38730 /* end confdefs.h. */
38732 /* Override any GCC internal prototype to avoid an error.
38733 Use char because int might match the return type of a GCC
38734 builtin and then its argument prototype would still apply. */
38742 return inet_addr ();
38747 rm -f conftest.
$ac_objext conftest
$ac_exeext
38748 if { (ac_try
="$ac_link"
38749 case "(($ac_try" in
38750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38751 *) ac_try_echo=$ac_try;;
38753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38754 (eval "$ac_link") 2>conftest.er1
38756 grep -v '^ *+' conftest.er1 >conftest.err
38758 cat conftest.err >&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); } && {
38761 test -z "$ac_c_werror_flag" ||
38762 test ! -s conftest.err
38763 } && test -s conftest$ac_exeext &&
38764 $as_test_x conftest$ac_exeext; then
38765 ac_cv_lib_nsl_inet_addr=yes
38767 echo "$as_me: failed program was:" >&5
38768 sed 's/^/| /' conftest.$ac_ext >&5
38770 ac_cv_lib_nsl_inet_addr=no
38773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38774 conftest$ac_exeext conftest.$ac_ext
38775 LIBS=$ac_check_lib_save_LIBS
38777 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38778 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38779 if test $ac_cv_lib_nsl_inet_addr = yes; then
38783 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38784 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38785 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38786 echo $ECHO_N "(cached) $ECHO_C" >&6
38788 ac_check_lib_save_LIBS=$LIBS
38789 LIBS="-lresolv $LIBS"
38790 cat >conftest.$ac_ext <<_ACEOF
38793 cat confdefs.h >>conftest.$ac_ext
38794 cat >>conftest.$ac_ext <<_ACEOF
38795 /* end confdefs.h. */
38797 /* Override any GCC internal prototype to avoid an error.
38798 Use char because int might match the return type of a GCC
38799 builtin and then its argument prototype would still apply. */
38807 return inet_addr ();
38812 rm -f conftest.$ac_objext conftest$ac_exeext
38813 if { (ac_try="$ac_link"
38814 case "(($ac_try" in
38815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38816 *) ac_try_echo
=$ac_try;;
38818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38819 (eval "$ac_link") 2>conftest.er1
38821 grep -v '^ *+' conftest.er1
>conftest.err
38823 cat conftest.err
>&5
38824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38825 (exit $ac_status); } && {
38826 test -z "$ac_c_werror_flag" ||
38827 test ! -s conftest.err
38828 } && test -s conftest
$ac_exeext &&
38829 $as_test_x conftest
$ac_exeext; then
38830 ac_cv_lib_resolv_inet_addr
=yes
38832 echo "$as_me: failed program was:" >&5
38833 sed 's/^/| /' conftest.
$ac_ext >&5
38835 ac_cv_lib_resolv_inet_addr
=no
38838 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38839 conftest
$ac_exeext conftest.
$ac_ext
38840 LIBS
=$ac_check_lib_save_LIBS
38842 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38843 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38844 if test $ac_cv_lib_resolv_inet_addr = yes; then
38848 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38849 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38850 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38851 echo $ECHO_N "(cached) $ECHO_C" >&6
38853 ac_check_lib_save_LIBS
=$LIBS
38854 LIBS
="-lsocket $LIBS"
38855 cat >conftest.
$ac_ext <<_ACEOF
38858 cat confdefs.h
>>conftest.
$ac_ext
38859 cat >>conftest.
$ac_ext <<_ACEOF
38860 /* end confdefs.h. */
38862 /* Override any GCC internal prototype to avoid an error.
38863 Use char because int might match the return type of a GCC
38864 builtin and then its argument prototype would still apply. */
38872 return inet_addr ();
38877 rm -f conftest.
$ac_objext conftest
$ac_exeext
38878 if { (ac_try
="$ac_link"
38879 case "(($ac_try" in
38880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38881 *) ac_try_echo=$ac_try;;
38883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38884 (eval "$ac_link") 2>conftest.er1
38886 grep -v '^ *+' conftest.er1 >conftest.err
38888 cat conftest.err >&5
38889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38890 (exit $ac_status); } && {
38891 test -z "$ac_c_werror_flag" ||
38892 test ! -s conftest.err
38893 } && test -s conftest$ac_exeext &&
38894 $as_test_x conftest$ac_exeext; then
38895 ac_cv_lib_socket_inet_addr=yes
38897 echo "$as_me: failed program was:" >&5
38898 sed 's/^/| /' conftest.$ac_ext >&5
38900 ac_cv_lib_socket_inet_addr=no
38903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38904 conftest$ac_exeext conftest.$ac_ext
38905 LIBS=$ac_check_lib_save_LIBS
38907 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38908 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38909 if test $ac_cv_lib_socket_inet_addr = yes; then
38929 for ac_func in inet_aton
38931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38932 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38934 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38935 echo $ECHO_N "(cached) $ECHO_C" >&6
38937 cat >conftest.$ac_ext <<_ACEOF
38940 cat confdefs.h >>conftest.$ac_ext
38941 cat >>conftest.$ac_ext <<_ACEOF
38942 /* end confdefs.h. */
38943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38945 #define $ac_func innocuous_$ac_func
38947 /* System header to define __stub macros and hopefully few prototypes,
38948 which can conflict with char $ac_func (); below.
38949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38950 <limits.h> exists even on freestanding compilers. */
38953 # include <limits.h>
38955 # include <assert.h>
38960 /* Override any GCC internal prototype to avoid an error.
38961 Use char because int might match the return type of a GCC
38962 builtin and then its argument prototype would still apply. */
38967 /* The GNU C library defines this for functions which it implements
38968 to always fail with ENOSYS. Some functions are actually named
38969 something starting with __ and the normal name is an alias. */
38970 #if defined __stub_$ac_func || defined __stub___$ac_func
38977 return $ac_func ();
38982 rm -f conftest.$ac_objext conftest$ac_exeext
38983 if { (ac_try="$ac_link"
38984 case "(($ac_try" in
38985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38986 *) ac_try_echo
=$ac_try;;
38988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38989 (eval "$ac_link") 2>conftest.er1
38991 grep -v '^ *+' conftest.er1
>conftest.err
38993 cat conftest.err
>&5
38994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38995 (exit $ac_status); } && {
38996 test -z "$ac_c_werror_flag" ||
38997 test ! -s conftest.err
38998 } && test -s conftest
$ac_exeext &&
38999 $as_test_x conftest
$ac_exeext; then
39000 eval "$as_ac_var=yes"
39002 echo "$as_me: failed program was:" >&5
39003 sed 's/^/| /' conftest.
$ac_ext >&5
39005 eval "$as_ac_var=no"
39008 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39009 conftest
$ac_exeext conftest.
$ac_ext
39011 ac_res
=`eval echo '${'$as_ac_var'}'`
39012 { echo "$as_me:$LINENO: result: $ac_res" >&5
39013 echo "${ECHO_T}$ac_res" >&6; }
39014 if test `eval echo '${'$as_ac_var'}'` = yes; then
39015 cat >>confdefs.h
<<_ACEOF
39016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39018 cat >>confdefs.h
<<\_ACEOF
39019 #define HAVE_INET_ATON 1
39024 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39025 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39026 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39027 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39028 echo $ECHO_N "(cached) $ECHO_C" >&6
39030 ac_check_lib_save_LIBS
=$LIBS
39031 LIBS
="-l$INET_LINK $LIBS"
39032 cat >conftest.
$ac_ext <<_ACEOF
39035 cat confdefs.h
>>conftest.
$ac_ext
39036 cat >>conftest.
$ac_ext <<_ACEOF
39037 /* end confdefs.h. */
39039 /* Override any GCC internal prototype to avoid an error.
39040 Use char because int might match the return type of a GCC
39041 builtin and then its argument prototype would still apply. */
39049 return inet_aton ();
39054 rm -f conftest.
$ac_objext conftest
$ac_exeext
39055 if { (ac_try
="$ac_link"
39056 case "(($ac_try" in
39057 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39058 *) ac_try_echo=$ac_try;;
39060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39061 (eval "$ac_link") 2>conftest.er1
39063 grep -v '^ *+' conftest.er1 >conftest.err
39065 cat conftest.err >&5
39066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39067 (exit $ac_status); } && {
39068 test -z "$ac_c_werror_flag" ||
39069 test ! -s conftest.err
39070 } && test -s conftest$ac_exeext &&
39071 $as_test_x conftest$ac_exeext; then
39072 eval "$as_ac_Lib=yes"
39074 echo "$as_me: failed program was:" >&5
39075 sed 's/^/| /' conftest.$ac_ext >&5
39077 eval "$as_ac_Lib=no"
39080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39081 conftest$ac_exeext conftest.$ac_ext
39082 LIBS=$ac_check_lib_save_LIBS
39084 ac_res=`eval echo '${'$as_ac_Lib'}'`
39085 { echo "$as_me:$LINENO: result: $ac_res" >&5
39086 echo "${ECHO_T}$ac_res" >&6; }
39087 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39088 cat >>confdefs.h <<\_ACEOF
39089 #define HAVE_INET_ATON 1
39099 if test "x$INET_LINK" != "x"; then
39100 cat >>confdefs.h <<\_ACEOF
39101 #define HAVE_INET_ADDR 1
39104 INET_LINK=" -l$INET_LINK"
39108 for wx_func in fdopen
39110 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39111 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39112 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39113 echo $ECHO_N "(cached) $ECHO_C" >&6
39116 cat >conftest.$ac_ext <<_ACEOF
39120 cat confdefs.h >>conftest.$ac_ext
39121 cat >>conftest.$ac_ext <<_ACEOF
39122 /* end confdefs.h. */
39125 $ac_includes_default
39141 rm -f conftest.$ac_objext conftest$ac_exeext
39142 if { (ac_try="$ac_link"
39143 case "(($ac_try" in
39144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39145 *) ac_try_echo
=$ac_try;;
39147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39148 (eval "$ac_link") 2>conftest.er1
39150 grep -v '^ *+' conftest.er1
>conftest.err
39152 cat conftest.err
>&5
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); } && {
39155 test -z "$ac_c_werror_flag" ||
39156 test ! -s conftest.err
39157 } && test -s conftest
$ac_exeext &&
39158 $as_test_x conftest
$ac_exeext; then
39159 eval wx_cv_func_
$wx_func=yes
39161 echo "$as_me: failed program was:" >&5
39162 sed 's/^/| /' conftest.
$ac_ext >&5
39164 eval wx_cv_func_
$wx_func=no
39167 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39168 conftest
$ac_exeext conftest.
$ac_ext
39171 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39172 { echo "$as_me:$LINENO: result: $ac_res" >&5
39173 echo "${ECHO_T}$ac_res" >&6; }
39175 if eval test \
$wx_cv_func_$wx_func = yes
39177 cat >>confdefs.h
<<_ACEOF
39178 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39189 if test "$wxUSE_TARSTREAM" = "yes"; then
39191 for wx_func
in sysconf
39193 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39194 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39195 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39196 echo $ECHO_N "(cached) $ECHO_C" >&6
39199 cat >conftest.
$ac_ext <<_ACEOF
39203 cat confdefs.h
>>conftest.
$ac_ext
39204 cat >>conftest.
$ac_ext <<_ACEOF
39205 /* end confdefs.h. */
39208 $ac_includes_default
39224 rm -f conftest.
$ac_objext conftest
$ac_exeext
39225 if { (ac_try
="$ac_link"
39226 case "(($ac_try" in
39227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39228 *) ac_try_echo=$ac_try;;
39230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39231 (eval "$ac_link") 2>conftest.er1
39233 grep -v '^ *+' conftest.er1 >conftest.err
39235 cat conftest.err >&5
39236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39237 (exit $ac_status); } && {
39238 test -z "$ac_c_werror_flag" ||
39239 test ! -s conftest.err
39240 } && test -s conftest$ac_exeext &&
39241 $as_test_x conftest$ac_exeext; then
39242 eval wx_cv_func_$wx_func=yes
39244 echo "$as_me: failed program was:" >&5
39245 sed 's/^/| /' conftest.$ac_ext >&5
39247 eval wx_cv_func_$wx_func=no
39250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39251 conftest$ac_exeext conftest.$ac_ext
39254 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39255 { echo "$as_me:$LINENO: result: $ac_res" >&5
39256 echo "${ECHO_T}$ac_res" >&6; }
39258 if eval test \$wx_cv_func_$wx_func = yes
39260 cat >>confdefs.h <<_ACEOF
39261 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39273 for wx_func in getpwuid_r
39275 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39276 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39277 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39278 echo $ECHO_N "(cached) $ECHO_C" >&6
39281 cat >conftest.$ac_ext <<_ACEOF
39285 cat confdefs.h >>conftest.$ac_ext
39286 cat >>conftest.$ac_ext <<_ACEOF
39287 /* end confdefs.h. */
39293 $ac_includes_default
39303 struct passwd pw, *ppw;
39305 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39313 rm -f conftest.$ac_objext conftest$ac_exeext
39314 if { (ac_try="$ac_link"
39315 case "(($ac_try" in
39316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39317 *) ac_try_echo
=$ac_try;;
39319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39320 (eval "$ac_link") 2>conftest.er1
39322 grep -v '^ *+' conftest.er1
>conftest.err
39324 cat conftest.err
>&5
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); } && {
39327 test -z "$ac_c_werror_flag" ||
39328 test ! -s conftest.err
39329 } && test -s conftest
$ac_exeext &&
39330 $as_test_x conftest
$ac_exeext; then
39331 eval wx_cv_func_
$wx_func=yes
39333 echo "$as_me: failed program was:" >&5
39334 sed 's/^/| /' conftest.
$ac_ext >&5
39336 eval wx_cv_func_
$wx_func=no
39339 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39340 conftest
$ac_exeext conftest.
$ac_ext
39343 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39344 { echo "$as_me:$LINENO: result: $ac_res" >&5
39345 echo "${ECHO_T}$ac_res" >&6; }
39347 if eval test \
$wx_cv_func_$wx_func = yes
39349 cat >>confdefs.h
<<_ACEOF
39350 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39362 for wx_func
in getgrgid_r
39364 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39365 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39366 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39367 echo $ECHO_N "(cached) $ECHO_C" >&6
39370 cat >conftest.
$ac_ext <<_ACEOF
39374 cat confdefs.h
>>conftest.
$ac_ext
39375 cat >>conftest.
$ac_ext <<_ACEOF
39376 /* end confdefs.h. */
39382 $ac_includes_default
39392 struct group grp, *pgrp;
39394 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39402 rm -f conftest.
$ac_objext conftest
$ac_exeext
39403 if { (ac_try
="$ac_link"
39404 case "(($ac_try" in
39405 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39406 *) ac_try_echo=$ac_try;;
39408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39409 (eval "$ac_link") 2>conftest.er1
39411 grep -v '^ *+' conftest.er1 >conftest.err
39413 cat conftest.err >&5
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); } && {
39416 test -z "$ac_c_werror_flag" ||
39417 test ! -s conftest.err
39418 } && test -s conftest$ac_exeext &&
39419 $as_test_x conftest$ac_exeext; then
39420 eval wx_cv_func_$wx_func=yes
39422 echo "$as_me: failed program was:" >&5
39423 sed 's/^/| /' conftest.$ac_ext >&5
39425 eval wx_cv_func_$wx_func=no
39428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39429 conftest$ac_exeext conftest.$ac_ext
39432 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39433 { echo "$as_me:$LINENO: result: $ac_res" >&5
39434 echo "${ECHO_T}$ac_res" >&6; }
39436 if eval test \$wx_cv_func_$wx_func = yes
39438 cat >>confdefs.h <<_ACEOF
39439 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39455 cat >confcache <<\_ACEOF
39456 # This file is a shell script that caches the results of configure
39457 # tests run on this system so they can be shared between configure
39458 # scripts and configure runs, see configure's option --config-cache.
39459 # It is not useful on other systems. If it contains results you don't
39460 # want to keep, you may remove or edit it.
39462 # config.status only pays attention to the cache file if you give it
39463 # the --recheck option to rerun configure.
39465 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39466 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39467 # following values.
39471 # The following way of writing the cache mishandles newlines in values,
39472 # but we know of no workaround that is simple, portable, and efficient.
39473 # So, we kill variables containing newlines.
39474 # Ultrix sh set writes to stderr and can't be redirected directly,
39475 # and sets the high bit in the cache file unless we assign to the vars.
39477 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39478 eval ac_val
=\$
$ac_var
39482 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39483 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39486 _
| IFS
| as_nl
) ;; #(
39487 *) $as_unset $ac_var ;;
39493 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39494 *${as_nl}ac_space
=\
*)
39495 # `set' does not quote correctly, so add quotes (double-quote
39496 # substitution turns \\\\ into \\, and sed turns \\ into \).
39499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39502 # `set' quotes correctly as required by POSIX, so do not add quotes.
39503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39512 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39514 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39516 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39517 if test -w "$cache_file"; then
39518 test "x$cache_file" != "x/dev/null" &&
39519 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39520 echo "$as_me: updating cache $cache_file" >&6;}
39521 cat confcache
>$cache_file
39523 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39524 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39530 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39536 if test "$wxUSE_THREADS" = "yes" ; then
39537 if test "$USE_BEOS" = 1; then
39538 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39539 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39544 if test "$wxUSE_THREADS" = "yes" ; then
39547 THREAD_OPTS
="-pthread"
39548 if test "x$SUNCXX" = xyes
; then
39549 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
39553 *-*-solaris2* | *-*-sunos4* )
39554 if test "x$GCC" = "xyes"; then
39555 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39559 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39561 *-*-darwin* | *-*-cygwin* )
39565 THREAD_OPTS
="pthreads"
39568 if test "x$GCC" = "xyes"; then
39569 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39577 if test "x$GCC" = "xyes"; then
39587 if test "x$GCC" != "xyes"; then
39588 THREAD_OPTS
="-Ethread"
39595 THREAD_OPTS
="none pthread"
39599 THREAD_OPTS
="$THREAD_OPTS pthread none"
39604 for flag
in $THREAD_OPTS; do
39607 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39608 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39612 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39613 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39614 THREADS_CFLAGS
="$flag"
39618 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39619 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39620 THREADS_LINK
="-l$flag"
39625 save_CFLAGS
="$CFLAGS"
39626 LIBS
="$THREADS_LINK $LIBS"
39627 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39629 cat >conftest.
$ac_ext <<_ACEOF
39632 cat confdefs.h
>>conftest.
$ac_ext
39633 cat >>conftest.
$ac_ext <<_ACEOF
39634 /* end confdefs.h. */
39635 #include <pthread.h>
39639 pthread_create(0,0,0,0);
39644 rm -f conftest.
$ac_objext conftest
$ac_exeext
39645 if { (ac_try
="$ac_link"
39646 case "(($ac_try" in
39647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39648 *) ac_try_echo=$ac_try;;
39650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39651 (eval "$ac_link") 2>conftest.er1
39653 grep -v '^ *+' conftest.er1 >conftest.err
39655 cat conftest.err >&5
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); } && {
39658 test -z "$ac_c_werror_flag" ||
39659 test ! -s conftest.err
39660 } && test -s conftest$ac_exeext &&
39661 $as_test_x conftest$ac_exeext; then
39664 echo "$as_me: failed program was:" >&5
39665 sed 's/^/| /' conftest.$ac_ext >&5
39670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39671 conftest$ac_exeext conftest.$ac_ext
39674 CFLAGS="$save_CFLAGS"
39676 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39677 echo "${ECHO_T}$THREADS_OK" >&6; }
39678 if test "x$THREADS_OK" = "xyes"; then
39686 if test "x$THREADS_OK" != "xyes"; then
39688 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39689 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39691 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39692 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39693 LIBS="$THREADS_LINK $LIBS"
39695 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39696 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39700 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39701 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39702 flag="-D_THREAD_SAFE"
39705 flag="-D_THREAD_SAFE"
39708 flag="-D_REENTRANT"
39709 if test "x$GCC" != "xyes"; then
39710 flag="$flag -D_RWSTD_MULTI_THREAD"
39713 *solaris* | alpha*-osf*)
39714 flag="-D_REENTRANT"
39717 { echo "$as_me:$LINENO: result: ${flag}" >&5
39718 echo "${ECHO_T}${flag}" >&6; }
39719 if test "x$flag" != xno; then
39720 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39723 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39727 if test "$wxUSE_THREADS" = "yes" ; then
39729 for ac_func in thr_setconcurrency
39731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39734 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39735 echo $ECHO_N "(cached) $ECHO_C" >&6
39737 cat >conftest.$ac_ext <<_ACEOF
39740 cat confdefs.h >>conftest.$ac_ext
39741 cat >>conftest.$ac_ext <<_ACEOF
39742 /* end confdefs.h. */
39743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39745 #define $ac_func innocuous_$ac_func
39747 /* System header to define __stub macros and hopefully few prototypes,
39748 which can conflict with char $ac_func (); below.
39749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39750 <limits.h> exists even on freestanding compilers. */
39753 # include <limits.h>
39755 # include <assert.h>
39760 /* Override any GCC internal prototype to avoid an error.
39761 Use char because int might match the return type of a GCC
39762 builtin and then its argument prototype would still apply. */
39767 /* The GNU C library defines this for functions which it implements
39768 to always fail with ENOSYS. Some functions are actually named
39769 something starting with __ and the normal name is an alias. */
39770 #if defined __stub_$ac_func || defined __stub___$ac_func
39777 return $ac_func ();
39782 rm -f conftest.$ac_objext conftest$ac_exeext
39783 if { (ac_try="$ac_link"
39784 case "(($ac_try" in
39785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39786 *) ac_try_echo
=$ac_try;;
39788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39789 (eval "$ac_link") 2>conftest.er1
39791 grep -v '^ *+' conftest.er1
>conftest.err
39793 cat conftest.err
>&5
39794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39795 (exit $ac_status); } && {
39796 test -z "$ac_c_werror_flag" ||
39797 test ! -s conftest.err
39798 } && test -s conftest
$ac_exeext &&
39799 $as_test_x conftest
$ac_exeext; then
39800 eval "$as_ac_var=yes"
39802 echo "$as_me: failed program was:" >&5
39803 sed 's/^/| /' conftest.
$ac_ext >&5
39805 eval "$as_ac_var=no"
39808 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39809 conftest
$ac_exeext conftest.
$ac_ext
39811 ac_res
=`eval echo '${'$as_ac_var'}'`
39812 { echo "$as_me:$LINENO: result: $ac_res" >&5
39813 echo "${ECHO_T}$ac_res" >&6; }
39814 if test `eval echo '${'$as_ac_var'}'` = yes; then
39815 cat >>confdefs.h
<<_ACEOF
39816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39823 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39824 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39825 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39826 echo $ECHO_N "(cached) $ECHO_C" >&6
39830 ac_cpp
='$CXXCPP $CPPFLAGS'
39831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39835 cat >conftest.
$ac_ext <<_ACEOF
39838 cat confdefs.h
>>conftest.
$ac_ext
39839 cat >>conftest.
$ac_ext <<_ACEOF
39840 /* end confdefs.h. */
39841 #include <pthread.h>
39842 void ThreadCleanupFunc(void *p);
39849 pthread_cleanup_push(ThreadCleanupFunc, p);
39850 pthread_cleanup_pop(0);
39856 rm -f conftest.
$ac_objext
39857 if { (ac_try
="$ac_compile"
39858 case "(($ac_try" in
39859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39860 *) ac_try_echo=$ac_try;;
39862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39863 (eval "$ac_compile") 2>conftest.er1
39865 grep -v '^ *+' conftest.er1 >conftest.err
39867 cat conftest.err >&5
39868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39869 (exit $ac_status); } && {
39870 test -z "$ac_cxx_werror_flag" ||
39871 test ! -s conftest.err
39872 } && test -s conftest.$ac_objext; then
39874 wx_cv_func_pthread_cleanup=yes
39877 echo "$as_me: failed program was:" >&5
39878 sed 's/^/| /' conftest.$ac_ext >&5
39881 wx_cv_func_pthread_cleanup=no
39886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39888 ac_cpp='$CPP $CPPFLAGS'
39889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39895 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39896 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39897 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39898 cat >>confdefs.h <<\_ACEOF
39899 #define wxHAVE_PTHREAD_CLEANUP 1
39905 for ac_header in sched.h
39907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39908 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39910 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39911 echo $ECHO_N "(cached) $ECHO_C" >&6
39913 cat >conftest.$ac_ext <<_ACEOF
39916 cat confdefs.h >>conftest.$ac_ext
39917 cat >>conftest.$ac_ext <<_ACEOF
39918 /* end confdefs.h. */
39919 $ac_includes_default
39921 #include <$ac_header>
39923 rm -f conftest.$ac_objext
39924 if { (ac_try="$ac_compile"
39925 case "(($ac_try" in
39926 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39927 *) ac_try_echo
=$ac_try;;
39929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39930 (eval "$ac_compile") 2>conftest.er1
39932 grep -v '^ *+' conftest.er1
>conftest.err
39934 cat conftest.err
>&5
39935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936 (exit $ac_status); } && {
39937 test -z "$ac_c_werror_flag" ||
39938 test ! -s conftest.err
39939 } && test -s conftest.
$ac_objext; then
39940 eval "$as_ac_Header=yes"
39942 echo "$as_me: failed program was:" >&5
39943 sed 's/^/| /' conftest.
$ac_ext >&5
39945 eval "$as_ac_Header=no"
39948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39950 ac_res
=`eval echo '${'$as_ac_Header'}'`
39951 { echo "$as_me:$LINENO: result: $ac_res" >&5
39952 echo "${ECHO_T}$ac_res" >&6; }
39953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39954 cat >>confdefs.h
<<_ACEOF
39955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39962 if test "$ac_cv_header_sched_h" = "yes"; then
39963 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39964 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39965 if test "${ac_cv_func_sched_yield+set}" = set; then
39966 echo $ECHO_N "(cached) $ECHO_C" >&6
39968 cat >conftest.
$ac_ext <<_ACEOF
39971 cat confdefs.h
>>conftest.
$ac_ext
39972 cat >>conftest.
$ac_ext <<_ACEOF
39973 /* end confdefs.h. */
39974 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39976 #define sched_yield innocuous_sched_yield
39978 /* System header to define __stub macros and hopefully few prototypes,
39979 which can conflict with char sched_yield (); below.
39980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39981 <limits.h> exists even on freestanding compilers. */
39984 # include <limits.h>
39986 # include <assert.h>
39991 /* Override any GCC internal prototype to avoid an error.
39992 Use char because int might match the return type of a GCC
39993 builtin and then its argument prototype would still apply. */
39997 char sched_yield ();
39998 /* The GNU C library defines this for functions which it implements
39999 to always fail with ENOSYS. Some functions are actually named
40000 something starting with __ and the normal name is an alias. */
40001 #if defined __stub_sched_yield || defined __stub___sched_yield
40008 return sched_yield ();
40013 rm -f conftest.
$ac_objext conftest
$ac_exeext
40014 if { (ac_try
="$ac_link"
40015 case "(($ac_try" in
40016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40017 *) ac_try_echo=$ac_try;;
40019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40020 (eval "$ac_link") 2>conftest.er1
40022 grep -v '^ *+' conftest.er1 >conftest.err
40024 cat conftest.err >&5
40025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40026 (exit $ac_status); } && {
40027 test -z "$ac_c_werror_flag" ||
40028 test ! -s conftest.err
40029 } && test -s conftest$ac_exeext &&
40030 $as_test_x conftest$ac_exeext; then
40031 ac_cv_func_sched_yield=yes
40033 echo "$as_me: failed program was:" >&5
40034 sed 's/^/| /' conftest.$ac_ext >&5
40036 ac_cv_func_sched_yield=no
40039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40040 conftest$ac_exeext conftest.$ac_ext
40042 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40043 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40044 if test $ac_cv_func_sched_yield = yes; then
40045 cat >>confdefs.h <<\_ACEOF
40046 #define HAVE_SCHED_YIELD 1
40051 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40052 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40053 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40054 echo $ECHO_N "(cached) $ECHO_C" >&6
40056 ac_check_lib_save_LIBS=$LIBS
40057 LIBS="-lposix4 $LIBS"
40058 cat >conftest.$ac_ext <<_ACEOF
40061 cat confdefs.h >>conftest.$ac_ext
40062 cat >>conftest.$ac_ext <<_ACEOF
40063 /* end confdefs.h. */
40065 /* Override any GCC internal prototype to avoid an error.
40066 Use char because int might match the return type of a GCC
40067 builtin and then its argument prototype would still apply. */
40071 char sched_yield ();
40075 return sched_yield ();
40080 rm -f conftest.$ac_objext conftest$ac_exeext
40081 if { (ac_try="$ac_link"
40082 case "(($ac_try" in
40083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40084 *) ac_try_echo
=$ac_try;;
40086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40087 (eval "$ac_link") 2>conftest.er1
40089 grep -v '^ *+' conftest.er1
>conftest.err
40091 cat conftest.err
>&5
40092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40093 (exit $ac_status); } && {
40094 test -z "$ac_c_werror_flag" ||
40095 test ! -s conftest.err
40096 } && test -s conftest
$ac_exeext &&
40097 $as_test_x conftest
$ac_exeext; then
40098 ac_cv_lib_posix4_sched_yield
=yes
40100 echo "$as_me: failed program was:" >&5
40101 sed 's/^/| /' conftest.
$ac_ext >&5
40103 ac_cv_lib_posix4_sched_yield
=no
40106 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40107 conftest
$ac_exeext conftest.
$ac_ext
40108 LIBS
=$ac_check_lib_save_LIBS
40110 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40111 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40112 if test $ac_cv_lib_posix4_sched_yield = yes; then
40113 cat >>confdefs.h
<<\_ACEOF
40114 #define HAVE_SCHED_YIELD 1
40116 POSIX4_LINK
=" -lposix4"
40118 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40119 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40130 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40131 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40132 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40133 echo $ECHO_N "(cached) $ECHO_C" >&6
40135 cat >conftest.
$ac_ext <<_ACEOF
40138 cat confdefs.h
>>conftest.
$ac_ext
40139 cat >>conftest.
$ac_ext <<_ACEOF
40140 /* end confdefs.h. */
40141 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40143 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40145 /* System header to define __stub macros and hopefully few prototypes,
40146 which can conflict with char pthread_attr_getschedpolicy (); below.
40147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40148 <limits.h> exists even on freestanding compilers. */
40151 # include <limits.h>
40153 # include <assert.h>
40156 #undef pthread_attr_getschedpolicy
40158 /* Override any GCC internal prototype to avoid an error.
40159 Use char because int might match the return type of a GCC
40160 builtin and then its argument prototype would still apply. */
40164 char pthread_attr_getschedpolicy ();
40165 /* The GNU C library defines this for functions which it implements
40166 to always fail with ENOSYS. Some functions are actually named
40167 something starting with __ and the normal name is an alias. */
40168 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40175 return pthread_attr_getschedpolicy ();
40180 rm -f conftest.
$ac_objext conftest
$ac_exeext
40181 if { (ac_try
="$ac_link"
40182 case "(($ac_try" in
40183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40184 *) ac_try_echo=$ac_try;;
40186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40187 (eval "$ac_link") 2>conftest.er1
40189 grep -v '^ *+' conftest.er1 >conftest.err
40191 cat conftest.err >&5
40192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40193 (exit $ac_status); } && {
40194 test -z "$ac_c_werror_flag" ||
40195 test ! -s conftest.err
40196 } && test -s conftest$ac_exeext &&
40197 $as_test_x conftest$ac_exeext; then
40198 ac_cv_func_pthread_attr_getschedpolicy=yes
40200 echo "$as_me: failed program was:" >&5
40201 sed 's/^/| /' conftest.$ac_ext >&5
40203 ac_cv_func_pthread_attr_getschedpolicy=no
40206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40207 conftest$ac_exeext conftest.$ac_ext
40209 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40210 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40211 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40212 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40213 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40214 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40215 echo $ECHO_N "(cached) $ECHO_C" >&6
40217 cat >conftest.$ac_ext <<_ACEOF
40220 cat confdefs.h >>conftest.$ac_ext
40221 cat >>conftest.$ac_ext <<_ACEOF
40222 /* end confdefs.h. */
40223 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40225 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40227 /* System header to define __stub macros and hopefully few prototypes,
40228 which can conflict with char pthread_attr_setschedparam (); below.
40229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40230 <limits.h> exists even on freestanding compilers. */
40233 # include <limits.h>
40235 # include <assert.h>
40238 #undef pthread_attr_setschedparam
40240 /* Override any GCC internal prototype to avoid an error.
40241 Use char because int might match the return type of a GCC
40242 builtin and then its argument prototype would still apply. */
40246 char pthread_attr_setschedparam ();
40247 /* The GNU C library defines this for functions which it implements
40248 to always fail with ENOSYS. Some functions are actually named
40249 something starting with __ and the normal name is an alias. */
40250 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40257 return pthread_attr_setschedparam ();
40262 rm -f conftest.$ac_objext conftest$ac_exeext
40263 if { (ac_try="$ac_link"
40264 case "(($ac_try" in
40265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40266 *) ac_try_echo
=$ac_try;;
40268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40269 (eval "$ac_link") 2>conftest.er1
40271 grep -v '^ *+' conftest.er1
>conftest.err
40273 cat conftest.err
>&5
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); } && {
40276 test -z "$ac_c_werror_flag" ||
40277 test ! -s conftest.err
40278 } && test -s conftest
$ac_exeext &&
40279 $as_test_x conftest
$ac_exeext; then
40280 ac_cv_func_pthread_attr_setschedparam
=yes
40282 echo "$as_me: failed program was:" >&5
40283 sed 's/^/| /' conftest.
$ac_ext >&5
40285 ac_cv_func_pthread_attr_setschedparam
=no
40288 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40289 conftest
$ac_exeext conftest.
$ac_ext
40291 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40292 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40293 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40294 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40295 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40296 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40297 echo $ECHO_N "(cached) $ECHO_C" >&6
40299 cat >conftest.
$ac_ext <<_ACEOF
40302 cat confdefs.h
>>conftest.
$ac_ext
40303 cat >>conftest.
$ac_ext <<_ACEOF
40304 /* end confdefs.h. */
40305 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40307 #define sched_get_priority_max innocuous_sched_get_priority_max
40309 /* System header to define __stub macros and hopefully few prototypes,
40310 which can conflict with char sched_get_priority_max (); below.
40311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40312 <limits.h> exists even on freestanding compilers. */
40315 # include <limits.h>
40317 # include <assert.h>
40320 #undef sched_get_priority_max
40322 /* Override any GCC internal prototype to avoid an error.
40323 Use char because int might match the return type of a GCC
40324 builtin and then its argument prototype would still apply. */
40328 char sched_get_priority_max ();
40329 /* The GNU C library defines this for functions which it implements
40330 to always fail with ENOSYS. Some functions are actually named
40331 something starting with __ and the normal name is an alias. */
40332 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40339 return sched_get_priority_max ();
40344 rm -f conftest.
$ac_objext conftest
$ac_exeext
40345 if { (ac_try
="$ac_link"
40346 case "(($ac_try" in
40347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40348 *) ac_try_echo=$ac_try;;
40350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40351 (eval "$ac_link") 2>conftest.er1
40353 grep -v '^ *+' conftest.er1 >conftest.err
40355 cat conftest.err >&5
40356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40357 (exit $ac_status); } && {
40358 test -z "$ac_c_werror_flag" ||
40359 test ! -s conftest.err
40360 } && test -s conftest$ac_exeext &&
40361 $as_test_x conftest$ac_exeext; then
40362 ac_cv_func_sched_get_priority_max=yes
40364 echo "$as_me: failed program was:" >&5
40365 sed 's/^/| /' conftest.$ac_ext >&5
40367 ac_cv_func_sched_get_priority_max=no
40370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40371 conftest$ac_exeext conftest.$ac_ext
40373 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40374 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40375 if test $ac_cv_func_sched_get_priority_max = yes; then
40378 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40379 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40380 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40381 echo $ECHO_N "(cached) $ECHO_C" >&6
40383 ac_check_lib_save_LIBS=$LIBS
40384 LIBS="-lposix4 $LIBS"
40385 cat >conftest.$ac_ext <<_ACEOF
40388 cat confdefs.h >>conftest.$ac_ext
40389 cat >>conftest.$ac_ext <<_ACEOF
40390 /* end confdefs.h. */
40392 /* Override any GCC internal prototype to avoid an error.
40393 Use char because int might match the return type of a GCC
40394 builtin and then its argument prototype would still apply. */
40398 char sched_get_priority_max ();
40402 return sched_get_priority_max ();
40407 rm -f conftest.$ac_objext conftest$ac_exeext
40408 if { (ac_try="$ac_link"
40409 case "(($ac_try" in
40410 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40411 *) ac_try_echo
=$ac_try;;
40413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40414 (eval "$ac_link") 2>conftest.er1
40416 grep -v '^ *+' conftest.er1
>conftest.err
40418 cat conftest.err
>&5
40419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40420 (exit $ac_status); } && {
40421 test -z "$ac_c_werror_flag" ||
40422 test ! -s conftest.err
40423 } && test -s conftest
$ac_exeext &&
40424 $as_test_x conftest
$ac_exeext; then
40425 ac_cv_lib_posix4_sched_get_priority_max
=yes
40427 echo "$as_me: failed program was:" >&5
40428 sed 's/^/| /' conftest.
$ac_ext >&5
40430 ac_cv_lib_posix4_sched_get_priority_max
=no
40433 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40434 conftest
$ac_exeext conftest.
$ac_ext
40435 LIBS
=$ac_check_lib_save_LIBS
40437 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40438 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40439 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40442 POSIX4_LINK
=" -lposix4"
40456 if test "$HAVE_PRIOR_FUNCS" = 1; then
40457 cat >>confdefs.h
<<\_ACEOF
40458 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40462 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40463 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40466 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40467 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40468 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40469 echo $ECHO_N "(cached) $ECHO_C" >&6
40471 cat >conftest.
$ac_ext <<_ACEOF
40474 cat confdefs.h
>>conftest.
$ac_ext
40475 cat >>conftest.
$ac_ext <<_ACEOF
40476 /* end confdefs.h. */
40477 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40479 #define pthread_cancel innocuous_pthread_cancel
40481 /* System header to define __stub macros and hopefully few prototypes,
40482 which can conflict with char pthread_cancel (); below.
40483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40484 <limits.h> exists even on freestanding compilers. */
40487 # include <limits.h>
40489 # include <assert.h>
40492 #undef pthread_cancel
40494 /* Override any GCC internal prototype to avoid an error.
40495 Use char because int might match the return type of a GCC
40496 builtin and then its argument prototype would still apply. */
40500 char pthread_cancel ();
40501 /* The GNU C library defines this for functions which it implements
40502 to always fail with ENOSYS. Some functions are actually named
40503 something starting with __ and the normal name is an alias. */
40504 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40511 return pthread_cancel ();
40516 rm -f conftest.
$ac_objext conftest
$ac_exeext
40517 if { (ac_try
="$ac_link"
40518 case "(($ac_try" in
40519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40520 *) ac_try_echo=$ac_try;;
40522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40523 (eval "$ac_link") 2>conftest.er1
40525 grep -v '^ *+' conftest.er1 >conftest.err
40527 cat conftest.err >&5
40528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40529 (exit $ac_status); } && {
40530 test -z "$ac_c_werror_flag" ||
40531 test ! -s conftest.err
40532 } && test -s conftest$ac_exeext &&
40533 $as_test_x conftest$ac_exeext; then
40534 ac_cv_func_pthread_cancel=yes
40536 echo "$as_me: failed program was:" >&5
40537 sed 's/^/| /' conftest.$ac_ext >&5
40539 ac_cv_func_pthread_cancel=no
40542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40543 conftest$ac_exeext conftest.$ac_ext
40545 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40546 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40547 if test $ac_cv_func_pthread_cancel = yes; then
40548 cat >>confdefs.h <<\_ACEOF
40549 #define HAVE_PTHREAD_CANCEL 1
40553 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40554 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40558 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40559 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40560 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40561 echo $ECHO_N "(cached) $ECHO_C" >&6
40563 cat >conftest.$ac_ext <<_ACEOF
40566 cat confdefs.h >>conftest.$ac_ext
40567 cat >>conftest.$ac_ext <<_ACEOF
40568 /* end confdefs.h. */
40569 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40571 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40573 /* System header to define __stub macros and hopefully few prototypes,
40574 which can conflict with char pthread_mutex_timedlock (); below.
40575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40576 <limits.h> exists even on freestanding compilers. */
40579 # include <limits.h>
40581 # include <assert.h>
40584 #undef pthread_mutex_timedlock
40586 /* Override any GCC internal prototype to avoid an error.
40587 Use char because int might match the return type of a GCC
40588 builtin and then its argument prototype would still apply. */
40592 char pthread_mutex_timedlock ();
40593 /* The GNU C library defines this for functions which it implements
40594 to always fail with ENOSYS. Some functions are actually named
40595 something starting with __ and the normal name is an alias. */
40596 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40603 return pthread_mutex_timedlock ();
40608 rm -f conftest.$ac_objext conftest$ac_exeext
40609 if { (ac_try="$ac_link"
40610 case "(($ac_try" in
40611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40612 *) ac_try_echo
=$ac_try;;
40614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40615 (eval "$ac_link") 2>conftest.er1
40617 grep -v '^ *+' conftest.er1
>conftest.err
40619 cat conftest.err
>&5
40620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40621 (exit $ac_status); } && {
40622 test -z "$ac_c_werror_flag" ||
40623 test ! -s conftest.err
40624 } && test -s conftest
$ac_exeext &&
40625 $as_test_x conftest
$ac_exeext; then
40626 ac_cv_func_pthread_mutex_timedlock
=yes
40628 echo "$as_me: failed program was:" >&5
40629 sed 's/^/| /' conftest.
$ac_ext >&5
40631 ac_cv_func_pthread_mutex_timedlock
=no
40634 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40635 conftest
$ac_exeext conftest.
$ac_ext
40637 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40638 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40639 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40640 cat >>confdefs.h
<<\_ACEOF
40641 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40645 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40646 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40650 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40651 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40652 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40653 echo $ECHO_N "(cached) $ECHO_C" >&6
40655 cat >conftest.
$ac_ext <<_ACEOF
40658 cat confdefs.h
>>conftest.
$ac_ext
40659 cat >>conftest.
$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40661 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40663 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40665 /* System header to define __stub macros and hopefully few prototypes,
40666 which can conflict with char pthread_attr_setstacksize (); below.
40667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40668 <limits.h> exists even on freestanding compilers. */
40671 # include <limits.h>
40673 # include <assert.h>
40676 #undef pthread_attr_setstacksize
40678 /* Override any GCC internal prototype to avoid an error.
40679 Use char because int might match the return type of a GCC
40680 builtin and then its argument prototype would still apply. */
40684 char pthread_attr_setstacksize ();
40685 /* The GNU C library defines this for functions which it implements
40686 to always fail with ENOSYS. Some functions are actually named
40687 something starting with __ and the normal name is an alias. */
40688 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40695 return pthread_attr_setstacksize ();
40700 rm -f conftest.
$ac_objext conftest
$ac_exeext
40701 if { (ac_try
="$ac_link"
40702 case "(($ac_try" in
40703 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40704 *) ac_try_echo=$ac_try;;
40706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40707 (eval "$ac_link") 2>conftest.er1
40709 grep -v '^ *+' conftest.er1 >conftest.err
40711 cat conftest.err >&5
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); } && {
40714 test -z "$ac_c_werror_flag" ||
40715 test ! -s conftest.err
40716 } && test -s conftest$ac_exeext &&
40717 $as_test_x conftest$ac_exeext; then
40718 ac_cv_func_pthread_attr_setstacksize=yes
40720 echo "$as_me: failed program was:" >&5
40721 sed 's/^/| /' conftest.$ac_ext >&5
40723 ac_cv_func_pthread_attr_setstacksize=no
40726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40727 conftest$ac_exeext conftest.$ac_ext
40729 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40730 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40731 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40732 cat >>confdefs.h <<\_ACEOF
40733 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40740 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40741 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40742 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40743 echo $ECHO_N "(cached) $ECHO_C" >&6
40746 cat >conftest.$ac_ext <<_ACEOF
40749 cat confdefs.h >>conftest.$ac_ext
40750 cat >>conftest.$ac_ext <<_ACEOF
40751 /* end confdefs.h. */
40752 #include <pthread.h>
40757 pthread_mutexattr_t attr;
40758 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40764 rm -f conftest.$ac_objext
40765 if { (ac_try="$ac_compile"
40766 case "(($ac_try" in
40767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40768 *) ac_try_echo
=$ac_try;;
40770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40771 (eval "$ac_compile") 2>conftest.er1
40773 grep -v '^ *+' conftest.er1
>conftest.err
40775 cat conftest.err
>&5
40776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40777 (exit $ac_status); } && {
40778 test -z "$ac_c_werror_flag" ||
40779 test ! -s conftest.err
40780 } && test -s conftest.
$ac_objext; then
40781 wx_cv_type_pthread_mutexattr_t
=yes
40783 echo "$as_me: failed program was:" >&5
40784 sed 's/^/| /' conftest.
$ac_ext >&5
40786 wx_cv_type_pthread_mutexattr_t
=no
40790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40793 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40794 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40796 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40797 cat >>confdefs.h
<<\_ACEOF
40798 #define HAVE_PTHREAD_MUTEXATTR_T 1
40802 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40803 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40804 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40805 echo $ECHO_N "(cached) $ECHO_C" >&6
40808 cat >conftest.
$ac_ext <<_ACEOF
40811 cat confdefs.h
>>conftest.
$ac_ext
40812 cat >>conftest.
$ac_ext <<_ACEOF
40813 /* end confdefs.h. */
40814 #include <pthread.h>
40819 pthread_mutexattr_t attr;
40820 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40826 rm -f conftest.
$ac_objext
40827 if { (ac_try
="$ac_compile"
40828 case "(($ac_try" in
40829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40830 *) ac_try_echo=$ac_try;;
40832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40833 (eval "$ac_compile") 2>conftest.er1
40835 grep -v '^ *+' conftest.er1 >conftest.err
40837 cat conftest.err >&5
40838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40839 (exit $ac_status); } && {
40840 test -z "$ac_c_werror_flag" ||
40841 test ! -s conftest.err
40842 } && test -s conftest.$ac_objext; then
40843 wx_cv_func_pthread_mutexattr_settype_decl=yes
40845 echo "$as_me: failed program was:" >&5
40846 sed 's/^/| /' conftest.$ac_ext >&5
40848 wx_cv_func_pthread_mutexattr_settype_decl=no
40852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40855 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40856 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40857 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40858 cat >>confdefs.h <<\_ACEOF
40859 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40864 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40865 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40866 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40867 echo $ECHO_N "(cached) $ECHO_C" >&6
40870 cat >conftest.$ac_ext <<_ACEOF
40873 cat confdefs.h >>conftest.$ac_ext
40874 cat >>conftest.$ac_ext <<_ACEOF
40875 /* end confdefs.h. */
40876 #include <pthread.h>
40881 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40887 rm -f conftest.$ac_objext
40888 if { (ac_try="$ac_compile"
40889 case "(($ac_try" in
40890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40891 *) ac_try_echo
=$ac_try;;
40893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40894 (eval "$ac_compile") 2>conftest.er1
40896 grep -v '^ *+' conftest.er1
>conftest.err
40898 cat conftest.err
>&5
40899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40900 (exit $ac_status); } && {
40901 test -z "$ac_c_werror_flag" ||
40902 test ! -s conftest.err
40903 } && test -s conftest.
$ac_objext; then
40905 wx_cv_type_pthread_rec_mutex_init
=yes
40908 echo "$as_me: failed program was:" >&5
40909 sed 's/^/| /' conftest.
$ac_ext >&5
40912 wx_cv_type_pthread_rec_mutex_init
=no
40917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40920 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40921 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40922 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40923 cat >>confdefs.h
<<\_ACEOF
40924 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40928 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40929 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40933 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40934 if test "$USE_NETBSD" = 1; then
40935 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40936 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40937 wxUSE_COMPILER_TLS
=no
40939 wxUSE_COMPILER_TLS
=yes
40943 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40944 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40945 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40946 if test "${wx_cv_cc___thread+set}" = set; then
40947 echo $ECHO_N "(cached) $ECHO_C" >&6
40950 cat >conftest.
$ac_ext <<_ACEOF
40953 cat confdefs.h
>>conftest.
$ac_ext
40954 cat >>conftest.
$ac_ext <<_ACEOF
40955 /* end confdefs.h. */
40956 #include <pthread.h>
40961 static __thread int n = 0;
40962 static __thread int *p = 0;
40968 rm -f conftest.
$ac_objext
40969 if { (ac_try
="$ac_compile"
40970 case "(($ac_try" in
40971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40972 *) ac_try_echo=$ac_try;;
40974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40975 (eval "$ac_compile") 2>conftest.er1
40977 grep -v '^ *+' conftest.er1 >conftest.err
40979 cat conftest.err >&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); } && {
40982 test -z "$ac_c_werror_flag" ||
40983 test ! -s conftest.err
40984 } && test -s conftest.$ac_objext; then
40985 wx_cv_cc___thread=yes
40987 echo "$as_me: failed program was:" >&5
40988 sed 's/^/| /' conftest.$ac_ext >&5
40990 wx_cv_cc___thread=no
40994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40998 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40999 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41001 if test "$wx_cv_cc___thread" = "yes"; then
41007 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41008 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41010 if test "x$GCC" = "xyes" ; then
41012 if test -z "" ; then
41014 ax_gcc_option_test="int main()
41021 ax_gcc_option_test=""
41026 # Dump the test program to file
41027 cat <<EOF > conftest.c
41028 $ax_gcc_option_test
41031 # Dump back the file to the log, useful for debugging purposes
41032 { ac_try='cat conftest.c 1>&5'
41033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41034 (eval $ac_try) 2>&5
41036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41037 (exit $ac_status); }; }
41039 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41041 (eval $ac_try) 2>&5
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); }; } ; then
41046 { echo "$as_me:$LINENO: result: yes" >&5
41047 echo "${ECHO_T}yes" >&6; }
41049 ax_gcc_version_option=yes
41054 { echo "$as_me:$LINENO: result: no" >&5
41055 echo "${ECHO_T}no" >&6; }
41057 ax_gcc_version_option=no
41065 { echo "$as_me:$LINENO: result: no gcc available" >&5
41066 echo "${ECHO_T}no gcc available" >&6; }
41071 if test "x$GXX" = "xyes"; then
41073 if test "x$ax_gxx_version_option" != "no"; then
41075 { echo "$as_me:$LINENO: checking gxx version" >&5
41076 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41077 if test "${ax_cv_gxx_version+set}" = set; then
41078 echo $ECHO_N "(cached) $ECHO_C" >&6
41081 ax_cv_gxx_version="`$CXX -dumpversion`"
41082 if test "x$ax_cv_gxx_version" = "x"; then
41084 ax_cv_gxx_version=""
41090 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41091 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41092 GXX_VERSION=$ax_cv_gxx_version
41101 if test -n "$ax_cv_gxx_version"; then
41102 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41103 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41104 case "$ax_cv_gxx_version" in
41106 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41107 echo "${ECHO_T}no, it's broken" >&6; }
41108 wx_cv_cc___thread=no
41111 { echo "$as_me:$LINENO: result: yes, it works" >&5
41112 echo "${ECHO_T}yes, it works" >&6; }
41118 if test "$wx_cv_cc___thread" = "yes"; then
41119 cat >>confdefs.h <<\_ACEOF
41120 #define HAVE___THREAD_KEYWORD 1
41128 if test "$wxUSE_THREADS" = "yes" ; then
41130 x86_64-*-mingw32* )
41133 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41134 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41135 if test "${wx_cv_cflags_mthread+set}" = set; then
41136 echo $ECHO_N "(cached) $ECHO_C" >&6
41139 CFLAGS_OLD="$CFLAGS"
41140 CFLAGS="-mthreads $CFLAGS"
41141 cat >conftest.$ac_ext <<_ACEOF
41144 cat confdefs.h >>conftest.$ac_ext
41145 cat >>conftest.$ac_ext <<_ACEOF
41146 /* end confdefs.h. */
41156 rm -f conftest.$ac_objext
41157 if { (ac_try="$ac_compile"
41158 case "(($ac_try" in
41159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41160 *) ac_try_echo
=$ac_try;;
41162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41163 (eval "$ac_compile") 2>conftest.er1
41165 grep -v '^ *+' conftest.er1
>conftest.err
41167 cat conftest.err
>&5
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); } && {
41170 test -z "$ac_c_werror_flag" ||
41171 test ! -s conftest.err
41172 } && test -s conftest.
$ac_objext; then
41173 wx_cv_cflags_mthread
=yes
41175 echo "$as_me: failed program was:" >&5
41176 sed 's/^/| /' conftest.
$ac_ext >&5
41178 wx_cv_cflags_mthread
=no
41182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41186 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41187 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41189 if test "$wx_cv_cflags_mthread" = "yes"; then
41190 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41191 LDFLAGS
="$LDFLAGS -mthreads"
41193 CFLAGS
="$CFLAGS_OLD"
41197 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41198 LDFLAGS
="$LDFLAGS -Zmt"
41204 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41205 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41206 if test "${ac_cv_func_localtime_r+set}" = set; then
41207 echo $ECHO_N "(cached) $ECHO_C" >&6
41209 cat >conftest.
$ac_ext <<_ACEOF
41212 cat confdefs.h
>>conftest.
$ac_ext
41213 cat >>conftest.
$ac_ext <<_ACEOF
41214 /* end confdefs.h. */
41215 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41217 #define localtime_r innocuous_localtime_r
41219 /* System header to define __stub macros and hopefully few prototypes,
41220 which can conflict with char localtime_r (); below.
41221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41222 <limits.h> exists even on freestanding compilers. */
41225 # include <limits.h>
41227 # include <assert.h>
41232 /* Override any GCC internal prototype to avoid an error.
41233 Use char because int might match the return type of a GCC
41234 builtin and then its argument prototype would still apply. */
41238 char localtime_r ();
41239 /* The GNU C library defines this for functions which it implements
41240 to always fail with ENOSYS. Some functions are actually named
41241 something starting with __ and the normal name is an alias. */
41242 #if defined __stub_localtime_r || defined __stub___localtime_r
41249 return localtime_r ();
41254 rm -f conftest.
$ac_objext conftest
$ac_exeext
41255 if { (ac_try
="$ac_link"
41256 case "(($ac_try" in
41257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41258 *) ac_try_echo=$ac_try;;
41260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41261 (eval "$ac_link") 2>conftest.er1
41263 grep -v '^ *+' conftest.er1 >conftest.err
41265 cat conftest.err >&5
41266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41267 (exit $ac_status); } && {
41268 test -z "$ac_c_werror_flag" ||
41269 test ! -s conftest.err
41270 } && test -s conftest$ac_exeext &&
41271 $as_test_x conftest$ac_exeext; then
41272 ac_cv_func_localtime_r=yes
41274 echo "$as_me: failed program was:" >&5
41275 sed 's/^/| /' conftest.$ac_ext >&5
41277 ac_cv_func_localtime_r=no
41280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41281 conftest$ac_exeext conftest.$ac_ext
41283 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41284 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41285 if test $ac_cv_func_localtime_r = yes; then
41286 cat >>confdefs.h <<\_ACEOF
41287 #define HAVE_LOCALTIME_R 1
41292 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41293 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41294 if test "${ac_cv_func_gmtime_r+set}" = set; then
41295 echo $ECHO_N "(cached) $ECHO_C" >&6
41297 cat >conftest.$ac_ext <<_ACEOF
41300 cat confdefs.h >>conftest.$ac_ext
41301 cat >>conftest.$ac_ext <<_ACEOF
41302 /* end confdefs.h. */
41303 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41305 #define gmtime_r innocuous_gmtime_r
41307 /* System header to define __stub macros and hopefully few prototypes,
41308 which can conflict with char gmtime_r (); below.
41309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41310 <limits.h> exists even on freestanding compilers. */
41313 # include <limits.h>
41315 # include <assert.h>
41320 /* Override any GCC internal prototype to avoid an error.
41321 Use char because int might match the return type of a GCC
41322 builtin and then its argument prototype would still apply. */
41327 /* The GNU C library defines this for functions which it implements
41328 to always fail with ENOSYS. Some functions are actually named
41329 something starting with __ and the normal name is an alias. */
41330 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41337 return gmtime_r ();
41342 rm -f conftest.$ac_objext conftest$ac_exeext
41343 if { (ac_try="$ac_link"
41344 case "(($ac_try" in
41345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41346 *) ac_try_echo
=$ac_try;;
41348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41349 (eval "$ac_link") 2>conftest.er1
41351 grep -v '^ *+' conftest.er1
>conftest.err
41353 cat conftest.err
>&5
41354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355 (exit $ac_status); } && {
41356 test -z "$ac_c_werror_flag" ||
41357 test ! -s conftest.err
41358 } && test -s conftest
$ac_exeext &&
41359 $as_test_x conftest
$ac_exeext; then
41360 ac_cv_func_gmtime_r
=yes
41362 echo "$as_me: failed program was:" >&5
41363 sed 's/^/| /' conftest.
$ac_ext >&5
41365 ac_cv_func_gmtime_r
=no
41368 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41369 conftest
$ac_exeext conftest.
$ac_ext
41371 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41372 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41373 if test $ac_cv_func_gmtime_r = yes; then
41374 cat >>confdefs.h
<<\_ACEOF
41375 #define HAVE_GMTIME_R 1
41384 ac_cpp
='$CPP $CPPFLAGS'
41385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41389 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41390 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41392 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41393 echo $ECHO_N "(cached) $ECHO_C" >&6
41397 ################################################################
41399 ac_cv_func_which_gethostbyname_r
=unknown
41402 # ONE ARGUMENT (sanity check)
41405 # This should fail, as there is no variant of gethostbyname_r() that takes
41406 # a single argument. If it actually compiles, then we can assume that
41407 # netdb.h is not declaring the function, and the compiler is thereby
41408 # assuming an implicit prototype. In which case, we're out of luck.
41410 cat >conftest.
$ac_ext <<_ACEOF
41413 cat confdefs.h
>>conftest.
$ac_ext
41414 cat >>conftest.
$ac_ext <<_ACEOF
41415 /* end confdefs.h. */
41421 char *name = "www.gnu.org";
41422 (void)gethostbyname_r(name) /* ; */
41428 rm -f conftest.
$ac_objext
41429 if { (ac_try
="$ac_compile"
41430 case "(($ac_try" in
41431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41432 *) ac_try_echo=$ac_try;;
41434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41435 (eval "$ac_compile") 2>conftest.er1
41437 grep -v '^ *+' conftest.er1 >conftest.err
41439 cat conftest.err >&5
41440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41441 (exit $ac_status); } && {
41442 test -z "$ac_c_werror_flag" ||
41443 test ! -s conftest.err
41444 } && test -s conftest.$ac_objext; then
41445 ac_cv_func_which_gethostbyname_r=no
41447 echo "$as_me: failed program was:" >&5
41448 sed 's/^/| /' conftest.$ac_ext >&5
41453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41460 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41462 cat >conftest.$ac_ext <<_ACEOF
41465 cat confdefs.h >>conftest.$ac_ext
41466 cat >>conftest.$ac_ext <<_ACEOF
41467 /* end confdefs.h. */
41473 char *name = "www.gnu.org";
41474 struct hostent ret, *retp;
41478 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41484 rm -f conftest.$ac_objext
41485 if { (ac_try="$ac_compile"
41486 case "(($ac_try" in
41487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41488 *) ac_try_echo
=$ac_try;;
41490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41491 (eval "$ac_compile") 2>conftest.er1
41493 grep -v '^ *+' conftest.er1
>conftest.err
41495 cat conftest.err
>&5
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); } && {
41498 test -z "$ac_c_werror_flag" ||
41499 test ! -s conftest.err
41500 } && test -s conftest.
$ac_objext; then
41501 ac_cv_func_which_gethostbyname_r
=six
41503 echo "$as_me: failed program was:" >&5
41504 sed 's/^/| /' conftest.
$ac_ext >&5
41509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41518 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41520 cat >conftest.
$ac_ext <<_ACEOF
41523 cat confdefs.h
>>conftest.
$ac_ext
41524 cat >>conftest.
$ac_ext <<_ACEOF
41525 /* end confdefs.h. */
41531 char *name = "www.gnu.org";
41532 struct hostent ret;
41536 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41542 rm -f conftest.
$ac_objext
41543 if { (ac_try
="$ac_compile"
41544 case "(($ac_try" in
41545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41546 *) ac_try_echo=$ac_try;;
41548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41549 (eval "$ac_compile") 2>conftest.er1
41551 grep -v '^ *+' conftest.er1 >conftest.err
41553 cat conftest.err >&5
41554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41555 (exit $ac_status); } && {
41556 test -z "$ac_c_werror_flag" ||
41557 test ! -s conftest.err
41558 } && test -s conftest.$ac_objext; then
41559 ac_cv_func_which_gethostbyname_r=five
41561 echo "$as_me: failed program was:" >&5
41562 sed 's/^/| /' conftest.$ac_ext >&5
41567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41573 # (e.g. AIX, HP-UX, Tru64)
41576 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41578 cat >conftest.$ac_ext <<_ACEOF
41581 cat confdefs.h >>conftest.$ac_ext
41582 cat >>conftest.$ac_ext <<_ACEOF
41583 /* end confdefs.h. */
41589 char *name = "www.gnu.org";
41590 struct hostent ret;
41591 struct hostent_data data;
41592 (void)gethostbyname_r(name, &ret, &data) /* ; */
41598 rm -f conftest.$ac_objext
41599 if { (ac_try="$ac_compile"
41600 case "(($ac_try" in
41601 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41602 *) ac_try_echo
=$ac_try;;
41604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41605 (eval "$ac_compile") 2>conftest.er1
41607 grep -v '^ *+' conftest.er1
>conftest.err
41609 cat conftest.err
>&5
41610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41611 (exit $ac_status); } && {
41612 test -z "$ac_c_werror_flag" ||
41613 test ! -s conftest.err
41614 } && test -s conftest.
$ac_objext; then
41615 ac_cv_func_which_gethostbyname_r
=three
41617 echo "$as_me: failed program was:" >&5
41618 sed 's/^/| /' conftest.
$ac_ext >&5
41623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41627 ################################################################
41632 case "$ac_cv_func_which_gethostbyname_r" in
41634 { echo "$as_me:$LINENO: result: three" >&5
41635 echo "${ECHO_T}three" >&6; }
41636 cat >>confdefs.h
<<\_ACEOF
41637 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41643 { echo "$as_me:$LINENO: result: five" >&5
41644 echo "${ECHO_T}five" >&6; }
41645 cat >>confdefs.h
<<\_ACEOF
41646 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41652 { echo "$as_me:$LINENO: result: six" >&5
41653 echo "${ECHO_T}six" >&6; }
41654 cat >>confdefs.h
<<\_ACEOF
41655 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41661 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41662 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41666 { echo "$as_me:$LINENO: result: can't tell" >&5
41667 echo "${ECHO_T}can't tell" >&6; }
41671 { { echo "$as_me:$LINENO: error: internal error" >&5
41672 echo "$as_me: error: internal error" >&2;}
41673 { (exit 1); exit 1; }; }
41678 ac_cpp
='$CPP $CPPFLAGS'
41679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41685 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41686 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41687 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41688 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41689 if test "${ac_cv_func_gethostbyname+set}" = set; then
41690 echo $ECHO_N "(cached) $ECHO_C" >&6
41692 cat >conftest.
$ac_ext <<_ACEOF
41695 cat confdefs.h
>>conftest.
$ac_ext
41696 cat >>conftest.
$ac_ext <<_ACEOF
41697 /* end confdefs.h. */
41698 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41700 #define gethostbyname innocuous_gethostbyname
41702 /* System header to define __stub macros and hopefully few prototypes,
41703 which can conflict with char gethostbyname (); below.
41704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41705 <limits.h> exists even on freestanding compilers. */
41708 # include <limits.h>
41710 # include <assert.h>
41713 #undef gethostbyname
41715 /* Override any GCC internal prototype to avoid an error.
41716 Use char because int might match the return type of a GCC
41717 builtin and then its argument prototype would still apply. */
41721 char gethostbyname ();
41722 /* The GNU C library defines this for functions which it implements
41723 to always fail with ENOSYS. Some functions are actually named
41724 something starting with __ and the normal name is an alias. */
41725 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41732 return gethostbyname ();
41737 rm -f conftest.
$ac_objext conftest
$ac_exeext
41738 if { (ac_try
="$ac_link"
41739 case "(($ac_try" in
41740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41741 *) ac_try_echo=$ac_try;;
41743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41744 (eval "$ac_link") 2>conftest.er1
41746 grep -v '^ *+' conftest.er1 >conftest.err
41748 cat conftest.err >&5
41749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41750 (exit $ac_status); } && {
41751 test -z "$ac_c_werror_flag" ||
41752 test ! -s conftest.err
41753 } && test -s conftest$ac_exeext &&
41754 $as_test_x conftest$ac_exeext; then
41755 ac_cv_func_gethostbyname=yes
41757 echo "$as_me: failed program was:" >&5
41758 sed 's/^/| /' conftest.$ac_ext >&5
41760 ac_cv_func_gethostbyname=no
41763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41764 conftest$ac_exeext conftest.$ac_ext
41766 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41767 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41768 if test $ac_cv_func_gethostbyname = yes; then
41769 cat >>confdefs.h <<\_ACEOF
41770 #define HAVE_GETHOSTBYNAME 1
41777 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41778 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41779 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41780 echo $ECHO_N "(cached) $ECHO_C" >&6
41784 ac_cpp='$CXXCPP $CPPFLAGS'
41785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41790 cat >conftest.$ac_ext <<_ACEOF
41793 cat confdefs.h >>conftest.$ac_ext
41794 cat >>conftest.$ac_ext <<_ACEOF
41795 /* end confdefs.h. */
41803 struct servent *se, *res;
41806 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41812 rm -f conftest.$ac_objext
41813 if { (ac_try="$ac_compile"
41814 case "(($ac_try" in
41815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41816 *) ac_try_echo
=$ac_try;;
41818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41819 (eval "$ac_compile") 2>conftest.er1
41821 grep -v '^ *+' conftest.er1
>conftest.err
41823 cat conftest.err
>&5
41824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41825 (exit $ac_status); } && {
41826 test -z "$ac_cxx_werror_flag" ||
41827 test ! -s conftest.err
41828 } && test -s conftest.
$ac_objext; then
41829 ac_cv_func_which_getservbyname_r
=six
41831 echo "$as_me: failed program was:" >&5
41832 sed 's/^/| /' conftest.
$ac_ext >&5
41835 cat >conftest.
$ac_ext <<_ACEOF
41838 cat confdefs.h
>>conftest.
$ac_ext
41839 cat >>conftest.
$ac_ext <<_ACEOF
41840 /* end confdefs.h. */
41848 struct servent *se;
41851 (void) getservbyname_r(name, proto, se, buffer, buflen)
41857 rm -f conftest.
$ac_objext
41858 if { (ac_try
="$ac_compile"
41859 case "(($ac_try" in
41860 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41861 *) ac_try_echo=$ac_try;;
41863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41864 (eval "$ac_compile") 2>conftest.er1
41866 grep -v '^ *+' conftest.er1 >conftest.err
41868 cat conftest.err >&5
41869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41870 (exit $ac_status); } && {
41871 test -z "$ac_cxx_werror_flag" ||
41872 test ! -s conftest.err
41873 } && test -s conftest.$ac_objext; then
41874 ac_cv_func_which_getservbyname_r=five
41876 echo "$as_me: failed program was:" >&5
41877 sed 's/^/| /' conftest.$ac_ext >&5
41880 cat >conftest.$ac_ext <<_ACEOF
41883 cat confdefs.h >>conftest.$ac_ext
41884 cat >>conftest.$ac_ext <<_ACEOF
41885 /* end confdefs.h. */
41893 struct servent *se;
41894 struct servent_data data;
41895 (void) getservbyname_r(name, proto, se, &data);
41901 rm -f conftest.$ac_objext
41902 if { (ac_try="$ac_compile"
41903 case "(($ac_try" in
41904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41905 *) ac_try_echo
=$ac_try;;
41907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41908 (eval "$ac_compile") 2>conftest.er1
41910 grep -v '^ *+' conftest.er1
>conftest.err
41912 cat conftest.err
>&5
41913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41914 (exit $ac_status); } && {
41915 test -z "$ac_cxx_werror_flag" ||
41916 test ! -s conftest.err
41917 } && test -s conftest.
$ac_objext; then
41918 ac_cv_func_which_getservbyname_r
=four
41920 echo "$as_me: failed program was:" >&5
41921 sed 's/^/| /' conftest.
$ac_ext >&5
41923 ac_cv_func_which_getservbyname_r
=no
41927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41939 ac_cpp
='$CPP $CPPFLAGS'
41940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41947 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41948 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41950 if test $ac_cv_func_which_getservbyname_r = six
; then
41951 cat >>confdefs.h
<<\_ACEOF
41952 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41955 elif test $ac_cv_func_which_getservbyname_r = five
; then
41956 cat >>confdefs.h
<<\_ACEOF
41957 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41960 elif test $ac_cv_func_which_getservbyname_r = four
; then
41961 cat >>confdefs.h
<<\_ACEOF
41962 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41968 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41969 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41971 for ac_func
in getservbyname
41973 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41974 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41976 if { as_var
=$as_ac_var; eval "test \"\${$as_var+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 $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41987 #define $ac_func innocuous_$ac_func
41989 /* System header to define __stub macros and hopefully few prototypes,
41990 which can conflict with char $ac_func (); 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. */
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_$ac_func || defined __stub___$ac_func
42019 return $ac_func ();
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 eval "$as_ac_var=yes"
42044 echo "$as_me: failed program was:" >&5
42045 sed 's/^/| /' conftest.$ac_ext >&5
42047 eval "$as_ac_var=no"
42050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42051 conftest$ac_exeext conftest.$ac_ext
42053 ac_res=`eval echo '${'$as_ac_var'}'`
42054 { echo "$as_me:$LINENO: result: $ac_res" >&5
42055 echo "${ECHO_T}$ac_res" >&6; }
42056 if test `eval echo '${'$as_ac_var'}'` = yes; then
42057 cat >>confdefs.h <<_ACEOF
42058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42060 cat >>confdefs.h <<\_ACEOF
42061 #define HAVE_GETSERVBYNAME 1
42069 if test "$wxUSE_THREADS" = "yes"; then
42070 cat >>confdefs.h <<\_ACEOF
42071 #define wxUSE_THREADS 1
42075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42077 if test "$wx_cv_func_strtok_r" = "yes"; then
42078 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42079 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42080 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42081 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42082 { echo "$as_me:$LINENO: result: yes" >&5
42083 echo "${ECHO_T}yes" >&6; }
42085 { echo "$as_me:$LINENO: result: no" >&5
42086 echo "${ECHO_T}no" >&6; }
42091 if test "$WXGTK2" = 1 ; then
42092 cat >>confdefs.h <<_ACEOF
42093 #define __WXGTK20__ $WXGTK2
42099 if test "$WXGTK12" = 1 ; then
42100 cat >>confdefs.h <<_ACEOF
42101 #define __WXGTK12__ $WXGTK12
42106 if test "$WXGTK127" = 1 ; then
42107 cat >>confdefs.h <<_ACEOF
42108 #define __WXGTK127__ $WXGTK127
42113 if test "$WXGPE" = 1 ; then
42114 cat >>confdefs.h <<_ACEOF
42115 #define __WXGPE__ $WXGPE
42121 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42122 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42123 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42124 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42128 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42129 wxUSE_DEBUG_INFO=yes
42130 if test "$GCC" = yes; then
42131 DEBUG_CFLAGS="-ggdb"
42135 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42136 if test "$wxUSE_GTK" = 1 ; then
42137 if test "x$wxGTK_VERSION" = "x1" ; then
42138 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42143 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42144 cat >>confdefs.h <<\_ACEOF
42145 #define wxUSE_MEMORY_TRACING 1
42148 cat >>confdefs.h <<\_ACEOF
42149 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42152 cat >>confdefs.h <<\_ACEOF
42153 #define wxUSE_DEBUG_NEW_ALWAYS 1
42156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42159 if test "$wxUSE_DMALLOC" = "yes" ; then
42160 DMALLOC_LIBS="-ldmallocthcxx"
42164 if test "$wxUSE_PROFILE" = "yes" ; then
42165 PROFILE_FLAGS=" -pg"
42168 if test "$GCC" = "yes" ; then
42169 if test "$wxUSE_NO_RTTI" = "yes" ; then
42170 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42172 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42173 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42175 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42176 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42181 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42184 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42190 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42191 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42192 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42194 if test "$wxUSE_OPTIMISE" = "no" ; then
42195 if test "$GCC" = yes ; then
42196 OPTIMISE_CFLAGS="-O0"
42199 if test "$GCC" = yes ; then
42201 *-pc-os2_emx | *-pc-os2-emx )
42202 OPTIMISE_CFLAGS="-O2"
42205 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42209 OPTIMISE_CFLAGS="-O"
42215 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42216 cat >>confdefs.h <<\_ACEOF
42217 #define WXWIN_COMPATIBILITY_2_6 1
42221 WXWIN_COMPATIBILITY_2_8="yes"
42224 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42225 cat >>confdefs.h <<\_ACEOF
42226 #define WXWIN_COMPATIBILITY_2_8 1
42232 if test "$wxUSE_GUI" = "yes"; then
42233 cat >>confdefs.h <<\_ACEOF
42234 #define wxUSE_GUI 1
42241 if test "$wxUSE_UNIX" = "yes"; then
42242 cat >>confdefs.h <<\_ACEOF
42243 #define wxUSE_UNIX 1
42249 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42253 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42254 if test "$USE_DOS" = 1; then
42258 for ac_func in dlopen
42260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42261 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42263 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42264 echo $ECHO_N "(cached) $ECHO_C" >&6
42266 cat >conftest.$ac_ext <<_ACEOF
42269 cat confdefs.h >>conftest.$ac_ext
42270 cat >>conftest.$ac_ext <<_ACEOF
42271 /* end confdefs.h. */
42272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42274 #define $ac_func innocuous_$ac_func
42276 /* System header to define __stub macros and hopefully few prototypes,
42277 which can conflict with char $ac_func (); below.
42278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42279 <limits.h> exists even on freestanding compilers. */
42282 # include <limits.h>
42284 # include <assert.h>
42289 /* Override any GCC internal prototype to avoid an error.
42290 Use char because int might match the return type of a GCC
42291 builtin and then its argument prototype would still apply. */
42296 /* The GNU C library defines this for functions which it implements
42297 to always fail with ENOSYS. Some functions are actually named
42298 something starting with __ and the normal name is an alias. */
42299 #if defined __stub_$ac_func || defined __stub___$ac_func
42306 return $ac_func ();
42311 rm -f conftest.$ac_objext conftest$ac_exeext
42312 if { (ac_try="$ac_link"
42313 case "(($ac_try" in
42314 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42315 *) ac_try_echo
=$ac_try;;
42317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42318 (eval "$ac_link") 2>conftest.er1
42320 grep -v '^ *+' conftest.er1
>conftest.err
42322 cat conftest.err
>&5
42323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42324 (exit $ac_status); } && {
42325 test -z "$ac_c_werror_flag" ||
42326 test ! -s conftest.err
42327 } && test -s conftest
$ac_exeext &&
42328 $as_test_x conftest
$ac_exeext; then
42329 eval "$as_ac_var=yes"
42331 echo "$as_me: failed program was:" >&5
42332 sed 's/^/| /' conftest.
$ac_ext >&5
42334 eval "$as_ac_var=no"
42337 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42338 conftest
$ac_exeext conftest.
$ac_ext
42340 ac_res
=`eval echo '${'$as_ac_var'}'`
42341 { echo "$as_me:$LINENO: result: $ac_res" >&5
42342 echo "${ECHO_T}$ac_res" >&6; }
42343 if test `eval echo '${'$as_ac_var'}'` = yes; then
42344 cat >>confdefs.h
<<_ACEOF
42345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42348 cat >>confdefs.h
<<\_ACEOF
42349 #define HAVE_DLOPEN 1
42356 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42357 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42359 echo $ECHO_N "(cached) $ECHO_C" >&6
42361 ac_check_lib_save_LIBS
=$LIBS
42363 cat >conftest.
$ac_ext <<_ACEOF
42366 cat confdefs.h
>>conftest.
$ac_ext
42367 cat >>conftest.
$ac_ext <<_ACEOF
42368 /* end confdefs.h. */
42370 /* Override any GCC internal prototype to avoid an error.
42371 Use char because int might match the return type of a GCC
42372 builtin and then its argument prototype would still apply. */
42385 rm -f conftest.
$ac_objext conftest
$ac_exeext
42386 if { (ac_try
="$ac_link"
42387 case "(($ac_try" in
42388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42389 *) ac_try_echo=$ac_try;;
42391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42392 (eval "$ac_link") 2>conftest.er1
42394 grep -v '^ *+' conftest.er1 >conftest.err
42396 cat conftest.err >&5
42397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42398 (exit $ac_status); } && {
42399 test -z "$ac_c_werror_flag" ||
42400 test ! -s conftest.err
42401 } && test -s conftest$ac_exeext &&
42402 $as_test_x conftest$ac_exeext; then
42403 ac_cv_lib_dl_dlopen=yes
42405 echo "$as_me: failed program was:" >&5
42406 sed 's/^/| /' conftest.$ac_ext >&5
42408 ac_cv_lib_dl_dlopen=no
42411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42412 conftest$ac_exeext conftest.$ac_ext
42413 LIBS=$ac_check_lib_save_LIBS
42415 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42416 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42417 if test $ac_cv_lib_dl_dlopen = yes; then
42419 cat >>confdefs.h <<\_ACEOF
42420 #define HAVE_DLOPEN 1
42424 DL_LINK=" -ldl$DL_LINK"
42429 for ac_func in shl_load
42431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42432 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42435 echo $ECHO_N "(cached) $ECHO_C" >&6
42437 cat >conftest.$ac_ext <<_ACEOF
42440 cat confdefs.h >>conftest.$ac_ext
42441 cat >>conftest.$ac_ext <<_ACEOF
42442 /* end confdefs.h. */
42443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42445 #define $ac_func innocuous_$ac_func
42447 /* System header to define __stub macros and hopefully few prototypes,
42448 which can conflict with char $ac_func (); below.
42449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42450 <limits.h> exists even on freestanding compilers. */
42453 # include <limits.h>
42455 # include <assert.h>
42460 /* Override any GCC internal prototype to avoid an error.
42461 Use char because int might match the return type of a GCC
42462 builtin and then its argument prototype would still apply. */
42467 /* The GNU C library defines this for functions which it implements
42468 to always fail with ENOSYS. Some functions are actually named
42469 something starting with __ and the normal name is an alias. */
42470 #if defined __stub_$ac_func || defined __stub___$ac_func
42477 return $ac_func ();
42482 rm -f conftest.$ac_objext conftest$ac_exeext
42483 if { (ac_try="$ac_link"
42484 case "(($ac_try" in
42485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42486 *) ac_try_echo
=$ac_try;;
42488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42489 (eval "$ac_link") 2>conftest.er1
42491 grep -v '^ *+' conftest.er1
>conftest.err
42493 cat conftest.err
>&5
42494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42495 (exit $ac_status); } && {
42496 test -z "$ac_c_werror_flag" ||
42497 test ! -s conftest.err
42498 } && test -s conftest
$ac_exeext &&
42499 $as_test_x conftest
$ac_exeext; then
42500 eval "$as_ac_var=yes"
42502 echo "$as_me: failed program was:" >&5
42503 sed 's/^/| /' conftest.
$ac_ext >&5
42505 eval "$as_ac_var=no"
42508 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42509 conftest
$ac_exeext conftest.
$ac_ext
42511 ac_res
=`eval echo '${'$as_ac_var'}'`
42512 { echo "$as_me:$LINENO: result: $ac_res" >&5
42513 echo "${ECHO_T}$ac_res" >&6; }
42514 if test `eval echo '${'$as_ac_var'}'` = yes; then
42515 cat >>confdefs.h
<<_ACEOF
42516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42519 cat >>confdefs.h
<<\_ACEOF
42520 #define HAVE_SHL_LOAD 1
42527 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42528 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42529 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42530 echo $ECHO_N "(cached) $ECHO_C" >&6
42532 ac_check_lib_save_LIBS
=$LIBS
42533 LIBS
="-lshl_load $LIBS"
42534 cat >conftest.
$ac_ext <<_ACEOF
42537 cat confdefs.h
>>conftest.
$ac_ext
42538 cat >>conftest.
$ac_ext <<_ACEOF
42539 /* end confdefs.h. */
42541 /* Override any GCC internal prototype to avoid an error.
42542 Use char because int might match the return type of a GCC
42543 builtin and then its argument prototype would still apply. */
42556 rm -f conftest.
$ac_objext conftest
$ac_exeext
42557 if { (ac_try
="$ac_link"
42558 case "(($ac_try" in
42559 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42560 *) ac_try_echo=$ac_try;;
42562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42563 (eval "$ac_link") 2>conftest.er1
42565 grep -v '^ *+' conftest.er1 >conftest.err
42567 cat conftest.err >&5
42568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569 (exit $ac_status); } && {
42570 test -z "$ac_c_werror_flag" ||
42571 test ! -s conftest.err
42572 } && test -s conftest$ac_exeext &&
42573 $as_test_x conftest$ac_exeext; then
42574 ac_cv_lib_shl_load_dld=yes
42576 echo "$as_me: failed program was:" >&5
42577 sed 's/^/| /' conftest.$ac_ext >&5
42579 ac_cv_lib_shl_load_dld=no
42582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42583 conftest$ac_exeext conftest.$ac_ext
42584 LIBS=$ac_check_lib_save_LIBS
42586 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42587 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42588 if test $ac_cv_lib_shl_load_dld = yes; then
42591 DL_LINK=" -ldld$DL_LINK"
42607 if test "$HAVE_DL_FUNCS" = 1; then
42609 for ac_func in dlerror
42611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42612 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42614 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42615 echo $ECHO_N "(cached) $ECHO_C" >&6
42617 cat >conftest.$ac_ext <<_ACEOF
42620 cat confdefs.h >>conftest.$ac_ext
42621 cat >>conftest.$ac_ext <<_ACEOF
42622 /* end confdefs.h. */
42623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42625 #define $ac_func innocuous_$ac_func
42627 /* System header to define __stub macros and hopefully few prototypes,
42628 which can conflict with char $ac_func (); below.
42629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42630 <limits.h> exists even on freestanding compilers. */
42633 # include <limits.h>
42635 # include <assert.h>
42640 /* Override any GCC internal prototype to avoid an error.
42641 Use char because int might match the return type of a GCC
42642 builtin and then its argument prototype would still apply. */
42647 /* The GNU C library defines this for functions which it implements
42648 to always fail with ENOSYS. Some functions are actually named
42649 something starting with __ and the normal name is an alias. */
42650 #if defined __stub_$ac_func || defined __stub___$ac_func
42657 return $ac_func ();
42662 rm -f conftest.$ac_objext conftest$ac_exeext
42663 if { (ac_try="$ac_link"
42664 case "(($ac_try" in
42665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42666 *) ac_try_echo
=$ac_try;;
42668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42669 (eval "$ac_link") 2>conftest.er1
42671 grep -v '^ *+' conftest.er1
>conftest.err
42673 cat conftest.err
>&5
42674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42675 (exit $ac_status); } && {
42676 test -z "$ac_c_werror_flag" ||
42677 test ! -s conftest.err
42678 } && test -s conftest
$ac_exeext &&
42679 $as_test_x conftest
$ac_exeext; then
42680 eval "$as_ac_var=yes"
42682 echo "$as_me: failed program was:" >&5
42683 sed 's/^/| /' conftest.
$ac_ext >&5
42685 eval "$as_ac_var=no"
42688 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42689 conftest
$ac_exeext conftest.
$ac_ext
42691 ac_res
=`eval echo '${'$as_ac_var'}'`
42692 { echo "$as_me:$LINENO: result: $ac_res" >&5
42693 echo "${ECHO_T}$ac_res" >&6; }
42694 if test `eval echo '${'$as_ac_var'}'` = yes; then
42695 cat >>confdefs.h
<<_ACEOF
42696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42698 cat >>confdefs.h
<<\_ACEOF
42699 #define HAVE_DLERROR 1
42704 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42705 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42706 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42707 echo $ECHO_N "(cached) $ECHO_C" >&6
42709 ac_check_lib_save_LIBS
=$LIBS
42711 cat >conftest.
$ac_ext <<_ACEOF
42714 cat confdefs.h
>>conftest.
$ac_ext
42715 cat >>conftest.
$ac_ext <<_ACEOF
42716 /* end confdefs.h. */
42718 /* Override any GCC internal prototype to avoid an error.
42719 Use char because int might match the return type of a GCC
42720 builtin and then its argument prototype would still apply. */
42733 rm -f conftest.
$ac_objext conftest
$ac_exeext
42734 if { (ac_try
="$ac_link"
42735 case "(($ac_try" in
42736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42737 *) ac_try_echo=$ac_try;;
42739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42740 (eval "$ac_link") 2>conftest.er1
42742 grep -v '^ *+' conftest.er1 >conftest.err
42744 cat conftest.err >&5
42745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42746 (exit $ac_status); } && {
42747 test -z "$ac_c_werror_flag" ||
42748 test ! -s conftest.err
42749 } && test -s conftest$ac_exeext &&
42750 $as_test_x conftest$ac_exeext; then
42751 ac_cv_lib_dl_dlerror=yes
42753 echo "$as_me: failed program was:" >&5
42754 sed 's/^/| /' conftest.$ac_ext >&5
42756 ac_cv_lib_dl_dlerror=no
42759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42760 conftest$ac_exeext conftest.$ac_ext
42761 LIBS=$ac_check_lib_save_LIBS
42763 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42764 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42765 if test $ac_cv_lib_dl_dlerror = yes; then
42766 cat >>confdefs.h <<\_ACEOF
42767 #define HAVE_DLERROR 1
42780 if test "$USE_DARWIN" = 1; then
42784 if test "$HAVE_DL_FUNCS" = 0; then
42785 if test "$HAVE_SHL_FUNCS" = 0; then
42786 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42787 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42788 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42789 wxUSE_DYNAMIC_LOADER=no
42790 wxUSE_DYNLIB_CLASS=no
42792 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42793 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42800 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42801 cat >>confdefs.h <<\_ACEOF
42802 #define wxUSE_DYNAMIC_LOADER 1
42806 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42807 cat >>confdefs.h <<\_ACEOF
42808 #define wxUSE_DYNLIB_CLASS 1
42815 if test "$wxUSE_PLUGINS" = "yes" ; then
42816 if test "$wxUSE_SHARED" = "no" ; then
42817 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42818 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42821 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42822 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42823 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42826 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42827 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42828 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42831 if test "$wxUSE_PLUGINS" = "yes" ; then
42832 cat >>confdefs.h <<\_ACEOF
42833 #define wxUSE_PLUGINS 1
42840 if test "$wxUSE_FSWATCHER" = "yes"; then
42841 if test "$wxUSE_MSW" != "1"; then
42842 if test "$wxUSE_UNIX" = "yes"; then
42844 for ac_header in sys/inotify.h
42846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42847 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42850 echo $ECHO_N "(cached) $ECHO_C" >&6
42852 cat >conftest.$ac_ext <<_ACEOF
42855 cat confdefs.h >>conftest.$ac_ext
42856 cat >>conftest.$ac_ext <<_ACEOF
42857 /* end confdefs.h. */
42858 $ac_includes_default
42860 #include <$ac_header>
42862 rm -f conftest.$ac_objext
42863 if { (ac_try="$ac_compile"
42864 case "(($ac_try" in
42865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42866 *) ac_try_echo
=$ac_try;;
42868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42869 (eval "$ac_compile") 2>conftest.er1
42871 grep -v '^ *+' conftest.er1
>conftest.err
42873 cat conftest.err
>&5
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); } && {
42876 test -z "$ac_c_werror_flag" ||
42877 test ! -s conftest.err
42878 } && test -s conftest.
$ac_objext; then
42879 eval "$as_ac_Header=yes"
42881 echo "$as_me: failed program was:" >&5
42882 sed 's/^/| /' conftest.
$ac_ext >&5
42884 eval "$as_ac_Header=no"
42887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42889 ac_res
=`eval echo '${'$as_ac_Header'}'`
42890 { echo "$as_me:$LINENO: result: $ac_res" >&5
42891 echo "${ECHO_T}$ac_res" >&6; }
42892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42893 cat >>confdefs.h
<<_ACEOF
42894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42901 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42902 cat >>confdefs.h
<<\_ACEOF
42903 #define wxHAS_INOTIFY 1
42908 for ac_header
in sys
/event.h
42910 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42911 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42913 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42914 echo $ECHO_N "(cached) $ECHO_C" >&6
42916 cat >conftest.
$ac_ext <<_ACEOF
42919 cat confdefs.h
>>conftest.
$ac_ext
42920 cat >>conftest.
$ac_ext <<_ACEOF
42921 /* end confdefs.h. */
42922 $ac_includes_default
42924 #include <$ac_header>
42926 rm -f conftest.
$ac_objext
42927 if { (ac_try
="$ac_compile"
42928 case "(($ac_try" in
42929 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42930 *) ac_try_echo=$ac_try;;
42932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42933 (eval "$ac_compile") 2>conftest.er1
42935 grep -v '^ *+' conftest.er1 >conftest.err
42937 cat conftest.err >&5
42938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42939 (exit $ac_status); } && {
42940 test -z "$ac_c_werror_flag" ||
42941 test ! -s conftest.err
42942 } && test -s conftest.$ac_objext; then
42943 eval "$as_ac_Header=yes"
42945 echo "$as_me: failed program was:" >&5
42946 sed 's/^/| /' conftest.$ac_ext >&5
42948 eval "$as_ac_Header=no"
42951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42953 ac_res=`eval echo '${'$as_ac_Header'}'`
42954 { echo "$as_me:$LINENO: result: $ac_res" >&5
42955 echo "${ECHO_T}$ac_res" >&6; }
42956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42957 cat >>confdefs.h <<_ACEOF
42958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42965 if test "$ac_cv_header_sys_event_h" = "yes"; then
42966 cat >>confdefs.h <<\_ACEOF
42967 #define wxHAS_KQUEUE 1
42979 if test "$wxUSE_FSWATCHER" = "yes"; then
42980 cat >>confdefs.h <<\_ACEOF
42981 #define wxUSE_FSWATCHER 1
42984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42986 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
42987 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
42992 if test "$wxUSE_STL" = "yes"; then
42993 cat >>confdefs.h <<\_ACEOF
42994 #define wxUSE_STL 1
42999 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43000 cat >>confdefs.h <<\_ACEOF
43001 #define wxUSE_EXTENDED_RTTI 1
43006 if test "$wxUSE_ANY" = "yes"; then
43007 cat >>confdefs.h <<\_ACEOF
43008 #define wxUSE_ANY 1
43013 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43014 cat >>confdefs.h <<\_ACEOF
43015 #define wxUSE_APPLE_IEEE 1
43020 if test "$wxUSE_TIMER" = "yes"; then
43021 cat >>confdefs.h <<\_ACEOF
43022 #define wxUSE_TIMER 1
43027 if test "$USE_UNIX" = 1 ; then
43028 if test "$wxUSE_MGL" != 1; then
43029 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43030 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43031 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43032 echo $ECHO_N "(cached) $ECHO_C" >&6
43035 cat >conftest.$ac_ext <<_ACEOF
43038 cat confdefs.h >>conftest.$ac_ext
43039 cat >>conftest.$ac_ext <<_ACEOF
43040 /* end confdefs.h. */
43042 #include <sys/ioctl.h>
43043 #include <sys/soundcard.h>
43049 ioctl(0, SNDCTL_DSP_SPEED, 0);
43055 rm -f conftest.$ac_objext conftest$ac_exeext
43056 if { (ac_try="$ac_link"
43057 case "(($ac_try" in
43058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43059 *) ac_try_echo
=$ac_try;;
43061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43062 (eval "$ac_link") 2>conftest.er1
43064 grep -v '^ *+' conftest.er1
>conftest.err
43066 cat conftest.err
>&5
43067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43068 (exit $ac_status); } && {
43069 test -z "$ac_c_werror_flag" ||
43070 test ! -s conftest.err
43071 } && test -s conftest
$ac_exeext &&
43072 $as_test_x conftest
$ac_exeext; then
43073 ac_cv_header_sys_soundcard
=yes
43075 echo "$as_me: failed program was:" >&5
43076 sed 's/^/| /' conftest.
$ac_ext >&5
43080 LIBS
="$saveLibs -lossaudio"
43081 cat >conftest.
$ac_ext <<_ACEOF
43084 cat confdefs.h
>>conftest.
$ac_ext
43085 cat >>conftest.
$ac_ext <<_ACEOF
43086 /* end confdefs.h. */
43088 #include <sys/ioctl.h>
43089 #include <sys/soundcard.h>
43095 ioctl(0, SNDCTL_DSP_SPEED, 0);
43101 rm -f conftest.
$ac_objext conftest
$ac_exeext
43102 if { (ac_try
="$ac_link"
43103 case "(($ac_try" in
43104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43105 *) ac_try_echo=$ac_try;;
43107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43108 (eval "$ac_link") 2>conftest.er1
43110 grep -v '^ *+' conftest.er1 >conftest.err
43112 cat conftest.err >&5
43113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43114 (exit $ac_status); } && {
43115 test -z "$ac_c_werror_flag" ||
43116 test ! -s conftest.err
43117 } && test -s conftest$ac_exeext &&
43118 $as_test_x conftest$ac_exeext; then
43119 ac_cv_header_sys_soundcard=yes
43121 echo "$as_me: failed program was:" >&5
43122 sed 's/^/| /' conftest.$ac_ext >&5
43126 ac_cv_header_sys_soundcard=no
43131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43132 conftest$ac_exeext conftest.$ac_ext
43137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43138 conftest$ac_exeext conftest.$ac_ext
43141 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43142 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43145 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43146 cat >>confdefs.h <<\_ACEOF
43147 #define HAVE_SYS_SOUNDCARD_H 1
43154 if test "$wxUSE_SOUND" = "yes"; then
43155 if test "$USE_UNIX" = 1 ; then
43156 if test "$wxUSE_LIBSDL" != "no"; then
43158 # Check whether --with-sdl-prefix was given.
43159 if test "${with_sdl_prefix+set}" = set; then
43160 withval=$with_sdl_prefix; sdl_prefix="$withval"
43166 # Check whether --with-sdl-exec-prefix was given.
43167 if test "${with_sdl_exec_prefix+set}" = set; then
43168 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43173 # Check whether --enable-sdltest was given.
43174 if test "${enable_sdltest+set}" = set; then
43175 enableval=$enable_sdltest;
43181 if test x$sdl_exec_prefix != x ; then
43182 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43183 if test x${SDL_CONFIG+set} != xset ; then
43184 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43187 if test x$sdl_prefix != x ; then
43188 sdl_args="$sdl_args --prefix=$sdl_prefix"
43189 if test x${SDL_CONFIG+set} != xset ; then
43190 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43194 if test "x$prefix" != xNONE; then
43195 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43197 # Extract the first word of "sdl-config", so it can be a program name with args.
43198 set dummy sdl-config; ac_word=$2
43199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43201 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43202 echo $ECHO_N "(cached) $ECHO_C" >&6
43204 case $SDL_CONFIG in
43206 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43210 for as_dir in $PATH
43213 test -z "$as_dir" && as_dir=.
43214 for ac_exec_ext in '' $ac_executable_extensions; do
43215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43216 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43224 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43228 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43229 if test -n "$SDL_CONFIG"; then
43230 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43231 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43233 { echo "$as_me:$LINENO: result: no" >&5
43234 echo "${ECHO_T}no" >&6; }
43238 min_sdl_version=1.2.0
43239 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43240 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43242 if test "$SDL_CONFIG" = "no" ; then
43245 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43246 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43248 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43250 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43252 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43253 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43254 if test "x$enable_sdltest" = "xyes" ; then
43255 ac_save_CFLAGS="$CFLAGS"
43256 ac_save_CXXFLAGS="$CXXFLAGS"
43257 ac_save_LIBS="$LIBS"
43258 CFLAGS="$CFLAGS $SDL_CFLAGS"
43259 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43260 LIBS="$LIBS $SDL_LIBS"
43262 if test "$cross_compiling" = yes; then
43263 echo $ac_n "cross compiling; assumed OK... $ac_c"
43265 cat >conftest.$ac_ext <<_ACEOF
43268 cat confdefs.h >>conftest.$ac_ext
43269 cat >>conftest.$ac_ext <<_ACEOF
43270 /* end confdefs.h. */
43273 #include <stdlib.h>
43274 #include <string.h>
43278 my_strdup (char *str)
43284 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43285 strcpy (new_str, str);
43293 int main (int argc, char *argv[])
43295 int major, minor, micro;
43298 /* This hangs on some systems (?)
43299 system ("touch conf.sdltest");
43301 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43303 /* HP/UX 9 (%@#!) writes to sscanf strings */
43304 tmp_version = my_strdup("$min_sdl_version");
43305 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43306 printf("%s, bad version string\n", "$min_sdl_version");
43310 if (($sdl_major_version > major) ||
43311 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43312 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43318 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43319 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43320 printf("*** best to upgrade to the required version.\n");
43321 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43322 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43323 printf("*** config.cache before re-running configure\n");
43330 rm -f conftest$ac_exeext
43331 if { (ac_try="$ac_link"
43332 case "(($ac_try" in
43333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43334 *) ac_try_echo
=$ac_try;;
43336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43337 (eval "$ac_link") 2>&5
43339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43340 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43341 { (case "(($ac_try" in
43342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43343 *) ac_try_echo=$ac_try;;
43345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43346 (eval "$ac_try") 2>&5
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); }; }; then
43352 echo "$as_me: program exited with status $ac_status" >&5
43353 echo "$as_me: failed program was:" >&5
43354 sed 's/^/| /' conftest.$ac_ext >&5
43356 ( exit $ac_status )
43359 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43363 CFLAGS="$ac_save_CFLAGS"
43364 CXXFLAGS="$ac_save_CXXFLAGS"
43365 LIBS="$ac_save_LIBS"
43368 if test "x$no_sdl" = x ; then
43369 { echo "$as_me:$LINENO: result: yes" >&5
43370 echo "${ECHO_T}yes" >&6; }
43372 EXTRALIBS_SDL="$SDL_LIBS"
43373 CFLAGS="$SDL_CFLAGS $CFLAGS"
43374 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43375 cat >>confdefs.h <<\_ACEOF
43376 #define wxUSE_LIBSDL 1
43381 { echo "$as_me:$LINENO: result: no" >&5
43382 echo "${ECHO_T}no" >&6; }
43383 if test "$SDL_CONFIG" = "no" ; then
43384 echo "*** The sdl-config script installed by SDL could not be found"
43385 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43386 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43387 echo "*** full path to sdl-config."
43389 if test -f conf.sdltest ; then
43392 echo "*** Could not run SDL test program, checking why..."
43393 CFLAGS="$CFLAGS $SDL_CFLAGS"
43394 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43395 LIBS="$LIBS $SDL_LIBS"
43396 cat >conftest.$ac_ext <<_ACEOF
43399 cat confdefs.h >>conftest.$ac_ext
43400 cat >>conftest.$ac_ext <<_ACEOF
43401 /* end confdefs.h. */
43406 int main(int argc, char *argv[])
43409 #define main K_and_R_C_main
43419 rm -f conftest.$ac_objext conftest$ac_exeext
43420 if { (ac_try="$ac_link"
43421 case "(($ac_try" in
43422 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43423 *) ac_try_echo
=$ac_try;;
43425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43426 (eval "$ac_link") 2>conftest.er1
43428 grep -v '^ *+' conftest.er1
>conftest.err
43430 cat conftest.err
>&5
43431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43432 (exit $ac_status); } && {
43433 test -z "$ac_c_werror_flag" ||
43434 test ! -s conftest.err
43435 } && test -s conftest
$ac_exeext &&
43436 $as_test_x conftest
$ac_exeext; then
43437 echo "*** The test program compiled, but did not run. This usually means"
43438 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43439 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43440 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43441 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43442 echo "*** is required on your system"
43444 echo "*** If you have an old version installed, it is best to remove it, although"
43445 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43447 echo "$as_me: failed program was:" >&5
43448 sed 's/^/| /' conftest.
$ac_ext >&5
43450 echo "*** The test program failed to compile or link. See the file config.log for the"
43451 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43452 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43453 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43456 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43457 conftest
$ac_exeext conftest.
$ac_ext
43458 CFLAGS
="$ac_save_CFLAGS"
43459 CXXFLAGS
="$ac_save_CXXFLAGS"
43460 LIBS
="$ac_save_LIBS"
43471 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43476 if test "$wxUSE_MGL" = 1; then
43477 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43478 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43484 if test "$wxUSE_SOUND" = "yes"; then
43485 cat >>confdefs.h
<<\_ACEOF
43486 #define wxUSE_SOUND 1
43489 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43492 if test "$WXGTK2" = 1; then
43495 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43496 if test -n "$ac_tool_prefix"; then
43497 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43498 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43501 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43502 echo $ECHO_N "(cached) $ECHO_C" >&6
43504 case $PKG_CONFIG in
43506 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43510 for as_dir
in $PATH
43513 test -z "$as_dir" && as_dir
=.
43514 for ac_exec_ext
in '' $ac_executable_extensions; do
43515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43516 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43527 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43528 if test -n "$PKG_CONFIG"; then
43529 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43530 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43532 { echo "$as_me:$LINENO: result: no" >&5
43533 echo "${ECHO_T}no" >&6; }
43538 if test -z "$ac_cv_path_PKG_CONFIG"; then
43539 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43540 # Extract the first word of "pkg-config", so it can be a program name with args.
43541 set dummy pkg
-config; ac_word
=$2
43542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43544 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43545 echo $ECHO_N "(cached) $ECHO_C" >&6
43547 case $ac_pt_PKG_CONFIG in
43549 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43553 for as_dir
in $PATH
43556 test -z "$as_dir" && as_dir
=.
43557 for ac_exec_ext
in '' $ac_executable_extensions; do
43558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43559 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43570 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43571 if test -n "$ac_pt_PKG_CONFIG"; then
43572 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43573 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43575 { echo "$as_me:$LINENO: result: no" >&5
43576 echo "${ECHO_T}no" >&6; }
43579 if test "x$ac_pt_PKG_CONFIG" = x
; then
43582 case $cross_compiling:$ac_tool_warned in
43584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43585 whose name does not start with the host triplet. If you think this
43586 configuration is useful to you, please write to autoconf@gnu.org." >&5
43587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43588 whose name does not start with the host triplet. If you think this
43589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43590 ac_tool_warned
=yes ;;
43592 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43595 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43599 if test -n "$PKG_CONFIG"; then
43600 _pkg_min_version
=0.9.0
43601 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43602 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43603 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43604 { echo "$as_me:$LINENO: result: yes" >&5
43605 echo "${ECHO_T}yes" >&6; }
43607 { echo "$as_me:$LINENO: result: no" >&5
43608 echo "${ECHO_T}no" >&6; }
43614 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43616 if test "$wxUSE_GTKPRINT" = "yes" ; then
43620 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43621 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43623 if test -n "$PKG_CONFIG"; then
43624 if test -n "$GTKPRINT_CFLAGS"; then
43625 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
43627 if test -n "$PKG_CONFIG" && \
43628 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43629 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43632 (exit $ac_status); }; then
43633 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43641 if test -n "$PKG_CONFIG"; then
43642 if test -n "$GTKPRINT_LIBS"; then
43643 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
43645 if test -n "$PKG_CONFIG" && \
43646 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43647 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43650 (exit $ac_status); }; then
43651 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43662 if test $pkg_failed = yes; then
43664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43665 _pkg_short_errors_supported
=yes
43667 _pkg_short_errors_supported
=no
43669 if test $_pkg_short_errors_supported = yes; then
43670 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43672 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43674 # Put the nasty error message in config.log where it belongs
43675 echo "$GTKPRINT_PKG_ERRORS" >&5
43678 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43679 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43680 wxUSE_GTKPRINT
="no"
43683 elif test $pkg_failed = untried
; then
43685 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43686 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43687 wxUSE_GTKPRINT
="no"
43691 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
43692 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
43693 { echo "$as_me:$LINENO: result: yes" >&5
43694 echo "${ECHO_T}yes" >&6; }
43696 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
43697 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
43698 cat >>confdefs.h
<<\_ACEOF
43699 #define wxUSE_GTKPRINT 1
43706 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43710 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43711 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43713 if test -n "$PKG_CONFIG"; then
43714 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43715 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43717 if test -n "$PKG_CONFIG" && \
43718 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43719 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43722 (exit $ac_status); }; then
43723 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43731 if test -n "$PKG_CONFIG"; then
43732 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43733 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43735 if test -n "$PKG_CONFIG" && \
43736 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43737 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43740 (exit $ac_status); }; then
43741 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43752 if test $pkg_failed = yes; then
43754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43755 _pkg_short_errors_supported
=yes
43757 _pkg_short_errors_supported
=no
43759 if test $_pkg_short_errors_supported = yes; then
43760 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43762 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43764 # Put the nasty error message in config.log where it belongs
43765 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43768 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43769 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43770 wxUSE_LIBGNOMEPRINT
="no"
43773 elif test $pkg_failed = untried
; then
43775 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43776 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43777 wxUSE_LIBGNOMEPRINT
="no"
43781 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43782 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43783 { echo "$as_me:$LINENO: result: yes" >&5
43784 echo "${ECHO_T}yes" >&6; }
43786 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43787 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43788 cat >>confdefs.h
<<\_ACEOF
43789 #define wxUSE_LIBGNOMEPRINT 1
43797 if test "$wxUSE_MIMETYPE" = "yes" ; then
43798 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43802 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43803 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43805 if test -n "$PKG_CONFIG"; then
43806 if test -n "$GNOMEVFS_CFLAGS"; then
43807 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43809 if test -n "$PKG_CONFIG" && \
43810 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43811 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43814 (exit $ac_status); }; then
43815 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43823 if test -n "$PKG_CONFIG"; then
43824 if test -n "$GNOMEVFS_LIBS"; then
43825 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43827 if test -n "$PKG_CONFIG" && \
43828 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43829 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); }; then
43833 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43844 if test $pkg_failed = yes; then
43846 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43847 _pkg_short_errors_supported
=yes
43849 _pkg_short_errors_supported
=no
43851 if test $_pkg_short_errors_supported = yes; then
43852 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43854 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43856 # Put the nasty error message in config.log where it belongs
43857 echo "$GNOMEVFS_PKG_ERRORS" >&5
43860 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43861 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43862 wxUSE_LIBGNOMEVFS
="no"
43865 elif test $pkg_failed = untried
; then
43867 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43868 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43869 wxUSE_LIBGNOMEVFS
="no"
43873 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43874 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43875 { echo "$as_me:$LINENO: result: yes" >&5
43876 echo "${ECHO_T}yes" >&6; }
43878 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43879 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43880 cat >>confdefs.h
<<\_ACEOF
43881 #define wxUSE_LIBGNOMEVFS 1
43889 if test "$wxUSE_LIBHILDON" = "yes" ; then
43892 { echo "$as_me:$LINENO: checking for HILDON" >&5
43893 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43895 if test -n "$PKG_CONFIG"; then
43896 if test -n "$HILDON_CFLAGS"; then
43897 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43899 if test -n "$PKG_CONFIG" && \
43900 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43901 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43904 (exit $ac_status); }; then
43905 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43913 if test -n "$PKG_CONFIG"; then
43914 if test -n "$HILDON_LIBS"; then
43915 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43917 if test -n "$PKG_CONFIG" && \
43918 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43919 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43922 (exit $ac_status); }; then
43923 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43934 if test $pkg_failed = yes; then
43936 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43937 _pkg_short_errors_supported
=yes
43939 _pkg_short_errors_supported
=no
43941 if test $_pkg_short_errors_supported = yes; then
43942 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43944 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43946 # Put the nasty error message in config.log where it belongs
43947 echo "$HILDON_PKG_ERRORS" >&5
43950 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43951 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43952 wxUSE_LIBHILDON
="no"
43956 elif test $pkg_failed = untried
; then
43958 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43959 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43960 wxUSE_LIBHILDON
="no"
43965 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43966 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43967 { echo "$as_me:$LINENO: result: yes" >&5
43968 echo "${ECHO_T}yes" >&6; }
43970 EXTRALIBS_HILDON
="$HILDON_LIBS"
43971 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43972 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43973 cat >>confdefs.h
<<\_ACEOF
43974 #define wxUSE_LIBHILDON 1
43981 if test "$ac_hildon_lgpl" = 0 ; then
43984 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43985 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43987 if test -n "$PKG_CONFIG"; then
43988 if test -n "$HILDON2_CFLAGS"; then
43989 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
43991 if test -n "$PKG_CONFIG" && \
43992 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43993 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43996 (exit $ac_status); }; then
43997 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44005 if test -n "$PKG_CONFIG"; then
44006 if test -n "$HILDON2_LIBS"; then
44007 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
44009 if test -n "$PKG_CONFIG" && \
44010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44011 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44014 (exit $ac_status); }; then
44015 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44026 if test $pkg_failed = yes; then
44028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44029 _pkg_short_errors_supported
=yes
44031 _pkg_short_errors_supported
=no
44033 if test $_pkg_short_errors_supported = yes; then
44034 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44036 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44038 # Put the nasty error message in config.log where it belongs
44039 echo "$HILDON2_PKG_ERRORS" >&5
44042 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44043 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44044 wxUSE_LIBHILDON2
="no"
44047 elif test $pkg_failed = untried
; then
44049 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44050 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44051 wxUSE_LIBHILDON2
="no"
44055 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44056 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44057 { echo "$as_me:$LINENO: result: yes" >&5
44058 echo "${ECHO_T}yes" >&6; }
44060 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44061 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44062 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44063 cat >>confdefs.h
<<\_ACEOF
44064 #define wxUSE_LIBHILDON2 1
44073 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44074 cat >>confdefs.h
<<\_ACEOF
44075 #define wxUSE_CMDLINE_PARSER 1
44080 if test "$wxUSE_STOPWATCH" = "yes"; then
44081 cat >>confdefs.h
<<\_ACEOF
44082 #define wxUSE_STOPWATCH 1
44087 if test "$wxUSE_DATETIME" = "yes"; then
44088 cat >>confdefs.h
<<\_ACEOF
44089 #define wxUSE_DATETIME 1
44094 if test "$wxUSE_FILE" = "yes"; then
44095 cat >>confdefs.h
<<\_ACEOF
44096 #define wxUSE_FILE 1
44101 if test "$wxUSE_FFILE" = "yes"; then
44102 cat >>confdefs.h
<<\_ACEOF
44103 #define wxUSE_FFILE 1
44108 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44109 if test "$wxUSE_STREAMS" != yes; then
44110 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44111 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44112 wxUSE_ARCHIVE_STREAMS
=no
44114 cat >>confdefs.h
<<\_ACEOF
44115 #define wxUSE_ARCHIVE_STREAMS 1
44121 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44122 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44123 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44124 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44125 elif test "$wxUSE_ZLIB" = "no"; then
44126 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44127 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44129 cat >>confdefs.h
<<\_ACEOF
44130 #define wxUSE_ZIPSTREAM 1
44136 if test "$wxUSE_TARSTREAM" = "yes"; then
44137 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44138 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44139 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44141 cat >>confdefs.h
<<\_ACEOF
44142 #define wxUSE_TARSTREAM 1
44148 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44149 cat >>confdefs.h
<<\_ACEOF
44150 #define wxUSE_FILE_HISTORY 1
44155 if test "$wxUSE_FILESYSTEM" = "yes"; then
44156 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44157 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44158 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44159 wxUSE_FILESYSTEM
=no
44161 cat >>confdefs.h
<<\_ACEOF
44162 #define wxUSE_FILESYSTEM 1
44168 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44169 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44170 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44171 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44173 cat >>confdefs.h
<<\_ACEOF
44174 #define wxUSE_FS_ARCHIVE 1
44180 if test "$wxUSE_FS_ZIP" = "yes"; then
44181 if test "$wxUSE_FS_ARCHIVE" != yes; then
44182 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44183 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44185 cat >>confdefs.h
<<\_ACEOF
44186 #define wxUSE_FS_ZIP 1
44192 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44193 if test "$USE_UNIX" != 1; then
44194 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44195 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44196 wxUSE_ON_FATAL_EXCEPTION
=no
44198 cat >>confdefs.h
<<\_ACEOF
44199 #define wxUSE_ON_FATAL_EXCEPTION 1
44205 if test "$wxUSE_STACKWALKER" = "yes"; then
44206 cat >>confdefs.h
<<\_ACEOF
44207 #define wxUSE_STACKWALKER 1
44212 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44213 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44214 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44215 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44216 wxUSE_DEBUGREPORT
=no
44218 cat >>confdefs.h
<<\_ACEOF
44219 #define wxUSE_DEBUGREPORT 1
44222 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44228 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44229 cat >>confdefs.h
<<\_ACEOF
44230 #define wxUSE_SNGLINST_CHECKER 1
44235 if test "$wxUSE_BUSYINFO" = "yes"; then
44236 cat >>confdefs.h
<<\_ACEOF
44237 #define wxUSE_BUSYINFO 1
44242 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44243 cat >>confdefs.h
<<\_ACEOF
44244 #define wxUSE_STD_IOSTREAM 1
44249 if test "$wxUSE_STD_STRING" = "yes"; then
44250 cat >>confdefs.h
<<\_ACEOF
44251 #define wxUSE_STD_STRING 1
44256 if test "$wxUSE_STDPATHS" = "yes"; then
44257 cat >>confdefs.h
<<\_ACEOF
44258 #define wxUSE_STDPATHS 1
44263 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44264 cat >>confdefs.h
<<\_ACEOF
44265 #define wxUSE_TEXTBUFFER 1
44270 if test "$wxUSE_TEXTFILE" = "yes"; then
44271 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44272 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44273 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44275 cat >>confdefs.h
<<\_ACEOF
44276 #define wxUSE_TEXTFILE 1
44282 if test "$wxUSE_CONFIG" = "yes" ; then
44283 if test "$wxUSE_TEXTFILE" != "yes"; then
44284 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44285 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44287 cat >>confdefs.h
<<\_ACEOF
44288 #define wxUSE_CONFIG 1
44291 cat >>confdefs.h
<<\_ACEOF
44292 #define wxUSE_CONFIG_NATIVE 1
44295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44299 if test "$wxUSE_INTL" = "yes" ; then
44300 if test "$wxUSE_FILE" != "yes"; then
44301 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44302 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44304 cat >>confdefs.h
<<\_ACEOF
44305 #define wxUSE_INTL 1
44308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44309 GUIDIST
="$GUIDIST INTL_DIST"
44313 if test "$wxUSE_XLOCALE" = "yes" ; then
44314 cat >>confdefs.h
<<\_ACEOF
44315 #define wxUSE_XLOCALE 1
44318 { echo "$as_me:$LINENO: checking for locale_t" >&5
44319 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44320 if test "${ac_cv_type_locale_t+set}" = set; then
44321 echo $ECHO_N "(cached) $ECHO_C" >&6
44323 cat >conftest.
$ac_ext <<_ACEOF
44326 cat confdefs.h
>>conftest.
$ac_ext
44327 cat >>conftest.
$ac_ext <<_ACEOF
44328 /* end confdefs.h. */
44329 #include <xlocale.h>
44330 #include <locale.h>
44332 typedef locale_t ac__type_new_;
44336 if ((ac__type_new_ *) 0)
44338 if (sizeof (ac__type_new_))
44344 rm -f conftest.
$ac_objext
44345 if { (ac_try
="$ac_compile"
44346 case "(($ac_try" in
44347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44348 *) ac_try_echo=$ac_try;;
44350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44351 (eval "$ac_compile") 2>conftest.er1
44353 grep -v '^ *+' conftest.er1 >conftest.err
44355 cat conftest.err >&5
44356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44357 (exit $ac_status); } && {
44358 test -z "$ac_c_werror_flag" ||
44359 test ! -s conftest.err
44360 } && test -s conftest.$ac_objext; then
44361 ac_cv_type_locale_t=yes
44363 echo "$as_me: failed program was:" >&5
44364 sed 's/^/| /' conftest.$ac_ext >&5
44366 ac_cv_type_locale_t=no
44369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44371 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44372 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44373 if test $ac_cv_type_locale_t = yes; then
44375 cat >>confdefs.h <<_ACEOF
44376 #define HAVE_LOCALE_T 1
44384 if test "$wxUSE_LOG" = "yes"; then
44385 cat >>confdefs.h <<\_ACEOF
44386 #define wxUSE_LOG 1
44390 if test "$wxUSE_LOGGUI" = "yes"; then
44391 cat >>confdefs.h <<\_ACEOF
44392 #define wxUSE_LOGGUI 1
44397 if test "$wxUSE_LOGWINDOW" = "yes"; then
44398 cat >>confdefs.h <<\_ACEOF
44399 #define wxUSE_LOGWINDOW 1
44404 if test "$wxUSE_LOGDIALOG" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_LOG_DIALOG 1
44411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44414 if test "$wxUSE_LONGLONG" = "yes"; then
44415 cat >>confdefs.h <<\_ACEOF
44416 #define wxUSE_LONGLONG 1
44421 if test "$wxUSE_GEOMETRY" = "yes"; then
44422 cat >>confdefs.h <<\_ACEOF
44423 #define wxUSE_GEOMETRY 1
44428 if test "$wxUSE_BASE64" = "yes"; then
44429 cat >>confdefs.h <<\_ACEOF
44430 #define wxUSE_BASE64 1
44435 if test "$wxUSE_STREAMS" = "yes" ; then
44436 cat >>confdefs.h <<\_ACEOF
44437 #define wxUSE_STREAMS 1
44442 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44443 cat >>confdefs.h <<\_ACEOF
44444 #define wxUSE_PRINTF_POS_PARAMS 1
44449 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44450 cat >>confdefs.h <<\_ACEOF
44451 #define wxUSE_OBJC_UNIQUIFYING 1
44457 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44458 cat >>confdefs.h <<\_ACEOF
44459 #define wxUSE_CONSOLE_EVENTLOOP 1
44463 if test "$wxUSE_UNIX" = "yes"; then
44464 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44465 cat >>confdefs.h <<\_ACEOF
44466 #define wxUSE_SELECT_DISPATCHER 1
44471 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44473 for ac_header in sys/epoll.h
44475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44476 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44479 echo $ECHO_N "(cached) $ECHO_C" >&6
44481 cat >conftest.$ac_ext <<_ACEOF
44484 cat confdefs.h >>conftest.$ac_ext
44485 cat >>conftest.$ac_ext <<_ACEOF
44486 /* end confdefs.h. */
44487 $ac_includes_default
44489 #include <$ac_header>
44491 rm -f conftest.$ac_objext
44492 if { (ac_try="$ac_compile"
44493 case "(($ac_try" in
44494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44495 *) ac_try_echo
=$ac_try;;
44497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44498 (eval "$ac_compile") 2>conftest.er1
44500 grep -v '^ *+' conftest.er1
>conftest.err
44502 cat conftest.err
>&5
44503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44504 (exit $ac_status); } && {
44505 test -z "$ac_c_werror_flag" ||
44506 test ! -s conftest.err
44507 } && test -s conftest.
$ac_objext; then
44508 eval "$as_ac_Header=yes"
44510 echo "$as_me: failed program was:" >&5
44511 sed 's/^/| /' conftest.
$ac_ext >&5
44513 eval "$as_ac_Header=no"
44516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44518 ac_res
=`eval echo '${'$as_ac_Header'}'`
44519 { echo "$as_me:$LINENO: result: $ac_res" >&5
44520 echo "${ECHO_T}$ac_res" >&6; }
44521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44522 cat >>confdefs.h
<<_ACEOF
44523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44530 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44531 cat >>confdefs.h
<<\_ACEOF
44532 #define wxUSE_EPOLL_DISPATCHER 1
44536 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44537 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44546 for ac_func
in gettimeofday ftime
44548 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44549 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44551 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44552 echo $ECHO_N "(cached) $ECHO_C" >&6
44554 cat >conftest.
$ac_ext <<_ACEOF
44557 cat confdefs.h
>>conftest.
$ac_ext
44558 cat >>conftest.
$ac_ext <<_ACEOF
44559 /* end confdefs.h. */
44560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44562 #define $ac_func innocuous_$ac_func
44564 /* System header to define __stub macros and hopefully few prototypes,
44565 which can conflict with char $ac_func (); below.
44566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44567 <limits.h> exists even on freestanding compilers. */
44570 # include <limits.h>
44572 # include <assert.h>
44577 /* Override any GCC internal prototype to avoid an error.
44578 Use char because int might match the return type of a GCC
44579 builtin and then its argument prototype would still apply. */
44584 /* The GNU C library defines this for functions which it implements
44585 to always fail with ENOSYS. Some functions are actually named
44586 something starting with __ and the normal name is an alias. */
44587 #if defined __stub_$ac_func || defined __stub___$ac_func
44594 return $ac_func ();
44599 rm -f conftest.
$ac_objext conftest
$ac_exeext
44600 if { (ac_try
="$ac_link"
44601 case "(($ac_try" in
44602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44603 *) ac_try_echo=$ac_try;;
44605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44606 (eval "$ac_link") 2>conftest.er1
44608 grep -v '^ *+' conftest.er1 >conftest.err
44610 cat conftest.err >&5
44611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44612 (exit $ac_status); } && {
44613 test -z "$ac_c_werror_flag" ||
44614 test ! -s conftest.err
44615 } && test -s conftest$ac_exeext &&
44616 $as_test_x conftest$ac_exeext; then
44617 eval "$as_ac_var=yes"
44619 echo "$as_me: failed program was:" >&5
44620 sed 's/^/| /' conftest.$ac_ext >&5
44622 eval "$as_ac_var=no"
44625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44626 conftest$ac_exeext conftest.$ac_ext
44628 ac_res=`eval echo '${'$as_ac_var'}'`
44629 { echo "$as_me:$LINENO: result: $ac_res" >&5
44630 echo "${ECHO_T}$ac_res" >&6; }
44631 if test `eval echo '${'$as_ac_var'}'` = yes; then
44632 cat >>confdefs.h <<_ACEOF
44633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44640 if test "$ac_cv_func_gettimeofday" = "yes"; then
44641 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44642 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44643 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44644 echo $ECHO_N "(cached) $ECHO_C" >&6
44647 cat >conftest.$ac_ext <<_ACEOF
44650 cat confdefs.h >>conftest.$ac_ext
44651 cat >>conftest.$ac_ext <<_ACEOF
44652 /* end confdefs.h. */
44654 #include <sys/time.h>
44655 #include <unistd.h>
44662 gettimeofday(&tv, NULL);
44668 rm -f conftest.$ac_objext
44669 if { (ac_try="$ac_compile"
44670 case "(($ac_try" in
44671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44672 *) ac_try_echo
=$ac_try;;
44674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44675 (eval "$ac_compile") 2>conftest.er1
44677 grep -v '^ *+' conftest.er1
>conftest.err
44679 cat conftest.err
>&5
44680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44681 (exit $ac_status); } && {
44682 test -z "$ac_c_werror_flag" ||
44683 test ! -s conftest.err
44684 } && test -s conftest.
$ac_objext; then
44685 wx_cv_func_gettimeofday_has_2_args
=yes
44687 echo "$as_me: failed program was:" >&5
44688 sed 's/^/| /' conftest.
$ac_ext >&5
44690 cat >conftest.
$ac_ext <<_ACEOF
44693 cat confdefs.h
>>conftest.
$ac_ext
44694 cat >>conftest.
$ac_ext <<_ACEOF
44695 /* end confdefs.h. */
44697 #include <sys/time.h>
44698 #include <unistd.h>
44711 rm -f conftest.
$ac_objext
44712 if { (ac_try
="$ac_compile"
44713 case "(($ac_try" in
44714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44715 *) ac_try_echo=$ac_try;;
44717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44718 (eval "$ac_compile") 2>conftest.er1
44720 grep -v '^ *+' conftest.er1 >conftest.err
44722 cat conftest.err >&5
44723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44724 (exit $ac_status); } && {
44725 test -z "$ac_c_werror_flag" ||
44726 test ! -s conftest.err
44727 } && test -s conftest.$ac_objext; then
44728 wx_cv_func_gettimeofday_has_2_args=no
44730 echo "$as_me: failed program was:" >&5
44731 sed 's/^/| /' conftest.$ac_ext >&5
44734 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44735 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44736 wx_cv_func_gettimeofday_has_2_args=unknown
44741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44748 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44749 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44751 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define WX_GETTIMEOFDAY_NO_TZ 1
44759 if test "$wxUSE_DATETIME" = "yes"; then
44760 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44761 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44762 if test "${wx_cv_var_timezone+set}" = set; then
44763 echo $ECHO_N "(cached) $ECHO_C" >&6
44767 ac_cpp='$CXXCPP $CPPFLAGS'
44768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44772 cat >conftest.$ac_ext <<_ACEOF
44775 cat confdefs.h >>conftest.$ac_ext
44776 cat >>conftest.$ac_ext <<_ACEOF
44777 /* end confdefs.h. */
44792 rm -f conftest.$ac_objext
44793 if { (ac_try="$ac_compile"
44794 case "(($ac_try" in
44795 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44796 *) ac_try_echo
=$ac_try;;
44798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44799 (eval "$ac_compile") 2>conftest.er1
44801 grep -v '^ *+' conftest.er1
>conftest.err
44803 cat conftest.err
>&5
44804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44805 (exit $ac_status); } && {
44806 test -z "$ac_cxx_werror_flag" ||
44807 test ! -s conftest.err
44808 } && test -s conftest.
$ac_objext; then
44810 wx_cv_var_timezone
=timezone
44813 echo "$as_me: failed program was:" >&5
44814 sed 's/^/| /' conftest.
$ac_ext >&5
44817 cat >conftest.
$ac_ext <<_ACEOF
44820 cat confdefs.h
>>conftest.
$ac_ext
44821 cat >>conftest.
$ac_ext <<_ACEOF
44822 /* end confdefs.h. */
44837 rm -f conftest.
$ac_objext
44838 if { (ac_try
="$ac_compile"
44839 case "(($ac_try" in
44840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44841 *) ac_try_echo=$ac_try;;
44843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44844 (eval "$ac_compile") 2>conftest.er1
44846 grep -v '^ *+' conftest.er1 >conftest.err
44848 cat conftest.err >&5
44849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44850 (exit $ac_status); } && {
44851 test -z "$ac_cxx_werror_flag" ||
44852 test ! -s conftest.err
44853 } && test -s conftest.$ac_objext; then
44855 wx_cv_var_timezone=_timezone
44858 echo "$as_me: failed program was:" >&5
44859 sed 's/^/| /' conftest.$ac_ext >&5
44862 cat >conftest.$ac_ext <<_ACEOF
44865 cat confdefs.h >>conftest.$ac_ext
44866 cat >>conftest.$ac_ext <<_ACEOF
44867 /* end confdefs.h. */
44882 rm -f conftest.$ac_objext
44883 if { (ac_try="$ac_compile"
44884 case "(($ac_try" in
44885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44886 *) ac_try_echo
=$ac_try;;
44888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44889 (eval "$ac_compile") 2>conftest.er1
44891 grep -v '^ *+' conftest.er1
>conftest.err
44893 cat conftest.err
>&5
44894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44895 (exit $ac_status); } && {
44896 test -z "$ac_cxx_werror_flag" ||
44897 test ! -s conftest.err
44898 } && test -s conftest.
$ac_objext; then
44900 wx_cv_var_timezone
=__timezone
44903 echo "$as_me: failed program was:" >&5
44904 sed 's/^/| /' conftest.
$ac_ext >&5
44907 if test "$USE_DOS" = 0 ; then
44908 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44909 echo "$as_me: WARNING: no timezone variable" >&2;}
44915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44927 ac_cpp
='$CPP $CPPFLAGS'
44928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44935 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44936 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44938 if test "x$wx_cv_var_timezone" != x
; then
44939 cat >>confdefs.h
<<_ACEOF
44940 #define WX_TIMEZONE $wx_cv_var_timezone
44946 for ac_func
in localtime
44948 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44951 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44952 echo $ECHO_N "(cached) $ECHO_C" >&6
44954 cat >conftest.
$ac_ext <<_ACEOF
44957 cat confdefs.h
>>conftest.
$ac_ext
44958 cat >>conftest.
$ac_ext <<_ACEOF
44959 /* end confdefs.h. */
44960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44962 #define $ac_func innocuous_$ac_func
44964 /* System header to define __stub macros and hopefully few prototypes,
44965 which can conflict with char $ac_func (); below.
44966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44967 <limits.h> exists even on freestanding compilers. */
44970 # include <limits.h>
44972 # include <assert.h>
44977 /* Override any GCC internal prototype to avoid an error.
44978 Use char because int might match the return type of a GCC
44979 builtin and then its argument prototype would still apply. */
44984 /* The GNU C library defines this for functions which it implements
44985 to always fail with ENOSYS. Some functions are actually named
44986 something starting with __ and the normal name is an alias. */
44987 #if defined __stub_$ac_func || defined __stub___$ac_func
44994 return $ac_func ();
44999 rm -f conftest.
$ac_objext conftest
$ac_exeext
45000 if { (ac_try
="$ac_link"
45001 case "(($ac_try" in
45002 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45003 *) ac_try_echo=$ac_try;;
45005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45006 (eval "$ac_link") 2>conftest.er1
45008 grep -v '^ *+' conftest.er1 >conftest.err
45010 cat conftest.err >&5
45011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45012 (exit $ac_status); } && {
45013 test -z "$ac_c_werror_flag" ||
45014 test ! -s conftest.err
45015 } && test -s conftest$ac_exeext &&
45016 $as_test_x conftest$ac_exeext; then
45017 eval "$as_ac_var=yes"
45019 echo "$as_me: failed program was:" >&5
45020 sed 's/^/| /' conftest.$ac_ext >&5
45022 eval "$as_ac_var=no"
45025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45026 conftest$ac_exeext conftest.$ac_ext
45028 ac_res=`eval echo '${'$as_ac_var'}'`
45029 { echo "$as_me:$LINENO: result: $ac_res" >&5
45030 echo "${ECHO_T}$ac_res" >&6; }
45031 if test `eval echo '${'$as_ac_var'}'` = yes; then
45032 cat >>confdefs.h <<_ACEOF
45033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45040 if test "$ac_cv_func_localtime" = "yes"; then
45041 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45042 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45043 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45044 echo $ECHO_N "(cached) $ECHO_C" >&6
45047 cat >conftest.$ac_ext <<_ACEOF
45050 cat confdefs.h >>conftest.$ac_ext
45051 cat >>conftest.$ac_ext <<_ACEOF
45052 /* end confdefs.h. */
45067 rm -f conftest.$ac_objext
45068 if { (ac_try="$ac_compile"
45069 case "(($ac_try" in
45070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45071 *) ac_try_echo
=$ac_try;;
45073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45074 (eval "$ac_compile") 2>conftest.er1
45076 grep -v '^ *+' conftest.er1
>conftest.err
45078 cat conftest.err
>&5
45079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45080 (exit $ac_status); } && {
45081 test -z "$ac_c_werror_flag" ||
45082 test ! -s conftest.err
45083 } && test -s conftest.
$ac_objext; then
45085 wx_cv_struct_tm_has_gmtoff
=yes
45088 echo "$as_me: failed program was:" >&5
45089 sed 's/^/| /' conftest.
$ac_ext >&5
45091 wx_cv_struct_tm_has_gmtoff
=no
45095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45098 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45099 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45102 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45103 cat >>confdefs.h
<<\_ACEOF
45104 #define WX_GMTOFF_IN_TM 1
45109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45113 if test "$wxUSE_SOCKETS" = "yes"; then
45114 if test "$wxUSE_MGL" = 1; then
45115 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45116 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45121 if test "$wxUSE_SOCKETS" = "yes"; then
45122 if test "$TOOLKIT" != "MSW"; then
45123 { echo "$as_me:$LINENO: checking for socket" >&5
45124 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45125 if test "${ac_cv_func_socket+set}" = set; then
45126 echo $ECHO_N "(cached) $ECHO_C" >&6
45128 cat >conftest.
$ac_ext <<_ACEOF
45131 cat confdefs.h
>>conftest.
$ac_ext
45132 cat >>conftest.
$ac_ext <<_ACEOF
45133 /* end confdefs.h. */
45134 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45136 #define socket innocuous_socket
45138 /* System header to define __stub macros and hopefully few prototypes,
45139 which can conflict with char socket (); below.
45140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45141 <limits.h> exists even on freestanding compilers. */
45144 # include <limits.h>
45146 # include <assert.h>
45151 /* Override any GCC internal prototype to avoid an error.
45152 Use char because int might match the return type of a GCC
45153 builtin and then its argument prototype would still apply. */
45158 /* The GNU C library defines this for functions which it implements
45159 to always fail with ENOSYS. Some functions are actually named
45160 something starting with __ and the normal name is an alias. */
45161 #if defined __stub_socket || defined __stub___socket
45173 rm -f conftest.
$ac_objext conftest
$ac_exeext
45174 if { (ac_try
="$ac_link"
45175 case "(($ac_try" in
45176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45177 *) ac_try_echo=$ac_try;;
45179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45180 (eval "$ac_link") 2>conftest.er1
45182 grep -v '^ *+' conftest.er1 >conftest.err
45184 cat conftest.err >&5
45185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45186 (exit $ac_status); } && {
45187 test -z "$ac_c_werror_flag" ||
45188 test ! -s conftest.err
45189 } && test -s conftest$ac_exeext &&
45190 $as_test_x conftest$ac_exeext; then
45191 ac_cv_func_socket=yes
45193 echo "$as_me: failed program was:" >&5
45194 sed 's/^/| /' conftest.$ac_ext >&5
45196 ac_cv_func_socket=no
45199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45200 conftest$ac_exeext conftest.$ac_ext
45202 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45203 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45204 if test $ac_cv_func_socket = yes; then
45208 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45209 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45210 if test "${ac_cv_lib_socket_socket+set}" = set; then
45211 echo $ECHO_N "(cached) $ECHO_C" >&6
45213 ac_check_lib_save_LIBS=$LIBS
45214 LIBS="-lsocket $LIBS"
45215 cat >conftest.$ac_ext <<_ACEOF
45218 cat confdefs.h >>conftest.$ac_ext
45219 cat >>conftest.$ac_ext <<_ACEOF
45220 /* end confdefs.h. */
45222 /* Override any GCC internal prototype to avoid an error.
45223 Use char because int might match the return type of a GCC
45224 builtin and then its argument prototype would still apply. */
45237 rm -f conftest.$ac_objext conftest$ac_exeext
45238 if { (ac_try="$ac_link"
45239 case "(($ac_try" in
45240 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45241 *) ac_try_echo
=$ac_try;;
45243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45244 (eval "$ac_link") 2>conftest.er1
45246 grep -v '^ *+' conftest.er1
>conftest.err
45248 cat conftest.err
>&5
45249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45250 (exit $ac_status); } && {
45251 test -z "$ac_c_werror_flag" ||
45252 test ! -s conftest.err
45253 } && test -s conftest
$ac_exeext &&
45254 $as_test_x conftest
$ac_exeext; then
45255 ac_cv_lib_socket_socket
=yes
45257 echo "$as_me: failed program was:" >&5
45258 sed 's/^/| /' conftest.
$ac_ext >&5
45260 ac_cv_lib_socket_socket
=no
45263 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45264 conftest
$ac_exeext conftest.
$ac_ext
45265 LIBS
=$ac_check_lib_save_LIBS
45267 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45268 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45269 if test $ac_cv_lib_socket_socket = yes; then
45270 if test "$INET_LINK" != " -lsocket"; then
45271 INET_LINK
="$INET_LINK -lsocket"
45275 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45276 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45289 if test "$wxUSE_SOCKETS" = "yes" ; then
45290 if test "$TOOLKIT" != "MSW"; then
45291 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45292 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45293 if test "${wx_cv_type_getsockname3+set}" = set; then
45294 echo $ECHO_N "(cached) $ECHO_C" >&6
45298 ac_cpp
='$CXXCPP $CPPFLAGS'
45299 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45300 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45301 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45303 cat >conftest.
$ac_ext <<_ACEOF
45306 cat confdefs.h
>>conftest.
$ac_ext
45307 cat >>conftest.
$ac_ext <<_ACEOF
45308 /* end confdefs.h. */
45310 #include <sys/types.h>
45311 #include <sys/socket.h>
45318 getsockname(0, 0, &len);
45324 rm -f conftest.
$ac_objext
45325 if { (ac_try
="$ac_compile"
45326 case "(($ac_try" in
45327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45328 *) ac_try_echo=$ac_try;;
45330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45331 (eval "$ac_compile") 2>conftest.er1
45333 grep -v '^ *+' conftest.er1 >conftest.err
45335 cat conftest.err >&5
45336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45337 (exit $ac_status); } && {
45338 test -z "$ac_cxx_werror_flag" ||
45339 test ! -s conftest.err
45340 } && test -s conftest.$ac_objext; then
45341 wx_cv_type_getsockname3=socklen_t
45343 echo "$as_me: failed program was:" >&5
45344 sed 's/^/| /' conftest.$ac_ext >&5
45347 CFLAGS_OLD="$CFLAGS"
45348 if test "$GCC" = yes ; then
45349 CFLAGS="-Werror $CFLAGS"
45352 cat >conftest.$ac_ext <<_ACEOF
45355 cat confdefs.h >>conftest.$ac_ext
45356 cat >>conftest.$ac_ext <<_ACEOF
45357 /* end confdefs.h. */
45359 #include <sys/types.h>
45360 #include <sys/socket.h>
45367 getsockname(0, 0, &len);
45373 rm -f conftest.$ac_objext
45374 if { (ac_try="$ac_compile"
45375 case "(($ac_try" in
45376 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45377 *) ac_try_echo
=$ac_try;;
45379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45380 (eval "$ac_compile") 2>conftest.er1
45382 grep -v '^ *+' conftest.er1
>conftest.err
45384 cat conftest.err
>&5
45385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45386 (exit $ac_status); } && {
45387 test -z "$ac_cxx_werror_flag" ||
45388 test ! -s conftest.err
45389 } && test -s conftest.
$ac_objext; then
45390 wx_cv_type_getsockname3
=size_t
45392 echo "$as_me: failed program was:" >&5
45393 sed 's/^/| /' conftest.
$ac_ext >&5
45395 cat >conftest.
$ac_ext <<_ACEOF
45398 cat confdefs.h
>>conftest.
$ac_ext
45399 cat >>conftest.
$ac_ext <<_ACEOF
45400 /* end confdefs.h. */
45402 #include <sys/types.h>
45403 #include <sys/socket.h>
45410 getsockname(0, 0, &len);
45416 rm -f conftest.
$ac_objext
45417 if { (ac_try
="$ac_compile"
45418 case "(($ac_try" in
45419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45420 *) ac_try_echo=$ac_try;;
45422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45423 (eval "$ac_compile") 2>conftest.er1
45425 grep -v '^ *+' conftest.er1 >conftest.err
45427 cat conftest.err >&5
45428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45429 (exit $ac_status); } && {
45430 test -z "$ac_cxx_werror_flag" ||
45431 test ! -s conftest.err
45432 } && test -s conftest.$ac_objext; then
45433 wx_cv_type_getsockname3=int
45435 echo "$as_me: failed program was:" >&5
45436 sed 's/^/| /' conftest.$ac_ext >&5
45438 wx_cv_type_getsockname3=unknown
45442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45448 CFLAGS="$CFLAGS_OLD"
45453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45455 ac_cpp='$CPP $CPPFLAGS'
45456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45462 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45463 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45465 if test "$wx_cv_type_getsockname3" = "unknown"; then
45467 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45468 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45470 cat >>confdefs.h <<_ACEOF
45471 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45475 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45476 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45477 if test "${wx_cv_type_getsockopt5+set}" = set; then
45478 echo $ECHO_N "(cached) $ECHO_C" >&6
45482 ac_cpp='$CXXCPP $CPPFLAGS'
45483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45487 cat >conftest.$ac_ext <<_ACEOF
45490 cat confdefs.h >>conftest.$ac_ext
45491 cat >>conftest.$ac_ext <<_ACEOF
45492 /* end confdefs.h. */
45494 #include <sys/types.h>
45495 #include <sys/socket.h>
45502 getsockopt(0, 0, 0, 0, &len);
45508 rm -f conftest.$ac_objext
45509 if { (ac_try="$ac_compile"
45510 case "(($ac_try" in
45511 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45512 *) ac_try_echo
=$ac_try;;
45514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45515 (eval "$ac_compile") 2>conftest.er1
45517 grep -v '^ *+' conftest.er1
>conftest.err
45519 cat conftest.err
>&5
45520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45521 (exit $ac_status); } && {
45522 test -z "$ac_cxx_werror_flag" ||
45523 test ! -s conftest.err
45524 } && test -s conftest.
$ac_objext; then
45525 wx_cv_type_getsockopt5
=socklen_t
45527 echo "$as_me: failed program was:" >&5
45528 sed 's/^/| /' conftest.
$ac_ext >&5
45531 cat >conftest.
$ac_ext <<_ACEOF
45534 cat confdefs.h
>>conftest.
$ac_ext
45535 cat >>conftest.
$ac_ext <<_ACEOF
45536 /* end confdefs.h. */
45538 #include <sys/types.h>
45539 #include <sys/socket.h>
45546 getsockopt(0, 0, 0, 0, &len);
45552 rm -f conftest.
$ac_objext
45553 if { (ac_try
="$ac_compile"
45554 case "(($ac_try" in
45555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45556 *) ac_try_echo=$ac_try;;
45558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45559 (eval "$ac_compile") 2>conftest.er1
45561 grep -v '^ *+' conftest.er1 >conftest.err
45563 cat conftest.err >&5
45564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45565 (exit $ac_status); } && {
45566 test -z "$ac_cxx_werror_flag" ||
45567 test ! -s conftest.err
45568 } && test -s conftest.$ac_objext; then
45569 wx_cv_type_getsockopt5=size_t
45571 echo "$as_me: failed program was:" >&5
45572 sed 's/^/| /' conftest.$ac_ext >&5
45574 cat >conftest.$ac_ext <<_ACEOF
45577 cat confdefs.h >>conftest.$ac_ext
45578 cat >>conftest.$ac_ext <<_ACEOF
45579 /* end confdefs.h. */
45581 #include <sys/types.h>
45582 #include <sys/socket.h>
45589 getsockopt(0, 0, 0, 0, &len);
45595 rm -f conftest.$ac_objext
45596 if { (ac_try="$ac_compile"
45597 case "(($ac_try" in
45598 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45599 *) ac_try_echo
=$ac_try;;
45601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45602 (eval "$ac_compile") 2>conftest.er1
45604 grep -v '^ *+' conftest.er1
>conftest.err
45606 cat conftest.err
>&5
45607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45608 (exit $ac_status); } && {
45609 test -z "$ac_cxx_werror_flag" ||
45610 test ! -s conftest.err
45611 } && test -s conftest.
$ac_objext; then
45612 wx_cv_type_getsockopt5
=int
45614 echo "$as_me: failed program was:" >&5
45615 sed 's/^/| /' conftest.
$ac_ext >&5
45617 wx_cv_type_getsockopt5
=unknown
45621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45632 ac_cpp
='$CPP $CPPFLAGS'
45633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45639 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45640 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45642 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45644 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45645 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45647 cat >>confdefs.h
<<_ACEOF
45648 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45655 if test "$wxUSE_SOCKETS" = "yes" ; then
45656 if test "$wxUSE_IPV6" = "yes"; then
45657 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45658 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45659 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45660 echo $ECHO_N "(cached) $ECHO_C" >&6
45663 cat >conftest.
$ac_ext <<_ACEOF
45666 cat confdefs.h
>>conftest.
$ac_ext
45667 cat >>conftest.
$ac_ext <<_ACEOF
45668 /* end confdefs.h. */
45670 #include <sys/types.h>
45671 #include <sys/socket.h>
45672 #include <netinet/in.h>
45678 struct sockaddr_in6 sa6;
45684 rm -f conftest.
$ac_objext
45685 if { (ac_try
="$ac_compile"
45686 case "(($ac_try" in
45687 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45688 *) ac_try_echo=$ac_try;;
45690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45691 (eval "$ac_compile") 2>conftest.er1
45693 grep -v '^ *+' conftest.er1 >conftest.err
45695 cat conftest.err >&5
45696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45697 (exit $ac_status); } && {
45698 test -z "$ac_c_werror_flag" ||
45699 test ! -s conftest.err
45700 } && test -s conftest.$ac_objext; then
45701 wx_cv_type_sockaddr_in6=yes
45703 echo "$as_me: failed program was:" >&5
45704 sed 's/^/| /' conftest.$ac_ext >&5
45706 wx_cv_type_sockaddr_in6=no
45710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45714 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45715 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45717 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_IPV6 1
45723 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45724 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_SOCKETS 1
45732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45735 if test "$wxUSE_PROTOCOL" = "yes"; then
45736 if test "$wxUSE_SOCKETS" != "yes"; then
45737 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45738 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45743 if test "$wxUSE_PROTOCOL" = "yes"; then
45744 cat >>confdefs.h <<\_ACEOF
45745 #define wxUSE_PROTOCOL 1
45749 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45750 cat >>confdefs.h <<\_ACEOF
45751 #define wxUSE_PROTOCOL_HTTP 1
45755 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_PROTOCOL_FTP 1
45761 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_PROTOCOL_FILE 1
45768 if test "$wxUSE_FS_INET" = "yes"; then
45769 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45770 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45775 if test "$wxUSE_URL" = "yes"; then
45776 if test "$wxUSE_PROTOCOL" != "yes"; then
45777 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45778 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45781 if test "$wxUSE_URL" = "yes"; then
45782 cat >>confdefs.h <<\_ACEOF
45783 #define wxUSE_URL 1
45789 if test "$wxUSE_VARIANT" = "yes"; then
45790 cat >>confdefs.h <<\_ACEOF
45791 #define wxUSE_VARIANT 1
45796 if test "$wxUSE_FS_INET" = "yes"; then
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_FS_INET 1
45804 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45807 if test "$TOOLKIT" = "MSW"; then
45810 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45811 if test "$USE_DARWIN" = 1; then
45812 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45813 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45815 ac_cpp='$CXXCPP $CPPFLAGS'
45816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45820 cat >conftest.$ac_ext <<_ACEOF
45823 cat confdefs.h >>conftest.$ac_ext
45824 cat >>conftest.$ac_ext <<_ACEOF
45825 /* end confdefs.h. */
45826 #include <IOKit/hid/IOHIDLib.h>
45830 IOHIDQueueInterface *qi = NULL;
45831 IOHIDCallbackFunction cb = NULL;
45832 qi->setEventCallout(NULL, cb, NULL, NULL);
45837 rm -f conftest.$ac_objext
45838 if { (ac_try="$ac_compile"
45839 case "(($ac_try" in
45840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45841 *) ac_try_echo
=$ac_try;;
45843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45844 (eval "$ac_compile") 2>conftest.er1
45846 grep -v '^ *+' conftest.er1
>conftest.err
45848 cat conftest.err
>&5
45849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45850 (exit $ac_status); } && {
45851 test -z "$ac_cxx_werror_flag" ||
45852 test ! -s conftest.err
45853 } && test -s conftest.
$ac_objext; then
45857 echo "$as_me: failed program was:" >&5
45858 sed 's/^/| /' conftest.
$ac_ext >&5
45863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45865 ac_cpp
='$CPP $CPPFLAGS'
45866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45870 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45871 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45875 if test "$wxUSE_MGL" != 1; then
45877 for ac_header
in linux
/joystick.h
45879 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45880 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45882 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45883 echo $ECHO_N "(cached) $ECHO_C" >&6
45885 cat >conftest.
$ac_ext <<_ACEOF
45888 cat confdefs.h
>>conftest.
$ac_ext
45889 cat >>conftest.
$ac_ext <<_ACEOF
45890 /* end confdefs.h. */
45891 $ac_includes_default
45893 #include <$ac_header>
45895 rm -f conftest.
$ac_objext
45896 if { (ac_try
="$ac_compile"
45897 case "(($ac_try" in
45898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45899 *) ac_try_echo=$ac_try;;
45901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45902 (eval "$ac_compile") 2>conftest.er1
45904 grep -v '^ *+' conftest.er1 >conftest.err
45906 cat conftest.err >&5
45907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45908 (exit $ac_status); } && {
45909 test -z "$ac_c_werror_flag" ||
45910 test ! -s conftest.err
45911 } && test -s conftest.$ac_objext; then
45912 eval "$as_ac_Header=yes"
45914 echo "$as_me: failed program was:" >&5
45915 sed 's/^/| /' conftest.$ac_ext >&5
45917 eval "$as_ac_Header=no"
45920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45922 ac_res=`eval echo '${'$as_ac_Header'}'`
45923 { echo "$as_me:$LINENO: result: $ac_res" >&5
45924 echo "${ECHO_T}$ac_res" >&6; }
45925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45926 cat >>confdefs.h <<_ACEOF
45927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45937 if test "$wxUSE_JOYSTICK" = "yes"; then
45938 cat >>confdefs.h <<\_ACEOF
45939 #define wxUSE_JOYSTICK 1
45942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45944 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45945 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45951 if test "$wxUSE_FONTENUM" = "yes" ; then
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_FONTENUM 1
45958 if test "$wxUSE_FONTMAP" = "yes" ; then
45959 cat >>confdefs.h <<\_ACEOF
45960 #define wxUSE_FONTMAP 1
45965 if test "$wxUSE_UNICODE" = "yes" ; then
45966 cat >>confdefs.h <<\_ACEOF
45967 #define wxUSE_UNICODE 1
45971 if test "$USE_WIN32" != 1; then
45972 wxUSE_UNICODE_MSLU=no
45975 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45976 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45977 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45978 if test "${ac_cv_lib_unicows_main+set}" = set; then
45979 echo $ECHO_N "(cached) $ECHO_C" >&6
45981 ac_check_lib_save_LIBS=$LIBS
45982 LIBS="-lunicows $LIBS"
45983 cat >conftest.$ac_ext <<_ACEOF
45986 cat confdefs.h >>conftest.$ac_ext
45987 cat >>conftest.$ac_ext <<_ACEOF
45988 /* end confdefs.h. */
45999 rm -f conftest.$ac_objext conftest$ac_exeext
46000 if { (ac_try="$ac_link"
46001 case "(($ac_try" in
46002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46003 *) ac_try_echo
=$ac_try;;
46005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46006 (eval "$ac_link") 2>conftest.er1
46008 grep -v '^ *+' conftest.er1
>conftest.err
46010 cat conftest.err
>&5
46011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46012 (exit $ac_status); } && {
46013 test -z "$ac_c_werror_flag" ||
46014 test ! -s conftest.err
46015 } && test -s conftest
$ac_exeext &&
46016 $as_test_x conftest
$ac_exeext; then
46017 ac_cv_lib_unicows_main
=yes
46019 echo "$as_me: failed program was:" >&5
46020 sed 's/^/| /' conftest.
$ac_ext >&5
46022 ac_cv_lib_unicows_main
=no
46025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46026 conftest
$ac_exeext conftest.
$ac_ext
46027 LIBS
=$ac_check_lib_save_LIBS
46029 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46030 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46031 if test $ac_cv_lib_unicows_main = yes; then
46033 cat >>confdefs.h
<<\_ACEOF
46034 #define wxUSE_UNICODE_MSLU 1
46040 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46041 Applications will only run on Windows NT/2000/XP!" >&5
46042 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46043 Applications will only run on Windows NT/2000/XP!" >&2;}
46044 wxUSE_UNICODE_MSLU
=no
46051 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46052 cat >>confdefs.h
<<\_ACEOF
46053 #define wxUSE_UNICODE_UTF8 1
46057 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46058 cat >>confdefs.h
<<\_ACEOF
46059 #define wxUSE_UTF8_LOCALE_ONLY 1
46066 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46067 cat >>confdefs.h
<<\_ACEOF
46068 #define wxUSE_CONSTRAINTS 1
46071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46074 if test "$wxUSE_MDI" = "yes"; then
46075 cat >>confdefs.h
<<\_ACEOF
46076 #define wxUSE_MDI 1
46080 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46081 cat >>confdefs.h
<<\_ACEOF
46082 #define wxUSE_MDI_ARCHITECTURE 1
46085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46089 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46090 cat >>confdefs.h
<<\_ACEOF
46091 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46097 if test "$wxUSE_HELP" = "yes"; then
46098 cat >>confdefs.h
<<\_ACEOF
46099 #define wxUSE_HELP 1
46102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46104 if test "$wxUSE_MSW" = 1; then
46105 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46106 cat >>confdefs.h
<<\_ACEOF
46107 #define wxUSE_MS_HTML_HELP 1
46113 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46114 if test "$wxUSE_HTML" = "yes"; then
46115 cat >>confdefs.h
<<\_ACEOF
46116 #define wxUSE_WXHTML_HELP 1
46120 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46121 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46122 wxUSE_WXHTML_HELP
=no
46127 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46128 cat >>confdefs.h
<<\_ACEOF
46129 #define wxUSE_PRINTING_ARCHITECTURE 1
46132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46135 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46136 cat >>confdefs.h
<<\_ACEOF
46137 #define wxUSE_POSTSCRIPT 1
46142 cat >>confdefs.h
<<\_ACEOF
46143 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46147 if test "$wxUSE_SVG" = "yes"; then
46148 cat >>confdefs.h
<<\_ACEOF
46149 #define wxUSE_SVG 1
46155 if test "$wxUSE_METAFILE" = "yes"; then
46156 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46157 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46158 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46164 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46165 -o "$wxUSE_CLIPBOARD" = "yes" \
46166 -o "$wxUSE_OLE" = "yes" \
46167 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46168 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46169 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46170 if test "${ac_cv_header_ole2_h+set}" = set; then
46171 echo $ECHO_N "(cached) $ECHO_C" >&6
46173 cat >conftest.
$ac_ext <<_ACEOF
46176 cat confdefs.h
>>conftest.
$ac_ext
46177 cat >>conftest.
$ac_ext <<_ACEOF
46178 /* end confdefs.h. */
46183 rm -f conftest.
$ac_objext
46184 if { (ac_try
="$ac_compile"
46185 case "(($ac_try" in
46186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46187 *) ac_try_echo=$ac_try;;
46189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46190 (eval "$ac_compile") 2>conftest.er1
46192 grep -v '^ *+' conftest.er1 >conftest.err
46194 cat conftest.err >&5
46195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46196 (exit $ac_status); } && {
46197 test -z "$ac_c_werror_flag" ||
46198 test ! -s conftest.err
46199 } && test -s conftest.$ac_objext; then
46200 ac_cv_header_ole2_h=yes
46202 echo "$as_me: failed program was:" >&5
46203 sed 's/^/| /' conftest.$ac_ext >&5
46205 ac_cv_header_ole2_h=no
46208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46210 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46211 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46215 if test "$ac_cv_header_ole2_h" = "yes" ; then
46216 if test "$GCC" = yes ; then
46217 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46218 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46219 cat >conftest.$ac_ext <<_ACEOF
46222 cat confdefs.h >>conftest.$ac_ext
46223 cat >>conftest.$ac_ext <<_ACEOF
46224 /* end confdefs.h. */
46225 #include <windows.h>
46235 rm -f conftest.$ac_objext
46236 if { (ac_try="$ac_compile"
46237 case "(($ac_try" in
46238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46239 *) ac_try_echo
=$ac_try;;
46241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46242 (eval "$ac_compile") 2>conftest.er1
46244 grep -v '^ *+' conftest.er1
>conftest.err
46246 cat conftest.err
>&5
46247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46248 (exit $ac_status); } && {
46249 test -z "$ac_c_werror_flag" ||
46250 test ! -s conftest.err
46251 } && test -s conftest.
$ac_objext; then
46252 { echo "$as_me:$LINENO: result: no" >&5
46253 echo "${ECHO_T}no" >&6; }
46255 echo "$as_me: failed program was:" >&5
46256 sed 's/^/| /' conftest.
$ac_ext >&5
46258 { echo "$as_me:$LINENO: result: yes" >&5
46259 echo "${ECHO_T}yes" >&6; }
46260 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46264 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46265 if test "$wxUSE_OLE" = "yes" ; then
46266 cat >>confdefs.h
<<\_ACEOF
46267 #define wxUSE_OLE 1
46270 cat >>confdefs.h
<<\_ACEOF
46271 #define wxUSE_OLE_AUTOMATION 1
46274 cat >>confdefs.h
<<\_ACEOF
46275 #define wxUSE_ACTIVEX 1
46278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46282 if test "$wxUSE_DATAOBJ" = "yes" ; then
46283 cat >>confdefs.h
<<\_ACEOF
46284 #define wxUSE_DATAOBJ 1
46289 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46290 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46293 wxUSE_DRAG_AND_DROP
=no
46298 if test "$wxUSE_METAFILE" = "yes"; then
46299 cat >>confdefs.h
<<\_ACEOF
46300 #define wxUSE_METAFILE 1
46304 cat >>confdefs.h
<<\_ACEOF
46305 #define wxUSE_ENH_METAFILE 1
46311 if test "$wxUSE_IPC" = "yes"; then
46312 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46313 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46314 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46318 if test "$wxUSE_IPC" = "yes"; then
46319 cat >>confdefs.h
<<\_ACEOF
46320 #define wxUSE_IPC 1
46323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46327 if test "$wxUSE_DATAOBJ" = "yes"; then
46328 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46329 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46330 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46333 cat >>confdefs.h
<<\_ACEOF
46334 #define wxUSE_DATAOBJ 1
46339 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46340 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46342 wxUSE_DRAG_AND_DROP
=no
46345 if test "$wxUSE_CLIPBOARD" = "yes"; then
46346 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46347 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46348 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46352 if test "$wxUSE_CLIPBOARD" = "yes"; then
46353 cat >>confdefs.h
<<\_ACEOF
46354 #define wxUSE_CLIPBOARD 1
46360 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46361 if test "$wxUSE_GTK" = 1; then
46362 if test "$WXGTK12" != 1; then
46363 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46364 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46365 wxUSE_DRAG_AND_DROP
=no
46369 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46370 "$wxUSE_DFB" = 1; then
46371 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46372 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46373 wxUSE_DRAG_AND_DROP
=no
46376 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46377 cat >>confdefs.h
<<\_ACEOF
46378 #define wxUSE_DRAG_AND_DROP 1
46385 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46386 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46389 if test "$wxUSE_CLIPBOARD" = "yes"; then
46390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46393 if test "$wxUSE_SPLINES" = "yes" ; then
46394 cat >>confdefs.h
<<\_ACEOF
46395 #define wxUSE_SPLINES 1
46400 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46401 cat >>confdefs.h
<<\_ACEOF
46402 #define wxUSE_MOUSEWHEEL 1
46407 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46408 cat >>confdefs.h
<<\_ACEOF
46409 #define wxUSE_UIACTIONSIMULATOR 1
46412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
46417 if test "$wxUSE_CONTROLS" = "yes"; then
46421 if test "$wxUSE_ACCEL" = "yes"; then
46422 cat >>confdefs.h
<<\_ACEOF
46423 #define wxUSE_ACCEL 1
46429 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46430 cat >>confdefs.h
<<\_ACEOF
46431 #define wxUSE_ANIMATIONCTRL 1
46435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46438 if test "$wxUSE_BUTTON" = "yes"; then
46439 cat >>confdefs.h
<<\_ACEOF
46440 #define wxUSE_BUTTON 1
46446 if test "$wxUSE_BMPBUTTON" = "yes"; then
46447 cat >>confdefs.h
<<\_ACEOF
46448 #define wxUSE_BMPBUTTON 1
46454 if test "$wxUSE_CALCTRL" = "yes"; then
46455 cat >>confdefs.h
<<\_ACEOF
46456 #define wxUSE_CALENDARCTRL 1
46460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46463 if test "$wxUSE_CARET" = "yes"; then
46464 cat >>confdefs.h
<<\_ACEOF
46465 #define wxUSE_CARET 1
46469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46472 if test "$wxUSE_COLLPANE" = "yes"; then
46473 cat >>confdefs.h
<<\_ACEOF
46474 #define wxUSE_COLLPANE 1
46478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46481 if test "$wxUSE_COMBOBOX" = "yes"; then
46482 cat >>confdefs.h
<<\_ACEOF
46483 #define wxUSE_COMBOBOX 1
46489 if test "$wxUSE_COMBOCTRL" = "yes"; then
46490 cat >>confdefs.h
<<\_ACEOF
46491 #define wxUSE_COMBOCTRL 1
46497 if test "$wxUSE_CHOICE" = "yes"; then
46498 cat >>confdefs.h
<<\_ACEOF
46499 #define wxUSE_CHOICE 1
46505 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46506 cat >>confdefs.h
<<\_ACEOF
46507 #define wxUSE_CHOICEBOOK 1
46513 if test "$wxUSE_CHECKBOX" = "yes"; then
46514 cat >>confdefs.h
<<\_ACEOF
46515 #define wxUSE_CHECKBOX 1
46521 if test "$wxUSE_CHECKLST" = "yes"; then
46522 cat >>confdefs.h
<<\_ACEOF
46523 #define wxUSE_CHECKLISTBOX 1
46529 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46530 cat >>confdefs.h
<<\_ACEOF
46531 #define wxUSE_COLOURPICKERCTRL 1
46537 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46538 cat >>confdefs.h
<<\_ACEOF
46539 #define wxUSE_DATEPICKCTRL 1
46545 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46546 cat >>confdefs.h
<<\_ACEOF
46547 #define wxUSE_DIRPICKERCTRL 1
46553 if test "$wxUSE_FILECTRL" = "yes"; then
46554 cat >>confdefs.h
<<\_ACEOF
46555 #define wxUSE_FILECTRL 1
46561 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46562 cat >>confdefs.h
<<\_ACEOF
46563 #define wxUSE_FILEPICKERCTRL 1
46569 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46570 cat >>confdefs.h
<<\_ACEOF
46571 #define wxUSE_FONTPICKERCTRL 1
46577 if test "$wxUSE_DISPLAY" = "yes"; then
46578 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46579 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46580 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46583 cat >>confdefs.h
<<\_ACEOF
46584 #define wxUSE_DISPLAY 1
46587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
46591 if test "$wxUSE_DETECT_SM" = "yes"; then
46592 cat >>confdefs.h
<<\_ACEOF
46593 #define wxUSE_DETECT_SM 1
46598 if test "$wxUSE_GAUGE" = "yes"; then
46599 cat >>confdefs.h
<<\_ACEOF
46600 #define wxUSE_GAUGE 1
46606 if test "$wxUSE_GRID" = "yes"; then
46607 cat >>confdefs.h
<<\_ACEOF
46608 #define wxUSE_GRID 1
46612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46615 if test "$wxUSE_HEADERCTRL" = "yes"; then
46616 cat >>confdefs.h
<<\_ACEOF
46617 #define wxUSE_HEADERCTRL 1
46623 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46624 cat >>confdefs.h
<<\_ACEOF
46625 #define wxUSE_HYPERLINKCTRL 1
46631 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46632 cat >>confdefs.h
<<\_ACEOF
46633 #define wxUSE_BITMAPCOMBOBOX 1
46639 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46640 cat >>confdefs.h
<<\_ACEOF
46641 #define wxUSE_DATAVIEWCTRL 1
46645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46648 if test "$wxUSE_IMAGLIST" = "yes"; then
46649 cat >>confdefs.h
<<\_ACEOF
46650 #define wxUSE_IMAGLIST 1
46655 if test "$wxUSE_INFOBAR" = "yes"; then
46656 cat >>confdefs.h
<<\_ACEOF
46657 #define wxUSE_INFOBAR 1
46662 if test "$wxUSE_LISTBOOK" = "yes"; then
46663 cat >>confdefs.h
<<\_ACEOF
46664 #define wxUSE_LISTBOOK 1
46670 if test "$wxUSE_LISTBOX" = "yes"; then
46671 cat >>confdefs.h
<<\_ACEOF
46672 #define wxUSE_LISTBOX 1
46678 if test "$wxUSE_LISTCTRL" = "yes"; then
46679 if test "$wxUSE_IMAGLIST" = "yes"; then
46680 cat >>confdefs.h
<<\_ACEOF
46681 #define wxUSE_LISTCTRL 1
46685 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46687 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46688 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46692 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46693 cat >>confdefs.h
<<\_ACEOF
46694 #define wxUSE_EDITABLELISTBOX 1
46700 if test "$wxUSE_NOTEBOOK" = "yes"; then
46701 cat >>confdefs.h
<<\_ACEOF
46702 #define wxUSE_NOTEBOOK 1
46706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46709 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46710 cat >>confdefs.h
<<\_ACEOF
46711 #define wxUSE_NOTIFICATION_MESSAGE 1
46716 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46717 cat >>confdefs.h
<<\_ACEOF
46718 #define wxUSE_ODCOMBOBOX 1
46722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46725 if test "$wxUSE_RADIOBOX" = "yes"; then
46726 cat >>confdefs.h
<<\_ACEOF
46727 #define wxUSE_RADIOBOX 1
46733 if test "$wxUSE_RADIOBTN" = "yes"; then
46734 cat >>confdefs.h
<<\_ACEOF
46735 #define wxUSE_RADIOBTN 1
46741 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46742 cat >>confdefs.h
<<\_ACEOF
46743 #define wxUSE_REARRANGECTRL 1
46748 if test "$wxUSE_SASH" = "yes"; then
46749 cat >>confdefs.h
<<\_ACEOF
46750 #define wxUSE_SASH 1
46753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46756 if test "$wxUSE_SCROLLBAR" = "yes"; then
46757 cat >>confdefs.h
<<\_ACEOF
46758 #define wxUSE_SCROLLBAR 1
46762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46765 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46766 cat >>confdefs.h
<<\_ACEOF
46767 #define wxUSE_SEARCHCTRL 1
46773 if test "$wxUSE_SLIDER" = "yes"; then
46774 cat >>confdefs.h
<<\_ACEOF
46775 #define wxUSE_SLIDER 1
46781 if test "$wxUSE_SPINBTN" = "yes"; then
46782 cat >>confdefs.h
<<\_ACEOF
46783 #define wxUSE_SPINBTN 1
46789 if test "$wxUSE_SPINCTRL" = "yes"; then
46790 cat >>confdefs.h
<<\_ACEOF
46791 #define wxUSE_SPINCTRL 1
46797 if test "$wxUSE_SPLITTER" = "yes"; then
46798 cat >>confdefs.h
<<\_ACEOF
46799 #define wxUSE_SPLITTER 1
46802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46805 if test "$wxUSE_STATBMP" = "yes"; then
46806 cat >>confdefs.h
<<\_ACEOF
46807 #define wxUSE_STATBMP 1
46813 if test "$wxUSE_STATBOX" = "yes"; then
46814 cat >>confdefs.h
<<\_ACEOF
46815 #define wxUSE_STATBOX 1
46821 if test "$wxUSE_STATTEXT" = "yes"; then
46822 cat >>confdefs.h
<<\_ACEOF
46823 #define wxUSE_STATTEXT 1
46829 if test "$wxUSE_STATLINE" = "yes"; then
46830 cat >>confdefs.h
<<\_ACEOF
46831 #define wxUSE_STATLINE 1
46837 if test "$wxUSE_STATUSBAR" = "yes"; then
46838 cat >>confdefs.h
<<\_ACEOF
46839 #define wxUSE_NATIVE_STATUSBAR 1
46842 cat >>confdefs.h
<<\_ACEOF
46843 #define wxUSE_STATUSBAR 1
46848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46851 if test "$wxUSE_TEXTCTRL" = "yes"; then
46852 cat >>confdefs.h
<<\_ACEOF
46853 #define wxUSE_TEXTCTRL 1
46857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46859 cat >>confdefs.h
<<\_ACEOF
46860 #define wxUSE_RICHEDIT 1
46863 cat >>confdefs.h
<<\_ACEOF
46864 #define wxUSE_RICHEDIT2 1
46869 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46870 if test "$wxUSE_OLD_COCOA" = 1 ; then
46871 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46872 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46876 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46877 cat >>confdefs.h
<<\_ACEOF
46878 #define wxUSE_TOGGLEBTN 1
46885 if test "$wxUSE_TOOLBAR" = "yes"; then
46886 cat >>confdefs.h
<<\_ACEOF
46887 #define wxUSE_TOOLBAR 1
46892 if test "$wxUSE_UNIVERSAL" = "yes"; then
46893 wxUSE_TOOLBAR_NATIVE
="no"
46895 wxUSE_TOOLBAR_NATIVE
="yes"
46896 cat >>confdefs.h
<<\_ACEOF
46897 #define wxUSE_TOOLBAR_NATIVE 1
46902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46905 if test "$wxUSE_TOOLTIPS" = "yes"; then
46906 if test "$wxUSE_MOTIF" = 1; then
46907 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46908 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46910 if test "$wxUSE_UNIVERSAL" = "yes"; then
46911 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46912 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46914 cat >>confdefs.h
<<\_ACEOF
46915 #define wxUSE_TOOLTIPS 1
46922 if test "$wxUSE_TREEBOOK" = "yes"; then
46923 cat >>confdefs.h
<<\_ACEOF
46924 #define wxUSE_TREEBOOK 1
46930 if test "$wxUSE_TOOLBOOK" = "yes"; then
46931 cat >>confdefs.h
<<\_ACEOF
46932 #define wxUSE_TOOLBOOK 1
46938 if test "$wxUSE_TREECTRL" = "yes"; then
46939 if test "$wxUSE_IMAGLIST" = "yes"; then
46940 cat >>confdefs.h
<<\_ACEOF
46941 #define wxUSE_TREECTRL 1
46945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46947 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46948 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46952 if test "$wxUSE_POPUPWIN" = "yes"; then
46953 if test "$wxUSE_OLD_COCOA" = 1 ; then
46954 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46955 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46957 if test "$wxUSE_PM" = 1; then
46958 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46959 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46961 cat >>confdefs.h
<<\_ACEOF
46962 #define wxUSE_POPUPWIN 1
46965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46972 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46973 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46974 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46975 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46977 cat >>confdefs.h
<<\_ACEOF
46978 #define wxUSE_DIALUP_MANAGER 1
46981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46985 if test "$wxUSE_TIPWINDOW" = "yes"; then
46986 if test "$wxUSE_PM" = 1; then
46987 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46988 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46990 cat >>confdefs.h
<<\_ACEOF
46991 #define wxUSE_TIPWINDOW 1
46997 if test "$USES_CONTROLS" = 1; then
46998 cat >>confdefs.h
<<\_ACEOF
46999 #define wxUSE_CONTROLS 1
47005 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47006 cat >>confdefs.h
<<\_ACEOF
47007 #define wxUSE_ACCESSIBILITY 1
47010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47013 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47014 cat >>confdefs.h
<<\_ACEOF
47015 #define wxUSE_DRAGIMAGE 1
47018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47021 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47022 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47023 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47024 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47026 cat >>confdefs.h
<<\_ACEOF
47027 #define wxUSE_EXCEPTIONS 1
47030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47035 if test "$wxUSE_HTML" = "yes"; then
47036 cat >>confdefs.h
<<\_ACEOF
47037 #define wxUSE_HTML 1
47041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47043 if test "$wxUSE_WEBKIT" = "yes"; then
47044 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47045 old_CPPFLAGS
="$CPPFLAGS"
47046 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47047 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47048 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47049 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47050 echo $ECHO_N "(cached) $ECHO_C" >&6
47052 cat >conftest.
$ac_ext <<_ACEOF
47055 cat confdefs.h
>>conftest.
$ac_ext
47056 cat >>conftest.
$ac_ext <<_ACEOF
47057 /* end confdefs.h. */
47059 #include <Carbon/Carbon.h>
47060 #include <WebKit/WebKit.h>
47063 #include <WebKit/HIWebView.h>
47065 rm -f conftest.
$ac_objext
47066 if { (ac_try
="$ac_compile"
47067 case "(($ac_try" in
47068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47069 *) ac_try_echo=$ac_try;;
47071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47072 (eval "$ac_compile") 2>conftest.er1
47074 grep -v '^ *+' conftest.er1 >conftest.err
47076 cat conftest.err >&5
47077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47078 (exit $ac_status); } && {
47079 test -z "$ac_c_werror_flag" ||
47080 test ! -s conftest.err
47081 } && test -s conftest.$ac_objext; then
47082 ac_cv_header_WebKit_HIWebView_h=yes
47084 echo "$as_me: failed program was:" >&5
47085 sed 's/^/| /' conftest.$ac_ext >&5
47087 ac_cv_header_WebKit_HIWebView_h=no
47090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47092 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47093 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47094 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47096 cat >>confdefs.h <<\_ACEOF
47097 #define wxUSE_WEBKIT 1
47100 WEBKIT_LINK="-framework WebKit"
47104 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47105 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47111 CPPFLAGS="$old_CPPFLAGS"
47112 elif test "$wxUSE_OLD_COCOA" = 1; then
47113 cat >>confdefs.h <<\_ACEOF
47114 #define wxUSE_WEBKIT 1
47120 if test "$wxUSE_WEBKIT" = "yes"; then
47121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47126 if test "$wxUSE_XRC" = "yes"; then
47127 if test "$wxUSE_XML" != "yes"; then
47128 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47129 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47132 cat >>confdefs.h <<\_ACEOF
47133 #define wxUSE_XRC 1
47137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47142 if test "$wxUSE_AUI" = "yes"; then
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_AUI 1
47148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47152 if test "$wxUSE_PROPGRID" = "yes"; then
47153 cat >>confdefs.h <<\_ACEOF
47154 #define wxUSE_PROPGRID 1
47158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47162 if test "$wxUSE_RIBBON" = "yes"; then
47163 cat >>confdefs.h <<\_ACEOF
47164 #define wxUSE_RIBBON 1
47168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47172 if test "$wxUSE_STC" = "yes"; then
47173 cat >>confdefs.h <<\_ACEOF
47174 #define wxUSE_STC 1
47178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47180 # Extract the first word of "python", so it can be a program name with args.
47181 set dummy python; ac_word=$2
47182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47184 if test "${ac_cv_path_PYTHON+set}" = set; then
47185 echo $ECHO_N "(cached) $ECHO_C" >&6
47189 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47193 for as_dir in $PATH
47196 test -z "$as_dir" && as_dir=.
47197 for ac_exec_ext in '' $ac_executable_extensions; do
47198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47199 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47210 PYTHON=$ac_cv_path_PYTHON
47211 if test -n "$PYTHON"; then
47212 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47213 echo "${ECHO_T}$PYTHON" >&6; }
47215 { echo "$as_me:$LINENO: result: no" >&5
47216 echo "${ECHO_T}no" >&6; }
47220 if test "x$PYTHON" = "x"; then
47226 if test "$wxUSE_MENUS" = "yes"; then
47227 cat >>confdefs.h <<\_ACEOF
47228 #define wxUSE_MENUS 1
47231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47234 if test "$wxUSE_METAFILE" = "yes"; then
47235 cat >>confdefs.h <<\_ACEOF
47236 #define wxUSE_METAFILE 1
47241 if test "$wxUSE_MIMETYPE" = "yes"; then
47242 cat >>confdefs.h <<\_ACEOF
47243 #define wxUSE_MIMETYPE 1
47248 if test "$wxUSE_MINIFRAME" = "yes"; then
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_MINIFRAME 1
47255 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47256 cat >>confdefs.h <<\_ACEOF
47257 #define wxUSE_SYSTEM_OPTIONS 1
47262 if test "$wxUSE_TASKBARICON" = "yes"; then
47263 cat >>confdefs.h <<\_ACEOF
47264 #define wxUSE_TASKBARICON 1
47267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47271 if test "$wxUSE_VALIDATORS" = "yes"; then
47272 cat >>confdefs.h <<\_ACEOF
47273 #define wxUSE_VALIDATORS 1
47276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47279 if test "$wxUSE_PALETTE" = "yes" ; then
47280 if test "$wxUSE_DFB" = 1; then
47281 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47282 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47285 cat >>confdefs.h <<\_ACEOF
47286 #define wxUSE_PALETTE 1
47292 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47293 LIBS=" -lunicows $LIBS"
47297 if test "$wxUSE_RICHTEXT" = "yes"; then
47298 cat >>confdefs.h <<\_ACEOF
47299 #define wxUSE_RICHTEXT 1
47303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47307 if test "$wxUSE_IMAGE" = "yes" ; then
47308 cat >>confdefs.h <<\_ACEOF
47309 #define wxUSE_IMAGE 1
47313 if test "$wxUSE_GIF" = "yes" ; then
47314 cat >>confdefs.h <<\_ACEOF
47315 #define wxUSE_GIF 1
47320 if test "$wxUSE_PCX" = "yes" ; then
47321 cat >>confdefs.h <<\_ACEOF
47322 #define wxUSE_PCX 1
47327 if test "$wxUSE_TGA" = "yes" ; then
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_TGA 1
47334 if test "$wxUSE_IFF" = "yes" ; then
47335 cat >>confdefs.h <<\_ACEOF
47336 #define wxUSE_IFF 1
47341 if test "$wxUSE_PNM" = "yes" ; then
47342 cat >>confdefs.h <<\_ACEOF
47343 #define wxUSE_PNM 1
47348 if test "$wxUSE_XPM" = "yes" ; then
47349 cat >>confdefs.h <<\_ACEOF
47350 #define wxUSE_XPM 1
47355 if test "$wxUSE_ICO_CUR" = "yes" ; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_ICO_CUR 1
47364 if test "$wxUSE_ABOUTDLG" = "yes"; then
47365 cat >>confdefs.h <<\_ACEOF
47366 #define wxUSE_ABOUTDLG 1
47371 if test "$wxUSE_CHOICEDLG" = "yes"; then
47372 cat >>confdefs.h <<\_ACEOF
47373 #define wxUSE_CHOICEDLG 1
47378 if test "$wxUSE_COLOURDLG" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_COLOURDLG 1
47385 if test "$wxUSE_FILEDLG" = "yes"; then
47386 cat >>confdefs.h <<\_ACEOF
47387 #define wxUSE_FILEDLG 1
47392 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_FINDREPLDLG 1
47399 if test "$wxUSE_FONTDLG" = "yes"; then
47400 cat >>confdefs.h <<\_ACEOF
47401 #define wxUSE_FONTDLG 1
47406 if test "$wxUSE_DIRDLG" = "yes"; then
47407 if test "$wxUSE_TREECTRL" != "yes"; then
47408 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47409 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47411 cat >>confdefs.h <<\_ACEOF
47412 #define wxUSE_DIRDLG 1
47418 if test "$wxUSE_MSGDLG" = "yes"; then
47419 cat >>confdefs.h <<\_ACEOF
47420 #define wxUSE_MSGDLG 1
47425 if test "$wxUSE_NUMBERDLG" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_NUMBERDLG 1
47432 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47433 cat >>confdefs.h <<\_ACEOF
47434 #define wxUSE_PROGRESSDLG 1
47439 if test "$wxUSE_SPLASH" = "yes"; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_SPLASH 1
47444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47447 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47448 cat >>confdefs.h <<\_ACEOF
47449 #define wxUSE_STARTUP_TIPS 1
47454 if test "$wxUSE_TEXTDLG" = "yes"; then
47455 cat >>confdefs.h <<\_ACEOF
47456 #define wxUSE_TEXTDLG 1
47461 if test "$wxUSE_WIZARDDLG" = "yes"; then
47462 cat >>confdefs.h <<\_ACEOF
47463 #define wxUSE_WIZARDDLG 1
47466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47470 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47471 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_OWNER_DRAWN 1
47480 if test "$wxUSE_MSW" = 1 ; then
47482 if test "$wxUSE_DC_CACHEING" = "yes"; then
47483 cat >>confdefs.h <<\_ACEOF
47484 #define wxUSE_DC_CACHEING 1
47489 if test "$wxUSE_DIB" = "yes"; then
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_WXDIB 1
47496 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47503 if test "$wxUSE_UXTHEME" = "yes"; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_UXTHEME 1
47512 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47513 cat >>confdefs.h <<\_ACEOF
47514 #define wxUSE_AUTOID_MANAGEMENT 1
47519 if test "$USE_WIN32" = 1 ; then
47520 if test "$wxUSE_INICONF" = "yes"; then
47521 cat >>confdefs.h <<\_ACEOF
47522 #define wxUSE_INICONF 1
47527 if test "$wxUSE_REGKEY" = "yes"; then
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_REGKEY 1
47536 if test "$wxUSE_MAC" = 1; then
47537 wxUSE_GRAPHICS_CONTEXT="yes"
47540 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47542 if test "$wxUSE_MSW" = 1; then
47543 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47544 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47545 if test "${wx_cv_lib_gdiplus+set}" = set; then
47546 echo $ECHO_N "(cached) $ECHO_C" >&6
47550 ac_cpp='$CXXCPP $CPPFLAGS'
47551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47555 cat >conftest.$ac_ext <<_ACEOF
47558 cat confdefs.h >>conftest.$ac_ext
47559 cat >>conftest.$ac_ext <<_ACEOF
47560 /* end confdefs.h. */
47561 #include <windows.h>
47562 #include <gdiplus.h>
47567 using namespace Gdiplus;
47573 rm -f conftest.$ac_objext
47574 if { (ac_try="$ac_compile"
47575 case "(($ac_try" in
47576 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47577 *) ac_try_echo
=$ac_try;;
47579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47580 (eval "$ac_compile") 2>conftest.er1
47582 grep -v '^ *+' conftest.er1
>conftest.err
47584 cat conftest.err
>&5
47585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47586 (exit $ac_status); } && {
47587 test -z "$ac_cxx_werror_flag" ||
47588 test ! -s conftest.err
47589 } && test -s conftest.
$ac_objext; then
47590 wx_cv_lib_gdiplus
=yes
47592 echo "$as_me: failed program was:" >&5
47593 sed 's/^/| /' conftest.
$ac_ext >&5
47595 wx_cv_lib_gdiplus
=no
47599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47601 ac_cpp
='$CPP $CPPFLAGS'
47602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47609 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47610 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47611 if test "$wx_cv_lib_gdiplus" = "yes"; then
47614 elif test "$wxUSE_GTK" = 1; then
47617 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47618 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47620 if test -n "$PKG_CONFIG"; then
47621 if test -n "$CAIRO_CFLAGS"; then
47622 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47624 if test -n "$PKG_CONFIG" && \
47625 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47626 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47629 (exit $ac_status); }; then
47630 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47638 if test -n "$PKG_CONFIG"; then
47639 if test -n "$CAIRO_LIBS"; then
47640 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47642 if test -n "$PKG_CONFIG" && \
47643 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47644 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47647 (exit $ac_status); }; then
47648 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47659 if test $pkg_failed = yes; then
47661 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47662 _pkg_short_errors_supported
=yes
47664 _pkg_short_errors_supported
=no
47666 if test $_pkg_short_errors_supported = yes; then
47667 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47669 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47671 # Put the nasty error message in config.log where it belongs
47672 echo "$CAIRO_PKG_ERRORS" >&5
47674 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47675 echo "$as_me: WARNING: Cairo library not found" >&2;}
47677 elif test $pkg_failed = untried
; then
47678 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47679 echo "$as_me: WARNING: Cairo library not found" >&2;}
47682 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47683 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47684 { echo "$as_me:$LINENO: result: yes" >&5
47685 echo "${ECHO_T}yes" >&6; }
47692 if test "$wx_has_graphics" = 1; then
47693 cat >>confdefs.h
<<\_ACEOF
47694 #define wxUSE_GRAPHICS_CONTEXT 1
47698 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47699 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47706 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47709 if test "$wxUSE_GTK" = 1; then
47710 wxUSE_GSTREAMER
="no"
47712 GST_VERSION_MAJOR
=0
47713 GST_VERSION_MINOR
=10
47714 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47716 if test "$wxUSE_GSTREAMER8" = "no"; then
47719 { echo "$as_me:$LINENO: checking for GST" >&5
47720 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47722 if test -n "$PKG_CONFIG"; then
47723 if test -n "$GST_CFLAGS"; then
47724 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47726 if test -n "$PKG_CONFIG" && \
47727 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47728 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47731 (exit $ac_status); }; then
47732 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47740 if test -n "$PKG_CONFIG"; then
47741 if test -n "$GST_LIBS"; then
47742 pkg_cv_GST_LIBS
="$GST_LIBS"
47744 if test -n "$PKG_CONFIG" && \
47745 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47746 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47749 (exit $ac_status); }; then
47750 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47761 if test $pkg_failed = yes; then
47763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47764 _pkg_short_errors_supported
=yes
47766 _pkg_short_errors_supported
=no
47768 if test $_pkg_short_errors_supported = yes; then
47769 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47771 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47773 # Put the nasty error message in config.log where it belongs
47774 echo "$GST_PKG_ERRORS" >&5
47777 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47778 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47779 GST_VERSION_MINOR
=8
47782 elif test $pkg_failed = untried
; then
47784 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47785 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47786 GST_VERSION_MINOR
=8
47790 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47791 GST_LIBS
=$pkg_cv_GST_LIBS
47792 { echo "$as_me:$LINENO: result: yes" >&5
47793 echo "${ECHO_T}yes" >&6; }
47795 wxUSE_GSTREAMER
="yes"
47796 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47800 GST_VERSION_MINOR
=8
47803 if test $GST_VERSION_MINOR = "8"; then
47804 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47807 { echo "$as_me:$LINENO: checking for GST" >&5
47808 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47810 if test -n "$PKG_CONFIG"; then
47811 if test -n "$GST_CFLAGS"; then
47812 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47814 if test -n "$PKG_CONFIG" && \
47815 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47816 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47819 (exit $ac_status); }; then
47820 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47828 if test -n "$PKG_CONFIG"; then
47829 if test -n "$GST_LIBS"; then
47830 pkg_cv_GST_LIBS
="$GST_LIBS"
47832 if test -n "$PKG_CONFIG" && \
47833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47834 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47837 (exit $ac_status); }; then
47838 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47849 if test $pkg_failed = yes; then
47851 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47852 _pkg_short_errors_supported
=yes
47854 _pkg_short_errors_supported
=no
47856 if test $_pkg_short_errors_supported = yes; then
47857 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47859 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47861 # Put the nasty error message in config.log where it belongs
47862 echo "$GST_PKG_ERRORS" >&5
47865 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47866 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47868 elif test $pkg_failed = untried
; then
47870 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47871 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47874 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47875 GST_LIBS
=$pkg_cv_GST_LIBS
47876 { echo "$as_me:$LINENO: result: yes" >&5
47877 echo "${ECHO_T}yes" >&6; }
47878 wxUSE_GSTREAMER
="yes"
47883 if test "$wxUSE_GSTREAMER" = "yes"; then
47884 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47885 EXTRALIBS_MEDIA
="$GST_LIBS"
47887 cat >>confdefs.h
<<\_ACEOF
47888 #define wxUSE_GSTREAMER 1
47896 if test $USE_MEDIA = 1; then
47897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47898 cat >>confdefs.h
<<\_ACEOF
47899 #define wxUSE_MEDIACTRL 1
47903 if test "$wxUSE_MEDIACTRL" = "yes"; then
47904 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47905 echo "$as_me: error: GStreamer not available" >&2;}
47906 { (exit 1); exit 1; }; }
47908 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47909 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47915 if test "$cross_compiling" != "no"; then
47918 OSINFO
=`uname -s -r -m`
47919 OSINFO
="\"$OSINFO\""
47922 cat >>confdefs.h
<<_ACEOF
47923 #define WXWIN_OS_DESCRIPTION $OSINFO
47928 if test "x$prefix" != "xNONE"; then
47931 wxPREFIX
=$ac_default_prefix
47934 cat >>confdefs.h
<<_ACEOF
47935 #define wxINSTALL_PREFIX "$wxPREFIX"
47941 STD_BASE_LIBS
="base"
47943 BUILT_WX_LIBS
="base"
47944 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
47946 if test "$wxUSE_SOCKETS" = "yes" ; then
47947 STD_BASE_LIBS
="net $STD_BASE_LIBS"
47948 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
47950 if test "$wxUSE_XML" = "yes" ; then
47951 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
47952 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
47955 if test "$wxUSE_GUI" = "yes"; then
47956 STD_GUI_LIBS
="adv core"
47957 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
47959 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47960 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
47961 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
47963 if test "$wxUSE_HTML" = "yes" ; then
47964 STD_GUI_LIBS
="html $STD_GUI_LIBS"
47965 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
47967 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47968 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
47970 if test "$wxUSE_OPENGL" = "yes" ; then
47971 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
47973 if test "$wxUSE_AUI" = "yes" ; then
47974 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
47976 if test "$wxUSE_PROPGRID" = "yes" ; then
47977 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
47979 if test "$wxUSE_RIBBON" = "yes" ; then
47980 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
47982 if test "$wxUSE_RICHTEXT" = "yes" ; then
47983 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
47985 if test "$wxUSE_STC" = "yes" ; then
47986 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
47988 if test "$wxUSE_XRC" = "yes" ; then
47989 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
47990 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
48001 if test "$wxUSE_MAC" = 1 ; then
48002 if test "$USE_DARWIN" = 1; then
48003 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48006 if test "$wxUSE_OLD_COCOA" = 1 ; then
48007 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
48008 if test "$wxUSE_MEDIACTRL" = "yes"; then
48009 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
48012 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48013 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48016 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
48017 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48019 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48021 if test "$wxUSE_GUI" = "yes"; then
48024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48025 erase event exec font image minimal render \
48026 shaped svg taborder vscroll widgets wrapsizer"
48028 if test "$wxUSE_MONOLITHIC" != "yes"; then
48029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
48031 if test "$TOOLKIT" = "MSW"; then
48032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
48033 if test "$wxUSE_UNIVERSAL" != "yes"; then
48034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48037 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
48041 SAMPLES_SUBDIRS
="console"
48042 if test "$wxUSE_SOCKETS" = "yes" ; then
48043 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
48045 if test "$wxUSE_IPC" = "yes" ; then
48046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
48051 if test "x$INTELCC" = "xyes" ; then
48052 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
48053 elif test "$GCC" = yes ; then
48054 CWARNINGS
="-Wall -Wundef"
48057 if test "x$INTELCXX" = "xyes" ; then
48058 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48059 elif test "$GXX" = yes ; then
48060 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48061 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48062 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48063 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48064 echo $ECHO_N "(cached) $ECHO_C" >&6
48066 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
48069 ac_cpp
='$CXXCPP $CPPFLAGS'
48070 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48071 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48072 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48074 ac_save_CXXFLAGS
="$CXXFLAGS"
48075 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48076 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48077 cat >conftest.
$ac_ext <<_ACEOF
48080 cat confdefs.h
>>conftest.
$ac_ext
48081 cat >>conftest.
$ac_ext <<_ACEOF
48082 /* end confdefs.h. */
48092 rm -f conftest.
$ac_objext
48093 if { (ac_try
="$ac_compile"
48094 case "(($ac_try" in
48095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48096 *) ac_try_echo=$ac_try;;
48098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48099 (eval "$ac_compile") 2>conftest.er1
48101 grep -v '^ *+' conftest.er1 >conftest.err
48103 cat conftest.err >&5
48104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48105 (exit $ac_status); } && {
48106 test -z "$ac_cxx_werror_flag" ||
48107 test ! -s conftest.err
48108 } && test -s conftest.$ac_objext; then
48109 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48111 echo "$as_me: failed program was:" >&5
48112 sed 's/^/| /' conftest.$ac_ext >&5
48117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48119 CXXFLAGS="$ac_save_CXXFLAGS"
48121 ac_cpp='$CPP $CPPFLAGS'
48122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48128 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48129 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48130 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48134 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48135 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48136 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48139 (exit $ac_status); }
48140 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48141 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48144 (exit $ac_status); }
48145 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48151 if test "$wxUSE_MAC" = 1 ; then
48152 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48157 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48158 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48161 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48162 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
48163 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
48166 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48167 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48168 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48169 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48170 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48172 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48175 if test "x$MWCC" = "xyes"; then
48177 CC="$CC -cwd source -I-"
48178 CXX="$CXX -cwd source -I-"
48183 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48184 EXTRALIBS_XML="$EXPAT_LINK"
48185 EXTRALIBS_HTML="$MSPACK_LINK"
48186 EXTRALIBS_MEDIA="$GST_LIBS"
48187 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48188 if test "$wxUSE_GUI" = "yes"; then
48189 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48191 if test "$wxUSE_OPENGL" = "yes"; then
48192 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48195 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48197 WXCONFIG_LIBS="$LIBS"
48199 if test "$wxUSE_REGEX" = "builtin" ; then
48200 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48202 if test "$wxUSE_EXPAT" = "builtin" ; then
48203 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48205 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48206 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48208 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48209 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48211 if test "$wxUSE_LIBPNG" = "builtin" ; then
48212 wxconfig_3rdparty="png $wxconfig_3rdparty"
48214 if test "$wxUSE_ZLIB" = "builtin" ; then
48215 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48218 for i in $wxconfig_3rdparty ; do
48219 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48223 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48226 case "$wxUNIV_THEMES" in
48228 cat >>confdefs.h <<\_ACEOF
48229 #define wxUSE_ALL_THEMES 1
48235 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48236 cat >>confdefs.h <<_ACEOF
48237 #define wxUSE_THEME_$t 1
48253 if test $wxUSE_MONOLITHIC = "yes" ; then
48259 if test $wxUSE_PLUGINS = "yes" ; then
48265 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48271 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48303 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48316 TOOLKIT_DESC="GTK+"
48317 if test "$WXGTK2" = 1; then
48318 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48319 if test "$wxUSE_GTKPRINT" = "yes" ; then
48320 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48322 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48323 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48325 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48326 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48328 if test "$wxUSE_LIBHILDON" = "yes"; then
48329 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48331 if test "$wxUSE_LIBHILDON2" = "yes"; then
48332 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48335 if test "$TOOLKIT_EXTRA" != ""; then
48336 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48342 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48346 TOOLKIT_DESC="base only"
48350 if test "$wxUSE_WINE" = "yes"; then
48351 BAKEFILE_FORCE_PLATFORM=win32
48354 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48356 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48357 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48358 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48359 echo $ECHO_N "(cached) $ECHO_C" >&6
48362 echo '#include <stdio.h>
48363 const wchar_t test_var[] = L"awidetest";' > conftest.h
48365 echo '#include "conftest.h"
48368 printf("%ls", test_var);
48372 wx_cv_gcc_pch_bug="pch not supported"
48374 if $CXX conftest.h >/dev/null 2>&1
48378 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48380 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48381 grep awidetest >/dev/null
48383 wx_cv_gcc_pch_bug=no
48385 wx_cv_gcc_pch_bug=yes
48390 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48393 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48394 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48396 if test "$wx_cv_gcc_pch_bug" = yes; then
48407 if test "x$BAKEFILE_HOST" = "x"; then
48408 if test "x${host}" = "x" ; then
48409 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48410 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48411 { (exit 1); exit 1; }; }
48414 BAKEFILE_HOST="${host}"
48417 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48419 if test -n "$ac_tool_prefix"; then
48420 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48421 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48424 if test "${ac_cv_prog_RANLIB+set}" = set; then
48425 echo $ECHO_N "(cached) $ECHO_C" >&6
48427 if test -n "$RANLIB"; then
48428 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48431 for as_dir in $PATH
48434 test -z "$as_dir" && as_dir=.
48435 for ac_exec_ext in '' $ac_executable_extensions; do
48436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48437 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48447 RANLIB=$ac_cv_prog_RANLIB
48448 if test -n "$RANLIB"; then
48449 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48450 echo "${ECHO_T}$RANLIB" >&6; }
48452 { echo "$as_me:$LINENO: result: no" >&5
48453 echo "${ECHO_T}no" >&6; }
48458 if test -z "$ac_cv_prog_RANLIB"; then
48459 ac_ct_RANLIB=$RANLIB
48460 # Extract the first word of "ranlib", so it can be a program name with args.
48461 set dummy ranlib; ac_word=$2
48462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48464 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48465 echo $ECHO_N "(cached) $ECHO_C" >&6
48467 if test -n "$ac_ct_RANLIB"; then
48468 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48471 for as_dir in $PATH
48474 test -z "$as_dir" && as_dir=.
48475 for ac_exec_ext in '' $ac_executable_extensions; do
48476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48477 ac_cv_prog_ac_ct_RANLIB="ranlib"
48478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48487 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48488 if test -n "$ac_ct_RANLIB"; then
48489 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48490 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48492 { echo "$as_me:$LINENO: result: no" >&5
48493 echo "${ECHO_T}no" >&6; }
48496 if test "x$ac_ct_RANLIB" = x; then
48499 case $cross_compiling:$ac_tool_warned in
48501 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48502 whose name does not start with the host triplet. If you think this
48503 configuration is useful to you, please write to autoconf@gnu.org." >&5
48504 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48505 whose name does not start with the host triplet. If you think this
48506 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48507 ac_tool_warned=yes ;;
48509 RANLIB=$ac_ct_RANLIB
48512 RANLIB="$ac_cv_prog_RANLIB"
48515 # Find a good install program. We prefer a C program (faster),
48516 # so one script is as good as another. But avoid the broken or
48517 # incompatible versions:
48518 # SysV /etc/install, /usr/sbin/install
48519 # SunOS /usr/etc/install
48520 # IRIX /sbin/install
48522 # AmigaOS /C/install, which installs bootblocks on floppy discs
48523 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48524 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48525 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48526 # OS/2's system install, which has a completely different semantic
48527 # ./install, which can be erroneously created by make from ./install.sh.
48528 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48529 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48530 if test -z "$INSTALL"; then
48531 if test "${ac_cv_path_install+set}" = set; then
48532 echo $ECHO_N "(cached) $ECHO_C" >&6
48534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48535 for as_dir in $PATH
48538 test -z "$as_dir" && as_dir=.
48539 # Account for people who put trailing slashes in PATH elements.
48541 ./ | .// | /cC/* | \
48542 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48543 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48546 # OSF1 and SCO ODT 3.0 have their own names for install.
48547 # Don't use installbsd from OSF since it installs stuff as root
48549 for ac_prog in ginstall scoinst install; do
48550 for ac_exec_ext in '' $ac_executable_extensions; do
48551 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48552 if test $ac_prog = install &&
48553 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48554 # AIX install. It has an incompatible calling convention.
48556 elif test $ac_prog = install &&
48557 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48558 # program-specific install script used by HP pwplus--don't use.
48561 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48574 if test "${ac_cv_path_install+set}" = set; then
48575 INSTALL=$ac_cv_path_install
48577 # As a last resort, use the slow shell script. Don't cache a
48578 # value for INSTALL within a source directory, because that will
48579 # break other packages using the cache if that directory is
48580 # removed, or if the value is a relative name.
48581 INSTALL=$ac_install_sh
48584 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48585 echo "${ECHO_T}$INSTALL" >&6; }
48587 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48588 # It thinks the first close brace ends the variable substitution.
48589 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48591 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48593 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48595 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48596 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48598 if test "$LN_S" = "ln -s"; then
48599 { echo "$as_me:$LINENO: result: yes" >&5
48600 echo "${ECHO_T}yes" >&6; }
48602 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48603 echo "${ECHO_T}no, using $LN_S" >&6; }
48607 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48608 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48609 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48610 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48611 echo $ECHO_N "(cached) $ECHO_C" >&6
48613 cat >conftest.make <<\_ACEOF
48616 @echo '@@@%%%=$(MAKE)=@@@%%%'
48618 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48619 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48620 *@@@%%%=?*=@@@%%%*)
48621 eval ac_cv_prog_make_${ac_make}_set=yes;;
48623 eval ac_cv_prog_make_${ac_make}_set=no;;
48625 rm -f conftest.make
48627 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48628 { echo "$as_me:$LINENO: result: yes" >&5
48629 echo "${ECHO_T}yes" >&6; }
48632 { echo "$as_me:$LINENO: result: no" >&5
48633 echo "${ECHO_T}no" >&6; }
48634 SET_MAKE="MAKE=${MAKE-make}"
48639 if test "x$SUNCXX" = "xyes"; then
48641 AROPTIONS="-xar -o"
48643 elif test "x$SGICC" = "xyes"; then
48648 if test -n "$ac_tool_prefix"; then
48649 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48650 set dummy ${ac_tool_prefix}ar; ac_word=$2
48651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48653 if test "${ac_cv_prog_AR+set}" = set; then
48654 echo $ECHO_N "(cached) $ECHO_C" >&6
48656 if test -n "$AR"; then
48657 ac_cv_prog_AR="$AR" # Let the user override the test.
48659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48660 for as_dir in $PATH
48663 test -z "$as_dir" && as_dir=.
48664 for ac_exec_ext in '' $ac_executable_extensions; do
48665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48666 ac_cv_prog_AR="${ac_tool_prefix}ar"
48667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48677 if test -n "$AR"; then
48678 { echo "$as_me:$LINENO: result: $AR" >&5
48679 echo "${ECHO_T}$AR" >&6; }
48681 { echo "$as_me:$LINENO: result: no" >&5
48682 echo "${ECHO_T}no" >&6; }
48687 if test -z "$ac_cv_prog_AR"; then
48689 # Extract the first word of "ar", so it can be a program name with args.
48690 set dummy ar; ac_word=$2
48691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48693 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48694 echo $ECHO_N "(cached) $ECHO_C" >&6
48696 if test -n "$ac_ct_AR"; then
48697 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48700 for as_dir in $PATH
48703 test -z "$as_dir" && as_dir=.
48704 for ac_exec_ext in '' $ac_executable_extensions; do
48705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48706 ac_cv_prog_ac_ct_AR="ar"
48707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48716 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48717 if test -n "$ac_ct_AR"; then
48718 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48719 echo "${ECHO_T}$ac_ct_AR" >&6; }
48721 { echo "$as_me:$LINENO: result: no" >&5
48722 echo "${ECHO_T}no" >&6; }
48725 if test "x$ac_ct_AR" = x; then
48728 case $cross_compiling:$ac_tool_warned in
48730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48731 whose name does not start with the host triplet. If you think this
48732 configuration is useful to you, please write to autoconf@gnu.org." >&5
48733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48734 whose name does not start with the host triplet. If you think this
48735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48736 ac_tool_warned=yes ;;
48741 AR="$ac_cv_prog_AR"
48748 if test -n "$ac_tool_prefix"; then
48749 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48750 set dummy ${ac_tool_prefix}strip; ac_word=$2
48751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48753 if test "${ac_cv_prog_STRIP+set}" = set; then
48754 echo $ECHO_N "(cached) $ECHO_C" >&6
48756 if test -n "$STRIP"; then
48757 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48760 for as_dir in $PATH
48763 test -z "$as_dir" && as_dir=.
48764 for ac_exec_ext in '' $ac_executable_extensions; do
48765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48766 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48776 STRIP=$ac_cv_prog_STRIP
48777 if test -n "$STRIP"; then
48778 { echo "$as_me:$LINENO: result: $STRIP" >&5
48779 echo "${ECHO_T}$STRIP" >&6; }
48781 { echo "$as_me:$LINENO: result: no" >&5
48782 echo "${ECHO_T}no" >&6; }
48787 if test -z "$ac_cv_prog_STRIP"; then
48789 # Extract the first word of "strip", so it can be a program name with args.
48790 set dummy strip; ac_word=$2
48791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48793 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48794 echo $ECHO_N "(cached) $ECHO_C" >&6
48796 if test -n "$ac_ct_STRIP"; then
48797 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48800 for as_dir in $PATH
48803 test -z "$as_dir" && as_dir=.
48804 for ac_exec_ext in '' $ac_executable_extensions; do
48805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48806 ac_cv_prog_ac_ct_STRIP="strip"
48807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48816 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48817 if test -n "$ac_ct_STRIP"; then
48818 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48819 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48821 { echo "$as_me:$LINENO: result: no" >&5
48822 echo "${ECHO_T}no" >&6; }
48825 if test "x$ac_ct_STRIP" = x; then
48828 case $cross_compiling:$ac_tool_warned in
48830 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48831 whose name does not start with the host triplet. If you think this
48832 configuration is useful to you, please write to autoconf@gnu.org." >&5
48833 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48834 whose name does not start with the host triplet. If you think this
48835 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48836 ac_tool_warned=yes ;;
48841 STRIP="$ac_cv_prog_STRIP"
48844 if test -n "$ac_tool_prefix"; then
48845 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48846 set dummy ${ac_tool_prefix}nm; ac_word=$2
48847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48849 if test "${ac_cv_prog_NM+set}" = set; then
48850 echo $ECHO_N "(cached) $ECHO_C" >&6
48852 if test -n "$NM"; then
48853 ac_cv_prog_NM="$NM" # Let the user override the test.
48855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48856 for as_dir in $PATH
48859 test -z "$as_dir" && as_dir=.
48860 for ac_exec_ext in '' $ac_executable_extensions; do
48861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48862 ac_cv_prog_NM="${ac_tool_prefix}nm"
48863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48873 if test -n "$NM"; then
48874 { echo "$as_me:$LINENO: result: $NM" >&5
48875 echo "${ECHO_T}$NM" >&6; }
48877 { echo "$as_me:$LINENO: result: no" >&5
48878 echo "${ECHO_T}no" >&6; }
48883 if test -z "$ac_cv_prog_NM"; then
48885 # Extract the first word of "nm", so it can be a program name with args.
48886 set dummy nm; ac_word=$2
48887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48889 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48890 echo $ECHO_N "(cached) $ECHO_C" >&6
48892 if test -n "$ac_ct_NM"; then
48893 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48896 for as_dir in $PATH
48899 test -z "$as_dir" && as_dir=.
48900 for ac_exec_ext in '' $ac_executable_extensions; do
48901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48902 ac_cv_prog_ac_ct_NM="nm"
48903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48912 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48913 if test -n "$ac_ct_NM"; then
48914 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48915 echo "${ECHO_T}$ac_ct_NM" >&6; }
48917 { echo "$as_me:$LINENO: result: no" >&5
48918 echo "${ECHO_T}no" >&6; }
48921 if test "x$ac_ct_NM" = x; then
48924 case $cross_compiling:$ac_tool_warned in
48926 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48927 whose name does not start with the host triplet. If you think this
48928 configuration is useful to you, please write to autoconf@gnu.org." >&5
48929 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48930 whose name does not start with the host triplet. If you think this
48931 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48932 ac_tool_warned=yes ;;
48937 NM="$ac_cv_prog_NM"
48941 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48942 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48943 INSTALL_TEST_DIR=acbftest$$
48944 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48945 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48946 rmdir $INSTALL_TEST_DIR
48947 INSTALL_DIR='$(INSTALL) -d'
48948 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48949 echo "${ECHO_T}$INSTALL -d" >&6; }
48951 INSTALL_DIR="mkdir -p"
48952 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48953 echo "${ECHO_T}mkdir -p" >&6; }
48958 case ${BAKEFILE_HOST} in
48959 *-*-cygwin* | *-*-mingw32* )
48960 LDFLAGS_GUI="-mwindows"
48966 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48967 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48968 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48969 echo $ECHO_N "(cached) $ECHO_C" >&6
48972 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48973 egrep -s GNU > /dev/null); then
48974 bakefile_cv_prog_makeisgnu="yes"
48976 bakefile_cv_prog_makeisgnu="no"
48980 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48981 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48983 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49000 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49001 case "${BAKEFILE_HOST}" in
49008 *-pc-os2_emx | *-pc-os2-emx )
49018 powerpc-apple-macos* )
49027 case "$BAKEFILE_FORCE_PLATFORM" in
49048 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49049 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49050 { (exit 1); exit 1; }; }
49065 # Check whether --enable-omf was given.
49066 if test "${enable_omf+set}" = set; then
49067 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49071 case "${BAKEFILE_HOST}" in
49073 if test "x$GCC" = "xyes"; then
49074 CFLAGS="$CFLAGS -fno-common"
49075 CXXFLAGS="$CXXFLAGS -fno-common"
49077 if test "x$XLCC" = "xyes"; then
49078 CFLAGS="$CFLAGS -qnocommon"
49079 CXXFLAGS="$CXXFLAGS -qnocommon"
49083 *-pc-os2_emx | *-pc-os2-emx )
49084 if test "x$bk_os2_use_omf" = "xyes" ; then
49087 LDFLAGS="-Zomf $LDFLAGS"
49088 CFLAGS="-Zomf $CFLAGS"
49089 CXXFLAGS="-Zomf $CXXFLAGS"
49097 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49103 SO_SUFFIX_MODULE="so"
49108 DLLPREFIX_MODULE=""
49112 case "${BAKEFILE_HOST}" in
49117 SO_SUFFIX_MODULE="sl"
49121 SO_SUFFIX_MODULE="a"
49125 SO_SUFFIX_MODULE="dll"
49126 DLLIMP_SUFFIX="dll.a"
49133 SO_SUFFIX_MODULE="dll"
49134 DLLIMP_SUFFIX="dll.a"
49144 *-pc-os2_emx | *-pc-os2-emx )
49146 SO_SUFFIX_MODULE="dll"
49147 DLLIMP_SUFFIX=$OS2_LIBEXT
49151 LIBEXT=".$OS2_LIBEXT"
49156 SO_SUFFIX_MODULE="bundle"
49160 if test "x$DLLIMP_SUFFIX" = "x" ; then
49161 DLLIMP_SUFFIX="$SO_SUFFIX"
49176 if test "x$GCC" = "xyes"; then
49180 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49181 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49184 case "${BAKEFILE_HOST}" in
49186 if test "x$GCC" != "xyes"; then
49187 LDFLAGS="$LDFLAGS -L/usr/lib"
49189 SHARED_LD_CC="${CC} -b -o"
49190 SHARED_LD_CXX="${CXX} -b -o"
49196 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49198 elif test "x$SUNCXX" = "xyes"; then
49199 SHARED_LD_CC="${CC} -G -o"
49200 SHARED_LD_CXX="${CXX} -G -o"
49206 if test "x$SUNCXX" = xyes ; then
49207 SHARED_LD_CC="${CC} -G -o"
49208 SHARED_LD_CXX="${CXX} -G -o"
49216 cat <<EOF >shared-ld-sh
49218 #-----------------------------------------------------------------------------
49219 #-- Name: distrib/mac/shared-ld-sh
49220 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49221 #-- Author: Gilles Depeyrot
49222 #-- Copyright: (c) 2002 Gilles Depeyrot
49223 #-- Licence: any use permitted
49224 #-----------------------------------------------------------------------------
49229 linking_flag="-dynamiclib"
49230 ldargs="-r -keep_private_externs -nostdlib"
49232 if test "x${D}CXX" = "x"; then
49236 while test ${D}# -gt 0; do
49243 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49244 # collect these options and values
49245 args="${D}{args} ${D}1 ${D}2"
49250 # collect these options and values
49251 ldargs="${D}{ldargs} ${D}1 ${D}2"
49256 # collect these load args
49257 ldargs="${D}{ldargs} ${D}1"
49260 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49261 # collect these options
49262 args="${D}{args} ${D}1"
49265 -dynamiclib|-bundle)
49266 linking_flag="${D}1"
49270 echo "shared-ld: unhandled option '${D}1'"
49274 *.o | *.a | *.dylib)
49275 # collect object files
49276 objects="${D}{objects} ${D}1"
49280 echo "shared-ld: unhandled argument '${D}1'"
49291 # Link one module containing all the others
49293 if test ${D}{verbose} = 1; then
49294 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49296 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49300 # Link the shared library from the single module created, but only if the
49301 # previous command didn't fail:
49303 if test ${D}{status} = 0; then
49304 if test ${D}{verbose} = 1; then
49305 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49307 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49312 # Remove intermediate module
49314 rm -f master.${D}${D}.o
49319 chmod +x shared-ld-sh
49321 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49322 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49325 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49326 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49327 if test "${bakefile_cv_gcc31+set}" = set; then
49328 echo $ECHO_N "(cached) $ECHO_C" >&6
49331 cat >conftest.$ac_ext <<_ACEOF
49334 cat confdefs.h >>conftest.$ac_ext
49335 cat >>conftest.$ac_ext <<_ACEOF
49336 /* end confdefs.h. */
49342 #if (__GNUC__ < 3) || \
49343 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49351 rm -f conftest.$ac_objext
49352 if { (ac_try="$ac_compile"
49353 case "(($ac_try" in
49354 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49355 *) ac_try_echo
=$ac_try;;
49357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49358 (eval "$ac_compile") 2>conftest.er1
49360 grep -v '^ *+' conftest.er1
>conftest.err
49362 cat conftest.err
>&5
49363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49364 (exit $ac_status); } && {
49365 test -z "$ac_c_werror_flag" ||
49366 test ! -s conftest.err
49367 } && test -s conftest.
$ac_objext; then
49369 bakefile_cv_gcc31
=yes
49372 echo "$as_me: failed program was:" >&5
49373 sed 's/^/| /' conftest.
$ac_ext >&5
49376 bakefile_cv_gcc31
=no
49381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49384 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49385 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49386 if test "$bakefile_cv_gcc31" = "no"; then
49387 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49388 SHARED_LD_CXX
="$SHARED_LD_CC"
49390 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49391 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49394 if test "x$GCC" == "xyes"; then
49395 PIC_FLAG
="-dynamic -fPIC"
49397 if test "x$XLCC" = "xyes"; then
49398 PIC_FLAG
="-dynamic -DPIC"
49403 if test "x$GCC" = "xyes"; then
49406 case "${BAKEFILE_HOST}" in
49408 LD_EXPFULL
="-Wl,-bexpfull"
49412 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49413 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49415 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49416 set dummy makeC
++SharedLib
; ac_word
=$2
49417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49419 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49420 echo $ECHO_N "(cached) $ECHO_C" >&6
49422 if test -n "$AIX_CXX_LD"; then
49423 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49426 for as_dir
in $PATH
49429 test -z "$as_dir" && as_dir
=.
49430 for ac_exec_ext
in '' $ac_executable_extensions; do
49431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49432 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49440 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49443 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49444 if test -n "$AIX_CXX_LD"; then
49445 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49446 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49448 { echo "$as_me:$LINENO: result: no" >&5
49449 echo "${ECHO_T}no" >&6; }
49453 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49454 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49459 SHARED_LD_CC
="${LD} -nostart -o"
49460 SHARED_LD_CXX
="${LD} -nostart -o"
49464 if test "x$GCC" != "xyes"; then
49469 *-*-cygwin* | *-*-mingw32* )
49471 SHARED_LD_CC
="\$(CC) -shared -o"
49472 SHARED_LD_CXX
="\$(CXX) -shared -o"
49476 *-pc-os2_emx | *-pc-os2-emx )
49477 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49478 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49482 cat <<EOF >dllar.sh
49485 # dllar - a tool to build both a .dll and an .a file
49486 # from a set of object (.o) files for EMX/OS2.
49488 # Written by Andrew Zabolotny, bit@freya.etu.ru
49489 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49491 # This script will accept a set of files on the command line.
49492 # All the public symbols from the .o files will be exported into
49493 # a .DEF file, then linker will be run (through gcc) against them to
49494 # build a shared library consisting of all given .o files. All libraries
49495 # (.a) will be first decompressed into component .o files then act as
49496 # described above. You can optionally give a description (-d "description")
49497 # which will be put into .DLL. To see the list of accepted options (as well
49498 # as command-line format) simply run this program without options. The .DLL
49499 # is built to be imported by name (there is no guarantee that new versions
49500 # of the library you build will have same ordinals for same symbols).
49502 # dllar is free software; you can redistribute it and/or modify
49503 # it under the terms of the GNU General Public License as published by
49504 # the Free Software Foundation; either version 2, or (at your option)
49505 # any later version.
49507 # dllar is distributed in the hope that it will be useful,
49508 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49509 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49510 # GNU General Public License for more details.
49512 # You should have received a copy of the GNU General Public License
49513 # along with dllar; see the file COPYING. If not, write to the Free
49514 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49517 # To successfuly run this program you will need:
49518 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49519 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49521 # (used to build the .dll)
49523 # (used to create .def file from .o files)
49525 # (used to create .a file from .def file)
49526 # - GNU text utilites (cat, sort, uniq)
49527 # used to process emxexp output
49528 # - GNU file utilities (mv, rm)
49530 # - lxlite (optional, see flag below)
49531 # (used for general .dll cleanup)
49538 # basnam, variant of basename, which does _not_ remove the path, _iff_
49539 # second argument (suffix to remove) is given
49543 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49546 echo ${D}1 | sed 's/'${D}2'${D}//'
49549 echo "error in basnam ${D}*"
49555 # Cleanup temporary files and output
49558 for i in ${D}inputFiles ; do
49561 rm -rf \`basnam ${D}i !\`
49568 # Kill result in case of failure as there is just to many stupid make/nmake
49569 # things out there which doesn't do this.
49570 if [ ${D}# -eq 0 ]; then
49571 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49575 # Print usage and exit script with rc=1.
49577 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49578 echo ' [-name-mangler-script script.sh]'
49579 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49580 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49581 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49582 echo ' [*.o] [*.a]'
49583 echo '*> "output_file" should have no extension.'
49584 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49585 echo ' The import library name is derived from this and is set to "name".a,'
49586 echo ' unless overridden by -import'
49587 echo '*> "importlib_name" should have no extension.'
49588 echo ' If it has the .o, or .a extension, it is automatically removed.'
49589 echo ' This name is used as the import library name and may be longer and'
49590 echo ' more descriptive than the DLL name which has to follow the old '
49591 echo ' 8.3 convention of FAT.'
49592 echo '*> "script.sh may be given to override the output_file name by a'
49593 echo ' different name. It is mainly useful if the regular make process'
49594 echo ' of some package does not take into account OS/2 restriction of'
49595 echo ' DLL name lengths. It takes the importlib name as input and is'
49596 echo ' supposed to procude a shorter name as output. The script should'
49597 echo ' expect to get importlib_name without extension and should produce'
49598 echo ' a (max.) 8 letter name without extension.'
49599 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49600 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49601 echo ' These flags will be put at the start of GCC command line.'
49602 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49603 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49604 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49605 echo ' If the last character of a symbol is "*", all symbols beginning'
49606 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49607 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49608 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49609 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49610 echo ' C runtime DLLs.'
49611 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49612 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49613 echo ' unchanged to GCC at the end of command line.'
49614 echo '*> If you create a DLL from a library and you do not specify -o,'
49615 echo ' the basename for DLL and import library will be set to library name,'
49616 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49617 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49618 echo ' library will be renamed into gcc_s.a.'
49621 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49622 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49627 # Execute a command.
49628 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49629 # @Uses Whatever CleanUp() uses.
49635 if [ ${D}rcCmd -ne 0 ]; then
49636 echo "command failed, exit code="${D}rcCmd
49651 CFLAGS="-s -Zcrtdll"
49653 EXPORT_BY_ORDINALS=0
49658 case ${D}curDirS in
49662 curDirS=${D}{curDirS}"/"
49665 # Parse commandline
49668 while [ ${D}1 ]; do
49671 EXPORT_BY_ORDINALS=1;
49681 -name-mangler-script)
49702 exclude_symbols=${D}{exclude_symbols}${D}1" "
49706 library_flags=${D}{library_flags}${D}1" "
49725 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49728 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49729 if [ ${D}omfLinking -eq 1 ]; then
49730 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49732 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49737 if [ ${D}libsToLink -ne 0 ]; then
49738 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49740 for file in ${D}1 ; do
49741 if [ -f ${D}file ]; then
49742 inputFiles="${D}{inputFiles} ${D}file"
49746 if [ ${D}found -eq 0 ]; then
49747 echo "ERROR: No file(s) found: "${D}1
49754 done # iterate cmdline words
49757 if [ -z "${D}inputFiles" ]; then
49758 echo "dllar: no input files"
49762 # Now extract all .o files from .a files
49764 for file in ${D}inputFiles ; do
49775 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49780 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49782 if [ ${D}? -ne 0 ]; then
49783 echo "Failed to create subdirectory ./${D}dirname"
49787 # Append '!' to indicate archive
49788 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49789 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49792 for subfile in ${D}dirname/*.o* ; do
49793 if [ -f ${D}subfile ]; then
49795 if [ -s ${D}subfile ]; then
49796 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49797 newInputFiles="${D}newInputFiles ${D}subfile"
49801 if [ ${D}found -eq 0 ]; then
49802 echo "WARNING: there are no files in archive \\'${D}file\\'"
49806 newInputFiles="${D}{newInputFiles} ${D}file"
49810 inputFiles="${D}newInputFiles"
49812 # Output filename(s).
49814 if [ -z ${D}outFile ]; then
49816 set outFile ${D}inputFiles; outFile=${D}2
49819 # If it is an archive, remove the '!' and the '_%' suffixes
49820 case ${D}outFile in
49822 outFile=\`basnam ${D}outFile _%!\`
49827 case ${D}outFile in
49829 outFile=\`basnam ${D}outFile .dll\`
49832 outFile=\`basnam ${D}outFile .DLL\`
49835 outFile=\`basnam ${D}outFile .o\`
49838 outFile=\`basnam ${D}outFile .obj\`
49841 outFile=\`basnam ${D}outFile .a\`
49844 outFile=\`basnam ${D}outFile .lib\`
49849 case ${D}outimpFile in
49851 outimpFile=\`basnam ${D}outimpFile .a\`
49854 outimpFile=\`basnam ${D}outimpFile .lib\`
49859 if [ -z ${D}outimpFile ]; then
49860 outimpFile=${D}outFile
49862 defFile="${D}{outFile}.def"
49863 arcFile="${D}{outimpFile}.a"
49864 arcFile2="${D}{outimpFile}.lib"
49866 #create ${D}dllFile as something matching 8.3 restrictions,
49867 if [ -z ${D}renameScript ] ; then
49868 dllFile="${D}outFile"
49870 dllFile=\`${D}renameScript ${D}outimpFile\`
49873 if [ ${D}do_backup -ne 0 ] ; then
49874 if [ -f ${D}arcFile ] ; then
49875 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49877 if [ -f ${D}arcFile2 ] ; then
49878 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49882 # Extract public symbols from all the object files.
49883 tmpdefFile=${D}{defFile}_%
49884 rm -f ${D}tmpdefFile
49885 for file in ${D}inputFiles ; do
49890 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49895 # Create the def file.
49897 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49898 dllFile="${D}{dllFile}.dll"
49899 if [ ! -z ${D}description ]; then
49900 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49902 echo "EXPORTS" >> ${D}defFile
49904 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49905 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49907 # Checks if the export is ok or not.
49908 for word in ${D}exclude_symbols; do
49909 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49910 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49914 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49915 sed "=" < ${D}tmpdefFile | \\
49919 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49921 ' > ${D}{tmpdefFile}%
49922 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49924 rm -f ${D}{tmpdefFile}%
49926 cat ${D}tmpdefFile >> ${D}defFile
49927 rm -f ${D}tmpdefFile
49929 # Do linking, create implib, and apply lxlite.
49931 for file in ${D}inputFiles ; do
49936 gccCmdl="${D}gccCmdl ${D}file"
49940 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49941 touch "${D}{outFile}.dll"
49943 doCommand "emximp -o ${D}arcFile ${D}defFile"
49944 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49946 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49949 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49951 doCommand "emxomf -s -l ${D}arcFile"
49961 powerpc
-apple-macos* | \
49962 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49972 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49973 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49974 { (exit 1); exit 1; }; }
49977 if test "x$PIC_FLAG" != "x" ; then
49978 PIC_FLAG
="$PIC_FLAG -DPIC"
49981 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49982 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49984 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49985 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
50000 USE_SOTWOSYMLINKS
=0
50004 case "${BAKEFILE_HOST}" in
50005 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50006 *-*-k*bsd
*-gnu | *-*-mirbsd* )
50007 if test "x$SUNCXX" = "xyes"; then
50010 SONAME_FLAG
="-Wl,-soname,"
50014 USE_SOTWOSYMLINKS
=1
50026 USE_SOTWOSYMLINKS
=1
50044 # Check whether --enable-dependency-tracking was given.
50045 if test "${enable_dependency_tracking+set}" = set; then
50046 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
50050 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50051 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50054 if test "x$bk_use_trackdeps" = "xno" ; then
50056 { echo "$as_me:$LINENO: result: disabled" >&5
50057 echo "${ECHO_T}disabled" >&6; }
50061 if test "x$GCC" = "xyes"; then
50063 case "${BAKEFILE_HOST}" in
50065 DEPSFLAG
="-no-cpp-precomp -MMD"
50071 { echo "$as_me:$LINENO: result: gcc" >&5
50072 echo "${ECHO_T}gcc" >&6; }
50073 elif test "x$MWCC" = "xyes"; then
50076 { echo "$as_me:$LINENO: result: mwcc" >&5
50077 echo "${ECHO_T}mwcc" >&6; }
50078 elif test "x$SUNCC" = "xyes"; then
50081 { echo "$as_me:$LINENO: result: Sun cc" >&5
50082 echo "${ECHO_T}Sun cc" >&6; }
50083 elif test "x$SGICC" = "xyes"; then
50086 { echo "$as_me:$LINENO: result: SGI cc" >&5
50087 echo "${ECHO_T}SGI cc" >&6; }
50088 elif test "x$HPCC" = "xyes"; then
50091 { echo "$as_me:$LINENO: result: HP cc" >&5
50092 echo "${ECHO_T}HP cc" >&6; }
50093 elif test "x$COMPAQCC" = "xyes"; then
50096 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50097 echo "${ECHO_T}Compaq cc" >&6; }
50100 { echo "$as_me:$LINENO: result: none" >&5
50101 echo "${ECHO_T}none" >&6; }
50104 if test $DEPS_TRACKING = 1 ; then
50110 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50111 # script. It is used to track C/C++ files dependencies in portable way.
50113 # Permission is given to use this file in any way.
50115 DEPSMODE=${DEPSMODE}
50116 DEPSFLAG="${DEPSFLAG}"
50119 if test ${D}DEPSMODE = gcc ; then
50120 ${D}* ${D}{DEPSFLAG}
50123 # determine location of created files:
50124 while test ${D}# -gt 0; do
50138 objfilebase=\`basename ${D}objfile\`
50139 builddir=\`dirname ${D}objfile\`
50140 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50141 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50142 depsdir=${D}builddir/${D}DEPSDIRBASE
50143 mkdir -p ${D}depsdir
50145 # if the compiler failed, we're done:
50146 if test ${D}{status} != 0 ; then
50151 # move created file to the location we want it in:
50152 if test -f ${D}depfile ; then
50153 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50156 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50157 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50158 if test ! -f ${D}depfile ; then
50159 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50160 depfile="${D}objfile.d"
50162 if test -f ${D}depfile ; then
50163 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50169 elif test ${D}DEPSMODE = mwcc ; then
50170 ${D}* || exit ${D}?
50171 # Run mwcc again with -MM and redirect into the dep file we want
50172 # NOTE: We can't use shift here because we need ${D}* to be valid
50174 for arg in ${D}* ; do
50175 if test "${D}prevarg" = "-o"; then
50189 objfilebase=\`basename ${D}objfile\`
50190 builddir=\`dirname ${D}objfile\`
50191 depsdir=${D}builddir/${D}DEPSDIRBASE
50192 mkdir -p ${D}depsdir
50194 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50197 elif test ${D}DEPSMODE = unixcc; then
50198 ${D}* || exit ${D}?
50199 # Run compiler again with deps flag and redirect into the dep file.
50200 # It doesn't work if the '-o FILE' option is used, but without it the
50201 # dependency file will contain the wrong name for the object. So it is
50202 # removed from the command line, and the dep file is fixed with sed.
50204 while test ${D}# -gt 0; do
50211 eval arg${D}#=\\${D}1
50212 cmd="${D}cmd \\${D}arg${D}#"
50218 objfilebase=\`basename ${D}objfile\`
50219 builddir=\`dirname ${D}objfile\`
50220 depsdir=${D}builddir/${D}DEPSDIRBASE
50221 mkdir -p ${D}depsdir
50223 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50233 BK_DEPS
="`pwd`/bk-deps"
50241 case ${BAKEFILE_HOST} in
50242 *-*-cygwin* | *-*-mingw32* )
50243 if test -n "$ac_tool_prefix"; then
50244 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50245 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
50246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50248 if test "${ac_cv_prog_WINDRES+set}" = set; then
50249 echo $ECHO_N "(cached) $ECHO_C" >&6
50251 if test -n "$WINDRES"; then
50252 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
50254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50255 for as_dir
in $PATH
50258 test -z "$as_dir" && as_dir
=.
50259 for ac_exec_ext
in '' $ac_executable_extensions; do
50260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50261 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
50262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50271 WINDRES
=$ac_cv_prog_WINDRES
50272 if test -n "$WINDRES"; then
50273 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50274 echo "${ECHO_T}$WINDRES" >&6; }
50276 { echo "$as_me:$LINENO: result: no" >&5
50277 echo "${ECHO_T}no" >&6; }
50282 if test -z "$ac_cv_prog_WINDRES"; then
50283 ac_ct_WINDRES
=$WINDRES
50284 # Extract the first word of "windres", so it can be a program name with args.
50285 set dummy windres
; ac_word
=$2
50286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50288 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50289 echo $ECHO_N "(cached) $ECHO_C" >&6
50291 if test -n "$ac_ct_WINDRES"; then
50292 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50295 for as_dir
in $PATH
50298 test -z "$as_dir" && as_dir
=.
50299 for ac_exec_ext
in '' $ac_executable_extensions; do
50300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50301 ac_cv_prog_ac_ct_WINDRES
="windres"
50302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50311 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50312 if test -n "$ac_ct_WINDRES"; then
50313 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50314 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50316 { echo "$as_me:$LINENO: result: no" >&5
50317 echo "${ECHO_T}no" >&6; }
50320 if test "x$ac_ct_WINDRES" = x
; then
50323 case $cross_compiling:$ac_tool_warned in
50325 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50326 whose name does not start with the host triplet. If you think this
50327 configuration is useful to you, please write to autoconf@gnu.org." >&5
50328 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50329 whose name does not start with the host triplet. If you think this
50330 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50331 ac_tool_warned
=yes ;;
50333 WINDRES
=$ac_ct_WINDRES
50336 WINDRES
="$ac_cv_prog_WINDRES"
50341 *-*-darwin* | powerpc
-apple-macos* )
50342 # Extract the first word of "Rez", so it can be a program name with args.
50343 set dummy Rez
; ac_word
=$2
50344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50346 if test "${ac_cv_prog_REZ+set}" = set; then
50347 echo $ECHO_N "(cached) $ECHO_C" >&6
50349 if test -n "$REZ"; then
50350 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
50352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50353 for as_dir
in $PATH
50356 test -z "$as_dir" && as_dir
=.
50357 for ac_exec_ext
in '' $ac_executable_extensions; do
50358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50359 ac_cv_prog_REZ
="Rez"
50360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50367 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50370 REZ
=$ac_cv_prog_REZ
50371 if test -n "$REZ"; then
50372 { echo "$as_me:$LINENO: result: $REZ" >&5
50373 echo "${ECHO_T}$REZ" >&6; }
50375 { echo "$as_me:$LINENO: result: no" >&5
50376 echo "${ECHO_T}no" >&6; }
50380 # Extract the first word of "SetFile", so it can be a program name with args.
50381 set dummy SetFile
; ac_word
=$2
50382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50384 if test "${ac_cv_prog_SETFILE+set}" = set; then
50385 echo $ECHO_N "(cached) $ECHO_C" >&6
50387 if test -n "$SETFILE"; then
50388 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50391 for as_dir
in $PATH
50394 test -z "$as_dir" && as_dir
=.
50395 for ac_exec_ext
in '' $ac_executable_extensions; do
50396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50397 ac_cv_prog_SETFILE
="SetFile"
50398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50405 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50408 SETFILE
=$ac_cv_prog_SETFILE
50409 if test -n "$SETFILE"; then
50410 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50411 echo "${ECHO_T}$SETFILE" >&6; }
50413 { echo "$as_me:$LINENO: result: no" >&5
50414 echo "${ECHO_T}no" >&6; }
50429 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.8"
50432 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.8"
50436 # Check whether --enable-precomp-headers was given.
50437 if test "${enable_precomp_headers+set}" = set; then
50438 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
50447 case ${BAKEFILE_HOST} in
50453 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50454 if test "x$GCC" = "xyes"; then
50455 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50456 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50457 cat >conftest.
$ac_ext <<_ACEOF
50460 cat confdefs.h
>>conftest.
$ac_ext
50461 cat >>conftest.
$ac_ext <<_ACEOF
50462 /* end confdefs.h. */
50468 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50469 There is no PCH support
50472 There is no PCH support
50474 #if (__GNUC__ == 3) && \
50475 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50476 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50477 ( defined(__INTEL_COMPILER) )
50478 There is no PCH support
50485 rm -f conftest.
$ac_objext
50486 if { (ac_try
="$ac_compile"
50487 case "(($ac_try" in
50488 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50489 *) ac_try_echo=$ac_try;;
50491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50492 (eval "$ac_compile") 2>conftest.er1
50494 grep -v '^ *+' conftest.er1 >conftest.err
50496 cat conftest.err >&5
50497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50498 (exit $ac_status); } && {
50499 test -z "$ac_c_werror_flag" ||
50500 test ! -s conftest.err
50501 } && test -s conftest.$ac_objext; then
50503 { echo "$as_me:$LINENO: result: yes" >&5
50504 echo "${ECHO_T}yes" >&6; }
50508 echo "$as_me: failed program was:" >&5
50509 sed 's/^/| /' conftest.$ac_ext >&5
50512 if test "$INTELCXX8" = "yes"; then
50513 { echo "$as_me:$LINENO: result: yes" >&5
50514 echo "${ECHO_T}yes" >&6; }
50516 if test "$INTELCXX10" = "yes"; then
50517 ICC_PCH_CREATE_SWITCH="-pch-create"
50518 ICC_PCH_USE_SWITCH="-pch-use"
50520 ICC_PCH_CREATE_SWITCH="-create-pch"
50521 ICC_PCH_USE_SWITCH="-use-pch"
50524 { echo "$as_me:$LINENO: result: no" >&5
50525 echo "${ECHO_T}no" >&6; }
50530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50531 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50535 cat <<EOF >bk-make-pch
50538 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50539 # script. It is used to generated precompiled headers.
50541 # Permission is given to use this file in any way.
50548 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
50553 while test ${D}{#} -gt 0; do
50557 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
50558 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50559 headerfile="${D}{incdir}/${D}{header}"
50562 -use-pch|-use_pch|-pch-use )
50567 if test ${D}add_to_cmdline = 1 ; then
50568 compiler="${D}{compiler} ${D}{1}"
50573 if test "x${D}{headerfile}" = "x" ; then
50574 echo "error: can't find header ${D}{header} in include paths" >&2
50576 if test -f ${D}{outfile} ; then
50577 rm -f ${D}{outfile}
50579 mkdir -p \`dirname ${D}{outfile
}\
`
50581 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
50582 mkdir -p ${D}{builddir}/.deps
50583 if test "x${GCC_PCH}" = "x1" ; then
50584 # can do this because gcc is >= 3.4:
50585 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50586 elif test "x${ICC_PCH}" = "x1" ; then
50587 filename=pch_gen-${D}${D}
50588 file=${D}{filename}.c
50589 dfile=${D}{filename}.d
50590 cat > ${D}file <<EOT
50591 #include "${D}header"
50593 # using -MF icc complains about differing command lines in creation/use
50594 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50595 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50596 rm -f ${D}file ${D}dfile ${D}{filename}.o
50602 chmod +x bk-make-pch
50603 BK_MAKE_PCH="`pwd`/bk-make-pch"
50614 COND_BUILD_DEBUG="#"
50615 if test "x$BUILD" = "xdebug" ; then
50616 COND_BUILD_DEBUG=""
50619 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50620 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50621 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50624 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50625 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50626 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50629 COND_BUILD_DEBUG_UNICODE_0="#"
50630 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50631 COND_BUILD_DEBUG_UNICODE_0=""
50634 COND_BUILD_DEBUG_UNICODE_1="#"
50635 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50636 COND_BUILD_DEBUG_UNICODE_1=""
50639 COND_BUILD_RELEASE="#"
50640 if test "x$BUILD" = "xrelease" ; then
50641 COND_BUILD_RELEASE=""
50644 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50645 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50646 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50649 COND_BUILD_RELEASE_UNICODE_0="#"
50650 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50651 COND_BUILD_RELEASE_UNICODE_0=""
50654 COND_BUILD_RELEASE_UNICODE_1="#"
50655 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50656 COND_BUILD_RELEASE_UNICODE_1=""
50659 COND_BUILD_debug="#"
50660 if test "x$BUILD" = "xdebug" ; then
50661 COND_BUILD_debug=""
50664 COND_BUILD_debug_DEBUG_FLAG_default="#"
50665 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50666 COND_BUILD_debug_DEBUG_FLAG_default=""
50669 COND_BUILD_debug_DEBUG_INFO_default="#"
50670 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50671 COND_BUILD_debug_DEBUG_INFO_default=""
50674 COND_BUILD_debug_UNICODE_0="#"
50675 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50676 COND_BUILD_debug_UNICODE_0=""
50679 COND_BUILD_debug_UNICODE_1="#"
50680 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50681 COND_BUILD_debug_UNICODE_1=""
50684 COND_BUILD_release="#"
50685 if test "x$BUILD" = "xrelease" ; then
50686 COND_BUILD_release=""
50689 COND_BUILD_release_DEBUG_INFO_default="#"
50690 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50691 COND_BUILD_release_DEBUG_INFO_default=""
50694 COND_BUILD_release_UNICODE_0="#"
50695 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50696 COND_BUILD_release_UNICODE_0=""
50699 COND_BUILD_release_UNICODE_1="#"
50700 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50701 COND_BUILD_release_UNICODE_1=""
50704 COND_DEBUG_FLAG_0="#"
50705 if test "x$DEBUG_FLAG" = "x0" ; then
50706 COND_DEBUG_FLAG_0=""
50709 COND_DEBUG_FLAG_1="#"
50710 if test "x$DEBUG_FLAG" = "x1" ; then
50711 COND_DEBUG_FLAG_1=""
50714 COND_DEBUG_INFO_0="#"
50715 if test "x$DEBUG_INFO" = "x0" ; then
50716 COND_DEBUG_INFO_0=""
50719 COND_DEBUG_INFO_1="#"
50720 if test "x$DEBUG_INFO" = "x1" ; then
50721 COND_DEBUG_INFO_1=""
50724 COND_DEPS_TRACKING_0="#"
50725 if test "x$DEPS_TRACKING" = "x0" ; then
50726 COND_DEPS_TRACKING_0=""
50729 COND_DEPS_TRACKING_1="#"
50730 if test "x$DEPS_TRACKING" = "x1" ; then
50731 COND_DEPS_TRACKING_1=""
50735 if test "x$GCC_PCH" = "x1" ; then
50740 if test "x$ICC_PCH" = "x1" ; then
50744 COND_MONOLITHIC_0="#"
50745 if test "x$MONOLITHIC" = "x0" ; then
50746 COND_MONOLITHIC_0=""
50749 COND_MONOLITHIC_0_SHARED_0="#"
50750 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50751 COND_MONOLITHIC_0_SHARED_0=""
50754 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50755 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50756 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50759 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50760 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50761 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50764 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50765 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50766 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50769 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50770 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50774 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50775 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50776 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50779 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50781 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50784 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50786 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50789 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50791 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50794 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50796 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50799 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50801 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50804 COND_MONOLITHIC_0_SHARED_1="#"
50805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50806 COND_MONOLITHIC_0_SHARED_1=""
50809 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50811 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50814 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50816 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50819 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50834 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50836 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50839 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50841 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50844 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50846 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50849 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50851 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50854 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50856 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50859 COND_MONOLITHIC_0_USE_AUI_1="#"
50860 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50861 COND_MONOLITHIC_0_USE_AUI_1=""
50864 COND_MONOLITHIC_0_USE_GUI_1="#"
50865 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50866 COND_MONOLITHIC_0_USE_GUI_1=""
50869 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50870 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50871 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50874 COND_MONOLITHIC_0_USE_HTML_1="#"
50875 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50876 COND_MONOLITHIC_0_USE_HTML_1=""
50879 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50880 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50881 COND_MONOLITHIC_0_USE_MEDIA_1=""
50884 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50885 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50886 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50889 COND_MONOLITHIC_0_USE_QA_1="#"
50890 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50891 COND_MONOLITHIC_0_USE_QA_1=""
50894 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50895 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50896 COND_MONOLITHIC_0_USE_RIBBON_1=""
50899 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50900 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50901 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50904 COND_MONOLITHIC_0_USE_STC_1="#"
50905 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50906 COND_MONOLITHIC_0_USE_STC_1=""
50909 COND_MONOLITHIC_0_USE_XRC_1="#"
50910 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50911 COND_MONOLITHIC_0_USE_XRC_1=""
50914 COND_MONOLITHIC_1="#"
50915 if test "x$MONOLITHIC" = "x1" ; then
50916 COND_MONOLITHIC_1=""
50919 COND_MONOLITHIC_1_SHARED_0="#"
50920 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50921 COND_MONOLITHIC_1_SHARED_0=""
50924 COND_MONOLITHIC_1_SHARED_1="#"
50925 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50926 COND_MONOLITHIC_1_SHARED_1=""
50929 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50930 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50931 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50934 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50935 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50936 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50939 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50940 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50941 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50944 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50945 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50946 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50949 COND_PLATFORM_MACOSX_1="#"
50950 if test "x$PLATFORM_MACOSX" = "x1" ; then
50951 COND_PLATFORM_MACOSX_1=""
50954 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50955 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50956 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50959 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50960 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50961 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50964 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50965 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50966 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50969 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50970 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50971 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50974 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50975 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50976 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50979 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50980 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50981 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50984 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50986 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50989 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50990 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50991 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50994 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50995 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50996 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50999 COND_PLATFORM_MACOS_1="#"
51000 if test "x$PLATFORM_MACOS" = "x1" ; then
51001 COND_PLATFORM_MACOS_1=""
51004 COND_PLATFORM_MAC_0="#"
51005 if test "x$PLATFORM_MAC" = "x0" ; then
51006 COND_PLATFORM_MAC_0=""
51009 COND_PLATFORM_MAC_1="#"
51010 if test "x$PLATFORM_MAC" = "x1" ; then
51011 COND_PLATFORM_MAC_1=""
51014 COND_PLATFORM_MSDOS_0="#"
51015 if test "x$PLATFORM_MSDOS" = "x0" ; then
51016 COND_PLATFORM_MSDOS_0=""
51019 COND_PLATFORM_MSDOS_1="#"
51020 if test "x$PLATFORM_MSDOS" = "x1" ; then
51021 COND_PLATFORM_MSDOS_1=""
51024 COND_PLATFORM_OS2_1="#"
51025 if test "x$PLATFORM_OS2" = "x1" ; then
51026 COND_PLATFORM_OS2_1=""
51029 COND_PLATFORM_UNIX_0="#"
51030 if test "x$PLATFORM_UNIX" = "x0" ; then
51031 COND_PLATFORM_UNIX_0=""
51034 COND_PLATFORM_UNIX_1="#"
51035 if test "x$PLATFORM_UNIX" = "x1" ; then
51036 COND_PLATFORM_UNIX_1=""
51039 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51040 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51041 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51044 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51045 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51046 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51049 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51050 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51051 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51054 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51055 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51056 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51059 COND_PLATFORM_WIN32_0="#"
51060 if test "x$PLATFORM_WIN32" = "x0" ; then
51061 COND_PLATFORM_WIN32_0=""
51064 COND_PLATFORM_WIN32_1="#"
51065 if test "x$PLATFORM_WIN32" = "x1" ; then
51066 COND_PLATFORM_WIN32_1=""
51069 COND_PLATFORM_WIN32_1_SHARED_0="#"
51070 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51071 COND_PLATFORM_WIN32_1_SHARED_0=""
51075 if test "x$SHARED" = "x0" ; then
51079 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51080 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51081 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51084 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51085 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51086 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51089 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51090 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51091 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51094 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51095 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51096 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51099 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51100 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51101 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51104 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51105 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51106 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51109 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51110 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51111 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51114 COND_SHARED_0_USE_STC_1="#"
51115 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51116 COND_SHARED_0_USE_STC_1=""
51119 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51120 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51121 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51124 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51125 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51126 COND_SHARED_0_wxUSE_REGEX_builtin=""
51129 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51130 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51131 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51135 if test "x$SHARED" = "x1" ; then
51139 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51140 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51141 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51145 if test "x$TOOLKIT" = "x" ; then
51149 COND_TOOLKIT_COCOA="#"
51150 if test "x$TOOLKIT" = "xCOCOA" ; then
51151 COND_TOOLKIT_COCOA=""
51154 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51155 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51156 COND_TOOLKIT_COCOA_USE_GUI_1=""
51159 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51160 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51161 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51164 COND_TOOLKIT_DFB="#"
51165 if test "x$TOOLKIT" = "xDFB" ; then
51166 COND_TOOLKIT_DFB=""
51169 COND_TOOLKIT_DFB_USE_GUI_1="#"
51170 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51171 COND_TOOLKIT_DFB_USE_GUI_1=""
51174 COND_TOOLKIT_GTK="#"
51175 if test "x$TOOLKIT" = "xGTK" ; then
51176 COND_TOOLKIT_GTK=""
51179 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51180 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51181 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51184 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51185 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51186 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51189 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51190 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51191 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51194 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51195 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51196 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51199 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51200 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51201 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51204 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51205 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51206 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51209 COND_TOOLKIT_GTK_USE_GUI_1="#"
51210 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51211 COND_TOOLKIT_GTK_USE_GUI_1=""
51214 COND_TOOLKIT_MAC="#"
51215 if test "x$TOOLKIT" = "xMAC" ; then
51216 COND_TOOLKIT_MAC=""
51219 COND_TOOLKIT_MGL="#"
51220 if test "x$TOOLKIT" = "xMGL" ; then
51221 COND_TOOLKIT_MGL=""
51224 COND_TOOLKIT_MGL_USE_GUI_1="#"
51225 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51226 COND_TOOLKIT_MGL_USE_GUI_1=""
51229 COND_TOOLKIT_MOTIF="#"
51230 if test "x$TOOLKIT" = "xMOTIF" ; then
51231 COND_TOOLKIT_MOTIF=""
51234 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51235 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51236 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51239 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51240 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51241 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51244 COND_TOOLKIT_MSW="#"
51245 if test "x$TOOLKIT" = "xMSW" ; then
51246 COND_TOOLKIT_MSW=""
51249 COND_TOOLKIT_MSW_USE_GUI_1="#"
51250 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51251 COND_TOOLKIT_MSW_USE_GUI_1=""
51254 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51255 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51256 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51259 COND_TOOLKIT_MSW_WXUNIV_0="#"
51260 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51261 COND_TOOLKIT_MSW_WXUNIV_0=""
51264 COND_TOOLKIT_OSX_CARBON="#"
51265 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51266 COND_TOOLKIT_OSX_CARBON=""
51269 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51270 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51271 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51274 COND_TOOLKIT_OSX_COCOA="#"
51275 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51276 COND_TOOLKIT_OSX_COCOA=""
51279 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51280 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51281 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51284 COND_TOOLKIT_OSX_IPHONE="#"
51285 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51286 COND_TOOLKIT_OSX_IPHONE=""
51289 COND_TOOLKIT_PM="#"
51290 if test "x$TOOLKIT" = "xPM" ; then
51294 COND_TOOLKIT_PM_USE_GUI_1="#"
51295 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51296 COND_TOOLKIT_PM_USE_GUI_1=""
51299 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51300 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51301 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51304 COND_TOOLKIT_WINCE="#"
51305 if test "x$TOOLKIT" = "xWINCE" ; then
51306 COND_TOOLKIT_WINCE=""
51309 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51310 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51311 COND_TOOLKIT_WINCE_USE_GUI_1=""
51314 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51315 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51316 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51319 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51320 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51321 COND_TOOLKIT_WINCE_WXUNIV_0=""
51324 COND_TOOLKIT_X11="#"
51325 if test "x$TOOLKIT" = "xX11" ; then
51326 COND_TOOLKIT_X11=""
51329 COND_TOOLKIT_X11_USE_GUI_1="#"
51330 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51331 COND_TOOLKIT_X11_USE_GUI_1=""
51335 if test "x$UNICODE" = "x1" ; then
51339 COND_USE_CAIRO_1="#"
51340 if test "x$USE_CAIRO" = "x1" ; then
51341 COND_USE_CAIRO_1=""
51344 COND_USE_EXCEPTIONS_0="#"
51345 if test "x$USE_EXCEPTIONS" = "x0" ; then
51346 COND_USE_EXCEPTIONS_0=""
51349 COND_USE_EXCEPTIONS_1="#"
51350 if test "x$USE_EXCEPTIONS" = "x1" ; then
51351 COND_USE_EXCEPTIONS_1=""
51355 if test "x$USE_GUI" = "x0" ; then
51360 if test "x$USE_GUI" = "x1" ; then
51364 COND_USE_GUI_1_USE_OPENGL_1="#"
51365 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51366 COND_USE_GUI_1_USE_OPENGL_1=""
51369 COND_USE_GUI_1_WXUNIV_0="#"
51370 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51371 COND_USE_GUI_1_WXUNIV_0=""
51374 COND_USE_GUI_1_WXUNIV_1="#"
51375 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51376 COND_USE_GUI_1_WXUNIV_1=""
51379 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51380 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51381 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51384 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51385 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51386 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51389 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51390 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51391 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51394 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51395 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51396 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51399 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51400 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51401 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51404 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51405 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51406 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51409 COND_USE_OPENGL_1="#"
51410 if test "x$USE_OPENGL" = "x1" ; then
51411 COND_USE_OPENGL_1=""
51415 if test "x$USE_PCH" = "x1" ; then
51419 COND_USE_PLUGINS_0="#"
51420 if test "x$USE_PLUGINS" = "x0" ; then
51421 COND_USE_PLUGINS_0=""
51424 COND_USE_RTTI_0="#"
51425 if test "x$USE_RTTI" = "x0" ; then
51429 COND_USE_RTTI_1="#"
51430 if test "x$USE_RTTI" = "x1" ; then
51434 COND_USE_SOTWOSYMLINKS_1="#"
51435 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51436 COND_USE_SOTWOSYMLINKS_1=""
51439 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51440 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51441 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51444 COND_USE_SOVERLINUX_1="#"
51445 if test "x$USE_SOVERLINUX" = "x1" ; then
51446 COND_USE_SOVERLINUX_1=""
51449 COND_USE_SOVERSION_0="#"
51450 if test "x$USE_SOVERSION" = "x0" ; then
51451 COND_USE_SOVERSION_0=""
51454 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51455 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51456 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51459 COND_USE_SOVERSOLARIS_1="#"
51460 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51461 COND_USE_SOVERSOLARIS_1=""
51465 if test "x$USE_STC" = "x1" ; then
51469 COND_USE_THREADS_0="#"
51470 if test "x$USE_THREADS" = "x0" ; then
51471 COND_USE_THREADS_0=""
51474 COND_USE_THREADS_1="#"
51475 if test "x$USE_THREADS" = "x1" ; then
51476 COND_USE_THREADS_1=""
51480 if test "x$USE_XRC" = "x1" ; then
51484 COND_WINDOWS_IMPLIB_1="#"
51485 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51486 COND_WINDOWS_IMPLIB_1=""
51489 COND_WITH_PLUGIN_SDL_1="#"
51490 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51491 COND_WITH_PLUGIN_SDL_1=""
51495 if test "x$WXUNIV" = "x0" ; then
51500 if test "x$WXUNIV" = "x1" ; then
51504 COND_WXUSE_EXPAT_BUILTIN="#"
51505 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51506 COND_WXUSE_EXPAT_BUILTIN=""
51509 COND_WXUSE_LIBJPEG_BUILTIN="#"
51510 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51511 COND_WXUSE_LIBJPEG_BUILTIN=""
51514 COND_WXUSE_LIBPNG_BUILTIN="#"
51515 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51516 COND_WXUSE_LIBPNG_BUILTIN=""
51519 COND_WXUSE_LIBTIFF_BUILTIN="#"
51520 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51521 COND_WXUSE_LIBTIFF_BUILTIN=""
51524 COND_WXUSE_REGEX_BUILTIN="#"
51525 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51526 COND_WXUSE_REGEX_BUILTIN=""
51529 COND_WXUSE_ZLIB_BUILTIN="#"
51530 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51531 COND_WXUSE_ZLIB_BUILTIN=""
51534 COND_wxUSE_EXPAT_builtin="#"
51535 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51536 COND_wxUSE_EXPAT_builtin=""
51539 COND_wxUSE_LIBJPEG_builtin="#"
51540 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51541 COND_wxUSE_LIBJPEG_builtin=""
51544 COND_wxUSE_LIBPNG_builtin="#"
51545 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51546 COND_wxUSE_LIBPNG_builtin=""
51549 COND_wxUSE_LIBTIFF_builtin="#"
51550 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51551 COND_wxUSE_LIBTIFF_builtin=""
51554 COND_wxUSE_REGEX_builtin="#"
51555 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51556 COND_wxUSE_REGEX_builtin=""
51559 COND_wxUSE_ZLIB_builtin="#"
51560 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51561 COND_wxUSE_ZLIB_builtin=""
51566 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51567 { { 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
51568 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;}
51569 { (exit 1); exit 1; }; }
51572 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51573 { { 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
51574 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;}
51575 { (exit 1); exit 1; }; }
51582 ?:* ) # Drive letter, considered as absolute.
51585 INSTALL=`pwd`/${INSTALL} ;;
51588 if test "$wxUSE_GUI" = "yes"; then
51590 if test "$wxUSE_MSW" = 1 ; then
51591 if test "x$WINDRES" = "x"; then
51592 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51593 echo "$as_me: error: Required windres program not found" >&2;}
51594 { (exit 1); exit 1; }; }
51597 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51600 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
51601 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51602 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51604 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51606 # Extract the first word of "DeRez", so it can be a program name with args.
51607 set dummy DeRez; ac_word=$2
51608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51610 if test "${ac_cv_prog_DEREZ+set}" = set; then
51611 echo $ECHO_N "(cached) $ECHO_C" >&6
51613 if test -n "$DEREZ"; then
51614 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51617 for as_dir in $PATH
51620 test -z "$as_dir" && as_dir=.
51621 for ac_exec_ext in '' $ac_executable_extensions; do
51622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51623 ac_cv_prog_DEREZ="DeRez"
51624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51631 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51634 DEREZ=$ac_cv_prog_DEREZ
51635 if test -n "$DEREZ"; then
51636 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51637 echo "${ECHO_T}$DEREZ" >&6; }
51639 { echo "$as_me:$LINENO: result: no" >&5
51640 echo "${ECHO_T}no" >&6; }
51645 MACSETFILE="\$(SETFILE)"
51647 if test "$wxUSE_OSX_CARBON" = 1; then
51648 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51650 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51652 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51653 RESCOMP="cat /dev/null \| $REZ"
51654 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51660 if test "$wxUSE_PM" = 1; then
51662 WXCONFIG_RESFLAGS="-ep"
51664 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51666 POSTLINK_COMMAND="@true"
51673 if test $GCC_PCH = 1
51675 if test "$wx_cv_gcc_pch_bug" = yes; then
51676 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51677 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51678 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51679 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51680 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51681 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51684 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51685 # the headers that benefit from precompilation are mostly C++ headers.
51686 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51687 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51688 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51692 if test "$wxUSE_MAC" = 1 ; then
51693 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51694 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51700 if test "$wxUSE_SHARED" = "yes"; then
51702 *-pc-os2_emx | *-pc-os2-emx )
51703 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51704 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51705 cp -p ${srcdir}/src/os2/dllnames.sh .
51706 cp -p ${srcdir}/src/os2/dllar.sh .
51710 if test "$wxUSE_OMF" = "yes"; then
51712 *-pc-os2_emx | *-pc-os2-emx )
51713 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51714 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51715 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51720 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51725 if test "$GCC" = yes; then
51726 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51727 LIBS=`echo $LIBS | sed 's/-mt//'`
51728 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51733 if test "x$SUNCXX" = xyes; then
51734 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51735 LIBS=`echo $LIBS | sed 's/-pthread//'`
51736 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51741 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51742 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51743 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51744 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51746 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51807 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51808 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51809 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51810 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51811 echo $ECHO_N "(cached) $ECHO_C" >&6
51813 cat >conftest.make <<\_ACEOF
51816 @echo '@@@%%%=$(MAKE)=@@@%%%'
51818 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51819 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
51820 *@@@%%%=?*=@@@%%%*)
51821 eval ac_cv_prog_make_${ac_make}_set=yes;;
51823 eval ac_cv_prog_make_${ac_make}_set=no;;
51825 rm -f conftest.make
51827 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51828 { echo "$as_me:$LINENO: result: yes" >&5
51829 echo "${ECHO_T}yes" >&6; }
51832 { echo "$as_me:$LINENO: result: no" >&5
51833 echo "${ECHO_T}no" >&6; }
51834 SET_MAKE="MAKE=${MAKE-make}"
51839 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51842 if test "$USE_WIN32" = 1; then
51843 ac_config_commands="$ac_config_commands rcdefs.h"
51847 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51850 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51853 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51856 if test "$wx_cv_version_script" = "yes"; then
51857 ac_config_files="$ac_config_files version-script"
51860 ac_config_files="$ac_config_files Makefile"
51863 ac_config_commands="$ac_config_commands wx-config"
51867 if test "$wxWITH_SUBDIRS" != "no"; then
51868 if test "$wxUSE_GUI" = "yes"; then
51869 SUBDIRS="samples demos utils"
51871 SUBDIRS="samples utils"
51876 # Check whether --with-cppunit-prefix was given.
51877 if test "${with_cppunit_prefix+set}" = set; then
51878 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51880 cppunit_config_prefix=""
51884 # Check whether --with-cppunit-exec-prefix was given.
51885 if test "${with_cppunit_exec_prefix+set}" = set; then
51886 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51888 cppunit_config_exec_prefix=""
51892 if test x$cppunit_config_exec_prefix != x ; then
51893 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51894 if test x${CPPUNIT_CONFIG+set} != xset ; then
51895 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51898 if test x$cppunit_config_prefix != x ; then
51899 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51900 if test x${CPPUNIT_CONFIG+set} != xset ; then
51901 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51905 # Extract the first word of "cppunit-config", so it can be a program name with args.
51906 set dummy cppunit-config; ac_word=$2
51907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51909 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51910 echo $ECHO_N "(cached) $ECHO_C" >&6
51912 case $CPPUNIT_CONFIG in
51914 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51918 for as_dir in $PATH
51921 test -z "$as_dir" && as_dir=.
51922 for ac_exec_ext in '' $ac_executable_extensions; do
51923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51924 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51932 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51936 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51937 if test -n "$CPPUNIT_CONFIG"; then
51938 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51939 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51941 { echo "$as_me:$LINENO: result: no" >&5
51942 echo "${ECHO_T}no" >&6; }
51946 cppunit_version_min=1.8.0
51948 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51949 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51951 if test "$CPPUNIT_CONFIG" = "no" ; then
51952 { echo "$as_me:$LINENO: result: no" >&5
51953 echo "${ECHO_T}no" >&6; }
51956 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51957 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51958 cppunit_version=`$CPPUNIT_CONFIG --version`
51960 cppunit_major_version=`echo $cppunit_version | \
51961 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51962 cppunit_minor_version=`echo $cppunit_version | \
51963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51964 cppunit_micro_version=`echo $cppunit_version | \
51965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51967 cppunit_major_min=`echo $cppunit_version_min | \
51968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51969 cppunit_minor_min=`echo $cppunit_version_min | \
51970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51971 cppunit_micro_min=`echo $cppunit_version_min | \
51972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51974 cppunit_version_proper=`expr \
51975 $cppunit_major_version \
> $cppunit_major_min \
| \
51976 $cppunit_major_version \
= $cppunit_major_min \
& \
51977 $cppunit_minor_version \
> $cppunit_minor_min \
| \
51978 $cppunit_major_version \
= $cppunit_major_min \
& \
51979 $cppunit_minor_version \
= $cppunit_minor_min \
& \
51980 $cppunit_micro_version \
>= $cppunit_micro_min `
51982 if test "$cppunit_version_proper" = "1" ; then
51983 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51984 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51986 { echo "$as_me:$LINENO: result: no" >&5
51987 echo "${ECHO_T}no" >&6; }
51992 if test "x$no_cppunit" = x ; then
51993 SUBDIRS="$SUBDIRS tests"
52004 for subdir in $SUBDIRS; do
52005 if test -d ${srcdir}/${subdir} ; then
52006 if test "$wxUSE_GUI" = "yes"; then
52007 if test ${subdir} = "samples"; then
52008 makefiles="samples/Makefile.in $makefiles"
52009 for sample in $SAMPLES_SUBDIRS; do
52010 if test -d $srcdir/samples/$sample; then
52011 makefiles="samples/$sample/Makefile.in $makefiles"
52015 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52016 eval "disabled=\$$disabled_var"
52017 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52018 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52021 if test ${subdir} = "samples"; then
52022 makefiles="samples/Makefile.in $makefiles"
52023 for sample in `echo $SAMPLES_SUBDIRS`; do
52024 if test -d $srcdir/samples/$sample; then
52025 makefiles="samples/$sample/Makefile.in $makefiles"
52028 elif test ${subdir} = "utils"; then
52030 for util in ifacecheck ; do
52031 if test -d $srcdir/utils/$util ; then
52032 makefiles="utils/$util/src/Makefile.in \
52037 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52041 for mkin in $makefiles ; do
52042 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52043 ac_config_files="$ac_config_files $mk"
52049 cat >confcache <<\_ACEOF
52050 # This file is a shell script that caches the results of configure
52051 # tests run on this system so they can be shared between configure
52052 # scripts and configure runs, see configure's option --config-cache.
52053 # It is not useful on other systems. If it contains results you don't
52054 # want to keep, you may remove or edit it.
52056 # config.status only pays attention to the cache file if you give it
52057 # the --recheck option to rerun configure.
52059 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52060 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52061 # following values.
52065 # The following way of writing the cache mishandles newlines in values,
52066 # but we know of no workaround that is simple, portable, and efficient.
52067 # So, we kill variables containing newlines.
52068 # Ultrix sh set writes to stderr and can't be redirected directly,
52069 # and sets the high bit in the cache file unless we assign to the vars.
52071 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52072 eval ac_val
=\$
$ac_var
52076 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52077 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52080 _
| IFS
| as_nl
) ;; #(
52081 *) $as_unset $ac_var ;;
52087 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52088 *${as_nl}ac_space
=\
*)
52089 # `set' does not quote correctly, so add quotes (double-quote
52090 # substitution turns \\\\ into \\, and sed turns \\ into \).
52093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52096 # `set' quotes correctly as required by POSIX, so do not add quotes.
52097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52106 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52108 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52110 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52111 if test -w "$cache_file"; then
52112 test "x$cache_file" != "x/dev/null" &&
52113 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52114 echo "$as_me: updating cache $cache_file" >&6;}
52115 cat confcache
>$cache_file
52117 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52118 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52123 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52124 # Let make expand exec_prefix.
52125 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52127 DEFS
=-DHAVE_CONFIG_H
52131 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52132 # 1. Remove the extension, and $U if already installed.
52133 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52134 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52135 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52136 # will be set to the directory where LIBOBJS objects are built.
52137 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52138 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52140 LIBOBJS
=$ac_libobjs
52142 LTLIBOBJS
=$ac_ltlibobjs
52146 : ${CONFIG_STATUS=./config.status}
52147 ac_clean_files_save
=$ac_clean_files
52148 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52149 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52150 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52151 cat >$CONFIG_STATUS <<_ACEOF
52153 # Generated by $as_me.
52154 # Run this file to recreate the current configuration.
52155 # Compiler output produced by configure, useful for debugging
52156 # configure, is in config.log if it exists.
52159 ac_cs_recheck=false
52161 SHELL=\${CONFIG_SHELL-$SHELL}
52164 cat >>$CONFIG_STATUS <<\_ACEOF
52165 ## --------------------- ##
52166 ## M4sh Initialization. ##
52167 ## --------------------- ##
52169 # Be more Bourne compatible
52170 DUALCASE
=1; export DUALCASE
# for MKS sh
52171 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52174 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52175 # is contrary to our usage. Disable this feature.
52176 alias -g '${1+"$@"}'='"$@"'
52177 setopt NO_GLOB_SUBST
52179 case `(set -o) 2>/dev/null` in
52180 *posix
*) set -o posix
;;
52189 # Avoid depending upon Character Ranges.
52190 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52191 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52192 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52193 as_cr_digits
='0123456789'
52194 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52196 # The user is always right.
52197 if test "${PATH_SEPARATOR+set}" != set; then
52198 echo "#! /bin/sh" >conf$$.sh
52199 echo "exit 0" >>conf$$.sh
52201 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52209 # Support unset when possible.
52210 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52218 # We need space, tab and new line, in precisely that order. Quoting is
52219 # there to prevent editors from complaining about space-tab.
52220 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52221 # splitting by setting IFS to empty value.)
52226 # Find who we are. Look in the path if we contain no directory separator.
52228 *[\\/]* ) as_myself
=$0 ;;
52229 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52230 for as_dir
in $PATH
52233 test -z "$as_dir" && as_dir
=.
52234 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
52240 # We did not find ourselves, most probably we were run as `sh COMMAND'
52241 # in which case we are not to be found in the path.
52242 if test "x$as_myself" = x
; then
52245 if test ! -f "$as_myself"; then
52246 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52247 { (exit 1); exit 1; }
52250 # Work around bugs in pre-3.0 UWIN ksh.
52251 for as_var
in ENV MAIL MAILPATH
52252 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52260 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52261 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52262 LC_TELEPHONE LC_TIME
52264 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52265 eval $as_var=C
; export $as_var
52267 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52271 # Required to use basename.
52272 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52273 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52279 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52280 as_basename
=basename
52286 # Name of the executable.
52287 as_me
=`$as_basename -- "$0" ||
52288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52289 X"$0" : 'X\(//\)$' \| \
52290 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52292 sed '/^.*\/\([^/][^/]*\)\/*$/{
52311 as_lineno_1
=$LINENO
52312 as_lineno_2
=$LINENO
52313 test "x$as_lineno_1" != "x$as_lineno_2" &&
52314 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52316 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52317 # uniformly replaced by the line number. The first 'sed' inserts a
52318 # line-number line after each line using $LINENO; the second 'sed'
52319 # does the real work. The second script uses 'N' to pair each
52320 # line-number line with the line containing $LINENO, and appends
52321 # trailing '-' during substitution so that $LINENO is not a special
52322 # case at line end.
52323 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52324 # scripts with optimization help from Paolo Bonzini. Blame Lee
52325 # E. McMahon (1931-1989) for sed's syntax. :-)
52337 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52340 ' >$as_me.lineno
&&
52341 chmod +x
"$as_me.lineno" ||
52342 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52343 { (exit 1); exit 1; }; }
52345 # Don't try to exec as it changes $[0], causing all sort of problems
52346 # (the dirname of $[0] is not the place where we might find the
52347 # original and so on. Autoconf is especially sensitive to this).
52348 .
"./$as_me.lineno"
52349 # Exit status is that of the last command.
52354 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
52360 ECHO_C
= ECHO_N
= ECHO_T
=
52361 case `echo -n x` in
52363 case `echo 'x\c'` in
52364 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
52371 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52372 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52378 rm -f conf$$ conf$$.exe conf$$.
file
52379 if test -d conf$$.dir
; then
52380 rm -f conf$$.dir
/conf$$.
file
52386 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52388 # ... but there are two gotchas:
52389 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52390 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52391 # In both cases, we have to default to `cp -p'.
52392 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52394 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52399 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52400 rmdir conf$$.dir
2>/dev
/null
52402 if mkdir -p .
2>/dev
/null
; then
52405 test -d .
/-p && rmdir .
/-p
52409 if test -x / >/dev
/null
2>&1; then
52410 as_test_x
='test -x'
52412 if ls -dL / >/dev
/null
2>&1; then
52419 if test -d "$1"; then
52425 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52426 ???[sx]*):;;*)false;;esac;fi
52430 as_executable_p
=$as_test_x
52432 # Sed expression to map a string onto a valid CPP name.
52433 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52435 # Sed expression to map a string onto a valid variable name.
52436 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52441 # Save the log message, to keep $[0] and so on meaningful, and to
52442 # report actual input values of CONFIG_FILES etc. instead of their
52443 # values after options handling.
52445 This file was extended by wxWidgets $as_me 2.9.1, which was
52446 generated by GNU Autoconf 2.61. Invocation command line was
52448 CONFIG_FILES = $CONFIG_FILES
52449 CONFIG_HEADERS = $CONFIG_HEADERS
52450 CONFIG_LINKS = $CONFIG_LINKS
52451 CONFIG_COMMANDS = $CONFIG_COMMANDS
52454 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52459 cat >>$CONFIG_STATUS <<_ACEOF
52460 # Files that config.status was made for.
52461 config_files="$ac_config_files"
52462 config_headers="$ac_config_headers"
52463 config_commands="$ac_config_commands"
52467 cat >>$CONFIG_STATUS <<\_ACEOF
52469 \`$as_me' instantiates files from templates according to the
52470 current configuration.
52472 Usage: $0 [OPTIONS] [FILE]...
52474 -h, --help print this help, then exit
52475 -V, --version print version number and configuration settings, then exit
52476 -q, --quiet do not print progress messages
52477 -d, --debug don't remove temporary files
52478 --recheck update $as_me by reconfiguring in the same conditions
52479 --file=FILE[:TEMPLATE]
52480 instantiate the configuration file FILE
52481 --header=FILE[:TEMPLATE]
52482 instantiate the configuration header FILE
52484 Configuration files:
52487 Configuration headers:
52490 Configuration commands:
52493 Report bugs to <bug-autoconf@gnu.org>."
52496 cat >>$CONFIG_STATUS <<_ACEOF
52498 wxWidgets config.status 2.9.1
52499 configured by $0, generated by GNU Autoconf 2.61,
52500 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52502 Copyright (C) 2006 Free Software Foundation, Inc.
52503 This config.status script is free software; the Free Software Foundation
52504 gives unlimited permission to copy, distribute and modify it."
52511 cat >>$CONFIG_STATUS <<\_ACEOF
52512 # If no file are specified by the user, then we need to provide default
52513 # value. By we need to know if files were specified by the user.
52519 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52520 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52531 # Handling of the options.
52532 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52534 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52535 echo "$ac_cs_version"; exit ;;
52536 --debug | --debu | --deb | --de | --d | -d )
52538 --file | --fil | --fi | --f )
52540 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52541 ac_need_defaults
=false
;;
52542 --header | --heade | --head | --hea )
52544 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52545 ac_need_defaults
=false
;;
52547 # Conflict between --help and --header
52548 { echo "$as_me: error: ambiguous option: $1
52549 Try \`$0 --help' for more information." >&2
52550 { (exit 1); exit 1; }; };;
52551 --help | --hel | -h )
52552 echo "$ac_cs_usage"; exit ;;
52553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52554 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52557 # This is an error.
52558 -*) { echo "$as_me: error: unrecognized option: $1
52559 Try \`$0 --help' for more information." >&2
52560 { (exit 1); exit 1; }; } ;;
52562 *) ac_config_targets
="$ac_config_targets $1"
52563 ac_need_defaults
=false
;;
52569 ac_configure_extra_args
=
52571 if $ac_cs_silent; then
52573 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52577 cat >>$CONFIG_STATUS <<_ACEOF
52578 if \$ac_cs_recheck; then
52579 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52580 CONFIG_SHELL=$SHELL
52581 export CONFIG_SHELL
52582 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52586 cat >>$CONFIG_STATUS <<\_ACEOF
52590 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52591 ## Running $as_me. ##
52597 cat >>$CONFIG_STATUS <<_ACEOF
52603 infile="$srcdir/include/wx/msw/genrcdefs.h"
52604 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52607 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52608 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52609 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52615 cat >>$CONFIG_STATUS <<\_ACEOF
52617 # Handling of arguments.
52618 for ac_config_target
in $ac_config_targets
52620 case $ac_config_target in
52621 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52622 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52623 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52624 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52625 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52626 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52627 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52628 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52629 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52631 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52632 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52633 { (exit 1); exit 1; }; };;
52638 # If the user did not use the arguments to specify the items to instantiate,
52639 # then the envvar interface is used. Set only those that are not.
52640 # We use the long form for the default assignment because of an extremely
52641 # bizarre bug on SunOS 4.1.3.
52642 if $ac_need_defaults; then
52643 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52644 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52645 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52648 # Have a temporary directory for convenience. Make it in the build tree
52649 # simply because there is no reason against having it here, and in addition,
52650 # creating and moving files from /tmp can sometimes cause problems.
52651 # Hook for its removal unless debugging.
52652 # Note that there is a small window in which the directory will not be cleaned:
52653 # after its creation but before its name has been assigned to `$tmp'.
52657 trap 'exit_status=$?
52658 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52660 trap '{ (exit 1); exit 1; }' 1 2 13 15
52662 # Create a (secure) tmp directory for tmp files.
52665 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52666 test -n "$tmp" && test -d "$tmp"
52669 tmp
=.
/conf$$
-$RANDOM
52670 (umask 077 && mkdir "$tmp")
52673 echo "$me: cannot create a temporary directory in ." >&2
52674 { (exit 1); exit 1; }
52678 # Set up the sed scripts for CONFIG_FILES section.
52681 # No need to generate the scripts if there are no CONFIG_FILES.
52682 # This happens for instance when ./config.status config.h
52683 if test -n "$CONFIG_FILES"; then
52690 for ac_last_try
in false false false false false
:; do
52691 cat >conf$
$subs.
sed <<_ACEOF
52692 SHELL!$SHELL$ac_delim
52693 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52694 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52695 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52696 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52697 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52698 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52699 exec_prefix!$exec_prefix$ac_delim
52700 prefix!$prefix$ac_delim
52701 program_transform_name!$program_transform_name$ac_delim
52702 bindir!$bindir$ac_delim
52703 sbindir!$sbindir$ac_delim
52704 libexecdir!$libexecdir$ac_delim
52705 datarootdir!$datarootdir$ac_delim
52706 datadir!$datadir$ac_delim
52707 sysconfdir!$sysconfdir$ac_delim
52708 sharedstatedir!$sharedstatedir$ac_delim
52709 localstatedir!$localstatedir$ac_delim
52710 includedir!$includedir$ac_delim
52711 oldincludedir!$oldincludedir$ac_delim
52712 docdir!$docdir$ac_delim
52713 infodir!$infodir$ac_delim
52714 htmldir!$htmldir$ac_delim
52715 dvidir!$dvidir$ac_delim
52716 pdfdir!$pdfdir$ac_delim
52717 psdir!$psdir$ac_delim
52718 libdir!$libdir$ac_delim
52719 localedir!$localedir$ac_delim
52720 mandir!$mandir$ac_delim
52721 DEFS!$DEFS$ac_delim
52722 ECHO_C!$ECHO_C$ac_delim
52723 ECHO_N!$ECHO_N$ac_delim
52724 ECHO_T!$ECHO_T$ac_delim
52725 LIBS!$LIBS$ac_delim
52726 build_alias!$build_alias$ac_delim
52727 host_alias!$host_alias$ac_delim
52728 target_alias!$target_alias$ac_delim
52729 build!$build$ac_delim
52730 build_cpu!$build_cpu$ac_delim
52731 build_vendor!$build_vendor$ac_delim
52732 build_os!$build_os$ac_delim
52733 host!$host$ac_delim
52734 host_cpu!$host_cpu$ac_delim
52735 host_vendor!$host_vendor$ac_delim
52736 host_os!$host_os$ac_delim
52737 wx_top_builddir!$wx_top_builddir$ac_delim
52739 CFLAGS!$CFLAGS$ac_delim
52740 LDFLAGS!$LDFLAGS$ac_delim
52741 CPPFLAGS!$CPPFLAGS$ac_delim
52742 ac_ct_CC!$ac_ct_CC$ac_delim
52743 EXEEXT!$EXEEXT$ac_delim
52744 OBJEXT!$OBJEXT$ac_delim
52746 GREP!$GREP$ac_delim
52747 EGREP!$EGREP$ac_delim
52749 CXXFLAGS!$CXXFLAGS$ac_delim
52750 ac_ct_CXX!$ac_ct_CXX$ac_delim
52752 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
52753 subdirs!$subdirs$ac_delim
52754 PKG_CONFIG!$PKG_CONFIG$ac_delim
52755 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52756 GTK_LIBS!$GTK_LIBS$ac_delim
52757 GTK_CONFIG!$GTK_CONFIG$ac_delim
52758 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52759 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52760 XMKMF!$XMKMF$ac_delim
52761 X_CFLAGS!$X_CFLAGS$ac_delim
52762 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52763 X_LIBS!$X_LIBS$ac_delim
52764 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52765 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52766 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52767 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52768 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52769 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52770 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52771 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52772 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52773 LIBICONV!$LIBICONV$ac_delim
52774 GXX_VERSION!$GXX_VERSION$ac_delim
52775 SDL_CONFIG!$SDL_CONFIG$ac_delim
52776 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52777 SDL_LIBS!$SDL_LIBS$ac_delim
52778 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52779 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52780 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52781 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52782 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52783 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52784 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52785 HILDON_LIBS!$HILDON_LIBS$ac_delim
52786 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52787 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52788 PYTHON!$PYTHON$ac_delim
52791 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52793 elif $ac_last_try; then
52794 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52795 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52796 { (exit 1); exit 1; }; }
52798 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52802 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52803 if test -n "$ac_eof"; then
52804 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52805 ac_eof
=`expr $ac_eof + 1`
52808 cat >>$CONFIG_STATUS <<_ACEOF
52809 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52810 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52813 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52814 s/^/s,@/; s/!/@,|#_!!_#|/
52817 s/'"$ac_delim"'$/,g/; t
52819 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52820 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52821 rm -f conf$
$subs.
sed
52822 cat >>$CONFIG_STATUS <<_ACEOF
52828 for ac_last_try
in false false false false false
:; do
52829 cat >conf$
$subs.
sed <<_ACEOF
52830 COND_PYTHON!$COND_PYTHON$ac_delim
52831 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52832 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52833 GST_CFLAGS!$GST_CFLAGS$ac_delim
52834 GST_LIBS!$GST_LIBS$ac_delim
52835 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52836 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52837 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52838 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52839 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52840 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52841 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52842 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52843 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52844 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52845 VENDOR!$VENDOR$ac_delim
52846 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52847 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52848 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52849 WXUNIV!$WXUNIV$ac_delim
52850 MONOLITHIC!$MONOLITHIC$ac_delim
52851 USE_PLUGINS!$USE_PLUGINS$ac_delim
52852 CXXWARNINGS!$CXXWARNINGS$ac_delim
52853 EXTRALIBS!$EXTRALIBS$ac_delim
52854 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52855 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52856 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52857 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52858 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52859 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52860 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52861 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52862 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52863 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52864 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52865 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52866 UNICODE!$UNICODE$ac_delim
52867 DEBUG_INFO!$DEBUG_INFO$ac_delim
52868 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52869 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52870 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52871 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52872 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52873 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52874 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52875 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52876 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52877 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52878 RANLIB!$RANLIB$ac_delim
52879 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52880 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52881 INSTALL_DATA!$INSTALL_DATA$ac_delim
52882 LN_S!$LN_S$ac_delim
52883 SET_MAKE!$SET_MAKE$ac_delim
52884 MAKE_SET!$MAKE_SET$ac_delim
52885 AROPTIONS!$AROPTIONS$ac_delim
52886 STRIP!$STRIP$ac_delim
52888 INSTALL_DIR!$INSTALL_DIR$ac_delim
52889 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52890 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52891 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52892 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52893 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52894 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52895 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52896 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52897 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52898 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52899 SO_SUFFIX!$SO_SUFFIX$ac_delim
52900 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52901 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52902 LIBPREFIX!$LIBPREFIX$ac_delim
52903 LIBEXT!$LIBEXT$ac_delim
52904 DLLPREFIX!$DLLPREFIX$ac_delim
52905 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52906 dlldir!$dlldir$ac_delim
52907 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52908 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52909 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52910 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52911 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52912 PIC_FLAG!$PIC_FLAG$ac_delim
52913 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52914 USE_SOVERSION!$USE_SOVERSION$ac_delim
52915 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52916 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52917 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52918 USE_MACVERSION!$USE_MACVERSION$ac_delim
52919 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52920 SONAME_FLAG!$SONAME_FLAG$ac_delim
52921 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52922 BK_DEPS!$BK_DEPS$ac_delim
52923 WINDRES!$WINDRES$ac_delim
52925 SETFILE!$SETFILE$ac_delim
52926 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52929 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52931 elif $ac_last_try; then
52932 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52933 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52934 { (exit 1); exit 1; }; }
52936 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52940 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52941 if test -n "$ac_eof"; then
52942 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52943 ac_eof
=`expr $ac_eof + 1`
52946 cat >>$CONFIG_STATUS <<_ACEOF
52947 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52948 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52951 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52952 s/^/s,@/; s/!/@,|#_!!_#|/
52955 s/'"$ac_delim"'$/,g/; t
52957 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52958 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52959 rm -f conf$
$subs.
sed
52960 cat >>$CONFIG_STATUS <<_ACEOF
52966 for ac_last_try
in false false false false false
:; do
52967 cat >conf$
$subs.
sed <<_ACEOF
52968 GCC_PCH!$GCC_PCH$ac_delim
52969 ICC_PCH!$ICC_PCH$ac_delim
52970 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52971 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52972 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52973 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52974 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52975 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52976 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52977 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52978 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52979 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52980 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52981 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52982 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52983 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52984 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52985 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52986 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52987 COND_BUILD_release!$COND_BUILD_release$ac_delim
52988 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52989 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52990 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52991 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52992 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52993 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52994 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52995 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52996 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52997 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52998 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52999 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53000 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53001 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53002 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53004 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53006 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53007 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53008 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53009 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53010 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53011 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53012 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53013 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53015 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53016 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53017 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53018 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53019 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53020 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53021 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53022 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53023 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53024 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53025 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53026 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53027 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53028 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53029 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53030 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53031 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53032 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53033 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53034 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53035 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53036 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53037 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53038 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53039 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53040 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53041 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53042 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53043 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53044 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
53045 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53046 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
53047 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53048 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53049 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53050 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53051 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53052 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53053 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53054 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53055 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53056 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53057 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53058 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53059 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53060 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53061 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53062 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53063 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53064 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53067 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53069 elif $ac_last_try; then
53070 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53071 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53072 { (exit 1); exit 1; }; }
53074 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53078 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53079 if test -n "$ac_eof"; then
53080 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53081 ac_eof
=`expr $ac_eof + 1`
53084 cat >>$CONFIG_STATUS <<_ACEOF
53085 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53086 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53089 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53090 s/^/s,@/; s/!/@,|#_!!_#|/
53093 s/'"$ac_delim"'$/,g/; t
53095 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53096 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53097 rm -f conf$
$subs.
sed
53098 cat >>$CONFIG_STATUS <<_ACEOF
53104 for ac_last_try
in false false false false false
:; do
53105 cat >conf$
$subs.
sed <<_ACEOF
53106 COND_SHARED_0!$COND_SHARED_0$ac_delim
53107 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53108 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53109 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53110 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53111 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53112 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53113 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53114 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53115 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53116 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53117 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53118 COND_SHARED_1!$COND_SHARED_1$ac_delim
53119 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53120 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53121 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53122 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53123 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53124 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53125 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53126 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53127 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53128 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53129 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53130 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53131 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53132 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53133 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53134 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53135 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53136 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53137 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53138 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53139 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53140 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53141 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53142 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53143 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53144 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53145 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53146 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53147 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53148 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53149 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53150 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53151 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53152 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53153 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53154 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53155 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53156 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53157 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53158 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53159 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53160 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53161 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53162 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53163 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53164 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53165 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53166 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53167 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53168 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53169 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53170 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53171 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53172 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53173 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53174 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53175 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53176 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53177 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53178 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53179 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53180 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53181 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53182 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53183 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53184 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53185 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53186 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53187 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53188 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53189 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53190 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53191 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53192 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53193 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53194 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53195 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53196 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53197 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53198 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53199 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53200 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53201 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53202 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53205 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53207 elif $ac_last_try; then
53208 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53209 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53210 { (exit 1); exit 1; }; }
53212 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53216 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53217 if test -n "$ac_eof"; then
53218 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53219 ac_eof
=`expr $ac_eof + 1`
53222 cat >>$CONFIG_STATUS <<_ACEOF
53223 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53224 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53227 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53228 s/^/s,@/; s/!/@,|#_!!_#|/
53231 s/'"$ac_delim"'$/,g/; t
53233 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53234 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53235 rm -f conf$
$subs.
sed
53236 cat >>$CONFIG_STATUS <<_ACEOF
53242 for ac_last_try
in false false false false false
:; do
53243 cat >conf$
$subs.
sed <<_ACEOF
53244 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53245 DEREZ!$DEREZ$ac_delim
53246 SHARED!$SHARED$ac_delim
53247 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53248 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53249 USE_GUI!$USE_GUI$ac_delim
53250 AFMINSTALL!$AFMINSTALL$ac_delim
53251 WIN32INSTALL!$WIN32INSTALL$ac_delim
53252 TOOLKIT!$TOOLKIT$ac_delim
53253 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53254 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53255 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53256 cross_compiling!$cross_compiling$ac_delim
53257 WIDGET_SET!$WIDGET_SET$ac_delim
53258 WX_RELEASE!$WX_RELEASE$ac_delim
53259 WX_VERSION!$WX_VERSION$ac_delim
53260 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53261 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53262 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53263 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53264 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53265 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53266 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53267 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53268 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53269 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53270 GUIDIST!$GUIDIST$ac_delim
53271 DISTDIR!$DISTDIR$ac_delim
53272 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53273 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53274 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53275 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53276 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53277 RESCOMP!$RESCOMP$ac_delim
53278 RESFLAGS!$RESFLAGS$ac_delim
53279 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53280 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53281 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53282 LIBWXMACRES!$LIBWXMACRES$ac_delim
53283 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53284 MACSETFILE!$MACSETFILE$ac_delim
53286 DLLTOOL!$DLLTOOL$ac_delim
53287 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53288 LIBOBJS!$LIBOBJS$ac_delim
53289 LTLIBOBJS!$LTLIBOBJS$ac_delim
53292 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
53294 elif $ac_last_try; then
53295 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53296 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53297 { (exit 1); exit 1; }; }
53299 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53303 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53304 if test -n "$ac_eof"; then
53305 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53306 ac_eof
=`expr $ac_eof + 1`
53309 cat >>$CONFIG_STATUS <<_ACEOF
53310 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53311 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53314 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53315 s/^/s,@/; s/!/@,|#_!!_#|/
53318 s/'"$ac_delim"'$/,g/; t
53320 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53321 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53322 rm -f conf$
$subs.
sed
53323 cat >>$CONFIG_STATUS <<_ACEOF
53330 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53331 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53332 # trailing colons and then remove the whole line if VPATH becomes empty
53333 # (actually we leave an empty line to preserve line numbers).
53334 if test "x$srcdir" = x.
; then
53335 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
53336 s/:*\$(srcdir):*/:/
53337 s/:*\${srcdir}:*/:/
53339 s/^\([^=]*=[ ]*\):*/\1/
53345 cat >>$CONFIG_STATUS <<\_ACEOF
53346 fi # test -n "$CONFIG_FILES"
53349 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
53352 :[FHLC
]) ac_mode
=$ac_tag; continue;;
53354 case $ac_mode$ac_tag in
53356 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53357 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53358 { (exit 1); exit 1; }; };;
53359 :[FH
]-) ac_tag
=-:-;;
53360 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
53377 -) ac_f
="$tmp/stdin";;
53378 *) # Look for the file first in the build tree, then in the source tree
53379 # (if the path is not absolute). The absolute path cannot be DOS-style,
53380 # because $ac_f cannot contain `:'.
53384 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
53386 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53387 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53388 { (exit 1); exit 1; }; };;
53390 ac_file_inputs
="$ac_file_inputs $ac_f"
53393 # Let's still pretend it is `configure' which instantiates (i.e., don't
53394 # use $as_me), people would be surprised to read:
53395 # /* config.h. Generated by config.status. */
53396 configure_input
="Generated from "`IFS=:
53397 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53398 if test x
"$ac_file" != x
-; then
53399 configure_input
="$ac_file. $configure_input"
53400 { echo "$as_me:$LINENO: creating $ac_file" >&5
53401 echo "$as_me: creating $ac_file" >&6;}
53405 *:-:* | *:-) cat >"$tmp/stdin";;
53410 ac_dir
=`$as_dirname -- "$ac_file" ||
53411 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53412 X"$ac_file" : 'X\(//\)[^/]' \| \
53413 X"$ac_file" : 'X\(//\)$' \| \
53414 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53420 /^X\(\/\/\)[^/].*/{
53435 -*) as_dir
=.
/$as_dir;;
53437 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53441 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53442 *) as_qdir
=$as_dir;;
53444 as_dirs
="'$as_qdir' $as_dirs"
53445 as_dir
=`$as_dirname -- "$as_dir" ||
53446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53447 X"$as_dir" : 'X\(//\)[^/]' \| \
53448 X"$as_dir" : 'X\(//\)$' \| \
53449 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53455 /^X\(\/\/\)[^/].*/{
53468 test -d "$as_dir" && break
53470 test -z "$as_dirs" || eval "mkdir $as_dirs"
53471 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53472 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53473 { (exit 1); exit 1; }; }; }
53477 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53479 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53480 # A ".." for each directory in $ac_dir_suffix.
53481 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53482 case $ac_top_builddir_sub in
53483 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53484 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53487 ac_abs_top_builddir
=$ac_pwd
53488 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53489 # for backward compatibility:
53490 ac_top_builddir
=$ac_top_build_prefix
53493 .
) # We are building in place.
53495 ac_top_srcdir
=$ac_top_builddir_sub
53496 ac_abs_top_srcdir
=$ac_pwd ;;
53497 [\\/]* | ?
:[\\/]* ) # Absolute name.
53498 ac_srcdir
=$srcdir$ac_dir_suffix;
53499 ac_top_srcdir
=$srcdir
53500 ac_abs_top_srcdir
=$srcdir ;;
53501 *) # Relative name.
53502 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53503 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53504 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53506 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53516 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53517 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
53521 cat >>$CONFIG_STATUS <<\_ACEOF
53522 # If the template does not know about datarootdir, expand it.
53523 # FIXME: This hack should be removed a few years after 2.60.
53524 ac_datarootdir_hack
=; ac_datarootdir_seen
=
53526 case `sed -n '/datarootdir/ {
53535 ' $ac_file_inputs` in
53536 *datarootdir
*) ac_datarootdir_seen
=yes;;
53537 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
53538 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53539 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53541 cat >>$CONFIG_STATUS <<_ACEOF
53542 ac_datarootdir_hack='
53543 s&@datadir@&$datadir&g
53544 s&@docdir@&$docdir&g
53545 s&@infodir@&$infodir&g
53546 s&@localedir@&$localedir&g
53547 s&@mandir@&$mandir&g
53548 s&\\\${datarootdir}&$datarootdir&g' ;;
53552 # Neutralize VPATH when `$srcdir' = `.'.
53553 # Shell code in configure.ac might set extrasub.
53554 # FIXME: do we really want to maintain this feature?
53555 cat >>$CONFIG_STATUS <<_ACEOF
53559 cat >>$CONFIG_STATUS <<\_ACEOF
53561 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53562 s
&@configure_input@
&$configure_input&;t t
53563 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53564 s
&@srcdir@
&$ac_srcdir&;t t
53565 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53566 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53567 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53568 s
&@builddir@
&$ac_builddir&;t t
53569 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53570 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53571 s
&@INSTALL@
&$ac_INSTALL&;t t
53572 $ac_datarootdir_hack
53573 " $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
53575 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53576 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
53577 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
53578 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
53579 which seems to be undefined. Please make sure it is defined." >&5
53580 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
53581 which seems to be undefined. Please make sure it is defined." >&2;}
53585 -) cat "$tmp/out"; rm -f "$tmp/out";;
53586 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53595 # Transform confdefs.h into a sed script `conftest.defines', that
53596 # substitutes the proper values into config.h.in to produce config.h.
53597 rm -f conftest.defines conftest.
tail
53598 # First, append a space to every undef/define line, to ease matching.
53599 echo 's/$/ /' >conftest.defines
53600 # Then, protect against being on the right side of a sed subst, or in
53601 # an unquoted here document, in config.status. If some macros were
53602 # called several times there might be several #defines for the same
53603 # symbol, which is useless. But do not sort them, since the last
53604 # AC_DEFINE must be honored.
53605 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
53606 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53607 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53608 # PARAMS is the parameter list in the macro definition--in most cases, it's
53609 # just an empty string.
53610 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53611 ac_dB
='\\)[ (].*,\\1define\\2'
53619 s/^[ ]*#[ ]*define[ ][ ]*//
53624 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53625 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53626 ' >>conftest.defines
53628 # Remove the space that was appended to ease matching.
53629 # Then replace #undef with comments. This is necessary, for
53630 # example, in the case of _POSIX_SOURCE, which is predefined and required
53631 # on some systems where configure will not decide to define it.
53632 # (The regexp can be short, since the line contains either #define or #undef.)
53634 s,^[ #]*u.*,/* & */,' >>conftest.defines
53636 # Break up conftest.defines:
53637 ac_max_sed_lines
=50
53639 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53640 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53641 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53643 ac_in
='$ac_file_inputs'
53644 ac_out
='"$tmp/out1"'
53645 ac_nxt
='"$tmp/out2"'
53649 # Write a here document:
53650 cat >>$CONFIG_STATUS <<_ACEOF
53651 # First, check the format of the line:
53652 cat >"\$tmp/defines.sed" <<\\CEOF
53653 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53654 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53658 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
53660 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53661 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
53662 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
53663 grep . conftest.
tail >/dev
/null
|| break
53664 rm -f conftest.defines
53665 mv conftest.
tail conftest.defines
53667 rm -f conftest.defines conftest.
tail
53669 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53670 cat >>$CONFIG_STATUS <<\_ACEOF
53671 if test x
"$ac_file" != x
-; then
53672 echo "/* $configure_input */" >"$tmp/config.h"
53673 cat "$ac_result" >>"$tmp/config.h"
53674 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
53675 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53676 echo "$as_me: $ac_file is unchanged" >&6;}
53679 mv "$tmp/config.h" $ac_file
53682 echo "/* $configure_input */"
53688 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53689 echo "$as_me: executing $ac_file commands" >&6;}
53694 case $ac_file$ac_mode in
53696 mkdir -p $outdir &&
53697 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53699 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53700 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53701 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
53702 "wx-config":C
) rm -f wx
-config
53703 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53710 { (exit 0); exit 0; }
53712 chmod +x
$CONFIG_STATUS
53713 ac_clean_files
=$ac_clean_files_save
53716 # configure is writing to config.log, and then calls config.status.
53717 # config.status does its own redirection, appending to config.log.
53718 # Unfortunately, on DOS this fails, as config.log is still kept open
53719 # by configure, so config.status won't be able to write to it; its
53720 # output is simply discarded. So we exec the FD to /dev/null,
53721 # effectively closing config.log, so it can be properly (re)opened and
53722 # appended to by config.status. When coming back to configure, we
53723 # need to make the FD available again.
53724 if test "$no_create" != yes; then
53726 ac_config_status_args
=
53727 test "$silent" = yes &&
53728 ac_config_status_args
="$ac_config_status_args --quiet"
53730 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53732 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53733 # would make configure fail if this is the last instruction.
53734 $ac_cs_success || { (exit 1); exit 1; }
53738 # CONFIG_SUBDIRS section.
53740 if test "$no_recursion" != yes; then
53742 # Remove --cache-file and --srcdir arguments so they do not pile up.
53743 ac_sub_configure_args
=
53745 eval "set x $ac_configure_args"
53749 if test -n "$ac_prev"; then
53754 -cache-file | --cache-file | --cache-fil | --cache-fi \
53755 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53756 ac_prev
=cache_file
;;
53757 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53758 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53761 --config-cache | -C)
53763 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53765 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53767 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53769 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53773 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53775 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53779 # Always prepend --prefix to ensure using the same prefix
53780 # in subdir configurations.
53781 ac_arg
="--prefix=$prefix"
53783 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53785 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53788 if test "$silent" = yes; then
53789 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53793 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53795 # Do not complain, so a configure script can configure whichever
53796 # parts of a large source tree are present.
53797 test -d "$srcdir/$ac_dir" || continue
53799 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53800 echo "$as_me:$LINENO: $ac_msg" >&5
53804 -*) as_dir
=.
/$as_dir;;
53806 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53810 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53811 *) as_qdir
=$as_dir;;
53813 as_dirs
="'$as_qdir' $as_dirs"
53814 as_dir
=`$as_dirname -- "$as_dir" ||
53815 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53816 X"$as_dir" : 'X\(//\)[^/]' \| \
53817 X"$as_dir" : 'X\(//\)$' \| \
53818 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53824 /^X\(\/\/\)[^/].*/{
53837 test -d "$as_dir" && break
53839 test -z "$as_dirs" || eval "mkdir $as_dirs"
53840 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53841 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53842 { (exit 1); exit 1; }; }; }
53846 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53848 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53849 # A ".." for each directory in $ac_dir_suffix.
53850 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53851 case $ac_top_builddir_sub in
53852 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53853 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53856 ac_abs_top_builddir
=$ac_pwd
53857 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53858 # for backward compatibility:
53859 ac_top_builddir
=$ac_top_build_prefix
53862 .
) # We are building in place.
53864 ac_top_srcdir
=$ac_top_builddir_sub
53865 ac_abs_top_srcdir
=$ac_pwd ;;
53866 [\\/]* | ?
:[\\/]* ) # Absolute name.
53867 ac_srcdir
=$srcdir$ac_dir_suffix;
53868 ac_top_srcdir
=$srcdir
53869 ac_abs_top_srcdir
=$srcdir ;;
53870 *) # Relative name.
53871 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53872 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53873 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53875 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53880 # Check for guested configure; otherwise get Cygnus style configure.
53881 if test -f "$ac_srcdir/configure.gnu"; then
53882 ac_sub_configure
=$ac_srcdir/configure.gnu
53883 elif test -f "$ac_srcdir/configure"; then
53884 ac_sub_configure
=$ac_srcdir/configure
53885 elif test -f "$ac_srcdir/configure.in"; then
53886 # This should be Cygnus configure.
53887 ac_sub_configure
=$ac_aux_dir/configure
53889 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53890 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53894 # The recursion is here.
53895 if test -n "$ac_sub_configure"; then
53896 # Make the cache file name correct relative to the subdirectory.
53897 case $cache_file in
53898 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53899 *) # Relative name.
53900 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53903 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53904 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53905 # The eval makes quoting arguments work.
53906 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53907 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53908 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53909 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53910 { (exit 1); exit 1; }; }
53919 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53921 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53922 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53923 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53924 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53925 if test "$wxUSE_UNICODE" = "yes"; then
53926 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53927 echo " (using UTF-8)"
53929 echo " (using wchar_t)"
53935 echo " What level of wxWidgets compatibility should be enabled?"
53936 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53937 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53939 echo " Which libraries should wxWidgets use?"
53940 echo " STL ${wxUSE_STL}"
53941 echo " jpeg ${wxUSE_LIBJPEG-none}"
53942 echo " png ${wxUSE_LIBPNG-none}"
53943 echo " regex ${wxUSE_REGEX}"
53944 echo " tiff ${wxUSE_LIBTIFF-none}"
53945 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53946 echo " xpm ${wxUSE_LIBXPM-none}"
53948 echo " zlib ${wxUSE_ZLIB}"
53949 echo " expat ${wxUSE_EXPAT}"
53950 echo " libmspack ${wxUSE_LIBMSPACK}"
53951 echo " sdl ${wxUSE_LIBSDL}"