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
3610 elif test "x$wxUSE_GTK2" = "xno"; then
3615 for toolkit
in $ALL_TOOLKITS; do
3617 eval "value=\$${var}"
3618 if test "$value" = 1; then
3619 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3620 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3621 echo "${ECHO_T}$toolkit_echo" >&6; }
3625 if test "x$host_alias" != "x"; then
3626 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3627 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3629 { echo "$as_me:$LINENO: result: base only" >&5
3630 echo "${ECHO_T}base only" >&6; }
3635 if test "$wxUSE_OSX_CARBON" = 1 \
3636 -o "$wxUSE_OSX_COCOA" = 1 \
3637 -o "$wxUSE_OSX_IPHONE" = 1; then
3643 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3644 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3646 # Check whether --with-libpng was given.
3647 if test "${with_libpng+set}" = set; then
3648 withval
=$with_libpng;
3649 if test "$withval" = yes; then
3650 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3651 elif test "$withval" = no
; then
3652 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3653 elif test "$withval" = sys
; then
3654 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3655 elif test "$withval" = builtin; then
3656 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3658 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3659 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3660 { (exit 1); exit 1; }; }
3665 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3670 eval "$wx_cv_use_libpng"
3672 if test "$wxUSE_LIBPNG" = yes; then
3673 { echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6; }
3675 elif test "$wxUSE_LIBPNG" = no; then
3676 { echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6; }
3678 elif test "$wxUSE_LIBPNG" = sys; then
3679 { echo "$as_me:$LINENO: result: system version" >&5
3680 echo "${ECHO_T}system version" >&6; }
3681 elif test "$wxUSE_LIBPNG" = builtin; then
3682 { echo "$as_me:$LINENO: result: builtin version" >&5
3683 echo "${ECHO_T}builtin version" >&6; }
3685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3686 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3687 { (exit 1); exit 1; }; }
3691 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3692 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3694 # Check whether --with-libjpeg was given.
3695 if test "${with_libjpeg+set}" = set; then
3696 withval=$with_libjpeg;
3697 if test "$withval" = yes; then
3698 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3699 elif test "$withval" = no; then
3700 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3701 elif test "$withval" = sys; then
3702 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3703 elif test "$withval" = builtin; then
3704 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3706 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3707 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3713 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3718 eval "$wx_cv_use_libjpeg"
3720 if test "$wxUSE_LIBJPEG" = yes; then
3721 { echo "$as_me:$LINENO: result
: yes" >&5
3722 echo "${ECHO_T}yes" >&6; }
3723 elif test "$wxUSE_LIBJPEG" = no; then
3724 { echo "$as_me:$LINENO: result
: no
" >&5
3725 echo "${ECHO_T}no
" >&6; }
3726 elif test "$wxUSE_LIBJPEG" = sys; then
3727 { echo "$as_me:$LINENO: result
: system version
" >&5
3728 echo "${ECHO_T}system version
" >&6; }
3729 elif test "$wxUSE_LIBJPEG" = builtin; then
3730 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3731 echo "${ECHO_T}builtin version
" >&6; }
3733 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3734 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3739 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3740 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3742 # Check whether --with-libtiff was given.
3743 if test "${with_libtiff+set}" = set; then
3744 withval=$with_libtiff;
3745 if test "$withval" = yes; then
3746 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3747 elif test "$withval" = no; then
3748 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3749 elif test "$withval" = sys; then
3750 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3751 elif test "$withval" = builtin; then
3752 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3754 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3755 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3761 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3766 eval "$wx_cv_use_libtiff"
3768 if test "$wxUSE_LIBTIFF" = yes; then
3769 { echo "$as_me:$LINENO: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6; }
3771 elif test "$wxUSE_LIBTIFF" = no
; then
3772 { echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6; }
3774 elif test "$wxUSE_LIBTIFF" = sys
; then
3775 { echo "$as_me:$LINENO: result: system version" >&5
3776 echo "${ECHO_T}system version" >&6; }
3777 elif test "$wxUSE_LIBTIFF" = builtin; then
3778 { echo "$as_me:$LINENO: result: builtin version" >&5
3779 echo "${ECHO_T}builtin version" >&6; }
3781 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3782 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3783 { (exit 1); exit 1; }; }
3787 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3788 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3790 # Check whether --with-libxpm was given.
3791 if test "${with_libxpm+set}" = set; then
3792 withval
=$with_libxpm;
3793 if test "$withval" = yes; then
3794 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3795 elif test "$withval" = no
; then
3796 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3797 elif test "$withval" = sys
; then
3798 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3799 elif test "$withval" = builtin; then
3800 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3803 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3804 { (exit 1); exit 1; }; }
3809 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3814 eval "$wx_cv_use_libxpm"
3816 if test "$wxUSE_LIBXPM" = yes; then
3817 { echo "$as_me:$LINENO: result: yes" >&5
3818 echo "${ECHO_T}yes" >&6; }
3819 elif test "$wxUSE_LIBXPM" = no; then
3820 { echo "$as_me:$LINENO: result: no" >&5
3821 echo "${ECHO_T}no" >&6; }
3822 elif test "$wxUSE_LIBXPM" = sys; then
3823 { echo "$as_me:$LINENO: result: system version" >&5
3824 echo "${ECHO_T}system version" >&6; }
3825 elif test "$wxUSE_LIBXPM" = builtin; then
3826 { echo "$as_me:$LINENO: result: builtin version" >&5
3827 echo "${ECHO_T}builtin version" >&6; }
3829 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3830 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3831 { (exit 1); exit 1; }; }
3836 defaultval=$wxUSE_ALL_FEATURES
3837 if test -z "$defaultval"; then
3838 if test x"$withstring" = xwithout; then
3844 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3845 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3847 # Check whether --with-libiconv was given.
3848 if test "${with_libiconv+set}" = set; then
3849 withval=$with_libiconv;
3850 if test "$withval" = yes; then
3851 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3853 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3858 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3863 eval "$wx_cv_use_libiconv"
3865 if test x"$withstring" = xwithout; then
3866 if test $wxUSE_LIBICONV = yes; then
3872 result=$wxUSE_LIBICONV
3875 { echo "$as_me:$LINENO: result
: $result" >&5
3876 echo "${ECHO_T}$result" >&6; }
3880 defaultval=$wxUSE_ALL_FEATURES
3881 if test -z "$defaultval"; then
3882 if test x"$withstring" = xwithout; then
3888 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3889 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3891 # Check whether --with-libmspack was given.
3892 if test "${with_libmspack+set}" = set; then
3893 withval=$with_libmspack;
3894 if test "$withval" = yes; then
3895 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3897 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3902 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3907 eval "$wx_cv_use_libmspack"
3909 if test x
"$withstring" = xwithout
; then
3910 if test $wxUSE_LIBMSPACK = yes; then
3916 result
=$wxUSE_LIBMSPACK
3919 { echo "$as_me:$LINENO: result: $result" >&5
3920 echo "${ECHO_T}$result" >&6; }
3924 defaultval
=$wxUSE_ALL_FEATURES
3925 if test -z "$defaultval"; then
3926 if test x
"$withstring" = xwithout
; then
3932 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3933 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3935 # Check whether --with-gtkprint was given.
3936 if test "${with_gtkprint+set}" = set; then
3937 withval
=$with_gtkprint;
3938 if test "$withval" = yes; then
3939 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3941 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3946 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3951 eval "$wx_cv_use_gtkprint"
3953 if test x"$withstring" = xwithout; then
3954 if test $wxUSE_GTKPRINT = yes; then
3960 result=$wxUSE_GTKPRINT
3963 { echo "$as_me:$LINENO: result: $result" >&5
3964 echo "${ECHO_T}$result" >&6; }
3968 defaultval=$wxUSE_ALL_FEATURES
3969 if test -z "$defaultval"; then
3970 if test x"$withstring" = xwithout; then
3976 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3977 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3979 # Check whether --with-gnomeprint was given.
3980 if test "${with_gnomeprint+set}" = set; then
3981 withval=$with_gnomeprint;
3982 if test "$withval" = yes; then
3983 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3985 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3990 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3995 eval "$wx_cv_use_gnomeprint"
3997 if test x"$withstring" = xwithout; then
3998 if test $wxUSE_LIBGNOMEPRINT = yes; then
4004 result=$wxUSE_LIBGNOMEPRINT
4007 { echo "$as_me:$LINENO: result
: $result" >&5
4008 echo "${ECHO_T}$result" >&6; }
4012 defaultval=$wxUSE_ALL_FEATURES
4013 if test -z "$defaultval"; then
4014 if test x"$withstring" = xwithout; then
4020 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4021 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4023 # Check whether --with-gnomevfs was given.
4024 if test "${with_gnomevfs+set}" = set; then
4025 withval=$with_gnomevfs;
4026 if test "$withval" = yes; then
4027 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4029 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4034 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4039 eval "$wx_cv_use_gnomevfs"
4041 if test x
"$withstring" = xwithout
; then
4042 if test $wxUSE_LIBGNOMEVFS = yes; then
4048 result
=$wxUSE_LIBGNOMEVFS
4051 { echo "$as_me:$LINENO: result: $result" >&5
4052 echo "${ECHO_T}$result" >&6; }
4056 defaultval
=$wxUSE_ALL_FEATURES
4057 if test -z "$defaultval"; then
4058 if test x
"$withstring" = xwithout
; then
4064 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4065 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4067 # Check whether --with-hildon was given.
4068 if test "${with_hildon+set}" = set; then
4069 withval
=$with_hildon;
4070 if test "$withval" = yes; then
4071 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4073 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4078 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4083 eval "$wx_cv_use_hildon"
4085 if test x"$withstring" = xwithout; then
4086 if test $wxUSE_LIBHILDON = yes; then
4092 result=$wxUSE_LIBHILDON
4095 { echo "$as_me:$LINENO: result: $result" >&5
4096 echo "${ECHO_T}$result" >&6; }
4100 defaultval=$wxUSE_ALL_FEATURES
4101 if test -z "$defaultval"; then
4102 if test x"$withstring" = xwithout; then
4108 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4109 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4111 # Check whether --with-opengl was given.
4112 if test "${with_opengl+set}" = set; then
4113 withval=$with_opengl;
4114 if test "$withval" = yes; then
4115 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4117 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4122 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4127 eval "$wx_cv_use_opengl"
4129 if test x"$withstring" = xwithout; then
4130 if test $wxUSE_OPENGL = yes; then
4136 result=$wxUSE_OPENGL
4139 { echo "$as_me:$LINENO: result
: $result" >&5
4140 echo "${ECHO_T}$result" >&6; }
4147 defaultval=$wxUSE_ALL_FEATURES
4148 if test -z "$defaultval"; then
4149 if test x"$withstring" = xwithout; then
4155 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4156 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4158 # Check whether --with-dmalloc was given.
4159 if test "${with_dmalloc+set}" = set; then
4160 withval=$with_dmalloc;
4161 if test "$withval" = yes; then
4162 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4164 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4169 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4174 eval "$wx_cv_use_dmalloc"
4176 if test x
"$withstring" = xwithout
; then
4177 if test $wxUSE_DMALLOC = yes; then
4183 result
=$wxUSE_DMALLOC
4186 { echo "$as_me:$LINENO: result: $result" >&5
4187 echo "${ECHO_T}$result" >&6; }
4191 defaultval
=$wxUSE_ALL_FEATURES
4192 if test -z "$defaultval"; then
4193 if test x
"$withstring" = xwithout
; then
4199 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4200 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4202 # Check whether --with-sdl was given.
4203 if test "${with_sdl+set}" = set; then
4205 if test "$withval" = yes; then
4206 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4208 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4213 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4218 eval "$wx_cv_use_sdl"
4220 if test x"$withstring" = xwithout; then
4221 if test $wxUSE_LIBSDL = yes; then
4227 result=$wxUSE_LIBSDL
4230 { echo "$as_me:$LINENO: result: $result" >&5
4231 echo "${ECHO_T}$result" >&6; }
4234 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4235 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4237 # Check whether --with-regex was given.
4238 if test "${with_regex+set}" = set; then
4239 withval=$with_regex;
4240 if test "$withval" = yes; then
4241 wx_cv_use_regex='wxUSE_REGEX
=yes'
4242 elif test "$withval" = no; then
4243 wx_cv_use_regex='wxUSE_REGEX
=no
'
4244 elif test "$withval" = sys; then
4245 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4246 elif test "$withval" = builtin; then
4247 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4249 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4250 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4251 { (exit 1); exit 1; }; }
4256 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4261 eval "$wx_cv_use_regex"
4263 if test "$wxUSE_REGEX" = yes; then
4264 { echo "$as_me:$LINENO: result
: yes" >&5
4265 echo "${ECHO_T}yes" >&6; }
4266 elif test "$wxUSE_REGEX" = no; then
4267 { echo "$as_me:$LINENO: result
: no
" >&5
4268 echo "${ECHO_T}no
" >&6; }
4269 elif test "$wxUSE_REGEX" = sys; then
4270 { echo "$as_me:$LINENO: result
: system version
" >&5
4271 echo "${ECHO_T}system version
" >&6; }
4272 elif test "$wxUSE_REGEX" = builtin; then
4273 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4274 echo "${ECHO_T}builtin version
" >&6; }
4276 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4277 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4278 { (exit 1); exit 1; }; }
4282 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4283 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4285 # Check whether --with-zlib was given.
4286 if test "${with_zlib+set}" = set; then
4288 if test "$withval" = yes; then
4289 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4290 elif test "$withval" = no; then
4291 wx_cv_use_zlib='wxUSE_ZLIB=no'
4292 elif test "$withval" = sys; then
4293 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4294 elif test "$withval" = builtin; then
4295 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4297 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4298 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4299 { (exit 1); exit 1; }; }
4304 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4309 eval "$wx_cv_use_zlib"
4311 if test "$wxUSE_ZLIB" = yes; then
4312 { echo "$as_me:$LINENO: result: yes" >&5
4313 echo "${ECHO_T}yes" >&6; }
4314 elif test "$wxUSE_ZLIB" = no
; then
4315 { echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6; }
4317 elif test "$wxUSE_ZLIB" = sys
; then
4318 { echo "$as_me:$LINENO: result: system version" >&5
4319 echo "${ECHO_T}system version" >&6; }
4320 elif test "$wxUSE_ZLIB" = builtin; then
4321 { echo "$as_me:$LINENO: result: builtin version" >&5
4322 echo "${ECHO_T}builtin version" >&6; }
4324 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4325 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4326 { (exit 1); exit 1; }; }
4330 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4331 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4333 # Check whether --with-expat was given.
4334 if test "${with_expat+set}" = set; then
4335 withval
=$with_expat;
4336 if test "$withval" = yes; then
4337 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4338 elif test "$withval" = no
; then
4339 wx_cv_use_expat
='wxUSE_EXPAT=no'
4340 elif test "$withval" = sys
; then
4341 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4342 elif test "$withval" = builtin; then
4343 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4345 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4346 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4347 { (exit 1); exit 1; }; }
4352 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4357 eval "$wx_cv_use_expat"
4359 if test "$wxUSE_EXPAT" = yes; then
4360 { echo "$as_me:$LINENO: result: yes" >&5
4361 echo "${ECHO_T}yes" >&6; }
4362 elif test "$wxUSE_EXPAT" = no; then
4363 { echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6; }
4365 elif test "$wxUSE_EXPAT" = sys; then
4366 { echo "$as_me:$LINENO: result: system version" >&5
4367 echo "${ECHO_T}system version" >&6; }
4368 elif test "$wxUSE_EXPAT" = builtin; then
4369 { echo "$as_me:$LINENO: result: builtin version" >&5
4370 echo "${ECHO_T}builtin version" >&6; }
4372 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4373 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4374 { (exit 1); exit 1; }; }
4378 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4379 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4381 # Check whether --with-macosx-sdk was given.
4382 if test "${with_macosx_sdk+set}" = set; then
4383 withval=$with_macosx_sdk;
4384 wxUSE_MACOSX_SDK=$withval
4385 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4389 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4390 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4392 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4393 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4395 # Check whether --with-macosx-version-min was given.
4396 if test "${with_macosx_version_min+set}" = set; then
4397 withval=$with_macosx_version_min;
4398 wxUSE_MACOSX_VERSION_MIN=$withval
4399 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4403 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4404 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4407 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4408 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4409 # Check whether --enable-debug was given.
4410 if test "${enable_debug+set}" = set; then
4411 enableval=$enable_debug;
4412 if test "$enableval" = yes; then
4414 elif test "$enableval" = no; then
4416 elif test "$enableval" = max; then
4418 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4420 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4421 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4422 { (exit 1); exit 1; }; }
4431 case "$wxUSE_DEBUG" in
4433 DEFAULT_wxUSE_DEBUG_FLAG=yes
4434 DEFAULT_wxUSE_DEBUG_INFO=yes
4436 DEFAULT_wxUSE_OPTIMISE=no
4440 DEFAULT_wxUSE_DEBUG_FLAG=no
4441 DEFAULT_wxUSE_DEBUG_INFO=no
4445 DEFAULT_wxUSE_DEBUG_FLAG=yes
4446 DEFAULT_wxUSE_DEBUG_INFO=no
4451 enablestring=disable
4453 if test -z "$defaultval"; then
4454 if test x"$enablestring" = xdisable; then
4461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4462 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4463 # Check whether --enable-debug_flag was given.
4464 if test "${enable_debug_flag+set}" = set; then
4465 enableval=$enable_debug_flag;
4466 if test "$enableval" = yes; then
4467 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4469 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4474 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4479 eval "$wx_cv_use_debug_flag"
4481 if test x"$enablestring" = xdisable; then
4482 if test $wxUSE_DEBUG_FLAG = no; then
4488 result=$wxUSE_DEBUG_FLAG
4491 { echo "$as_me:$LINENO: result
: $result" >&5
4492 echo "${ECHO_T}$result" >&6; }
4497 if test -z "$defaultval"; then
4498 if test x"$enablestring" = xdisable; then
4505 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4506 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4507 # Check whether --enable-debug_info was given.
4508 if test "${enable_debug_info+set}" = set; then
4509 enableval=$enable_debug_info;
4510 if test "$enableval" = yes; then
4511 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4513 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4518 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4523 eval "$wx_cv_use_debug_info"
4525 if test x
"$enablestring" = xdisable
; then
4526 if test $wxUSE_DEBUG_INFO = no
; then
4532 result
=$wxUSE_DEBUG_INFO
4535 { echo "$as_me:$LINENO: result: $result" >&5
4536 echo "${ECHO_T}$result" >&6; }
4543 if test -z "$defaultval"; then
4544 if test x
"$enablestring" = xdisable
; then
4551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4552 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4553 # Check whether --enable-debug_gdb was given.
4554 if test "${enable_debug_gdb+set}" = set; then
4555 enableval
=$enable_debug_gdb;
4556 if test "$enableval" = yes; then
4557 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4559 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4564 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4569 eval "$wx_cv_use_debug_gdb"
4571 if test x"$enablestring" = xdisable; then
4572 if test $wxUSE_DEBUG_GDB = no; then
4578 result=$wxUSE_DEBUG_GDB
4581 { echo "$as_me:$LINENO: result: $result" >&5
4582 echo "${ECHO_T}$result" >&6; }
4587 if test -z "$defaultval"; then
4588 if test x"$enablestring" = xdisable; then
4595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4597 # Check whether --enable-debug_cntxt was given.
4598 if test "${enable_debug_cntxt+set}" = set; then
4599 enableval=$enable_debug_cntxt;
4600 if test "$enableval" = yes; then
4601 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4603 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4608 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4613 eval "$wx_cv_use_debug_cntxt"
4615 if test x"$enablestring" = xdisable; then
4616 if test $wxUSE_DEBUG_CONTEXT = no; then
4622 result=$wxUSE_DEBUG_CONTEXT
4625 { echo "$as_me:$LINENO: result
: $result" >&5
4626 echo "${ECHO_T}$result" >&6; }
4631 if test -z "$defaultval"; then
4632 if test x"$enablestring" = xdisable; then
4639 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4640 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4641 # Check whether --enable-mem_tracing was given.
4642 if test "${enable_mem_tracing+set}" = set; then
4643 enableval=$enable_mem_tracing;
4644 if test "$enableval" = yes; then
4645 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4647 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4652 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4657 eval "$wx_cv_use_mem_tracing"
4659 if test x
"$enablestring" = xdisable
; then
4660 if test $wxUSE_MEM_TRACING = no
; then
4666 result
=$wxUSE_MEM_TRACING
4669 { echo "$as_me:$LINENO: result: $result" >&5
4670 echo "${ECHO_T}$result" >&6; }
4675 enablestring
=disable
4677 if test -z "$defaultval"; then
4678 if test x
"$enablestring" = xdisable
; then
4685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4686 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4687 # Check whether --enable-shared was given.
4688 if test "${enable_shared+set}" = set; then
4689 enableval
=$enable_shared;
4690 if test "$enableval" = yes; then
4691 wx_cv_use_shared
='wxUSE_SHARED=yes'
4693 wx_cv_use_shared
='wxUSE_SHARED=no'
4698 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4703 eval "$wx_cv_use_shared"
4705 if test x"$enablestring" = xdisable; then
4706 if test $wxUSE_SHARED = no; then
4712 result=$wxUSE_SHARED
4715 { echo "$as_me:$LINENO: result: $result" >&5
4716 echo "${ECHO_T}$result" >&6; }
4721 if test -z "$defaultval"; then
4722 if test x"$enablestring" = xdisable; then
4729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4730 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4731 # Check whether --enable-stl was given.
4732 if test "${enable_stl+set}" = set; then
4733 enableval=$enable_stl;
4734 if test "$enableval" = yes; then
4735 wx_cv_use_stl='wxUSE_STL
=yes'
4737 wx_cv_use_stl='wxUSE_STL
=no
'
4742 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4747 eval "$wx_cv_use_stl"
4749 if test x"$enablestring" = xdisable; then
4750 if test $wxUSE_STL = no; then
4759 { echo "$as_me:$LINENO: result
: $result" >&5
4760 echo "${ECHO_T}$result" >&6; }
4765 if test -z "$defaultval"; then
4766 if test x"$enablestring" = xdisable; then
4773 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4774 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4775 # Check whether --enable-std_iostreams was given.
4776 if test "${enable_std_iostreams+set}" = set; then
4777 enableval=$enable_std_iostreams;
4778 if test "$enableval" = yes; then
4779 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4781 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4786 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4791 eval "$wx_cv_use_std_iostreams"
4793 if test x
"$enablestring" = xdisable
; then
4794 if test $wxUSE_STD_IOSTREAM = no
; then
4800 result
=$wxUSE_STD_IOSTREAM
4803 { echo "$as_me:$LINENO: result: $result" >&5
4804 echo "${ECHO_T}$result" >&6; }
4809 if test -z "$defaultval"; then
4810 if test x
"$enablestring" = xdisable
; then
4817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4819 # Check whether --enable-std_string was given.
4820 if test "${enable_std_string+set}" = set; then
4821 enableval
=$enable_std_string;
4822 if test "$enableval" = yes; then
4823 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4825 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4830 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4835 eval "$wx_cv_use_std_string"
4837 if test x"$enablestring" = xdisable; then
4838 if test $wxUSE_STD_STRING = no; then
4844 result=$wxUSE_STD_STRING
4847 { echo "$as_me:$LINENO: result: $result" >&5
4848 echo "${ECHO_T}$result" >&6; }
4851 enablestring=disable
4853 if test -z "$defaultval"; then
4854 if test x"$enablestring" = xdisable; then
4861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4862 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4863 # Check whether --enable-unicode was given.
4864 if test "${enable_unicode+set}" = set; then
4865 enableval=$enable_unicode;
4866 if test "$enableval" = yes; then
4867 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4869 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4874 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4879 eval "$wx_cv_use_unicode"
4881 if test x"$enablestring" = xdisable; then
4882 if test $wxUSE_UNICODE = no; then
4888 result=$wxUSE_UNICODE
4891 { echo "$as_me:$LINENO: result
: $result" >&5
4892 echo "${ECHO_T}$result" >&6; }
4897 if test -z "$defaultval"; then
4898 if test x"$enablestring" = xdisable; then
4905 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4906 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4907 # Check whether --enable-mslu was given.
4908 if test "${enable_mslu+set}" = set; then
4909 enableval=$enable_mslu;
4910 if test "$enableval" = yes; then
4911 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4913 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4918 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4923 eval "$wx_cv_use_mslu"
4925 if test x
"$enablestring" = xdisable
; then
4926 if test $wxUSE_UNICODE_MSLU = no
; then
4932 result
=$wxUSE_UNICODE_MSLU
4935 { echo "$as_me:$LINENO: result: $result" >&5
4936 echo "${ECHO_T}$result" >&6; }
4940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4942 # Check whether --enable-utf8 was given.
4943 if test "${enable_utf8+set}" = set; then
4944 enableval
=$enable_utf8;
4945 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4949 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4954 eval "$wx_cv_use_utf8"
4956 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4957 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4962 if test -z "$defaultval"; then
4963 if test x
"$enablestring" = xdisable
; then
4970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4971 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4972 # Check whether --enable-utf8only was given.
4973 if test "${enable_utf8only+set}" = set; then
4974 enableval
=$enable_utf8only;
4975 if test "$enableval" = yes; then
4976 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4978 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4983 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4988 eval "$wx_cv_use_utf8only"
4990 if test x"$enablestring" = xdisable; then
4991 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4997 result=$wxUSE_UNICODE_UTF8_LOCALE
5000 { echo "$as_me:$LINENO: result: $result" >&5
5001 echo "${ECHO_T}$result" >&6; }
5006 if test -z "$defaultval"; then
5007 if test x"$enablestring" = xdisable; then
5014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5015 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5016 # Check whether --enable-extended_rtti was given.
5017 if test "${enable_extended_rtti+set}" = set; then
5018 enableval=$enable_extended_rtti;
5019 if test "$enableval" = yes; then
5020 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
5022 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
5027 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5032 eval "$wx_cv_use_extended_rtti"
5034 if test x"$enablestring" = xdisable; then
5035 if test $wxUSE_EXTENDED_RTTI = no; then
5041 result=$wxUSE_EXTENDED_RTTI
5044 { echo "$as_me:$LINENO: result
: $result" >&5
5045 echo "${ECHO_T}$result" >&6; }
5047 if test "$USE_OS2" = 1; then
5048 DEFAULT_wxUSE_OMF=no
5052 if test -z "$defaultval"; then
5053 if test x"$enablestring" = xdisable; then
5060 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
5061 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
5062 # Check whether --enable-omf was given.
5063 if test "${enable_omf+set}" = set; then
5064 enableval=$enable_omf;
5065 if test "$enableval" = yes; then
5066 wx_cv_use_omf='wxUSE_OMF=yes'
5068 wx_cv_use_omf='wxUSE_OMF=no'
5073 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5078 eval "$wx_cv_use_omf"
5080 if test x
"$enablestring" = xdisable
; then
5081 if test $wxUSE_OMF = no
; then
5090 { echo "$as_me:$LINENO: result: $result" >&5
5091 echo "${ECHO_T}$result" >&6; }
5096 enablestring
=disable
5098 if test -z "$defaultval"; then
5099 if test x
"$enablestring" = xdisable
; then
5106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5108 # Check whether --enable-optimise was given.
5109 if test "${enable_optimise+set}" = set; then
5110 enableval
=$enable_optimise;
5111 if test "$enableval" = yes; then
5112 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5114 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5119 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5124 eval "$wx_cv_use_optimise"
5126 if test x"$enablestring" = xdisable; then
5127 if test $wxUSE_OPTIMISE = no; then
5133 result=$wxUSE_OPTIMISE
5136 { echo "$as_me:$LINENO: result: $result" >&5
5137 echo "${ECHO_T}$result" >&6; }
5143 if test -z "$defaultval"; then
5144 if test x"$enablestring" = xdisable; then
5151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5152 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5153 # Check whether --enable-profile was given.
5154 if test "${enable_profile+set}" = set; then
5155 enableval=$enable_profile;
5156 if test "$enableval" = yes; then
5157 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5159 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5164 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5169 eval "$wx_cv_use_profile"
5171 if test x"$enablestring" = xdisable; then
5172 if test $wxUSE_PROFILE = no; then
5178 result=$wxUSE_PROFILE
5181 { echo "$as_me:$LINENO: result
: $result" >&5
5182 echo "${ECHO_T}$result" >&6; }
5187 if test -z "$defaultval"; then
5188 if test x"$enablestring" = xdisable; then
5195 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5196 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5197 # Check whether --enable-no_rtti was given.
5198 if test "${enable_no_rtti+set}" = set; then
5199 enableval=$enable_no_rtti;
5200 if test "$enableval" = yes; then
5201 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5203 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5208 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5213 eval "$wx_cv_use_no_rtti"
5215 if test x
"$enablestring" = xdisable
; then
5216 if test $wxUSE_NO_RTTI = no
; then
5222 result
=$wxUSE_NO_RTTI
5225 { echo "$as_me:$LINENO: result: $result" >&5
5226 echo "${ECHO_T}$result" >&6; }
5231 if test -z "$defaultval"; then
5232 if test x
"$enablestring" = xdisable
; then
5239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5240 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5241 # Check whether --enable-no_exceptions was given.
5242 if test "${enable_no_exceptions+set}" = set; then
5243 enableval
=$enable_no_exceptions;
5244 if test "$enableval" = yes; then
5245 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5247 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5252 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5257 eval "$wx_cv_use_no_exceptions"
5259 if test x"$enablestring" = xdisable; then
5260 if test $wxUSE_NO_EXCEPTIONS = no; then
5266 result=$wxUSE_NO_EXCEPTIONS
5269 { echo "$as_me:$LINENO: result: $result" >&5
5270 echo "${ECHO_T}$result" >&6; }
5275 if test -z "$defaultval"; then
5276 if test x"$enablestring" = xdisable; then
5283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5284 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5285 # Check whether --enable-permissive was given.
5286 if test "${enable_permissive+set}" = set; then
5287 enableval=$enable_permissive;
5288 if test "$enableval" = yes; then
5289 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5291 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5296 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5301 eval "$wx_cv_use_permissive"
5303 if test x"$enablestring" = xdisable; then
5304 if test $wxUSE_PERMISSIVE = no; then
5310 result=$wxUSE_PERMISSIVE
5313 { echo "$as_me:$LINENO: result
: $result" >&5
5314 echo "${ECHO_T}$result" >&6; }
5319 if test -z "$defaultval"; then
5320 if test x"$enablestring" = xdisable; then
5327 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5328 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5329 # Check whether --enable-no_deps was given.
5330 if test "${enable_no_deps+set}" = set; then
5331 enableval=$enable_no_deps;
5332 if test "$enableval" = yes; then
5333 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5335 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5340 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5345 eval "$wx_cv_use_no_deps"
5347 if test x
"$enablestring" = xdisable
; then
5348 if test $wxUSE_NO_DEPS = no
; then
5354 result
=$wxUSE_NO_DEPS
5357 { echo "$as_me:$LINENO: result: $result" >&5
5358 echo "${ECHO_T}$result" >&6; }
5361 enablestring
=disable
5363 if test -z "$defaultval"; then
5364 if test x
"$enablestring" = xdisable
; then
5371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5372 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5373 # Check whether --enable-vararg_macros was given.
5374 if test "${enable_vararg_macros+set}" = set; then
5375 enableval
=$enable_vararg_macros;
5376 if test "$enableval" = yes; then
5377 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5379 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5384 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5389 eval "$wx_cv_use_vararg_macros"
5391 if test x"$enablestring" = xdisable; then
5392 if test $wxUSE_VARARG_MACROS = no; then
5398 result=$wxUSE_VARARG_MACROS
5401 { echo "$as_me:$LINENO: result: $result" >&5
5402 echo "${ECHO_T}$result" >&6; }
5406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5407 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5408 # Check whether --enable-universal_binary was given.
5409 if test "${enable_universal_binary+set}" = set; then
5410 enableval=$enable_universal_binary;
5411 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5415 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5420 eval "$wx_cv_use_universal_binary"
5422 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5423 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5429 if test -z "$defaultval"; then
5430 if test x"$enablestring" = xdisable; then
5437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5439 # Check whether --enable-compat26 was given.
5440 if test "${enable_compat26+set}" = set; then
5441 enableval=$enable_compat26;
5442 if test "$enableval" = yes; then
5443 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5445 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5450 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5455 eval "$wx_cv_use_compat26"
5457 if test x"$enablestring" = xdisable; then
5458 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5464 result=$WXWIN_COMPATIBILITY_2_6
5467 { echo "$as_me:$LINENO: result
: $result" >&5
5468 echo "${ECHO_T}$result" >&6; }
5471 enablestring=disable
5473 if test -z "$defaultval"; then
5474 if test x"$enablestring" = xdisable; then
5481 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5482 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5483 # Check whether --enable-compat28 was given.
5484 if test "${enable_compat28+set}" = set; then
5485 enableval=$enable_compat28;
5486 if test "$enableval" = yes; then
5487 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5489 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5494 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5499 eval "$wx_cv_use_compat28"
5501 if test x
"$enablestring" = xdisable
; then
5502 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5508 result
=$WXWIN_COMPATIBILITY_2_8
5511 { echo "$as_me:$LINENO: result: $result" >&5
5512 echo "${ECHO_T}$result" >&6; }
5516 enablestring
=disable
5518 if test -z "$defaultval"; then
5519 if test x
"$enablestring" = xdisable
; then
5526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5527 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5528 # Check whether --enable-rpath was given.
5529 if test "${enable_rpath+set}" = set; then
5530 enableval
=$enable_rpath;
5531 if test "$enableval" = yes; then
5532 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5534 wx_cv_use_rpath
='wxUSE_RPATH=no'
5539 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5544 eval "$wx_cv_use_rpath"
5546 if test x"$enablestring" = xdisable; then
5547 if test $wxUSE_RPATH = no; then
5556 { echo "$as_me:$LINENO: result: $result" >&5
5557 echo "${ECHO_T}$result" >&6; }
5563 if test -z "$defaultval"; then
5564 if test x"$enablestring" = xdisable; then
5571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5572 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5573 # Check whether --enable-objc_uniquifying was given.
5574 if test "${enable_objc_uniquifying+set}" = set; then
5575 enableval=$enable_objc_uniquifying;
5576 if test "$enableval" = yes; then
5577 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5579 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5584 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5589 eval "$wx_cv_use_objc_uniquifying"
5591 if test x"$enablestring" = xdisable; then
5592 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5598 result=$wxUSE_OBJC_UNIQUIFYING
5601 { echo "$as_me:$LINENO: result
: $result" >&5
5602 echo "${ECHO_T}$result" >&6; }
5606 enablestring=disable
5608 if test -z "$defaultval"; then
5609 if test x"$enablestring" = xdisable; then
5616 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5617 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5618 # Check whether --enable-visibility was given.
5619 if test "${enable_visibility+set}" = set; then
5620 enableval=$enable_visibility;
5621 if test "$enableval" = yes; then
5622 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5624 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5629 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5634 eval "$wx_cv_use_visibility"
5636 if test x
"$enablestring" = xdisable
; then
5637 if test $wxUSE_VISIBILITY = no
; then
5643 result
=$wxUSE_VISIBILITY
5646 { echo "$as_me:$LINENO: result: $result" >&5
5647 echo "${ECHO_T}$result" >&6; }
5650 enablestring
=disable
5652 if test -z "$defaultval"; then
5653 if test x
"$enablestring" = xdisable
; then
5660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5662 # Check whether --enable-tls was given.
5663 if test "${enable_tls+set}" = set; then
5664 enableval
=$enable_tls;
5665 if test "$enableval" = yes; then
5666 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5668 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5673 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5678 eval "$wx_cv_use_tls"
5680 if test x"$enablestring" = xdisable; then
5681 if test $wxUSE_COMPILER_TLS = no; then
5687 result=$wxUSE_COMPILER_TLS
5690 { echo "$as_me:$LINENO: result: $result" >&5
5691 echo "${ECHO_T}$result" >&6; }
5697 defaultval=$wxUSE_ALL_FEATURES
5698 if test -z "$defaultval"; then
5699 if test x"$enablestring" = xdisable; then
5706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5707 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5708 # Check whether --enable-intl was given.
5709 if test "${enable_intl+set}" = set; then
5710 enableval=$enable_intl;
5711 if test "$enableval" = yes; then
5712 wx_cv_use_intl='wxUSE_INTL
=yes'
5714 wx_cv_use_intl='wxUSE_INTL
=no
'
5719 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5724 eval "$wx_cv_use_intl"
5726 if test x"$enablestring" = xdisable; then
5727 if test $wxUSE_INTL = no; then
5736 { echo "$as_me:$LINENO: result
: $result" >&5
5737 echo "${ECHO_T}$result" >&6; }
5741 defaultval=$wxUSE_ALL_FEATURES
5742 if test -z "$defaultval"; then
5743 if test x"$enablestring" = xdisable; then
5750 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5751 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5752 # Check whether --enable-xlocale was given.
5753 if test "${enable_xlocale+set}" = set; then
5754 enableval=$enable_xlocale;
5755 if test "$enableval" = yes; then
5756 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5758 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5763 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5768 eval "$wx_cv_use_xlocale"
5770 if test x
"$enablestring" = xdisable
; then
5771 if test $wxUSE_XLOCALE = no
; then
5777 result
=$wxUSE_XLOCALE
5780 { echo "$as_me:$LINENO: result: $result" >&5
5781 echo "${ECHO_T}$result" >&6; }
5785 defaultval
=$wxUSE_ALL_FEATURES
5786 if test -z "$defaultval"; then
5787 if test x
"$enablestring" = xdisable
; then
5794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5795 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5796 # Check whether --enable-config was given.
5797 if test "${enable_config+set}" = set; then
5798 enableval
=$enable_config;
5799 if test "$enableval" = yes; then
5800 wx_cv_use_config
='wxUSE_CONFIG=yes'
5802 wx_cv_use_config
='wxUSE_CONFIG=no'
5807 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5812 eval "$wx_cv_use_config"
5814 if test x"$enablestring" = xdisable; then
5815 if test $wxUSE_CONFIG = no; then
5821 result=$wxUSE_CONFIG
5824 { echo "$as_me:$LINENO: result: $result" >&5
5825 echo "${ECHO_T}$result" >&6; }
5830 defaultval=$wxUSE_ALL_FEATURES
5831 if test -z "$defaultval"; then
5832 if test x"$enablestring" = xdisable; then
5839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5840 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5841 # Check whether --enable-protocols was given.
5842 if test "${enable_protocols+set}" = set; then
5843 enableval=$enable_protocols;
5844 if test "$enableval" = yes; then
5845 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5847 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5852 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5857 eval "$wx_cv_use_protocols"
5859 if test x"$enablestring" = xdisable; then
5860 if test $wxUSE_PROTOCOL = no; then
5866 result=$wxUSE_PROTOCOL
5869 { echo "$as_me:$LINENO: result
: $result" >&5
5870 echo "${ECHO_T}$result" >&6; }
5874 defaultval=$wxUSE_ALL_FEATURES
5875 if test -z "$defaultval"; then
5876 if test x"$enablestring" = xdisable; then
5883 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5884 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5885 # Check whether --enable-ftp was given.
5886 if test "${enable_ftp+set}" = set; then
5887 enableval=$enable_ftp;
5888 if test "$enableval" = yes; then
5889 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5891 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5896 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5901 eval "$wx_cv_use_ftp"
5903 if test x
"$enablestring" = xdisable
; then
5904 if test $wxUSE_PROTOCOL_FTP = no
; then
5910 result
=$wxUSE_PROTOCOL_FTP
5913 { echo "$as_me:$LINENO: result: $result" >&5
5914 echo "${ECHO_T}$result" >&6; }
5918 defaultval
=$wxUSE_ALL_FEATURES
5919 if test -z "$defaultval"; then
5920 if test x
"$enablestring" = xdisable
; then
5927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5929 # Check whether --enable-http was given.
5930 if test "${enable_http+set}" = set; then
5931 enableval
=$enable_http;
5932 if test "$enableval" = yes; then
5933 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5935 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5940 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5945 eval "$wx_cv_use_http"
5947 if test x"$enablestring" = xdisable; then
5948 if test $wxUSE_PROTOCOL_HTTP = no; then
5954 result=$wxUSE_PROTOCOL_HTTP
5957 { echo "$as_me:$LINENO: result: $result" >&5
5958 echo "${ECHO_T}$result" >&6; }
5962 defaultval=$wxUSE_ALL_FEATURES
5963 if test -z "$defaultval"; then
5964 if test x"$enablestring" = xdisable; then
5971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5972 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5973 # Check whether --enable-fileproto was given.
5974 if test "${enable_fileproto+set}" = set; then
5975 enableval=$enable_fileproto;
5976 if test "$enableval" = yes; then
5977 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5979 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5984 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5989 eval "$wx_cv_use_fileproto"
5991 if test x"$enablestring" = xdisable; then
5992 if test $wxUSE_PROTOCOL_FILE = no; then
5998 result=$wxUSE_PROTOCOL_FILE
6001 { echo "$as_me:$LINENO: result
: $result" >&5
6002 echo "${ECHO_T}$result" >&6; }
6006 defaultval=$wxUSE_ALL_FEATURES
6007 if test -z "$defaultval"; then
6008 if test x"$enablestring" = xdisable; then
6015 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
6016 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
6017 # Check whether --enable-sockets was given.
6018 if test "${enable_sockets+set}" = set; then
6019 enableval=$enable_sockets;
6020 if test "$enableval" = yes; then
6021 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6023 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6028 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6033 eval "$wx_cv_use_sockets"
6035 if test x
"$enablestring" = xdisable
; then
6036 if test $wxUSE_SOCKETS = no
; then
6042 result
=$wxUSE_SOCKETS
6045 { echo "$as_me:$LINENO: result: $result" >&5
6046 echo "${ECHO_T}$result" >&6; }
6050 defaultval
=$wxUSE_ALL_FEATURES
6051 if test -z "$defaultval"; then
6052 if test x
"$enablestring" = xdisable
; then
6059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6060 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6061 # Check whether --enable-ipv6 was given.
6062 if test "${enable_ipv6+set}" = set; then
6063 enableval
=$enable_ipv6;
6064 if test "$enableval" = yes; then
6065 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6067 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6072 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6077 eval "$wx_cv_use_ipv6"
6079 if test x"$enablestring" = xdisable; then
6080 if test $wxUSE_IPV6 = no; then
6089 { echo "$as_me:$LINENO: result: $result" >&5
6090 echo "${ECHO_T}$result" >&6; }
6094 defaultval=$wxUSE_ALL_FEATURES
6095 if test -z "$defaultval"; then
6096 if test x"$enablestring" = xdisable; then
6103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6105 # Check whether --enable-ole was given.
6106 if test "${enable_ole+set}" = set; then
6107 enableval=$enable_ole;
6108 if test "$enableval" = yes; then
6109 wx_cv_use_ole='wxUSE_OLE
=yes'
6111 wx_cv_use_ole='wxUSE_OLE
=no
'
6116 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6121 eval "$wx_cv_use_ole"
6123 if test x"$enablestring" = xdisable; then
6124 if test $wxUSE_OLE = no; then
6133 { echo "$as_me:$LINENO: result
: $result" >&5
6134 echo "${ECHO_T}$result" >&6; }
6138 defaultval=$wxUSE_ALL_FEATURES
6139 if test -z "$defaultval"; then
6140 if test x"$enablestring" = xdisable; then
6147 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6148 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6149 # Check whether --enable-dataobj was given.
6150 if test "${enable_dataobj+set}" = set; then
6151 enableval=$enable_dataobj;
6152 if test "$enableval" = yes; then
6153 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6155 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6160 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6165 eval "$wx_cv_use_dataobj"
6167 if test x
"$enablestring" = xdisable
; then
6168 if test $wxUSE_DATAOBJ = no
; then
6174 result
=$wxUSE_DATAOBJ
6177 { echo "$as_me:$LINENO: result: $result" >&5
6178 echo "${ECHO_T}$result" >&6; }
6183 defaultval
=$wxUSE_ALL_FEATURES
6184 if test -z "$defaultval"; then
6185 if test x
"$enablestring" = xdisable
; then
6192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6193 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6194 # Check whether --enable-ipc was given.
6195 if test "${enable_ipc+set}" = set; then
6196 enableval
=$enable_ipc;
6197 if test "$enableval" = yes; then
6198 wx_cv_use_ipc
='wxUSE_IPC=yes'
6200 wx_cv_use_ipc
='wxUSE_IPC=no'
6205 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6210 eval "$wx_cv_use_ipc"
6212 if test x"$enablestring" = xdisable; then
6213 if test $wxUSE_IPC = no; then
6222 { echo "$as_me:$LINENO: result: $result" >&5
6223 echo "${ECHO_T}$result" >&6; }
6228 defaultval=$wxUSE_ALL_FEATURES
6229 if test -z "$defaultval"; then
6230 if test x"$enablestring" = xdisable; then
6237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6239 # Check whether --enable-baseevtloop was given.
6240 if test "${enable_baseevtloop+set}" = set; then
6241 enableval=$enable_baseevtloop;
6242 if test "$enableval" = yes; then
6243 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6245 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6250 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6255 eval "$wx_cv_use_baseevtloop"
6257 if test x"$enablestring" = xdisable; then
6258 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6264 result=$wxUSE_CONSOLE_EVENTLOOP
6267 { echo "$as_me:$LINENO: result
: $result" >&5
6268 echo "${ECHO_T}$result" >&6; }
6272 defaultval=$wxUSE_ALL_FEATURES
6273 if test -z "$defaultval"; then
6274 if test x"$enablestring" = xdisable; then
6281 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6282 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6283 # Check whether --enable-epollloop was given.
6284 if test "${enable_epollloop+set}" = set; then
6285 enableval=$enable_epollloop;
6286 if test "$enableval" = yes; then
6287 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6289 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6294 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6299 eval "$wx_cv_use_epollloop"
6301 if test x
"$enablestring" = xdisable
; then
6302 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6308 result
=$wxUSE_EPOLL_DISPATCHER
6311 { echo "$as_me:$LINENO: result: $result" >&5
6312 echo "${ECHO_T}$result" >&6; }
6316 defaultval
=$wxUSE_ALL_FEATURES
6317 if test -z "$defaultval"; then
6318 if test x
"$enablestring" = xdisable
; then
6325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6326 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6327 # Check whether --enable-selectloop was given.
6328 if test "${enable_selectloop+set}" = set; then
6329 enableval
=$enable_selectloop;
6330 if test "$enableval" = yes; then
6331 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6333 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6338 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6343 eval "$wx_cv_use_selectloop"
6345 if test x"$enablestring" = xdisable; then
6346 if test $wxUSE_SELECT_DISPATCHER = no; then
6352 result=$wxUSE_SELECT_DISPATCHER
6355 { echo "$as_me:$LINENO: result: $result" >&5
6356 echo "${ECHO_T}$result" >&6; }
6361 defaultval=$wxUSE_ALL_FEATURES
6362 if test -z "$defaultval"; then
6363 if test x"$enablestring" = xdisable; then
6370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6371 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6372 # Check whether --enable-any was given.
6373 if test "${enable_any+set}" = set; then
6374 enableval=$enable_any;
6375 if test "$enableval" = yes; then
6376 wx_cv_use_any='wxUSE_ANY
=yes'
6378 wx_cv_use_any='wxUSE_ANY
=no
'
6383 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6388 eval "$wx_cv_use_any"
6390 if test x"$enablestring" = xdisable; then
6391 if test $wxUSE_ANY = no; then
6400 { echo "$as_me:$LINENO: result
: $result" >&5
6401 echo "${ECHO_T}$result" >&6; }
6405 defaultval=$wxUSE_ALL_FEATURES
6406 if test -z "$defaultval"; then
6407 if test x"$enablestring" = xdisable; then
6414 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6415 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6416 # Check whether --enable-apple_ieee was given.
6417 if test "${enable_apple_ieee+set}" = set; then
6418 enableval=$enable_apple_ieee;
6419 if test "$enableval" = yes; then
6420 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6422 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6427 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6432 eval "$wx_cv_use_apple_ieee"
6434 if test x
"$enablestring" = xdisable
; then
6435 if test $wxUSE_APPLE_IEEE = no
; then
6441 result
=$wxUSE_APPLE_IEEE
6444 { echo "$as_me:$LINENO: result: $result" >&5
6445 echo "${ECHO_T}$result" >&6; }
6449 defaultval
=$wxUSE_ALL_FEATURES
6450 if test -z "$defaultval"; then
6451 if test x
"$enablestring" = xdisable
; then
6458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6459 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6460 # Check whether --enable-arcstream was given.
6461 if test "${enable_arcstream+set}" = set; then
6462 enableval
=$enable_arcstream;
6463 if test "$enableval" = yes; then
6464 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6466 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6471 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6476 eval "$wx_cv_use_arcstream"
6478 if test x"$enablestring" = xdisable; then
6479 if test $wxUSE_ARCHIVE_STREAMS = no; then
6485 result=$wxUSE_ARCHIVE_STREAMS
6488 { echo "$as_me:$LINENO: result: $result" >&5
6489 echo "${ECHO_T}$result" >&6; }
6493 defaultval=$wxUSE_ALL_FEATURES
6494 if test -z "$defaultval"; then
6495 if test x"$enablestring" = xdisable; then
6502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6503 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6504 # Check whether --enable-base64 was given.
6505 if test "${enable_base64+set}" = set; then
6506 enableval=$enable_base64;
6507 if test "$enableval" = yes; then
6508 wx_cv_use_base64='wxUSE_BASE64
=yes'
6510 wx_cv_use_base64='wxUSE_BASE64
=no
'
6515 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6520 eval "$wx_cv_use_base64"
6522 if test x"$enablestring" = xdisable; then
6523 if test $wxUSE_BASE64 = no; then
6529 result=$wxUSE_BASE64
6532 { echo "$as_me:$LINENO: result
: $result" >&5
6533 echo "${ECHO_T}$result" >&6; }
6537 defaultval=$wxUSE_ALL_FEATURES
6538 if test -z "$defaultval"; then
6539 if test x"$enablestring" = xdisable; then
6546 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6547 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6548 # Check whether --enable-backtrace was given.
6549 if test "${enable_backtrace+set}" = set; then
6550 enableval=$enable_backtrace;
6551 if test "$enableval" = yes; then
6552 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6554 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6559 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6564 eval "$wx_cv_use_backtrace"
6566 if test x
"$enablestring" = xdisable
; then
6567 if test $wxUSE_STACKWALKER = no
; then
6573 result
=$wxUSE_STACKWALKER
6576 { echo "$as_me:$LINENO: result: $result" >&5
6577 echo "${ECHO_T}$result" >&6; }
6581 defaultval
=$wxUSE_ALL_FEATURES
6582 if test -z "$defaultval"; then
6583 if test x
"$enablestring" = xdisable
; then
6590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6591 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6592 # Check whether --enable-catch_segvs was given.
6593 if test "${enable_catch_segvs+set}" = set; then
6594 enableval
=$enable_catch_segvs;
6595 if test "$enableval" = yes; then
6596 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6598 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6603 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6608 eval "$wx_cv_use_catch_segvs"
6610 if test x"$enablestring" = xdisable; then
6611 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6617 result=$wxUSE_ON_FATAL_EXCEPTION
6620 { echo "$as_me:$LINENO: result: $result" >&5
6621 echo "${ECHO_T}$result" >&6; }
6625 defaultval=$wxUSE_ALL_FEATURES
6626 if test -z "$defaultval"; then
6627 if test x"$enablestring" = xdisable; then
6634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6635 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6636 # Check whether --enable-cmdline was given.
6637 if test "${enable_cmdline+set}" = set; then
6638 enableval=$enable_cmdline;
6639 if test "$enableval" = yes; then
6640 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6642 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6647 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6652 eval "$wx_cv_use_cmdline"
6654 if test x"$enablestring" = xdisable; then
6655 if test $wxUSE_CMDLINE_PARSER = no; then
6661 result=$wxUSE_CMDLINE_PARSER
6664 { echo "$as_me:$LINENO: result
: $result" >&5
6665 echo "${ECHO_T}$result" >&6; }
6669 defaultval=$wxUSE_ALL_FEATURES
6670 if test -z "$defaultval"; then
6671 if test x"$enablestring" = xdisable; then
6678 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6679 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6680 # Check whether --enable-datetime was given.
6681 if test "${enable_datetime+set}" = set; then
6682 enableval=$enable_datetime;
6683 if test "$enableval" = yes; then
6684 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6686 wx_cv_use_datetime='wxUSE_DATETIME=no'
6691 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6696 eval "$wx_cv_use_datetime"
6698 if test x
"$enablestring" = xdisable
; then
6699 if test $wxUSE_DATETIME = no
; then
6705 result
=$wxUSE_DATETIME
6708 { echo "$as_me:$LINENO: result: $result" >&5
6709 echo "${ECHO_T}$result" >&6; }
6713 defaultval
=$wxUSE_ALL_FEATURES
6714 if test -z "$defaultval"; then
6715 if test x
"$enablestring" = xdisable
; then
6722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6723 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6724 # Check whether --enable-debugreport was given.
6725 if test "${enable_debugreport+set}" = set; then
6726 enableval
=$enable_debugreport;
6727 if test "$enableval" = yes; then
6728 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6730 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6735 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6740 eval "$wx_cv_use_debugreport"
6742 if test x"$enablestring" = xdisable; then
6743 if test $wxUSE_DEBUGREPORT = no; then
6749 result=$wxUSE_DEBUGREPORT
6752 { echo "$as_me:$LINENO: result: $result" >&5
6753 echo "${ECHO_T}$result" >&6; }
6757 defaultval=$wxUSE_ALL_FEATURES
6758 if test -z "$defaultval"; then
6759 if test x"$enablestring" = xdisable; then
6766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6767 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6768 # Check whether --enable-dialupman was given.
6769 if test "${enable_dialupman+set}" = set; then
6770 enableval=$enable_dialupman;
6771 if test "$enableval" = yes; then
6772 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6774 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6779 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6784 eval "$wx_cv_use_dialupman"
6786 if test x"$enablestring" = xdisable; then
6787 if test $wxUSE_DIALUP_MANAGER = no; then
6793 result=$wxUSE_DIALUP_MANAGER
6796 { echo "$as_me:$LINENO: result
: $result" >&5
6797 echo "${ECHO_T}$result" >&6; }
6801 defaultval=$wxUSE_ALL_FEATURES
6802 if test -z "$defaultval"; then
6803 if test x"$enablestring" = xdisable; then
6810 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6811 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6812 # Check whether --enable-dynlib was given.
6813 if test "${enable_dynlib+set}" = set; then
6814 enableval=$enable_dynlib;
6815 if test "$enableval" = yes; then
6816 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6818 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6823 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6828 eval "$wx_cv_use_dynlib"
6830 if test x
"$enablestring" = xdisable
; then
6831 if test $wxUSE_DYNLIB_CLASS = no
; then
6837 result
=$wxUSE_DYNLIB_CLASS
6840 { echo "$as_me:$LINENO: result: $result" >&5
6841 echo "${ECHO_T}$result" >&6; }
6845 defaultval
=$wxUSE_ALL_FEATURES
6846 if test -z "$defaultval"; then
6847 if test x
"$enablestring" = xdisable
; then
6854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6856 # Check whether --enable-dynamicloader was given.
6857 if test "${enable_dynamicloader+set}" = set; then
6858 enableval
=$enable_dynamicloader;
6859 if test "$enableval" = yes; then
6860 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6862 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6867 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6872 eval "$wx_cv_use_dynamicloader"
6874 if test x"$enablestring" = xdisable; then
6875 if test $wxUSE_DYNAMIC_LOADER = no; then
6881 result=$wxUSE_DYNAMIC_LOADER
6884 { echo "$as_me:$LINENO: result: $result" >&5
6885 echo "${ECHO_T}$result" >&6; }
6889 defaultval=$wxUSE_ALL_FEATURES
6890 if test -z "$defaultval"; then
6891 if test x"$enablestring" = xdisable; then
6898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6900 # Check whether --enable-exceptions was given.
6901 if test "${enable_exceptions+set}" = set; then
6902 enableval=$enable_exceptions;
6903 if test "$enableval" = yes; then
6904 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6906 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6911 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6916 eval "$wx_cv_use_exceptions"
6918 if test x"$enablestring" = xdisable; then
6919 if test $wxUSE_EXCEPTIONS = no; then
6925 result=$wxUSE_EXCEPTIONS
6928 { echo "$as_me:$LINENO: result
: $result" >&5
6929 echo "${ECHO_T}$result" >&6; }
6933 defaultval=$wxUSE_ALL_FEATURES
6934 if test -z "$defaultval"; then
6935 if test x"$enablestring" = xdisable; then
6942 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6943 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6944 # Check whether --enable-ffile was given.
6945 if test "${enable_ffile+set}" = set; then
6946 enableval=$enable_ffile;
6947 if test "$enableval" = yes; then
6948 wx_cv_use_ffile='wxUSE_FFILE=yes'
6950 wx_cv_use_ffile='wxUSE_FFILE=no'
6955 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6960 eval "$wx_cv_use_ffile"
6962 if test x
"$enablestring" = xdisable
; then
6963 if test $wxUSE_FFILE = no
; then
6972 { echo "$as_me:$LINENO: result: $result" >&5
6973 echo "${ECHO_T}$result" >&6; }
6977 defaultval
=$wxUSE_ALL_FEATURES
6978 if test -z "$defaultval"; then
6979 if test x
"$enablestring" = xdisable
; then
6986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6988 # Check whether --enable-file was given.
6989 if test "${enable_file+set}" = set; then
6990 enableval
=$enable_file;
6991 if test "$enableval" = yes; then
6992 wx_cv_use_file
='wxUSE_FILE=yes'
6994 wx_cv_use_file
='wxUSE_FILE=no'
6999 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7004 eval "$wx_cv_use_file"
7006 if test x"$enablestring" = xdisable; then
7007 if test $wxUSE_FILE = no; then
7016 { echo "$as_me:$LINENO: result: $result" >&5
7017 echo "${ECHO_T}$result" >&6; }
7021 defaultval=$wxUSE_ALL_FEATURES
7022 if test -z "$defaultval"; then
7023 if test x"$enablestring" = xdisable; then
7030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7031 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7032 # Check whether --enable-filehistory was given.
7033 if test "${enable_filehistory+set}" = set; then
7034 enableval=$enable_filehistory;
7035 if test "$enableval" = yes; then
7036 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=yes'
7038 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=no
'
7043 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7048 eval "$wx_cv_use_filehistory"
7050 if test x"$enablestring" = xdisable; then
7051 if test $wxUSE_FILE_HISTORY = no; then
7057 result=$wxUSE_FILE_HISTORY
7060 { echo "$as_me:$LINENO: result
: $result" >&5
7061 echo "${ECHO_T}$result" >&6; }
7065 defaultval=$wxUSE_ALL_FEATURES
7066 if test -z "$defaultval"; then
7067 if test x"$enablestring" = xdisable; then
7074 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filesystem" >&5
7075 echo $ECHO_N "checking
for --${enablestring:-enable}-filesystem...
$ECHO_C" >&6; }
7076 # Check whether --enable-filesystem was given.
7077 if test "${enable_filesystem+set}" = set; then
7078 enableval=$enable_filesystem;
7079 if test "$enableval" = yes; then
7080 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7082 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7087 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7092 eval "$wx_cv_use_filesystem"
7094 if test x
"$enablestring" = xdisable
; then
7095 if test $wxUSE_FILESYSTEM = no
; then
7101 result
=$wxUSE_FILESYSTEM
7104 { echo "$as_me:$LINENO: result: $result" >&5
7105 echo "${ECHO_T}$result" >&6; }
7109 defaultval
=$wxUSE_ALL_FEATURES
7110 if test -z "$defaultval"; then
7111 if test x
"$enablestring" = xdisable
; then
7118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7119 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7120 # Check whether --enable-fontenum was given.
7121 if test "${enable_fontenum+set}" = set; then
7122 enableval
=$enable_fontenum;
7123 if test "$enableval" = yes; then
7124 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
7126 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
7131 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7136 eval "$wx_cv_use_fontenum"
7138 if test x"$enablestring" = xdisable; then
7139 if test $wxUSE_FONTENUM = no; then
7145 result=$wxUSE_FONTENUM
7148 { echo "$as_me:$LINENO: result: $result" >&5
7149 echo "${ECHO_T}$result" >&6; }
7153 defaultval=$wxUSE_ALL_FEATURES
7154 if test -z "$defaultval"; then
7155 if test x"$enablestring" = xdisable; then
7162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7163 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7164 # Check whether --enable-fontmap was given.
7165 if test "${enable_fontmap+set}" = set; then
7166 enableval=$enable_fontmap;
7167 if test "$enableval" = yes; then
7168 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
7170 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
7175 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7180 eval "$wx_cv_use_fontmap"
7182 if test x"$enablestring" = xdisable; then
7183 if test $wxUSE_FONTMAP = no; then
7189 result=$wxUSE_FONTMAP
7192 { echo "$as_me:$LINENO: result
: $result" >&5
7193 echo "${ECHO_T}$result" >&6; }
7197 defaultval=$wxUSE_ALL_FEATURES
7198 if test -z "$defaultval"; then
7199 if test x"$enablestring" = xdisable; then
7206 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_archive" >&5
7207 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_archive...
$ECHO_C" >&6; }
7208 # Check whether --enable-fs_archive was given.
7209 if test "${enable_fs_archive+set}" = set; then
7210 enableval=$enable_fs_archive;
7211 if test "$enableval" = yes; then
7212 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7214 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7219 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7224 eval "$wx_cv_use_fs_archive"
7226 if test x
"$enablestring" = xdisable
; then
7227 if test $wxUSE_FS_ARCHIVE = no
; then
7233 result
=$wxUSE_FS_ARCHIVE
7236 { echo "$as_me:$LINENO: result: $result" >&5
7237 echo "${ECHO_T}$result" >&6; }
7241 defaultval
=$wxUSE_ALL_FEATURES
7242 if test -z "$defaultval"; then
7243 if test x
"$enablestring" = xdisable
; then
7250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7252 # Check whether --enable-fs_inet was given.
7253 if test "${enable_fs_inet+set}" = set; then
7254 enableval
=$enable_fs_inet;
7255 if test "$enableval" = yes; then
7256 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
7258 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
7263 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7268 eval "$wx_cv_use_fs_inet"
7270 if test x"$enablestring" = xdisable; then
7271 if test $wxUSE_FS_INET = no; then
7277 result=$wxUSE_FS_INET
7280 { echo "$as_me:$LINENO: result: $result" >&5
7281 echo "${ECHO_T}$result" >&6; }
7285 defaultval=$wxUSE_ALL_FEATURES
7286 if test -z "$defaultval"; then
7287 if test x"$enablestring" = xdisable; then
7294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7296 # Check whether --enable-fs_zip was given.
7297 if test "${enable_fs_zip+set}" = set; then
7298 enableval=$enable_fs_zip;
7299 if test "$enableval" = yes; then
7300 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
7302 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
7307 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7312 eval "$wx_cv_use_fs_zip"
7314 if test x"$enablestring" = xdisable; then
7315 if test $wxUSE_FS_ZIP = no; then
7321 result=$wxUSE_FS_ZIP
7324 { echo "$as_me:$LINENO: result
: $result" >&5
7325 echo "${ECHO_T}$result" >&6; }
7329 defaultval=$wxUSE_ALL_FEATURES
7330 if test -z "$defaultval"; then
7331 if test x"$enablestring" = xdisable; then
7338 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fswatcher" >&5
7339 echo $ECHO_N "checking
for --${enablestring:-enable}-fswatcher...
$ECHO_C" >&6; }
7340 # Check whether --enable-fswatcher was given.
7341 if test "${enable_fswatcher+set}" = set; then
7342 enableval=$enable_fswatcher;
7343 if test "$enableval" = yes; then
7344 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7346 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7351 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7356 eval "$wx_cv_use_fswatcher"
7358 if test x
"$enablestring" = xdisable
; then
7359 if test $wxUSE_FSWATCHER = no
; then
7365 result
=$wxUSE_FSWATCHER
7368 { echo "$as_me:$LINENO: result: $result" >&5
7369 echo "${ECHO_T}$result" >&6; }
7373 defaultval
=$wxUSE_ALL_FEATURES
7374 if test -z "$defaultval"; then
7375 if test x
"$enablestring" = xdisable
; then
7382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7383 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7384 # Check whether --enable-geometry was given.
7385 if test "${enable_geometry+set}" = set; then
7386 enableval
=$enable_geometry;
7387 if test "$enableval" = yes; then
7388 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7390 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7395 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7400 eval "$wx_cv_use_geometry"
7402 if test x"$enablestring" = xdisable; then
7403 if test $wxUSE_GEOMETRY = no; then
7409 result=$wxUSE_GEOMETRY
7412 { echo "$as_me:$LINENO: result: $result" >&5
7413 echo "${ECHO_T}$result" >&6; }
7417 defaultval=$wxUSE_ALL_FEATURES
7418 if test -z "$defaultval"; then
7419 if test x"$enablestring" = xdisable; then
7426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7427 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7428 # Check whether --enable-log was given.
7429 if test "${enable_log+set}" = set; then
7430 enableval=$enable_log;
7431 if test "$enableval" = yes; then
7432 wx_cv_use_log='wxUSE_LOG
=yes'
7434 wx_cv_use_log='wxUSE_LOG
=no
'
7439 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7444 eval "$wx_cv_use_log"
7446 if test x"$enablestring" = xdisable; then
7447 if test $wxUSE_LOG = no; then
7456 { echo "$as_me:$LINENO: result
: $result" >&5
7457 echo "${ECHO_T}$result" >&6; }
7461 defaultval=$wxUSE_ALL_FEATURES
7462 if test -z "$defaultval"; then
7463 if test x"$enablestring" = xdisable; then
7470 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7471 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7472 # Check whether --enable-longlong was given.
7473 if test "${enable_longlong+set}" = set; then
7474 enableval=$enable_longlong;
7475 if test "$enableval" = yes; then
7476 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7478 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7483 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7488 eval "$wx_cv_use_longlong"
7490 if test x
"$enablestring" = xdisable
; then
7491 if test $wxUSE_LONGLONG = no
; then
7497 result
=$wxUSE_LONGLONG
7500 { echo "$as_me:$LINENO: result: $result" >&5
7501 echo "${ECHO_T}$result" >&6; }
7505 defaultval
=$wxUSE_ALL_FEATURES
7506 if test -z "$defaultval"; then
7507 if test x
"$enablestring" = xdisable
; then
7514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7515 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7516 # Check whether --enable-mimetype was given.
7517 if test "${enable_mimetype+set}" = set; then
7518 enableval
=$enable_mimetype;
7519 if test "$enableval" = yes; then
7520 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7522 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7527 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7532 eval "$wx_cv_use_mimetype"
7534 if test x"$enablestring" = xdisable; then
7535 if test $wxUSE_MIMETYPE = no; then
7541 result=$wxUSE_MIMETYPE
7544 { echo "$as_me:$LINENO: result: $result" >&5
7545 echo "${ECHO_T}$result" >&6; }
7549 defaultval=$wxUSE_ALL_FEATURES
7550 if test -z "$defaultval"; then
7551 if test x"$enablestring" = xdisable; then
7558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7559 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7560 # Check whether --enable-printfposparam was given.
7561 if test "${enable_printfposparam+set}" = set; then
7562 enableval=$enable_printfposparam;
7563 if test "$enableval" = yes; then
7564 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7566 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7571 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7576 eval "$wx_cv_use_printfposparam"
7578 if test x"$enablestring" = xdisable; then
7579 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7585 result=$wxUSE_PRINTF_POS_PARAMS
7588 { echo "$as_me:$LINENO: result
: $result" >&5
7589 echo "${ECHO_T}$result" >&6; }
7593 defaultval=$wxUSE_ALL_FEATURES
7594 if test -z "$defaultval"; then
7595 if test x"$enablestring" = xdisable; then
7602 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7603 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7604 # Check whether --enable-snglinst was given.
7605 if test "${enable_snglinst+set}" = set; then
7606 enableval=$enable_snglinst;
7607 if test "$enableval" = yes; then
7608 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7610 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7615 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7620 eval "$wx_cv_use_snglinst"
7622 if test x
"$enablestring" = xdisable
; then
7623 if test $wxUSE_SNGLINST_CHECKER = no
; then
7629 result
=$wxUSE_SNGLINST_CHECKER
7632 { echo "$as_me:$LINENO: result: $result" >&5
7633 echo "${ECHO_T}$result" >&6; }
7637 defaultval
=$wxUSE_ALL_FEATURES
7638 if test -z "$defaultval"; then
7639 if test x
"$enablestring" = xdisable
; then
7646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7647 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7648 # Check whether --enable-sound was given.
7649 if test "${enable_sound+set}" = set; then
7650 enableval
=$enable_sound;
7651 if test "$enableval" = yes; then
7652 wx_cv_use_sound
='wxUSE_SOUND=yes'
7654 wx_cv_use_sound
='wxUSE_SOUND=no'
7659 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7664 eval "$wx_cv_use_sound"
7666 if test x"$enablestring" = xdisable; then
7667 if test $wxUSE_SOUND = no; then
7676 { echo "$as_me:$LINENO: result: $result" >&5
7677 echo "${ECHO_T}$result" >&6; }
7681 defaultval=$wxUSE_ALL_FEATURES
7682 if test -z "$defaultval"; then
7683 if test x"$enablestring" = xdisable; then
7690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7691 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7692 # Check whether --enable-stdpaths was given.
7693 if test "${enable_stdpaths+set}" = set; then
7694 enableval=$enable_stdpaths;
7695 if test "$enableval" = yes; then
7696 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7698 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7703 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7708 eval "$wx_cv_use_stdpaths"
7710 if test x"$enablestring" = xdisable; then
7711 if test $wxUSE_STDPATHS = no; then
7717 result=$wxUSE_STDPATHS
7720 { echo "$as_me:$LINENO: result
: $result" >&5
7721 echo "${ECHO_T}$result" >&6; }
7725 defaultval=$wxUSE_ALL_FEATURES
7726 if test -z "$defaultval"; then
7727 if test x"$enablestring" = xdisable; then
7734 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7735 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7736 # Check whether --enable-stopwatch was given.
7737 if test "${enable_stopwatch+set}" = set; then
7738 enableval=$enable_stopwatch;
7739 if test "$enableval" = yes; then
7740 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7742 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7747 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7752 eval "$wx_cv_use_stopwatch"
7754 if test x
"$enablestring" = xdisable
; then
7755 if test $wxUSE_STOPWATCH = no
; then
7761 result
=$wxUSE_STOPWATCH
7764 { echo "$as_me:$LINENO: result: $result" >&5
7765 echo "${ECHO_T}$result" >&6; }
7769 defaultval
=$wxUSE_ALL_FEATURES
7770 if test -z "$defaultval"; then
7771 if test x
"$enablestring" = xdisable
; then
7778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7779 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7780 # Check whether --enable-streams was given.
7781 if test "${enable_streams+set}" = set; then
7782 enableval
=$enable_streams;
7783 if test "$enableval" = yes; then
7784 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7786 wx_cv_use_streams
='wxUSE_STREAMS=no'
7791 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7796 eval "$wx_cv_use_streams"
7798 if test x"$enablestring" = xdisable; then
7799 if test $wxUSE_STREAMS = no; then
7805 result=$wxUSE_STREAMS
7808 { echo "$as_me:$LINENO: result: $result" >&5
7809 echo "${ECHO_T}$result" >&6; }
7813 defaultval=$wxUSE_ALL_FEATURES
7814 if test -z "$defaultval"; then
7815 if test x"$enablestring" = xdisable; then
7822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7823 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7824 # Check whether --enable-sysoptions was given.
7825 if test "${enable_sysoptions+set}" = set; then
7826 enableval=$enable_sysoptions;
7827 if test "$enableval" = yes; then
7828 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
7830 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
7835 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7840 eval "$wx_cv_use_sysoptions"
7842 if test x"$enablestring" = xdisable; then
7843 if test $wxUSE_SYSTEM_OPTIONS = no; then
7849 result=$wxUSE_SYSTEM_OPTIONS
7852 { echo "$as_me:$LINENO: result
: $result" >&5
7853 echo "${ECHO_T}$result" >&6; }
7857 defaultval=$wxUSE_ALL_FEATURES
7858 if test -z "$defaultval"; then
7859 if test x"$enablestring" = xdisable; then
7866 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7867 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7868 # Check whether --enable-tarstream was given.
7869 if test "${enable_tarstream+set}" = set; then
7870 enableval=$enable_tarstream;
7871 if test "$enableval" = yes; then
7872 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7874 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7879 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7884 eval "$wx_cv_use_tarstream"
7886 if test x
"$enablestring" = xdisable
; then
7887 if test $wxUSE_TARSTREAM = no
; then
7893 result
=$wxUSE_TARSTREAM
7896 { echo "$as_me:$LINENO: result: $result" >&5
7897 echo "${ECHO_T}$result" >&6; }
7901 defaultval
=$wxUSE_ALL_FEATURES
7902 if test -z "$defaultval"; then
7903 if test x
"$enablestring" = xdisable
; then
7910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7911 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7912 # Check whether --enable-textbuf was given.
7913 if test "${enable_textbuf+set}" = set; then
7914 enableval
=$enable_textbuf;
7915 if test "$enableval" = yes; then
7916 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7918 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7923 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7928 eval "$wx_cv_use_textbuf"
7930 if test x"$enablestring" = xdisable; then
7931 if test $wxUSE_TEXTBUFFER = no; then
7937 result=$wxUSE_TEXTBUFFER
7940 { echo "$as_me:$LINENO: result: $result" >&5
7941 echo "${ECHO_T}$result" >&6; }
7945 defaultval=$wxUSE_ALL_FEATURES
7946 if test -z "$defaultval"; then
7947 if test x"$enablestring" = xdisable; then
7954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7955 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7956 # Check whether --enable-textfile was given.
7957 if test "${enable_textfile+set}" = set; then
7958 enableval=$enable_textfile;
7959 if test "$enableval" = yes; then
7960 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7962 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7967 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7972 eval "$wx_cv_use_textfile"
7974 if test x"$enablestring" = xdisable; then
7975 if test $wxUSE_TEXTFILE = no; then
7981 result=$wxUSE_TEXTFILE
7984 { echo "$as_me:$LINENO: result
: $result" >&5
7985 echo "${ECHO_T}$result" >&6; }
7989 defaultval=$wxUSE_ALL_FEATURES
7990 if test -z "$defaultval"; then
7991 if test x"$enablestring" = xdisable; then
7998 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7999 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
8000 # Check whether --enable-timer was given.
8001 if test "${enable_timer+set}" = set; then
8002 enableval=$enable_timer;
8003 if test "$enableval" = yes; then
8004 wx_cv_use_timer='wxUSE_TIMER=yes'
8006 wx_cv_use_timer='wxUSE_TIMER=no'
8011 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8016 eval "$wx_cv_use_timer"
8018 if test x
"$enablestring" = xdisable
; then
8019 if test $wxUSE_TIMER = no
; then
8028 { echo "$as_me:$LINENO: result: $result" >&5
8029 echo "${ECHO_T}$result" >&6; }
8033 defaultval
=$wxUSE_ALL_FEATURES
8034 if test -z "$defaultval"; then
8035 if test x
"$enablestring" = xdisable
; then
8042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8043 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8044 # Check whether --enable-variant was given.
8045 if test "${enable_variant+set}" = set; then
8046 enableval
=$enable_variant;
8047 if test "$enableval" = yes; then
8048 wx_cv_use_variant
='wxUSE_VARIANT=yes'
8050 wx_cv_use_variant
='wxUSE_VARIANT=no'
8055 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8060 eval "$wx_cv_use_variant"
8062 if test x"$enablestring" = xdisable; then
8063 if test $wxUSE_VARIANT = no; then
8069 result=$wxUSE_VARIANT
8072 { echo "$as_me:$LINENO: result: $result" >&5
8073 echo "${ECHO_T}$result" >&6; }
8077 defaultval=$wxUSE_ALL_FEATURES
8078 if test -z "$defaultval"; then
8079 if test x"$enablestring" = xdisable; then
8086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8088 # Check whether --enable-zipstream was given.
8089 if test "${enable_zipstream+set}" = set; then
8090 enableval=$enable_zipstream;
8091 if test "$enableval" = yes; then
8092 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
8094 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
8099 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8104 eval "$wx_cv_use_zipstream"
8106 if test x"$enablestring" = xdisable; then
8107 if test $wxUSE_ZIPSTREAM = no; then
8113 result=$wxUSE_ZIPSTREAM
8116 { echo "$as_me:$LINENO: result
: $result" >&5
8117 echo "${ECHO_T}$result" >&6; }
8122 defaultval=$wxUSE_ALL_FEATURES
8123 if test -z "$defaultval"; then
8124 if test x"$enablestring" = xdisable; then
8131 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
8132 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
8133 # Check whether --enable-url was given.
8134 if test "${enable_url+set}" = set; then
8135 enableval=$enable_url;
8136 if test "$enableval" = yes; then
8137 wx_cv_use_url='wxUSE_URL=yes'
8139 wx_cv_use_url='wxUSE_URL=no'
8144 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8149 eval "$wx_cv_use_url"
8151 if test x
"$enablestring" = xdisable
; then
8152 if test $wxUSE_URL = no
; then
8161 { echo "$as_me:$LINENO: result: $result" >&5
8162 echo "${ECHO_T}$result" >&6; }
8166 defaultval
=$wxUSE_ALL_FEATURES
8167 if test -z "$defaultval"; then
8168 if test x
"$enablestring" = xdisable
; then
8175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8176 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8177 # Check whether --enable-protocol was given.
8178 if test "${enable_protocol+set}" = set; then
8179 enableval
=$enable_protocol;
8180 if test "$enableval" = yes; then
8181 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
8183 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
8188 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8193 eval "$wx_cv_use_protocol"
8195 if test x"$enablestring" = xdisable; then
8196 if test $wxUSE_PROTOCOL = no; then
8202 result=$wxUSE_PROTOCOL
8205 { echo "$as_me:$LINENO: result: $result" >&5
8206 echo "${ECHO_T}$result" >&6; }
8210 defaultval=$wxUSE_ALL_FEATURES
8211 if test -z "$defaultval"; then
8212 if test x"$enablestring" = xdisable; then
8219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8220 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8221 # Check whether --enable-protocol_http was given.
8222 if test "${enable_protocol_http+set}" = set; then
8223 enableval=$enable_protocol_http;
8224 if test "$enableval" = yes; then
8225 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8227 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8232 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8237 eval "$wx_cv_use_protocol_http"
8239 if test x"$enablestring" = xdisable; then
8240 if test $wxUSE_PROTOCOL_HTTP = no; then
8246 result=$wxUSE_PROTOCOL_HTTP
8249 { echo "$as_me:$LINENO: result
: $result" >&5
8250 echo "${ECHO_T}$result" >&6; }
8254 defaultval=$wxUSE_ALL_FEATURES
8255 if test -z "$defaultval"; then
8256 if test x"$enablestring" = xdisable; then
8263 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8264 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8265 # Check whether --enable-protocol_ftp was given.
8266 if test "${enable_protocol_ftp+set}" = set; then
8267 enableval=$enable_protocol_ftp;
8268 if test "$enableval" = yes; then
8269 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8271 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8276 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8281 eval "$wx_cv_use_protocol_ftp"
8283 if test x
"$enablestring" = xdisable
; then
8284 if test $wxUSE_PROTOCOL_FTP = no
; then
8290 result
=$wxUSE_PROTOCOL_FTP
8293 { echo "$as_me:$LINENO: result: $result" >&5
8294 echo "${ECHO_T}$result" >&6; }
8298 defaultval
=$wxUSE_ALL_FEATURES
8299 if test -z "$defaultval"; then
8300 if test x
"$enablestring" = xdisable
; then
8307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8309 # Check whether --enable-protocol_file was given.
8310 if test "${enable_protocol_file+set}" = set; then
8311 enableval
=$enable_protocol_file;
8312 if test "$enableval" = yes; then
8313 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8315 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8320 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8325 eval "$wx_cv_use_protocol_file"
8327 if test x"$enablestring" = xdisable; then
8328 if test $wxUSE_PROTOCOL_FILE = no; then
8334 result=$wxUSE_PROTOCOL_FILE
8337 { echo "$as_me:$LINENO: result: $result" >&5
8338 echo "${ECHO_T}$result" >&6; }
8343 defaultval=$wxUSE_ALL_FEATURES
8344 if test -z "$defaultval"; then
8345 if test x"$enablestring" = xdisable; then
8352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8353 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8354 # Check whether --enable-threads was given.
8355 if test "${enable_threads+set}" = set; then
8356 enableval=$enable_threads;
8357 if test "$enableval" = yes; then
8358 wx_cv_use_threads='wxUSE_THREADS
=yes'
8360 wx_cv_use_threads='wxUSE_THREADS
=no
'
8365 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8370 eval "$wx_cv_use_threads"
8372 if test x"$enablestring" = xdisable; then
8373 if test $wxUSE_THREADS = no; then
8379 result=$wxUSE_THREADS
8382 { echo "$as_me:$LINENO: result
: $result" >&5
8383 echo "${ECHO_T}$result" >&6; }
8389 if test -z "$defaultval"; then
8390 if test x"$enablestring" = xdisable; then
8397 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8398 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8399 # Check whether --enable-iniconf was given.
8400 if test "${enable_iniconf+set}" = set; then
8401 enableval=$enable_iniconf;
8402 if test "$enableval" = yes; then
8403 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8405 wx_cv_use_iniconf='wxUSE_INICONF=no'
8410 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8415 eval "$wx_cv_use_iniconf"
8417 if test x
"$enablestring" = xdisable
; then
8418 if test $wxUSE_INICONF = no
; then
8424 result
=$wxUSE_INICONF
8427 { echo "$as_me:$LINENO: result: $result" >&5
8428 echo "${ECHO_T}$result" >&6; }
8432 defaultval
=$wxUSE_ALL_FEATURES
8433 if test -z "$defaultval"; then
8434 if test x
"$enablestring" = xdisable
; then
8441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8443 # Check whether --enable-regkey was given.
8444 if test "${enable_regkey+set}" = set; then
8445 enableval
=$enable_regkey;
8446 if test "$enableval" = yes; then
8447 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8449 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8454 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8459 eval "$wx_cv_use_regkey"
8461 if test x"$enablestring" = xdisable; then
8462 if test $wxUSE_REGKEY = no; then
8468 result=$wxUSE_REGKEY
8471 { echo "$as_me:$LINENO: result: $result" >&5
8472 echo "${ECHO_T}$result" >&6; }
8475 if test "$wxUSE_GUI" = "yes"; then
8480 defaultval=$wxUSE_ALL_FEATURES
8481 if test -z "$defaultval"; then
8482 if test x"$enablestring" = xdisable; then
8489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8491 # Check whether --enable-docview was given.
8492 if test "${enable_docview+set}" = set; then
8493 enableval=$enable_docview;
8494 if test "$enableval" = yes; then
8495 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8497 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8502 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8507 eval "$wx_cv_use_docview"
8509 if test x"$enablestring" = xdisable; then
8510 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8516 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8519 { echo "$as_me:$LINENO: result
: $result" >&5
8520 echo "${ECHO_T}$result" >&6; }
8524 defaultval=$wxUSE_ALL_FEATURES
8525 if test -z "$defaultval"; then
8526 if test x"$enablestring" = xdisable; then
8533 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8534 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8535 # Check whether --enable-help was given.
8536 if test "${enable_help+set}" = set; then
8537 enableval=$enable_help;
8538 if test "$enableval" = yes; then
8539 wx_cv_use_help='wxUSE_HELP=yes'
8541 wx_cv_use_help='wxUSE_HELP=no'
8546 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8551 eval "$wx_cv_use_help"
8553 if test x
"$enablestring" = xdisable
; then
8554 if test $wxUSE_HELP = no
; then
8563 { echo "$as_me:$LINENO: result: $result" >&5
8564 echo "${ECHO_T}$result" >&6; }
8568 defaultval
=$wxUSE_ALL_FEATURES
8569 if test -z "$defaultval"; then
8570 if test x
"$enablestring" = xdisable
; then
8577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8578 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8579 # Check whether --enable-mshtmlhelp was given.
8580 if test "${enable_mshtmlhelp+set}" = set; then
8581 enableval
=$enable_mshtmlhelp;
8582 if test "$enableval" = yes; then
8583 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8585 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8590 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8595 eval "$wx_cv_use_mshtmlhelp"
8597 if test x"$enablestring" = xdisable; then
8598 if test $wxUSE_MS_HTML_HELP = no; then
8604 result=$wxUSE_MS_HTML_HELP
8607 { echo "$as_me:$LINENO: result: $result" >&5
8608 echo "${ECHO_T}$result" >&6; }
8612 defaultval=$wxUSE_ALL_FEATURES
8613 if test -z "$defaultval"; then
8614 if test x"$enablestring" = xdisable; then
8621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8622 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8623 # Check whether --enable-html was given.
8624 if test "${enable_html+set}" = set; then
8625 enableval=$enable_html;
8626 if test "$enableval" = yes; then
8627 wx_cv_use_html='wxUSE_HTML
=yes'
8629 wx_cv_use_html='wxUSE_HTML
=no
'
8634 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8639 eval "$wx_cv_use_html"
8641 if test x"$enablestring" = xdisable; then
8642 if test $wxUSE_HTML = no; then
8651 { echo "$as_me:$LINENO: result
: $result" >&5
8652 echo "${ECHO_T}$result" >&6; }
8656 defaultval=$wxUSE_ALL_FEATURES
8657 if test -z "$defaultval"; then
8658 if test x"$enablestring" = xdisable; then
8665 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8666 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8667 # Check whether --enable-htmlhelp was given.
8668 if test "${enable_htmlhelp+set}" = set; then
8669 enableval=$enable_htmlhelp;
8670 if test "$enableval" = yes; then
8671 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8673 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8678 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8683 eval "$wx_cv_use_htmlhelp"
8685 if test x
"$enablestring" = xdisable
; then
8686 if test $wxUSE_WXHTML_HELP = no
; then
8692 result
=$wxUSE_WXHTML_HELP
8695 { echo "$as_me:$LINENO: result: $result" >&5
8696 echo "${ECHO_T}$result" >&6; }
8700 defaultval
=$wxUSE_ALL_FEATURES
8701 if test -z "$defaultval"; then
8702 if test x
"$enablestring" = xdisable
; then
8709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8710 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8711 # Check whether --enable-xrc was given.
8712 if test "${enable_xrc+set}" = set; then
8713 enableval
=$enable_xrc;
8714 if test "$enableval" = yes; then
8715 wx_cv_use_xrc
='wxUSE_XRC=yes'
8717 wx_cv_use_xrc
='wxUSE_XRC=no'
8722 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8727 eval "$wx_cv_use_xrc"
8729 if test x"$enablestring" = xdisable; then
8730 if test $wxUSE_XRC = no; then
8739 { echo "$as_me:$LINENO: result: $result" >&5
8740 echo "${ECHO_T}$result" >&6; }
8744 defaultval=$wxUSE_ALL_FEATURES
8745 if test -z "$defaultval"; then
8746 if test x"$enablestring" = xdisable; then
8753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8754 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8755 # Check whether --enable-aui was given.
8756 if test "${enable_aui+set}" = set; then
8757 enableval=$enable_aui;
8758 if test "$enableval" = yes; then
8759 wx_cv_use_aui='wxUSE_AUI
=yes'
8761 wx_cv_use_aui='wxUSE_AUI
=no
'
8766 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8771 eval "$wx_cv_use_aui"
8773 if test x"$enablestring" = xdisable; then
8774 if test $wxUSE_AUI = no; then
8783 { echo "$as_me:$LINENO: result
: $result" >&5
8784 echo "${ECHO_T}$result" >&6; }
8788 defaultval=$wxUSE_ALL_FEATURES
8789 if test -z "$defaultval"; then
8790 if test x"$enablestring" = xdisable; then
8797 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8798 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8799 # Check whether --enable-propgrid was given.
8800 if test "${enable_propgrid+set}" = set; then
8801 enableval=$enable_propgrid;
8802 if test "$enableval" = yes; then
8803 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8805 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8810 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8815 eval "$wx_cv_use_propgrid"
8817 if test x
"$enablestring" = xdisable
; then
8818 if test $wxUSE_PROPGRID = no
; then
8824 result
=$wxUSE_PROPGRID
8827 { echo "$as_me:$LINENO: result: $result" >&5
8828 echo "${ECHO_T}$result" >&6; }
8832 defaultval
=$wxUSE_ALL_FEATURES
8833 if test -z "$defaultval"; then
8834 if test x
"$enablestring" = xdisable
; then
8841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8842 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8843 # Check whether --enable-ribbon was given.
8844 if test "${enable_ribbon+set}" = set; then
8845 enableval
=$enable_ribbon;
8846 if test "$enableval" = yes; then
8847 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
8849 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
8854 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8859 eval "$wx_cv_use_ribbon"
8861 if test x"$enablestring" = xdisable; then
8862 if test $wxUSE_RIBBON = no; then
8868 result=$wxUSE_RIBBON
8871 { echo "$as_me:$LINENO: result: $result" >&5
8872 echo "${ECHO_T}$result" >&6; }
8876 defaultval=$wxUSE_ALL_FEATURES
8877 if test -z "$defaultval"; then
8878 if test x"$enablestring" = xdisable; then
8885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8886 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8887 # Check whether --enable-stc was given.
8888 if test "${enable_stc+set}" = set; then
8889 enableval=$enable_stc;
8890 if test "$enableval" = yes; then
8891 wx_cv_use_stc='wxUSE_STC
=yes'
8893 wx_cv_use_stc='wxUSE_STC
=no
'
8898 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8903 eval "$wx_cv_use_stc"
8905 if test x"$enablestring" = xdisable; then
8906 if test $wxUSE_STC = no; then
8915 { echo "$as_me:$LINENO: result
: $result" >&5
8916 echo "${ECHO_T}$result" >&6; }
8920 defaultval=$wxUSE_ALL_FEATURES
8921 if test -z "$defaultval"; then
8922 if test x"$enablestring" = xdisable; then
8929 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8930 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
8931 # Check whether --enable-constraints was given.
8932 if test "${enable_constraints+set}" = set; then
8933 enableval=$enable_constraints;
8934 if test "$enableval" = yes; then
8935 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8937 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8942 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8947 eval "$wx_cv_use_constraints"
8949 if test x
"$enablestring" = xdisable
; then
8950 if test $wxUSE_CONSTRAINTS = no
; then
8956 result
=$wxUSE_CONSTRAINTS
8959 { echo "$as_me:$LINENO: result: $result" >&5
8960 echo "${ECHO_T}$result" >&6; }
8964 defaultval
=$wxUSE_ALL_FEATURES
8965 if test -z "$defaultval"; then
8966 if test x
"$enablestring" = xdisable
; then
8973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8975 # Check whether --enable-loggui was given.
8976 if test "${enable_loggui+set}" = set; then
8977 enableval
=$enable_loggui;
8978 if test "$enableval" = yes; then
8979 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
8981 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
8986 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8991 eval "$wx_cv_use_loggui"
8993 if test x"$enablestring" = xdisable; then
8994 if test $wxUSE_LOGGUI = no; then
9000 result=$wxUSE_LOGGUI
9003 { echo "$as_me:$LINENO: result: $result" >&5
9004 echo "${ECHO_T}$result" >&6; }
9008 defaultval=$wxUSE_ALL_FEATURES
9009 if test -z "$defaultval"; then
9010 if test x"$enablestring" = xdisable; then
9017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9019 # Check whether --enable-logwin was given.
9020 if test "${enable_logwin+set}" = set; then
9021 enableval=$enable_logwin;
9022 if test "$enableval" = yes; then
9023 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
9025 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
9030 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9035 eval "$wx_cv_use_logwin"
9037 if test x"$enablestring" = xdisable; then
9038 if test $wxUSE_LOGWINDOW = no; then
9044 result=$wxUSE_LOGWINDOW
9047 { echo "$as_me:$LINENO: result
: $result" >&5
9048 echo "${ECHO_T}$result" >&6; }
9052 defaultval=$wxUSE_ALL_FEATURES
9053 if test -z "$defaultval"; then
9054 if test x"$enablestring" = xdisable; then
9061 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
9062 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
9063 # Check whether --enable-logdialog was given.
9064 if test "${enable_logdialog+set}" = set; then
9065 enableval=$enable_logdialog;
9066 if test "$enableval" = yes; then
9067 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9069 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9074 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9079 eval "$wx_cv_use_logdialog"
9081 if test x
"$enablestring" = xdisable
; then
9082 if test $wxUSE_LOGDIALOG = no
; then
9088 result
=$wxUSE_LOGDIALOG
9091 { echo "$as_me:$LINENO: result: $result" >&5
9092 echo "${ECHO_T}$result" >&6; }
9096 defaultval
=$wxUSE_ALL_FEATURES
9097 if test -z "$defaultval"; then
9098 if test x
"$enablestring" = xdisable
; then
9105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9106 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9107 # Check whether --enable-mdi was given.
9108 if test "${enable_mdi+set}" = set; then
9109 enableval
=$enable_mdi;
9110 if test "$enableval" = yes; then
9111 wx_cv_use_mdi
='wxUSE_MDI=yes'
9113 wx_cv_use_mdi
='wxUSE_MDI=no'
9118 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9123 eval "$wx_cv_use_mdi"
9125 if test x"$enablestring" = xdisable; then
9126 if test $wxUSE_MDI = no; then
9135 { echo "$as_me:$LINENO: result: $result" >&5
9136 echo "${ECHO_T}$result" >&6; }
9140 defaultval=$wxUSE_ALL_FEATURES
9141 if test -z "$defaultval"; then
9142 if test x"$enablestring" = xdisable; then
9149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9150 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9151 # Check whether --enable-mdidoc was given.
9152 if test "${enable_mdidoc+set}" = set; then
9153 enableval=$enable_mdidoc;
9154 if test "$enableval" = yes; then
9155 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
9157 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
9162 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9167 eval "$wx_cv_use_mdidoc"
9169 if test x"$enablestring" = xdisable; then
9170 if test $wxUSE_MDI_ARCHITECTURE = no; then
9176 result=$wxUSE_MDI_ARCHITECTURE
9179 { echo "$as_me:$LINENO: result
: $result" >&5
9180 echo "${ECHO_T}$result" >&6; }
9184 defaultval=$wxUSE_ALL_FEATURES
9185 if test -z "$defaultval"; then
9186 if test x"$enablestring" = xdisable; then
9193 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
9194 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
9195 # Check whether --enable-mediactrl was given.
9196 if test "${enable_mediactrl+set}" = set; then
9197 enableval=$enable_mediactrl;
9198 if test "$enableval" = yes; then
9199 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9201 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9206 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9211 eval "$wx_cv_use_mediactrl"
9213 if test x
"$enablestring" = xdisable
; then
9214 if test $wxUSE_MEDIACTRL = no
; then
9220 result
=$wxUSE_MEDIACTRL
9223 { echo "$as_me:$LINENO: result: $result" >&5
9224 echo "${ECHO_T}$result" >&6; }
9228 defaultval
=$wxUSE_ALL_FEATURES
9229 if test -z "$defaultval"; then
9230 if test x
"$enablestring" = xdisable
; then
9237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9238 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9239 # Check whether --enable-gstreamer8 was given.
9240 if test "${enable_gstreamer8+set}" = set; then
9241 enableval
=$enable_gstreamer8;
9242 if test "$enableval" = yes; then
9243 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
9245 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
9250 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9255 eval "$wx_cv_use_gstreamer8"
9257 if test x"$enablestring" = xdisable; then
9258 if test $wxUSE_GSTREAMER8 = no; then
9264 result=$wxUSE_GSTREAMER8
9267 { echo "$as_me:$LINENO: result: $result" >&5
9268 echo "${ECHO_T}$result" >&6; }
9272 defaultval=$wxUSE_ALL_FEATURES
9273 if test -z "$defaultval"; then
9274 if test x"$enablestring" = xdisable; then
9281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9282 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9283 # Check whether --enable-webkit was given.
9284 if test "${enable_webkit+set}" = set; then
9285 enableval=$enable_webkit;
9286 if test "$enableval" = yes; then
9287 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9289 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9294 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9299 eval "$wx_cv_use_webkit"
9301 if test x"$enablestring" = xdisable; then
9302 if test $wxUSE_WEBKIT = no; then
9308 result=$wxUSE_WEBKIT
9311 { echo "$as_me:$LINENO: result
: $result" >&5
9312 echo "${ECHO_T}$result" >&6; }
9316 defaultval=$wxUSE_ALL_FEATURES
9317 if test -z "$defaultval"; then
9318 if test x"$enablestring" = xdisable; then
9325 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
9326 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
9327 # Check whether --enable-richtext was given.
9328 if test "${enable_richtext+set}" = set; then
9329 enableval=$enable_richtext;
9330 if test "$enableval" = yes; then
9331 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9333 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9338 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9343 eval "$wx_cv_use_richtext"
9345 if test x
"$enablestring" = xdisable
; then
9346 if test $wxUSE_RICHTEXT = no
; then
9352 result
=$wxUSE_RICHTEXT
9355 { echo "$as_me:$LINENO: result: $result" >&5
9356 echo "${ECHO_T}$result" >&6; }
9360 defaultval
=$wxUSE_ALL_FEATURES
9361 if test -z "$defaultval"; then
9362 if test x
"$enablestring" = xdisable
; then
9369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9370 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9371 # Check whether --enable-postscript was given.
9372 if test "${enable_postscript+set}" = set; then
9373 enableval
=$enable_postscript;
9374 if test "$enableval" = yes; then
9375 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9377 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9382 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9387 eval "$wx_cv_use_postscript"
9389 if test x"$enablestring" = xdisable; then
9390 if test $wxUSE_POSTSCRIPT = no; then
9396 result=$wxUSE_POSTSCRIPT
9399 { echo "$as_me:$LINENO: result: $result" >&5
9400 echo "${ECHO_T}$result" >&6; }
9404 defaultval=$wxUSE_ALL_FEATURES
9405 if test -z "$defaultval"; then
9406 if test x"$enablestring" = xdisable; then
9413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9415 # Check whether --enable-printarch was given.
9416 if test "${enable_printarch+set}" = set; then
9417 enableval=$enable_printarch;
9418 if test "$enableval" = yes; then
9419 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9421 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9426 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9431 eval "$wx_cv_use_printarch"
9433 if test x"$enablestring" = xdisable; then
9434 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9440 result=$wxUSE_PRINTING_ARCHITECTURE
9443 { echo "$as_me:$LINENO: result
: $result" >&5
9444 echo "${ECHO_T}$result" >&6; }
9448 defaultval=$wxUSE_ALL_FEATURES
9449 if test -z "$defaultval"; then
9450 if test x"$enablestring" = xdisable; then
9457 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9458 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9459 # Check whether --enable-svg was given.
9460 if test "${enable_svg+set}" = set; then
9461 enableval=$enable_svg;
9462 if test "$enableval" = yes; then
9463 wx_cv_use_svg='wxUSE_SVG=yes'
9465 wx_cv_use_svg='wxUSE_SVG=no'
9470 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9475 eval "$wx_cv_use_svg"
9477 if test x
"$enablestring" = xdisable
; then
9478 if test $wxUSE_SVG = no
; then
9487 { echo "$as_me:$LINENO: result: $result" >&5
9488 echo "${ECHO_T}$result" >&6; }
9491 if test "$wxUSE_MAC" != 1; then
9494 defaultval
=$wxUSE_ALL_FEATURES
9495 if test -z "$defaultval"; then
9496 if test x
"$enablestring" = xdisable
; then
9503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9504 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9505 # Check whether --enable-graphics_ctx was given.
9506 if test "${enable_graphics_ctx+set}" = set; then
9507 enableval
=$enable_graphics_ctx;
9508 if test "$enableval" = yes; then
9509 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9511 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9516 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9521 eval "$wx_cv_use_graphics_ctx"
9523 if test x"$enablestring" = xdisable; then
9524 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9530 result=$wxUSE_GRAPHICS_CONTEXT
9533 { echo "$as_me:$LINENO: result: $result" >&5
9534 echo "${ECHO_T}$result" >&6; }
9541 defaultval=$wxUSE_ALL_FEATURES
9542 if test -z "$defaultval"; then
9543 if test x"$enablestring" = xdisable; then
9550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9552 # Check whether --enable-clipboard was given.
9553 if test "${enable_clipboard+set}" = set; then
9554 enableval=$enable_clipboard;
9555 if test "$enableval" = yes; then
9556 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9558 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9563 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9568 eval "$wx_cv_use_clipboard"
9570 if test x"$enablestring" = xdisable; then
9571 if test $wxUSE_CLIPBOARD = no; then
9577 result=$wxUSE_CLIPBOARD
9580 { echo "$as_me:$LINENO: result
: $result" >&5
9581 echo "${ECHO_T}$result" >&6; }
9585 defaultval=$wxUSE_ALL_FEATURES
9586 if test -z "$defaultval"; then
9587 if test x"$enablestring" = xdisable; then
9594 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9595 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9596 # Check whether --enable-dnd was given.
9597 if test "${enable_dnd+set}" = set; then
9598 enableval=$enable_dnd;
9599 if test "$enableval" = yes; then
9600 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9602 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9607 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9612 eval "$wx_cv_use_dnd"
9614 if test x
"$enablestring" = xdisable
; then
9615 if test $wxUSE_DRAG_AND_DROP = no
; then
9621 result
=$wxUSE_DRAG_AND_DROP
9624 { echo "$as_me:$LINENO: result: $result" >&5
9625 echo "${ECHO_T}$result" >&6; }
9629 defaultval
=$wxUSE_ALL_FEATURES
9630 if test -z "$defaultval"; then
9631 if test x
"$enablestring" = xdisable
; then
9638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9640 # Check whether --enable-metafile was given.
9641 if test "${enable_metafile+set}" = set; then
9642 enableval
=$enable_metafile;
9643 if test "$enableval" = yes; then
9644 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9646 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9651 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9656 eval "$wx_cv_use_metafile"
9658 if test x"$enablestring" = xdisable; then
9659 if test $wxUSE_METAFILE = no; then
9665 result=$wxUSE_METAFILE
9668 { echo "$as_me:$LINENO: result: $result" >&5
9669 echo "${ECHO_T}$result" >&6; }
9673 DEFAULT_wxUSE_CONTROLS=none
9675 enablestring=disable
9677 if test -z "$defaultval"; then
9678 if test x"$enablestring" = xdisable; then
9685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9686 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9687 # Check whether --enable-controls was given.
9688 if test "${enable_controls+set}" = set; then
9689 enableval=$enable_controls;
9690 if test "$enableval" = yes; then
9691 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9693 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9698 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9703 eval "$wx_cv_use_controls"
9705 if test x"$enablestring" = xdisable; then
9706 if test $wxUSE_CONTROLS = no; then
9712 result=$wxUSE_CONTROLS
9715 { echo "$as_me:$LINENO: result
: $result" >&5
9716 echo "${ECHO_T}$result" >&6; }
9719 if test "$wxUSE_CONTROLS" = "no
"; then
9720 DEFAULT_wxUSE_ACCEL=no
9721 DEFAULT_wxUSE_ANIMATIONCTRL=no
9722 DEFAULT_wxUSE_BMPBUTTON=no
9723 DEFAULT_wxUSE_BUTTON=no
9724 DEFAULT_wxUSE_CALCTRL=no
9725 DEFAULT_wxUSE_CARET=no
9726 DEFAULT_wxUSE_CHECKBOX=no
9727 DEFAULT_wxUSE_CHECKLISTBOX=no
9728 DEFAULT_wxUSE_CHOICE=no
9729 DEFAULT_wxUSE_CHOICEBOOK=no
9730 DEFAULT_wxUSE_COLLPANE=no
9731 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9732 DEFAULT_wxUSE_COMBOBOX=no
9733 DEFAULT_wxUSE_COMBOBOX=no
9734 DEFAULT_wxUSE_DATAVIEWCTRL=no
9735 DEFAULT_wxUSE_DATEPICKCTRL=no
9736 DEFAULT_wxUSE_DETECT_SM=no
9737 DEFAULT_wxUSE_DIRPICKERCTRL=no
9738 DEFAULT_wxUSE_DISPLAY=no
9739 DEFAULT_wxUSE_FILECTRL=no
9740 DEFAULT_wxUSE_FILEPICKERCTRL=no
9741 DEFAULT_wxUSE_FONTPICKERCTRL=no
9742 DEFAULT_wxUSE_GAUGE=no
9743 DEFAULT_wxUSE_GRID=no
9744 DEFAULT_wxUSE_HEADERCTRL=no
9745 DEFAULT_wxUSE_HYPERLINKCTRL=no
9746 DEFAULT_wxUSE_IMAGLIST=no
9747 DEFAULT_wxUSE_LISTBOOK=no
9748 DEFAULT_wxUSE_LISTBOX=no
9749 DEFAULT_wxUSE_LISTCTRL=no
9750 DEFAULT_wxUSE_NOTEBOOK=no
9751 DEFAULT_wxUSE_POPUPWIN=no
9752 DEFAULT_wxUSE_RADIOBOX=no
9753 DEFAULT_wxUSE_RADIOBTN=no
9754 DEFAULT_wxUSE_REARRANGECTRL=no
9755 DEFAULT_wxUSE_SASH=no
9756 DEFAULT_wxUSE_SCROLLBAR=no
9757 DEFAULT_wxUSE_SEARCHCTRL=no
9758 DEFAULT_wxUSE_SLIDER=no
9759 DEFAULT_wxUSE_SPINBTN=no
9760 DEFAULT_wxUSE_SPINCTRL=no
9761 DEFAULT_wxUSE_SPLITTER=no
9762 DEFAULT_wxUSE_STATBMP=no
9763 DEFAULT_wxUSE_STATBOX=no
9764 DEFAULT_wxUSE_STATLINE=no
9765 DEFAULT_wxUSE_STATUSBAR=no
9766 DEFAULT_wxUSE_TIPWINDOW=no
9767 DEFAULT_wxUSE_TOGGLEBTN=no
9768 DEFAULT_wxUSE_TOOLBAR=no
9769 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9770 DEFAULT_wxUSE_TOOLBOOK=no
9771 DEFAULT_wxUSE_TOOLTIPS=no
9772 DEFAULT_wxUSE_TREEBOOK=no
9773 DEFAULT_wxUSE_TREECTRL=no
9778 defaultval=$wxUSE_ALL_FEATURES
9779 if test -z "$defaultval"; then
9780 if test x"$enablestring" = xdisable; then
9787 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9788 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9789 # Check whether --enable-accel was given.
9790 if test "${enable_accel+set}" = set; then
9791 enableval=$enable_accel;
9792 if test "$enableval" = yes; then
9793 wx_cv_use_accel='wxUSE_ACCEL=yes'
9795 wx_cv_use_accel='wxUSE_ACCEL=no'
9800 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9805 eval "$wx_cv_use_accel"
9807 if test x
"$enablestring" = xdisable
; then
9808 if test $wxUSE_ACCEL = no
; then
9817 { echo "$as_me:$LINENO: result: $result" >&5
9818 echo "${ECHO_T}$result" >&6; }
9822 defaultval
=$wxUSE_ALL_FEATURES
9823 if test -z "$defaultval"; then
9824 if test x
"$enablestring" = xdisable
; then
9831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9832 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9833 # Check whether --enable-animatectrl was given.
9834 if test "${enable_animatectrl+set}" = set; then
9835 enableval
=$enable_animatectrl;
9836 if test "$enableval" = yes; then
9837 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9839 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9844 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9849 eval "$wx_cv_use_animatectrl"
9851 if test x"$enablestring" = xdisable; then
9852 if test $wxUSE_ANIMATIONCTRL = no; then
9858 result=$wxUSE_ANIMATIONCTRL
9861 { echo "$as_me:$LINENO: result: $result" >&5
9862 echo "${ECHO_T}$result" >&6; }
9866 defaultval=$wxUSE_ALL_FEATURES
9867 if test -z "$defaultval"; then
9868 if test x"$enablestring" = xdisable; then
9875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9877 # Check whether --enable-bmpbutton was given.
9878 if test "${enable_bmpbutton+set}" = set; then
9879 enableval=$enable_bmpbutton;
9880 if test "$enableval" = yes; then
9881 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9883 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9888 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9893 eval "$wx_cv_use_bmpbutton"
9895 if test x"$enablestring" = xdisable; then
9896 if test $wxUSE_BMPBUTTON = no; then
9902 result=$wxUSE_BMPBUTTON
9905 { echo "$as_me:$LINENO: result
: $result" >&5
9906 echo "${ECHO_T}$result" >&6; }
9910 defaultval=$wxUSE_ALL_FEATURES
9911 if test -z "$defaultval"; then
9912 if test x"$enablestring" = xdisable; then
9919 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9920 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9921 # Check whether --enable-bmpcombobox was given.
9922 if test "${enable_bmpcombobox+set}" = set; then
9923 enableval=$enable_bmpcombobox;
9924 if test "$enableval" = yes; then
9925 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9927 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9932 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9937 eval "$wx_cv_use_bmpcombobox"
9939 if test x
"$enablestring" = xdisable
; then
9940 if test $wxUSE_BITMAPCOMBOBOX = no
; then
9946 result
=$wxUSE_BITMAPCOMBOBOX
9949 { echo "$as_me:$LINENO: result: $result" >&5
9950 echo "${ECHO_T}$result" >&6; }
9954 defaultval
=$wxUSE_ALL_FEATURES
9955 if test -z "$defaultval"; then
9956 if test x
"$enablestring" = xdisable
; then
9963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9964 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9965 # Check whether --enable-button was given.
9966 if test "${enable_button+set}" = set; then
9967 enableval
=$enable_button;
9968 if test "$enableval" = yes; then
9969 wx_cv_use_button
='wxUSE_BUTTON=yes'
9971 wx_cv_use_button
='wxUSE_BUTTON=no'
9976 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9981 eval "$wx_cv_use_button"
9983 if test x"$enablestring" = xdisable; then
9984 if test $wxUSE_BUTTON = no; then
9990 result=$wxUSE_BUTTON
9993 { echo "$as_me:$LINENO: result: $result" >&5
9994 echo "${ECHO_T}$result" >&6; }
9998 defaultval=$wxUSE_ALL_FEATURES
9999 if test -z "$defaultval"; then
10000 if test x"$enablestring" = xdisable; then
10007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10009 # Check whether --enable-calendar was given.
10010 if test "${enable_calendar+set}" = set; then
10011 enableval=$enable_calendar;
10012 if test "$enableval" = yes; then
10013 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10015 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10020 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10025 eval "$wx_cv_use_calendar"
10027 if test x"$enablestring" = xdisable; then
10028 if test $wxUSE_CALCTRL = no; then
10034 result=$wxUSE_CALCTRL
10037 { echo "$as_me:$LINENO: result
: $result" >&5
10038 echo "${ECHO_T}$result" >&6; }
10042 defaultval=$wxUSE_ALL_FEATURES
10043 if test -z "$defaultval"; then
10044 if test x"$enablestring" = xdisable; then
10051 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10052 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10053 # Check whether --enable-caret was given.
10054 if test "${enable_caret+set}" = set; then
10055 enableval=$enable_caret;
10056 if test "$enableval" = yes; then
10057 wx_cv_use_caret='wxUSE_CARET=yes'
10059 wx_cv_use_caret='wxUSE_CARET=no'
10064 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10069 eval "$wx_cv_use_caret"
10071 if test x
"$enablestring" = xdisable
; then
10072 if test $wxUSE_CARET = no
; then
10078 result
=$wxUSE_CARET
10081 { echo "$as_me:$LINENO: result: $result" >&5
10082 echo "${ECHO_T}$result" >&6; }
10086 defaultval
=$wxUSE_ALL_FEATURES
10087 if test -z "$defaultval"; then
10088 if test x
"$enablestring" = xdisable
; then
10095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10097 # Check whether --enable-checkbox was given.
10098 if test "${enable_checkbox+set}" = set; then
10099 enableval
=$enable_checkbox;
10100 if test "$enableval" = yes; then
10101 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10103 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10108 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10113 eval "$wx_cv_use_checkbox"
10115 if test x"$enablestring" = xdisable; then
10116 if test $wxUSE_CHECKBOX = no; then
10122 result=$wxUSE_CHECKBOX
10125 { echo "$as_me:$LINENO: result: $result" >&5
10126 echo "${ECHO_T}$result" >&6; }
10130 defaultval=$wxUSE_ALL_FEATURES
10131 if test -z "$defaultval"; then
10132 if test x"$enablestring" = xdisable; then
10139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10140 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10141 # Check whether --enable-checklst was given.
10142 if test "${enable_checklst+set}" = set; then
10143 enableval=$enable_checklst;
10144 if test "$enableval" = yes; then
10145 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10147 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10152 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10157 eval "$wx_cv_use_checklst"
10159 if test x"$enablestring" = xdisable; then
10160 if test $wxUSE_CHECKLST = no; then
10166 result=$wxUSE_CHECKLST
10169 { echo "$as_me:$LINENO: result
: $result" >&5
10170 echo "${ECHO_T}$result" >&6; }
10174 defaultval=$wxUSE_ALL_FEATURES
10175 if test -z "$defaultval"; then
10176 if test x"$enablestring" = xdisable; then
10183 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10184 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10185 # Check whether --enable-choice was given.
10186 if test "${enable_choice+set}" = set; then
10187 enableval=$enable_choice;
10188 if test "$enableval" = yes; then
10189 wx_cv_use_choice='wxUSE_CHOICE=yes'
10191 wx_cv_use_choice='wxUSE_CHOICE=no'
10196 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10201 eval "$wx_cv_use_choice"
10203 if test x
"$enablestring" = xdisable
; then
10204 if test $wxUSE_CHOICE = no
; then
10210 result
=$wxUSE_CHOICE
10213 { echo "$as_me:$LINENO: result: $result" >&5
10214 echo "${ECHO_T}$result" >&6; }
10218 defaultval
=$wxUSE_ALL_FEATURES
10219 if test -z "$defaultval"; then
10220 if test x
"$enablestring" = xdisable
; then
10227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10228 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10229 # Check whether --enable-choicebook was given.
10230 if test "${enable_choicebook+set}" = set; then
10231 enableval
=$enable_choicebook;
10232 if test "$enableval" = yes; then
10233 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10235 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10240 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10245 eval "$wx_cv_use_choicebook"
10247 if test x"$enablestring" = xdisable; then
10248 if test $wxUSE_CHOICEBOOK = no; then
10254 result=$wxUSE_CHOICEBOOK
10257 { echo "$as_me:$LINENO: result: $result" >&5
10258 echo "${ECHO_T}$result" >&6; }
10262 defaultval=$wxUSE_ALL_FEATURES
10263 if test -z "$defaultval"; then
10264 if test x"$enablestring" = xdisable; then
10271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10272 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10273 # Check whether --enable-collpane was given.
10274 if test "${enable_collpane+set}" = set; then
10275 enableval=$enable_collpane;
10276 if test "$enableval" = yes; then
10277 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10279 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10284 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10289 eval "$wx_cv_use_collpane"
10291 if test x"$enablestring" = xdisable; then
10292 if test $wxUSE_COLLPANE = no; then
10298 result=$wxUSE_COLLPANE
10301 { echo "$as_me:$LINENO: result
: $result" >&5
10302 echo "${ECHO_T}$result" >&6; }
10306 defaultval=$wxUSE_ALL_FEATURES
10307 if test -z "$defaultval"; then
10308 if test x"$enablestring" = xdisable; then
10315 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10316 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10317 # Check whether --enable-colourpicker was given.
10318 if test "${enable_colourpicker+set}" = set; then
10319 enableval=$enable_colourpicker;
10320 if test "$enableval" = yes; then
10321 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10323 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10328 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10333 eval "$wx_cv_use_colourpicker"
10335 if test x
"$enablestring" = xdisable
; then
10336 if test $wxUSE_COLOURPICKERCTRL = no
; then
10342 result
=$wxUSE_COLOURPICKERCTRL
10345 { echo "$as_me:$LINENO: result: $result" >&5
10346 echo "${ECHO_T}$result" >&6; }
10350 defaultval
=$wxUSE_ALL_FEATURES
10351 if test -z "$defaultval"; then
10352 if test x
"$enablestring" = xdisable
; then
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10361 # Check whether --enable-combobox was given.
10362 if test "${enable_combobox+set}" = set; then
10363 enableval
=$enable_combobox;
10364 if test "$enableval" = yes; then
10365 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10367 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10372 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10377 eval "$wx_cv_use_combobox"
10379 if test x"$enablestring" = xdisable; then
10380 if test $wxUSE_COMBOBOX = no; then
10386 result=$wxUSE_COMBOBOX
10389 { echo "$as_me:$LINENO: result: $result" >&5
10390 echo "${ECHO_T}$result" >&6; }
10394 defaultval=$wxUSE_ALL_FEATURES
10395 if test -z "$defaultval"; then
10396 if test x"$enablestring" = xdisable; then
10403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10404 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10405 # Check whether --enable-comboctrl was given.
10406 if test "${enable_comboctrl+set}" = set; then
10407 enableval=$enable_comboctrl;
10408 if test "$enableval" = yes; then
10409 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10411 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10416 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10421 eval "$wx_cv_use_comboctrl"
10423 if test x"$enablestring" = xdisable; then
10424 if test $wxUSE_COMBOCTRL = no; then
10430 result=$wxUSE_COMBOCTRL
10433 { echo "$as_me:$LINENO: result
: $result" >&5
10434 echo "${ECHO_T}$result" >&6; }
10438 defaultval=$wxUSE_ALL_FEATURES
10439 if test -z "$defaultval"; then
10440 if test x"$enablestring" = xdisable; then
10447 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10448 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10449 # Check whether --enable-dataviewctrl was given.
10450 if test "${enable_dataviewctrl+set}" = set; then
10451 enableval=$enable_dataviewctrl;
10452 if test "$enableval" = yes; then
10453 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10455 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10460 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10465 eval "$wx_cv_use_dataviewctrl"
10467 if test x
"$enablestring" = xdisable
; then
10468 if test $wxUSE_DATAVIEWCTRL = no
; then
10474 result
=$wxUSE_DATAVIEWCTRL
10477 { echo "$as_me:$LINENO: result: $result" >&5
10478 echo "${ECHO_T}$result" >&6; }
10482 defaultval
=$wxUSE_ALL_FEATURES
10483 if test -z "$defaultval"; then
10484 if test x
"$enablestring" = xdisable
; then
10491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10492 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10493 # Check whether --enable-datepick was given.
10494 if test "${enable_datepick+set}" = set; then
10495 enableval
=$enable_datepick;
10496 if test "$enableval" = yes; then
10497 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10499 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10504 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10509 eval "$wx_cv_use_datepick"
10511 if test x"$enablestring" = xdisable; then
10512 if test $wxUSE_DATEPICKCTRL = no; then
10518 result=$wxUSE_DATEPICKCTRL
10521 { echo "$as_me:$LINENO: result: $result" >&5
10522 echo "${ECHO_T}$result" >&6; }
10526 defaultval=$wxUSE_ALL_FEATURES
10527 if test -z "$defaultval"; then
10528 if test x"$enablestring" = xdisable; then
10535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10536 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10537 # Check whether --enable-detect_sm was given.
10538 if test "${enable_detect_sm+set}" = set; then
10539 enableval=$enable_detect_sm;
10540 if test "$enableval" = yes; then
10541 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10543 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10548 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10553 eval "$wx_cv_use_detect_sm"
10555 if test x"$enablestring" = xdisable; then
10556 if test $wxUSE_DETECT_SM = no; then
10562 result=$wxUSE_DETECT_SM
10565 { echo "$as_me:$LINENO: result
: $result" >&5
10566 echo "${ECHO_T}$result" >&6; }
10570 defaultval=$wxUSE_ALL_FEATURES
10571 if test -z "$defaultval"; then
10572 if test x"$enablestring" = xdisable; then
10579 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10580 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10581 # Check whether --enable-dirpicker was given.
10582 if test "${enable_dirpicker+set}" = set; then
10583 enableval=$enable_dirpicker;
10584 if test "$enableval" = yes; then
10585 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10587 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10592 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10597 eval "$wx_cv_use_dirpicker"
10599 if test x
"$enablestring" = xdisable
; then
10600 if test $wxUSE_DIRPICKERCTRL = no
; then
10606 result
=$wxUSE_DIRPICKERCTRL
10609 { echo "$as_me:$LINENO: result: $result" >&5
10610 echo "${ECHO_T}$result" >&6; }
10614 defaultval
=$wxUSE_ALL_FEATURES
10615 if test -z "$defaultval"; then
10616 if test x
"$enablestring" = xdisable
; then
10623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10624 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10625 # Check whether --enable-display was given.
10626 if test "${enable_display+set}" = set; then
10627 enableval
=$enable_display;
10628 if test "$enableval" = yes; then
10629 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10631 wx_cv_use_display
='wxUSE_DISPLAY=no'
10636 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10641 eval "$wx_cv_use_display"
10643 if test x"$enablestring" = xdisable; then
10644 if test $wxUSE_DISPLAY = no; then
10650 result=$wxUSE_DISPLAY
10653 { echo "$as_me:$LINENO: result: $result" >&5
10654 echo "${ECHO_T}$result" >&6; }
10658 defaultval=$wxUSE_ALL_FEATURES
10659 if test -z "$defaultval"; then
10660 if test x"$enablestring" = xdisable; then
10667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10668 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10669 # Check whether --enable-editablebox was given.
10670 if test "${enable_editablebox+set}" = set; then
10671 enableval=$enable_editablebox;
10672 if test "$enableval" = yes; then
10673 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10675 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10680 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10685 eval "$wx_cv_use_editablebox"
10687 if test x"$enablestring" = xdisable; then
10688 if test $wxUSE_EDITABLELISTBOX = no; then
10694 result=$wxUSE_EDITABLELISTBOX
10697 { echo "$as_me:$LINENO: result
: $result" >&5
10698 echo "${ECHO_T}$result" >&6; }
10702 defaultval=$wxUSE_ALL_FEATURES
10703 if test -z "$defaultval"; then
10704 if test x"$enablestring" = xdisable; then
10711 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
10712 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
10713 # Check whether --enable-filectrl was given.
10714 if test "${enable_filectrl+set}" = set; then
10715 enableval=$enable_filectrl;
10716 if test "$enableval" = yes; then
10717 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10719 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10724 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10729 eval "$wx_cv_use_filectrl"
10731 if test x
"$enablestring" = xdisable
; then
10732 if test $wxUSE_FILECTRL = no
; then
10738 result
=$wxUSE_FILECTRL
10741 { echo "$as_me:$LINENO: result: $result" >&5
10742 echo "${ECHO_T}$result" >&6; }
10746 defaultval
=$wxUSE_ALL_FEATURES
10747 if test -z "$defaultval"; then
10748 if test x
"$enablestring" = xdisable
; then
10755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10756 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10757 # Check whether --enable-filepicker was given.
10758 if test "${enable_filepicker+set}" = set; then
10759 enableval
=$enable_filepicker;
10760 if test "$enableval" = yes; then
10761 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10763 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10768 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10773 eval "$wx_cv_use_filepicker"
10775 if test x"$enablestring" = xdisable; then
10776 if test $wxUSE_FILEPICKERCTRL = no; then
10782 result=$wxUSE_FILEPICKERCTRL
10785 { echo "$as_me:$LINENO: result: $result" >&5
10786 echo "${ECHO_T}$result" >&6; }
10790 defaultval=$wxUSE_ALL_FEATURES
10791 if test -z "$defaultval"; then
10792 if test x"$enablestring" = xdisable; then
10799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10800 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10801 # Check whether --enable-fontpicker was given.
10802 if test "${enable_fontpicker+set}" = set; then
10803 enableval=$enable_fontpicker;
10804 if test "$enableval" = yes; then
10805 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
10807 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
10812 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10817 eval "$wx_cv_use_fontpicker"
10819 if test x"$enablestring" = xdisable; then
10820 if test $wxUSE_FONTPICKERCTRL = no; then
10826 result=$wxUSE_FONTPICKERCTRL
10829 { echo "$as_me:$LINENO: result
: $result" >&5
10830 echo "${ECHO_T}$result" >&6; }
10834 defaultval=$wxUSE_ALL_FEATURES
10835 if test -z "$defaultval"; then
10836 if test x"$enablestring" = xdisable; then
10843 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
10844 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
10845 # Check whether --enable-gauge was given.
10846 if test "${enable_gauge+set}" = set; then
10847 enableval=$enable_gauge;
10848 if test "$enableval" = yes; then
10849 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10851 wx_cv_use_gauge='wxUSE_GAUGE=no'
10856 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10861 eval "$wx_cv_use_gauge"
10863 if test x
"$enablestring" = xdisable
; then
10864 if test $wxUSE_GAUGE = no
; then
10870 result
=$wxUSE_GAUGE
10873 { echo "$as_me:$LINENO: result: $result" >&5
10874 echo "${ECHO_T}$result" >&6; }
10878 defaultval
=$wxUSE_ALL_FEATURES
10879 if test -z "$defaultval"; then
10880 if test x
"$enablestring" = xdisable
; then
10887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10888 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10889 # Check whether --enable-grid was given.
10890 if test "${enable_grid+set}" = set; then
10891 enableval
=$enable_grid;
10892 if test "$enableval" = yes; then
10893 wx_cv_use_grid
='wxUSE_GRID=yes'
10895 wx_cv_use_grid
='wxUSE_GRID=no'
10900 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10905 eval "$wx_cv_use_grid"
10907 if test x"$enablestring" = xdisable; then
10908 if test $wxUSE_GRID = no; then
10917 { echo "$as_me:$LINENO: result: $result" >&5
10918 echo "${ECHO_T}$result" >&6; }
10922 defaultval=$wxUSE_ALL_FEATURES
10923 if test -z "$defaultval"; then
10924 if test x"$enablestring" = xdisable; then
10931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10932 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10933 # Check whether --enable-headerctrl was given.
10934 if test "${enable_headerctrl+set}" = set; then
10935 enableval=$enable_headerctrl;
10936 if test "$enableval" = yes; then
10937 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
10939 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
10944 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10949 eval "$wx_cv_use_headerctrl"
10951 if test x"$enablestring" = xdisable; then
10952 if test $wxUSE_HEADERCTRL = no; then
10958 result=$wxUSE_HEADERCTRL
10961 { echo "$as_me:$LINENO: result
: $result" >&5
10962 echo "${ECHO_T}$result" >&6; }
10966 defaultval=$wxUSE_ALL_FEATURES
10967 if test -z "$defaultval"; then
10968 if test x"$enablestring" = xdisable; then
10975 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
10976 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
10977 # Check whether --enable-hyperlink was given.
10978 if test "${enable_hyperlink+set}" = set; then
10979 enableval=$enable_hyperlink;
10980 if test "$enableval" = yes; then
10981 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10983 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10988 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10993 eval "$wx_cv_use_hyperlink"
10995 if test x
"$enablestring" = xdisable
; then
10996 if test $wxUSE_HYPERLINKCTRL = no
; then
11002 result
=$wxUSE_HYPERLINKCTRL
11005 { echo "$as_me:$LINENO: result: $result" >&5
11006 echo "${ECHO_T}$result" >&6; }
11010 defaultval
=$wxUSE_ALL_FEATURES
11011 if test -z "$defaultval"; then
11012 if test x
"$enablestring" = xdisable
; then
11019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11020 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11021 # Check whether --enable-imaglist was given.
11022 if test "${enable_imaglist+set}" = set; then
11023 enableval
=$enable_imaglist;
11024 if test "$enableval" = yes; then
11025 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
11027 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
11032 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11037 eval "$wx_cv_use_imaglist"
11039 if test x"$enablestring" = xdisable; then
11040 if test $wxUSE_IMAGLIST = no; then
11046 result=$wxUSE_IMAGLIST
11049 { echo "$as_me:$LINENO: result: $result" >&5
11050 echo "${ECHO_T}$result" >&6; }
11054 defaultval=$wxUSE_ALL_FEATURES
11055 if test -z "$defaultval"; then
11056 if test x"$enablestring" = xdisable; then
11063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11064 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11065 # Check whether --enable-infobar was given.
11066 if test "${enable_infobar+set}" = set; then
11067 enableval=$enable_infobar;
11068 if test "$enableval" = yes; then
11069 wx_cv_use_infobar='wxUSE_INFOBAR
=yes'
11071 wx_cv_use_infobar='wxUSE_INFOBAR
=no
'
11076 wx_cv_use_infobar='wxUSE_INFOBAR
=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11081 eval "$wx_cv_use_infobar"
11083 if test x"$enablestring" = xdisable; then
11084 if test $wxUSE_INFOBAR = no; then
11090 result=$wxUSE_INFOBAR
11093 { echo "$as_me:$LINENO: result
: $result" >&5
11094 echo "${ECHO_T}$result" >&6; }
11098 defaultval=$wxUSE_ALL_FEATURES
11099 if test -z "$defaultval"; then
11100 if test x"$enablestring" = xdisable; then
11107 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
11108 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
11109 # Check whether --enable-listbook was given.
11110 if test "${enable_listbook+set}" = set; then
11111 enableval=$enable_listbook;
11112 if test "$enableval" = yes; then
11113 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11115 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11120 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11125 eval "$wx_cv_use_listbook"
11127 if test x
"$enablestring" = xdisable
; then
11128 if test $wxUSE_LISTBOOK = no
; then
11134 result
=$wxUSE_LISTBOOK
11137 { echo "$as_me:$LINENO: result: $result" >&5
11138 echo "${ECHO_T}$result" >&6; }
11142 defaultval
=$wxUSE_ALL_FEATURES
11143 if test -z "$defaultval"; then
11144 if test x
"$enablestring" = xdisable
; then
11151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11152 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11153 # Check whether --enable-listbox was given.
11154 if test "${enable_listbox+set}" = set; then
11155 enableval
=$enable_listbox;
11156 if test "$enableval" = yes; then
11157 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
11159 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
11164 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11169 eval "$wx_cv_use_listbox"
11171 if test x"$enablestring" = xdisable; then
11172 if test $wxUSE_LISTBOX = no; then
11178 result=$wxUSE_LISTBOX
11181 { echo "$as_me:$LINENO: result: $result" >&5
11182 echo "${ECHO_T}$result" >&6; }
11186 defaultval=$wxUSE_ALL_FEATURES
11187 if test -z "$defaultval"; then
11188 if test x"$enablestring" = xdisable; then
11195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11196 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11197 # Check whether --enable-listctrl was given.
11198 if test "${enable_listctrl+set}" = set; then
11199 enableval=$enable_listctrl;
11200 if test "$enableval" = yes; then
11201 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
11203 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
11208 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11213 eval "$wx_cv_use_listctrl"
11215 if test x"$enablestring" = xdisable; then
11216 if test $wxUSE_LISTCTRL = no; then
11222 result=$wxUSE_LISTCTRL
11225 { echo "$as_me:$LINENO: result
: $result" >&5
11226 echo "${ECHO_T}$result" >&6; }
11230 defaultval=$wxUSE_ALL_FEATURES
11231 if test -z "$defaultval"; then
11232 if test x"$enablestring" = xdisable; then
11239 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
11240 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
11241 # Check whether --enable-notebook was given.
11242 if test "${enable_notebook+set}" = set; then
11243 enableval=$enable_notebook;
11244 if test "$enableval" = yes; then
11245 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11247 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11252 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11257 eval "$wx_cv_use_notebook"
11259 if test x
"$enablestring" = xdisable
; then
11260 if test $wxUSE_NOTEBOOK = no
; then
11266 result
=$wxUSE_NOTEBOOK
11269 { echo "$as_me:$LINENO: result: $result" >&5
11270 echo "${ECHO_T}$result" >&6; }
11274 defaultval
=$wxUSE_ALL_FEATURES
11275 if test -z "$defaultval"; then
11276 if test x
"$enablestring" = xdisable
; then
11283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11285 # Check whether --enable-notifmsg was given.
11286 if test "${enable_notifmsg+set}" = set; then
11287 enableval
=$enable_notifmsg;
11288 if test "$enableval" = yes; then
11289 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
11291 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11296 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11301 eval "$wx_cv_use_notifmsg"
11303 if test x"$enablestring" = xdisable; then
11304 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11310 result=$wxUSE_NOTIFICATION_MESSAGE
11313 { echo "$as_me:$LINENO: result: $result" >&5
11314 echo "${ECHO_T}$result" >&6; }
11318 defaultval=$wxUSE_ALL_FEATURES
11319 if test -z "$defaultval"; then
11320 if test x"$enablestring" = xdisable; then
11327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11328 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11329 # Check whether --enable-odcombobox was given.
11330 if test "${enable_odcombobox+set}" = set; then
11331 enableval=$enable_odcombobox;
11332 if test "$enableval" = yes; then
11333 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11335 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11340 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11345 eval "$wx_cv_use_odcombobox"
11347 if test x"$enablestring" = xdisable; then
11348 if test $wxUSE_ODCOMBOBOX = no; then
11354 result=$wxUSE_ODCOMBOBOX
11357 { echo "$as_me:$LINENO: result
: $result" >&5
11358 echo "${ECHO_T}$result" >&6; }
11362 defaultval=$wxUSE_ALL_FEATURES
11363 if test -z "$defaultval"; then
11364 if test x"$enablestring" = xdisable; then
11371 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
11372 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
11373 # Check whether --enable-popupwin was given.
11374 if test "${enable_popupwin+set}" = set; then
11375 enableval=$enable_popupwin;
11376 if test "$enableval" = yes; then
11377 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11379 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11384 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11389 eval "$wx_cv_use_popupwin"
11391 if test x
"$enablestring" = xdisable
; then
11392 if test $wxUSE_POPUPWIN = no
; then
11398 result
=$wxUSE_POPUPWIN
11401 { echo "$as_me:$LINENO: result: $result" >&5
11402 echo "${ECHO_T}$result" >&6; }
11406 defaultval
=$wxUSE_ALL_FEATURES
11407 if test -z "$defaultval"; then
11408 if test x
"$enablestring" = xdisable
; then
11415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11416 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11417 # Check whether --enable-radiobox was given.
11418 if test "${enable_radiobox+set}" = set; then
11419 enableval
=$enable_radiobox;
11420 if test "$enableval" = yes; then
11421 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
11423 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
11428 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11433 eval "$wx_cv_use_radiobox"
11435 if test x"$enablestring" = xdisable; then
11436 if test $wxUSE_RADIOBOX = no; then
11442 result=$wxUSE_RADIOBOX
11445 { echo "$as_me:$LINENO: result: $result" >&5
11446 echo "${ECHO_T}$result" >&6; }
11450 defaultval=$wxUSE_ALL_FEATURES
11451 if test -z "$defaultval"; then
11452 if test x"$enablestring" = xdisable; then
11459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11460 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11461 # Check whether --enable-radiobtn was given.
11462 if test "${enable_radiobtn+set}" = set; then
11463 enableval=$enable_radiobtn;
11464 if test "$enableval" = yes; then
11465 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
11467 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
11472 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11477 eval "$wx_cv_use_radiobtn"
11479 if test x"$enablestring" = xdisable; then
11480 if test $wxUSE_RADIOBTN = no; then
11486 result=$wxUSE_RADIOBTN
11489 { echo "$as_me:$LINENO: result
: $result" >&5
11490 echo "${ECHO_T}$result" >&6; }
11494 defaultval=$wxUSE_ALL_FEATURES
11495 if test -z "$defaultval"; then
11496 if test x"$enablestring" = xdisable; then
11503 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rearrangectrl" >&5
11504 echo $ECHO_N "checking
for --${enablestring:-enable}-rearrangectrl...
$ECHO_C" >&6; }
11505 # Check whether --enable-rearrangectrl was given.
11506 if test "${enable_rearrangectrl+set}" = set; then
11507 enableval=$enable_rearrangectrl;
11508 if test "$enableval" = yes; then
11509 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11511 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11516 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11521 eval "$wx_cv_use_rearrangectrl"
11523 if test x
"$enablestring" = xdisable
; then
11524 if test $wxUSE_REARRANGECTRL = no
; then
11530 result
=$wxUSE_REARRANGECTRL
11533 { echo "$as_me:$LINENO: result: $result" >&5
11534 echo "${ECHO_T}$result" >&6; }
11538 defaultval
=$wxUSE_ALL_FEATURES
11539 if test -z "$defaultval"; then
11540 if test x
"$enablestring" = xdisable
; then
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11549 # Check whether --enable-sash was given.
11550 if test "${enable_sash+set}" = set; then
11551 enableval
=$enable_sash;
11552 if test "$enableval" = yes; then
11553 wx_cv_use_sash
='wxUSE_SASH=yes'
11555 wx_cv_use_sash
='wxUSE_SASH=no'
11560 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11565 eval "$wx_cv_use_sash"
11567 if test x"$enablestring" = xdisable; then
11568 if test $wxUSE_SASH = no; then
11577 { echo "$as_me:$LINENO: result: $result" >&5
11578 echo "${ECHO_T}$result" >&6; }
11582 defaultval=$wxUSE_ALL_FEATURES
11583 if test -z "$defaultval"; then
11584 if test x"$enablestring" = xdisable; then
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11593 # Check whether --enable-scrollbar was given.
11594 if test "${enable_scrollbar+set}" = set; then
11595 enableval=$enable_scrollbar;
11596 if test "$enableval" = yes; then
11597 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
11599 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
11604 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11609 eval "$wx_cv_use_scrollbar"
11611 if test x"$enablestring" = xdisable; then
11612 if test $wxUSE_SCROLLBAR = no; then
11618 result=$wxUSE_SCROLLBAR
11621 { echo "$as_me:$LINENO: result
: $result" >&5
11622 echo "${ECHO_T}$result" >&6; }
11626 defaultval=$wxUSE_ALL_FEATURES
11627 if test -z "$defaultval"; then
11628 if test x"$enablestring" = xdisable; then
11635 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
11636 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
11637 # Check whether --enable-searchctrl was given.
11638 if test "${enable_searchctrl+set}" = set; then
11639 enableval=$enable_searchctrl;
11640 if test "$enableval" = yes; then
11641 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11643 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11648 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11653 eval "$wx_cv_use_searchctrl"
11655 if test x
"$enablestring" = xdisable
; then
11656 if test $wxUSE_SEARCHCTRL = no
; then
11662 result
=$wxUSE_SEARCHCTRL
11665 { echo "$as_me:$LINENO: result: $result" >&5
11666 echo "${ECHO_T}$result" >&6; }
11670 defaultval
=$wxUSE_ALL_FEATURES
11671 if test -z "$defaultval"; then
11672 if test x
"$enablestring" = xdisable
; then
11679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11680 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11681 # Check whether --enable-slider was given.
11682 if test "${enable_slider+set}" = set; then
11683 enableval
=$enable_slider;
11684 if test "$enableval" = yes; then
11685 wx_cv_use_slider
='wxUSE_SLIDER=yes'
11687 wx_cv_use_slider
='wxUSE_SLIDER=no'
11692 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11697 eval "$wx_cv_use_slider"
11699 if test x"$enablestring" = xdisable; then
11700 if test $wxUSE_SLIDER = no; then
11706 result=$wxUSE_SLIDER
11709 { echo "$as_me:$LINENO: result: $result" >&5
11710 echo "${ECHO_T}$result" >&6; }
11714 defaultval=$wxUSE_ALL_FEATURES
11715 if test -z "$defaultval"; then
11716 if test x"$enablestring" = xdisable; then
11723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11724 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11725 # Check whether --enable-spinbtn was given.
11726 if test "${enable_spinbtn+set}" = set; then
11727 enableval=$enable_spinbtn;
11728 if test "$enableval" = yes; then
11729 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
11731 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
11736 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11741 eval "$wx_cv_use_spinbtn"
11743 if test x"$enablestring" = xdisable; then
11744 if test $wxUSE_SPINBTN = no; then
11750 result=$wxUSE_SPINBTN
11753 { echo "$as_me:$LINENO: result
: $result" >&5
11754 echo "${ECHO_T}$result" >&6; }
11758 defaultval=$wxUSE_ALL_FEATURES
11759 if test -z "$defaultval"; then
11760 if test x"$enablestring" = xdisable; then
11767 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
11768 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
11769 # Check whether --enable-spinctrl was given.
11770 if test "${enable_spinctrl+set}" = set; then
11771 enableval=$enable_spinctrl;
11772 if test "$enableval" = yes; then
11773 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11775 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11780 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11785 eval "$wx_cv_use_spinctrl"
11787 if test x
"$enablestring" = xdisable
; then
11788 if test $wxUSE_SPINCTRL = no
; then
11794 result
=$wxUSE_SPINCTRL
11797 { echo "$as_me:$LINENO: result: $result" >&5
11798 echo "${ECHO_T}$result" >&6; }
11802 defaultval
=$wxUSE_ALL_FEATURES
11803 if test -z "$defaultval"; then
11804 if test x
"$enablestring" = xdisable
; then
11811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11812 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11813 # Check whether --enable-splitter was given.
11814 if test "${enable_splitter+set}" = set; then
11815 enableval
=$enable_splitter;
11816 if test "$enableval" = yes; then
11817 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
11819 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
11824 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11829 eval "$wx_cv_use_splitter"
11831 if test x"$enablestring" = xdisable; then
11832 if test $wxUSE_SPLITTER = no; then
11838 result=$wxUSE_SPLITTER
11841 { echo "$as_me:$LINENO: result: $result" >&5
11842 echo "${ECHO_T}$result" >&6; }
11846 defaultval=$wxUSE_ALL_FEATURES
11847 if test -z "$defaultval"; then
11848 if test x"$enablestring" = xdisable; then
11855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11856 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11857 # Check whether --enable-statbmp was given.
11858 if test "${enable_statbmp+set}" = set; then
11859 enableval=$enable_statbmp;
11860 if test "$enableval" = yes; then
11861 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
11863 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
11868 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11873 eval "$wx_cv_use_statbmp"
11875 if test x"$enablestring" = xdisable; then
11876 if test $wxUSE_STATBMP = no; then
11882 result=$wxUSE_STATBMP
11885 { echo "$as_me:$LINENO: result
: $result" >&5
11886 echo "${ECHO_T}$result" >&6; }
11890 defaultval=$wxUSE_ALL_FEATURES
11891 if test -z "$defaultval"; then
11892 if test x"$enablestring" = xdisable; then
11899 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
11900 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
11901 # Check whether --enable-statbox was given.
11902 if test "${enable_statbox+set}" = set; then
11903 enableval=$enable_statbox;
11904 if test "$enableval" = yes; then
11905 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11907 wx_cv_use_statbox='wxUSE_STATBOX=no'
11912 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11917 eval "$wx_cv_use_statbox"
11919 if test x
"$enablestring" = xdisable
; then
11920 if test $wxUSE_STATBOX = no
; then
11926 result
=$wxUSE_STATBOX
11929 { echo "$as_me:$LINENO: result: $result" >&5
11930 echo "${ECHO_T}$result" >&6; }
11934 defaultval
=$wxUSE_ALL_FEATURES
11935 if test -z "$defaultval"; then
11936 if test x
"$enablestring" = xdisable
; then
11943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11944 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11945 # Check whether --enable-statline was given.
11946 if test "${enable_statline+set}" = set; then
11947 enableval
=$enable_statline;
11948 if test "$enableval" = yes; then
11949 wx_cv_use_statline
='wxUSE_STATLINE=yes'
11951 wx_cv_use_statline
='wxUSE_STATLINE=no'
11956 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11961 eval "$wx_cv_use_statline"
11963 if test x"$enablestring" = xdisable; then
11964 if test $wxUSE_STATLINE = no; then
11970 result=$wxUSE_STATLINE
11973 { echo "$as_me:$LINENO: result: $result" >&5
11974 echo "${ECHO_T}$result" >&6; }
11978 defaultval=$wxUSE_ALL_FEATURES
11979 if test -z "$defaultval"; then
11980 if test x"$enablestring" = xdisable; then
11987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11988 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11989 # Check whether --enable-stattext was given.
11990 if test "${enable_stattext+set}" = set; then
11991 enableval=$enable_stattext;
11992 if test "$enableval" = yes; then
11993 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
11995 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
12000 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12005 eval "$wx_cv_use_stattext"
12007 if test x"$enablestring" = xdisable; then
12008 if test $wxUSE_STATTEXT = no; then
12014 result=$wxUSE_STATTEXT
12017 { echo "$as_me:$LINENO: result
: $result" >&5
12018 echo "${ECHO_T}$result" >&6; }
12022 defaultval=$wxUSE_ALL_FEATURES
12023 if test -z "$defaultval"; then
12024 if test x"$enablestring" = xdisable; then
12031 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
12032 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
12033 # Check whether --enable-statusbar was given.
12034 if test "${enable_statusbar+set}" = set; then
12035 enableval=$enable_statusbar;
12036 if test "$enableval" = yes; then
12037 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12039 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12044 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12049 eval "$wx_cv_use_statusbar"
12051 if test x
"$enablestring" = xdisable
; then
12052 if test $wxUSE_STATUSBAR = no
; then
12058 result
=$wxUSE_STATUSBAR
12061 { echo "$as_me:$LINENO: result: $result" >&5
12062 echo "${ECHO_T}$result" >&6; }
12066 defaultval
=$wxUSE_ALL_FEATURES
12067 if test -z "$defaultval"; then
12068 if test x
"$enablestring" = xdisable
; then
12075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12076 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12077 # Check whether --enable-taskbaricon was given.
12078 if test "${enable_taskbaricon+set}" = set; then
12079 enableval
=$enable_taskbaricon;
12080 if test "$enableval" = yes; then
12081 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
12083 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
12088 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12093 eval "$wx_cv_use_taskbaricon"
12095 if test x"$enablestring" = xdisable; then
12096 if test $wxUSE_TASKBARICON = no; then
12102 result=$wxUSE_TASKBARICON
12105 { echo "$as_me:$LINENO: result: $result" >&5
12106 echo "${ECHO_T}$result" >&6; }
12110 defaultval=$wxUSE_ALL_FEATURES
12111 if test -z "$defaultval"; then
12112 if test x"$enablestring" = xdisable; then
12119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12120 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12121 # Check whether --enable-tbarnative was given.
12122 if test "${enable_tbarnative+set}" = set; then
12123 enableval=$enable_tbarnative;
12124 if test "$enableval" = yes; then
12125 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
12127 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
12132 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12137 eval "$wx_cv_use_tbarnative"
12139 if test x"$enablestring" = xdisable; then
12140 if test $wxUSE_TOOLBAR_NATIVE = no; then
12146 result=$wxUSE_TOOLBAR_NATIVE
12149 { echo "$as_me:$LINENO: result
: $result" >&5
12150 echo "${ECHO_T}$result" >&6; }
12154 defaultval=$wxUSE_ALL_FEATURES
12155 if test -z "$defaultval"; then
12156 if test x"$enablestring" = xdisable; then
12163 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
12164 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
12165 # Check whether --enable-textctrl was given.
12166 if test "${enable_textctrl+set}" = set; then
12167 enableval=$enable_textctrl;
12168 if test "$enableval" = yes; then
12169 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12171 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12176 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12181 eval "$wx_cv_use_textctrl"
12183 if test x
"$enablestring" = xdisable
; then
12184 if test $wxUSE_TEXTCTRL = no
; then
12190 result
=$wxUSE_TEXTCTRL
12193 { echo "$as_me:$LINENO: result: $result" >&5
12194 echo "${ECHO_T}$result" >&6; }
12198 defaultval
=$wxUSE_ALL_FEATURES
12199 if test -z "$defaultval"; then
12200 if test x
"$enablestring" = xdisable
; then
12207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12208 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12209 # Check whether --enable-tipwindow was given.
12210 if test "${enable_tipwindow+set}" = set; then
12211 enableval
=$enable_tipwindow;
12212 if test "$enableval" = yes; then
12213 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
12215 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
12220 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12225 eval "$wx_cv_use_tipwindow"
12227 if test x"$enablestring" = xdisable; then
12228 if test $wxUSE_TIPWINDOW = no; then
12234 result=$wxUSE_TIPWINDOW
12237 { echo "$as_me:$LINENO: result: $result" >&5
12238 echo "${ECHO_T}$result" >&6; }
12242 defaultval=$wxUSE_ALL_FEATURES
12243 if test -z "$defaultval"; then
12244 if test x"$enablestring" = xdisable; then
12251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12252 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12253 # Check whether --enable-togglebtn was given.
12254 if test "${enable_togglebtn+set}" = set; then
12255 enableval=$enable_togglebtn;
12256 if test "$enableval" = yes; then
12257 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
12259 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
12264 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12269 eval "$wx_cv_use_togglebtn"
12271 if test x"$enablestring" = xdisable; then
12272 if test $wxUSE_TOGGLEBTN = no; then
12278 result=$wxUSE_TOGGLEBTN
12281 { echo "$as_me:$LINENO: result
: $result" >&5
12282 echo "${ECHO_T}$result" >&6; }
12286 defaultval=$wxUSE_ALL_FEATURES
12287 if test -z "$defaultval"; then
12288 if test x"$enablestring" = xdisable; then
12295 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
12296 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
12297 # Check whether --enable-toolbar was given.
12298 if test "${enable_toolbar+set}" = set; then
12299 enableval=$enable_toolbar;
12300 if test "$enableval" = yes; then
12301 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12303 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12308 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12313 eval "$wx_cv_use_toolbar"
12315 if test x
"$enablestring" = xdisable
; then
12316 if test $wxUSE_TOOLBAR = no
; then
12322 result
=$wxUSE_TOOLBAR
12325 { echo "$as_me:$LINENO: result: $result" >&5
12326 echo "${ECHO_T}$result" >&6; }
12330 defaultval
=$wxUSE_ALL_FEATURES
12331 if test -z "$defaultval"; then
12332 if test x
"$enablestring" = xdisable
; then
12339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12340 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12341 # Check whether --enable-toolbook was given.
12342 if test "${enable_toolbook+set}" = set; then
12343 enableval
=$enable_toolbook;
12344 if test "$enableval" = yes; then
12345 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
12347 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
12352 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12357 eval "$wx_cv_use_toolbook"
12359 if test x"$enablestring" = xdisable; then
12360 if test $wxUSE_TOOLBOOK = no; then
12366 result=$wxUSE_TOOLBOOK
12369 { echo "$as_me:$LINENO: result: $result" >&5
12370 echo "${ECHO_T}$result" >&6; }
12374 defaultval=$wxUSE_ALL_FEATURES
12375 if test -z "$defaultval"; then
12376 if test x"$enablestring" = xdisable; then
12383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12384 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12385 # Check whether --enable-treebook was given.
12386 if test "${enable_treebook+set}" = set; then
12387 enableval=$enable_treebook;
12388 if test "$enableval" = yes; then
12389 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
12391 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
12396 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12401 eval "$wx_cv_use_treebook"
12403 if test x"$enablestring" = xdisable; then
12404 if test $wxUSE_TREEBOOK = no; then
12410 result=$wxUSE_TREEBOOK
12413 { echo "$as_me:$LINENO: result
: $result" >&5
12414 echo "${ECHO_T}$result" >&6; }
12418 defaultval=$wxUSE_ALL_FEATURES
12419 if test -z "$defaultval"; then
12420 if test x"$enablestring" = xdisable; then
12427 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
12428 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6; }
12429 # Check whether --enable-treectrl was given.
12430 if test "${enable_treectrl+set}" = set; then
12431 enableval=$enable_treectrl;
12432 if test "$enableval" = yes; then
12433 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12435 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12440 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12445 eval "$wx_cv_use_treectrl"
12447 if test x
"$enablestring" = xdisable
; then
12448 if test $wxUSE_TREECTRL = no
; then
12454 result
=$wxUSE_TREECTRL
12457 { echo "$as_me:$LINENO: result: $result" >&5
12458 echo "${ECHO_T}$result" >&6; }
12464 defaultval
=$wxUSE_ALL_FEATURES
12465 if test -z "$defaultval"; then
12466 if test x
"$enablestring" = xdisable
; then
12473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12474 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12475 # Check whether --enable-commondlg was given.
12476 if test "${enable_commondlg+set}" = set; then
12477 enableval
=$enable_commondlg;
12478 if test "$enableval" = yes; then
12479 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
12481 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
12486 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12491 eval "$wx_cv_use_commondlg"
12493 if test x"$enablestring" = xdisable; then
12494 if test $wxUSE_COMMONDLGS = no; then
12500 result=$wxUSE_COMMONDLGS
12503 { echo "$as_me:$LINENO: result: $result" >&5
12504 echo "${ECHO_T}$result" >&6; }
12508 defaultval=$wxUSE_ALL_FEATURES
12509 if test -z "$defaultval"; then
12510 if test x"$enablestring" = xdisable; then
12517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12518 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12519 # Check whether --enable-aboutdlg was given.
12520 if test "${enable_aboutdlg+set}" = set; then
12521 enableval=$enable_aboutdlg;
12522 if test "$enableval" = yes; then
12523 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
12525 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
12530 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12535 eval "$wx_cv_use_aboutdlg"
12537 if test x"$enablestring" = xdisable; then
12538 if test $wxUSE_ABOUTDLG = no; then
12544 result=$wxUSE_ABOUTDLG
12547 { echo "$as_me:$LINENO: result
: $result" >&5
12548 echo "${ECHO_T}$result" >&6; }
12552 defaultval=$wxUSE_ALL_FEATURES
12553 if test -z "$defaultval"; then
12554 if test x"$enablestring" = xdisable; then
12561 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
12562 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
12563 # Check whether --enable-choicedlg was given.
12564 if test "${enable_choicedlg+set}" = set; then
12565 enableval=$enable_choicedlg;
12566 if test "$enableval" = yes; then
12567 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12569 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12574 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12579 eval "$wx_cv_use_choicedlg"
12581 if test x
"$enablestring" = xdisable
; then
12582 if test $wxUSE_CHOICEDLG = no
; then
12588 result
=$wxUSE_CHOICEDLG
12591 { echo "$as_me:$LINENO: result: $result" >&5
12592 echo "${ECHO_T}$result" >&6; }
12596 defaultval
=$wxUSE_ALL_FEATURES
12597 if test -z "$defaultval"; then
12598 if test x
"$enablestring" = xdisable
; then
12605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12606 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12607 # Check whether --enable-coldlg was given.
12608 if test "${enable_coldlg+set}" = set; then
12609 enableval
=$enable_coldlg;
12610 if test "$enableval" = yes; then
12611 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12613 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12618 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12623 eval "$wx_cv_use_coldlg"
12625 if test x"$enablestring" = xdisable; then
12626 if test $wxUSE_COLOURDLG = no; then
12632 result=$wxUSE_COLOURDLG
12635 { echo "$as_me:$LINENO: result: $result" >&5
12636 echo "${ECHO_T}$result" >&6; }
12640 defaultval=$wxUSE_ALL_FEATURES
12641 if test -z "$defaultval"; then
12642 if test x"$enablestring" = xdisable; then
12649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12650 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12651 # Check whether --enable-filedlg was given.
12652 if test "${enable_filedlg+set}" = set; then
12653 enableval=$enable_filedlg;
12654 if test "$enableval" = yes; then
12655 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12657 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12662 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12667 eval "$wx_cv_use_filedlg"
12669 if test x"$enablestring" = xdisable; then
12670 if test $wxUSE_FILEDLG = no; then
12676 result=$wxUSE_FILEDLG
12679 { echo "$as_me:$LINENO: result
: $result" >&5
12680 echo "${ECHO_T}$result" >&6; }
12684 defaultval=$wxUSE_ALL_FEATURES
12685 if test -z "$defaultval"; then
12686 if test x"$enablestring" = xdisable; then
12693 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12694 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12695 # Check whether --enable-finddlg was given.
12696 if test "${enable_finddlg+set}" = set; then
12697 enableval=$enable_finddlg;
12698 if test "$enableval" = yes; then
12699 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12701 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12706 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12711 eval "$wx_cv_use_finddlg"
12713 if test x
"$enablestring" = xdisable
; then
12714 if test $wxUSE_FINDREPLDLG = no
; then
12720 result
=$wxUSE_FINDREPLDLG
12723 { echo "$as_me:$LINENO: result: $result" >&5
12724 echo "${ECHO_T}$result" >&6; }
12728 defaultval
=$wxUSE_ALL_FEATURES
12729 if test -z "$defaultval"; then
12730 if test x
"$enablestring" = xdisable
; then
12737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12738 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12739 # Check whether --enable-fontdlg was given.
12740 if test "${enable_fontdlg+set}" = set; then
12741 enableval
=$enable_fontdlg;
12742 if test "$enableval" = yes; then
12743 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12745 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12750 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12755 eval "$wx_cv_use_fontdlg"
12757 if test x"$enablestring" = xdisable; then
12758 if test $wxUSE_FONTDLG = no; then
12764 result=$wxUSE_FONTDLG
12767 { echo "$as_me:$LINENO: result: $result" >&5
12768 echo "${ECHO_T}$result" >&6; }
12772 defaultval=$wxUSE_ALL_FEATURES
12773 if test -z "$defaultval"; then
12774 if test x"$enablestring" = xdisable; then
12781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12782 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12783 # Check whether --enable-dirdlg was given.
12784 if test "${enable_dirdlg+set}" = set; then
12785 enableval=$enable_dirdlg;
12786 if test "$enableval" = yes; then
12787 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12789 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12794 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12799 eval "$wx_cv_use_dirdlg"
12801 if test x"$enablestring" = xdisable; then
12802 if test $wxUSE_DIRDLG = no; then
12808 result=$wxUSE_DIRDLG
12811 { echo "$as_me:$LINENO: result
: $result" >&5
12812 echo "${ECHO_T}$result" >&6; }
12816 defaultval=$wxUSE_ALL_FEATURES
12817 if test -z "$defaultval"; then
12818 if test x"$enablestring" = xdisable; then
12825 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12826 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12827 # Check whether --enable-msgdlg was given.
12828 if test "${enable_msgdlg+set}" = set; then
12829 enableval=$enable_msgdlg;
12830 if test "$enableval" = yes; then
12831 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12833 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12838 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12843 eval "$wx_cv_use_msgdlg"
12845 if test x
"$enablestring" = xdisable
; then
12846 if test $wxUSE_MSGDLG = no
; then
12852 result
=$wxUSE_MSGDLG
12855 { echo "$as_me:$LINENO: result: $result" >&5
12856 echo "${ECHO_T}$result" >&6; }
12860 defaultval
=$wxUSE_ALL_FEATURES
12861 if test -z "$defaultval"; then
12862 if test x
"$enablestring" = xdisable
; then
12869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12870 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12871 # Check whether --enable-numberdlg was given.
12872 if test "${enable_numberdlg+set}" = set; then
12873 enableval
=$enable_numberdlg;
12874 if test "$enableval" = yes; then
12875 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12877 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12882 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12887 eval "$wx_cv_use_numberdlg"
12889 if test x"$enablestring" = xdisable; then
12890 if test $wxUSE_NUMBERDLG = no; then
12896 result=$wxUSE_NUMBERDLG
12899 { echo "$as_me:$LINENO: result: $result" >&5
12900 echo "${ECHO_T}$result" >&6; }
12904 defaultval=$wxUSE_ALL_FEATURES
12905 if test -z "$defaultval"; then
12906 if test x"$enablestring" = xdisable; then
12913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12914 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12915 # Check whether --enable-splash was given.
12916 if test "${enable_splash+set}" = set; then
12917 enableval=$enable_splash;
12918 if test "$enableval" = yes; then
12919 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12921 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12926 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12931 eval "$wx_cv_use_splash"
12933 if test x"$enablestring" = xdisable; then
12934 if test $wxUSE_SPLASH = no; then
12940 result=$wxUSE_SPLASH
12943 { echo "$as_me:$LINENO: result
: $result" >&5
12944 echo "${ECHO_T}$result" >&6; }
12948 defaultval=$wxUSE_ALL_FEATURES
12949 if test -z "$defaultval"; then
12950 if test x"$enablestring" = xdisable; then
12957 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12958 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12959 # Check whether --enable-textdlg was given.
12960 if test "${enable_textdlg+set}" = set; then
12961 enableval=$enable_textdlg;
12962 if test "$enableval" = yes; then
12963 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12965 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12970 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12975 eval "$wx_cv_use_textdlg"
12977 if test x
"$enablestring" = xdisable
; then
12978 if test $wxUSE_TEXTDLG = no
; then
12984 result
=$wxUSE_TEXTDLG
12987 { echo "$as_me:$LINENO: result: $result" >&5
12988 echo "${ECHO_T}$result" >&6; }
12992 defaultval
=$wxUSE_ALL_FEATURES
12993 if test -z "$defaultval"; then
12994 if test x
"$enablestring" = xdisable
; then
13001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13002 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13003 # Check whether --enable-tipdlg was given.
13004 if test "${enable_tipdlg+set}" = set; then
13005 enableval
=$enable_tipdlg;
13006 if test "$enableval" = yes; then
13007 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
13009 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
13014 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13019 eval "$wx_cv_use_tipdlg"
13021 if test x"$enablestring" = xdisable; then
13022 if test $wxUSE_STARTUP_TIPS = no; then
13028 result=$wxUSE_STARTUP_TIPS
13031 { echo "$as_me:$LINENO: result: $result" >&5
13032 echo "${ECHO_T}$result" >&6; }
13036 defaultval=$wxUSE_ALL_FEATURES
13037 if test -z "$defaultval"; then
13038 if test x"$enablestring" = xdisable; then
13045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13046 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13047 # Check whether --enable-progressdlg was given.
13048 if test "${enable_progressdlg+set}" = set; then
13049 enableval=$enable_progressdlg;
13050 if test "$enableval" = yes; then
13051 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
13053 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
13058 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13063 eval "$wx_cv_use_progressdlg"
13065 if test x"$enablestring" = xdisable; then
13066 if test $wxUSE_PROGRESSDLG = no; then
13072 result=$wxUSE_PROGRESSDLG
13075 { echo "$as_me:$LINENO: result
: $result" >&5
13076 echo "${ECHO_T}$result" >&6; }
13080 defaultval=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x"$enablestring" = xdisable; then
13089 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
13090 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
13091 # Check whether --enable-wizarddlg was given.
13092 if test "${enable_wizarddlg+set}" = set; then
13093 enableval=$enable_wizarddlg;
13094 if test "$enableval" = yes; then
13095 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13097 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13102 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13107 eval "$wx_cv_use_wizarddlg"
13109 if test x
"$enablestring" = xdisable
; then
13110 if test $wxUSE_WIZARDDLG = no
; then
13116 result
=$wxUSE_WIZARDDLG
13119 { echo "$as_me:$LINENO: result: $result" >&5
13120 echo "${ECHO_T}$result" >&6; }
13126 defaultval
=$wxUSE_ALL_FEATURES
13127 if test -z "$defaultval"; then
13128 if test x
"$enablestring" = xdisable
; then
13135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13136 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13137 # Check whether --enable-menus was given.
13138 if test "${enable_menus+set}" = set; then
13139 enableval
=$enable_menus;
13140 if test "$enableval" = yes; then
13141 wx_cv_use_menus
='wxUSE_MENUS=yes'
13143 wx_cv_use_menus
='wxUSE_MENUS=no'
13148 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13153 eval "$wx_cv_use_menus"
13155 if test x"$enablestring" = xdisable; then
13156 if test $wxUSE_MENUS = no; then
13162 result=$wxUSE_MENUS
13165 { echo "$as_me:$LINENO: result: $result" >&5
13166 echo "${ECHO_T}$result" >&6; }
13170 defaultval=$wxUSE_ALL_FEATURES
13171 if test -z "$defaultval"; then
13172 if test x"$enablestring" = xdisable; then
13179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13180 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13181 # Check whether --enable-miniframe was given.
13182 if test "${enable_miniframe+set}" = set; then
13183 enableval=$enable_miniframe;
13184 if test "$enableval" = yes; then
13185 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
13187 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
13192 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13197 eval "$wx_cv_use_miniframe"
13199 if test x"$enablestring" = xdisable; then
13200 if test $wxUSE_MINIFRAME = no; then
13206 result=$wxUSE_MINIFRAME
13209 { echo "$as_me:$LINENO: result
: $result" >&5
13210 echo "${ECHO_T}$result" >&6; }
13214 defaultval=$wxUSE_ALL_FEATURES
13215 if test -z "$defaultval"; then
13216 if test x"$enablestring" = xdisable; then
13223 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
13224 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
13225 # Check whether --enable-tooltips was given.
13226 if test "${enable_tooltips+set}" = set; then
13227 enableval=$enable_tooltips;
13228 if test "$enableval" = yes; then
13229 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13231 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13236 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13241 eval "$wx_cv_use_tooltips"
13243 if test x
"$enablestring" = xdisable
; then
13244 if test $wxUSE_TOOLTIPS = no
; then
13250 result
=$wxUSE_TOOLTIPS
13253 { echo "$as_me:$LINENO: result: $result" >&5
13254 echo "${ECHO_T}$result" >&6; }
13258 defaultval
=$wxUSE_ALL_FEATURES
13259 if test -z "$defaultval"; then
13260 if test x
"$enablestring" = xdisable
; then
13267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13268 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13269 # Check whether --enable-splines was given.
13270 if test "${enable_splines+set}" = set; then
13271 enableval
=$enable_splines;
13272 if test "$enableval" = yes; then
13273 wx_cv_use_splines
='wxUSE_SPLINES=yes'
13275 wx_cv_use_splines
='wxUSE_SPLINES=no'
13280 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13285 eval "$wx_cv_use_splines"
13287 if test x"$enablestring" = xdisable; then
13288 if test $wxUSE_SPLINES = no; then
13294 result=$wxUSE_SPLINES
13297 { echo "$as_me:$LINENO: result: $result" >&5
13298 echo "${ECHO_T}$result" >&6; }
13302 defaultval=$wxUSE_ALL_FEATURES
13303 if test -z "$defaultval"; then
13304 if test x"$enablestring" = xdisable; then
13311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13312 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13313 # Check whether --enable-mousewheel was given.
13314 if test "${enable_mousewheel+set}" = set; then
13315 enableval=$enable_mousewheel;
13316 if test "$enableval" = yes; then
13317 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
13319 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
13324 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13329 eval "$wx_cv_use_mousewheel"
13331 if test x"$enablestring" = xdisable; then
13332 if test $wxUSE_MOUSEWHEEL = no; then
13338 result=$wxUSE_MOUSEWHEEL
13341 { echo "$as_me:$LINENO: result
: $result" >&5
13342 echo "${ECHO_T}$result" >&6; }
13346 defaultval=$wxUSE_ALL_FEATURES
13347 if test -z "$defaultval"; then
13348 if test x"$enablestring" = xdisable; then
13355 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
13356 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
13357 # Check whether --enable-validators was given.
13358 if test "${enable_validators+set}" = set; then
13359 enableval=$enable_validators;
13360 if test "$enableval" = yes; then
13361 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13363 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13368 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13373 eval "$wx_cv_use_validators"
13375 if test x
"$enablestring" = xdisable
; then
13376 if test $wxUSE_VALIDATORS = no
; then
13382 result
=$wxUSE_VALIDATORS
13385 { echo "$as_me:$LINENO: result: $result" >&5
13386 echo "${ECHO_T}$result" >&6; }
13390 defaultval
=$wxUSE_ALL_FEATURES
13391 if test -z "$defaultval"; then
13392 if test x
"$enablestring" = xdisable
; then
13399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13400 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13401 # Check whether --enable-busyinfo was given.
13402 if test "${enable_busyinfo+set}" = set; then
13403 enableval
=$enable_busyinfo;
13404 if test "$enableval" = yes; then
13405 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
13407 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
13412 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13417 eval "$wx_cv_use_busyinfo"
13419 if test x"$enablestring" = xdisable; then
13420 if test $wxUSE_BUSYINFO = no; then
13426 result=$wxUSE_BUSYINFO
13429 { echo "$as_me:$LINENO: result: $result" >&5
13430 echo "${ECHO_T}$result" >&6; }
13434 defaultval=$wxUSE_ALL_FEATURES
13435 if test -z "$defaultval"; then
13436 if test x"$enablestring" = xdisable; then
13443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13444 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13445 # Check whether --enable-joystick was given.
13446 if test "${enable_joystick+set}" = set; then
13447 enableval=$enable_joystick;
13448 if test "$enableval" = yes; then
13449 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
13451 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
13456 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13461 eval "$wx_cv_use_joystick"
13463 if test x"$enablestring" = xdisable; then
13464 if test $wxUSE_JOYSTICK = no; then
13470 result=$wxUSE_JOYSTICK
13473 { echo "$as_me:$LINENO: result
: $result" >&5
13474 echo "${ECHO_T}$result" >&6; }
13478 defaultval=$wxUSE_ALL_FEATURES
13479 if test -z "$defaultval"; then
13480 if test x"$enablestring" = xdisable; then
13487 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
13488 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
13489 # Check whether --enable-metafile was given.
13490 if test "${enable_metafile+set}" = set; then
13491 enableval=$enable_metafile;
13492 if test "$enableval" = yes; then
13493 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13495 wx_cv_use_metafile='wxUSE_METAFILE=no'
13500 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13505 eval "$wx_cv_use_metafile"
13507 if test x
"$enablestring" = xdisable
; then
13508 if test $wxUSE_METAFILE = no
; then
13514 result
=$wxUSE_METAFILE
13517 { echo "$as_me:$LINENO: result: $result" >&5
13518 echo "${ECHO_T}$result" >&6; }
13522 defaultval
=$wxUSE_ALL_FEATURES
13523 if test -z "$defaultval"; then
13524 if test x
"$enablestring" = xdisable
; then
13531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13532 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13533 # Check whether --enable-dragimage was given.
13534 if test "${enable_dragimage+set}" = set; then
13535 enableval
=$enable_dragimage;
13536 if test "$enableval" = yes; then
13537 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
13539 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
13544 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13549 eval "$wx_cv_use_dragimage"
13551 if test x"$enablestring" = xdisable; then
13552 if test $wxUSE_DRAGIMAGE = no; then
13558 result=$wxUSE_DRAGIMAGE
13561 { echo "$as_me:$LINENO: result: $result" >&5
13562 echo "${ECHO_T}$result" >&6; }
13566 defaultval=$wxUSE_ALL_FEATURES
13567 if test -z "$defaultval"; then
13568 if test x"$enablestring" = xdisable; then
13575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13576 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13577 # Check whether --enable-accessibility was given.
13578 if test "${enable_accessibility+set}" = set; then
13579 enableval=$enable_accessibility;
13580 if test "$enableval" = yes; then
13581 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13583 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13588 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13593 eval "$wx_cv_use_accessibility"
13595 if test x"$enablestring" = xdisable; then
13596 if test $wxUSE_ACCESSIBILITY = no; then
13602 result=$wxUSE_ACCESSIBILITY
13605 { echo "$as_me:$LINENO: result
: $result" >&5
13606 echo "${ECHO_T}$result" >&6; }
13610 defaultval=$wxUSE_ALL_FEATURES
13611 if test -z "$defaultval"; then
13612 if test x"$enablestring" = xdisable; then
13619 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uiactionsim" >&5
13620 echo $ECHO_N "checking
for --${enablestring:-enable}-uiactionsim...
$ECHO_C" >&6; }
13621 # Check whether --enable-uiactionsim was given.
13622 if test "${enable_uiactionsim+set}" = set; then
13623 enableval=$enable_uiactionsim;
13624 if test "$enableval" = yes; then
13625 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13627 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13632 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13637 eval "$wx_cv_use_uiactionsim"
13639 if test x
"$enablestring" = xdisable
; then
13640 if test $wxUSE_UIACTIONSIMULATOR = no
; then
13646 result
=$wxUSE_UIACTIONSIMULATOR
13649 { echo "$as_me:$LINENO: result: $result" >&5
13650 echo "${ECHO_T}$result" >&6; }
13656 defaultval
=$wxUSE_ALL_FEATURES
13657 if test -z "$defaultval"; then
13658 if test x
"$enablestring" = xdisable
; then
13665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13666 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13667 # Check whether --enable-palette was given.
13668 if test "${enable_palette+set}" = set; then
13669 enableval
=$enable_palette;
13670 if test "$enableval" = yes; then
13671 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13673 wx_cv_use_palette
='wxUSE_PALETTE=no'
13678 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13683 eval "$wx_cv_use_palette"
13685 if test x"$enablestring" = xdisable; then
13686 if test $wxUSE_PALETTE = no; then
13692 result=$wxUSE_PALETTE
13695 { echo "$as_me:$LINENO: result: $result" >&5
13696 echo "${ECHO_T}$result" >&6; }
13700 defaultval=$wxUSE_ALL_FEATURES
13701 if test -z "$defaultval"; then
13702 if test x"$enablestring" = xdisable; then
13709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13710 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13711 # Check whether --enable-image was given.
13712 if test "${enable_image+set}" = set; then
13713 enableval=$enable_image;
13714 if test "$enableval" = yes; then
13715 wx_cv_use_image='wxUSE_IMAGE
=yes'
13717 wx_cv_use_image='wxUSE_IMAGE
=no
'
13722 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13727 eval "$wx_cv_use_image"
13729 if test x"$enablestring" = xdisable; then
13730 if test $wxUSE_IMAGE = no; then
13736 result=$wxUSE_IMAGE
13739 { echo "$as_me:$LINENO: result
: $result" >&5
13740 echo "${ECHO_T}$result" >&6; }
13744 defaultval=$wxUSE_ALL_FEATURES
13745 if test -z "$defaultval"; then
13746 if test x"$enablestring" = xdisable; then
13753 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13754 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13755 # Check whether --enable-gif was given.
13756 if test "${enable_gif+set}" = set; then
13757 enableval=$enable_gif;
13758 if test "$enableval" = yes; then
13759 wx_cv_use_gif='wxUSE_GIF=yes'
13761 wx_cv_use_gif='wxUSE_GIF=no'
13766 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13771 eval "$wx_cv_use_gif"
13773 if test x
"$enablestring" = xdisable
; then
13774 if test $wxUSE_GIF = no
; then
13783 { echo "$as_me:$LINENO: result: $result" >&5
13784 echo "${ECHO_T}$result" >&6; }
13788 defaultval
=$wxUSE_ALL_FEATURES
13789 if test -z "$defaultval"; then
13790 if test x
"$enablestring" = xdisable
; then
13797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13798 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13799 # Check whether --enable-pcx was given.
13800 if test "${enable_pcx+set}" = set; then
13801 enableval
=$enable_pcx;
13802 if test "$enableval" = yes; then
13803 wx_cv_use_pcx
='wxUSE_PCX=yes'
13805 wx_cv_use_pcx
='wxUSE_PCX=no'
13810 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13815 eval "$wx_cv_use_pcx"
13817 if test x"$enablestring" = xdisable; then
13818 if test $wxUSE_PCX = no; then
13827 { echo "$as_me:$LINENO: result: $result" >&5
13828 echo "${ECHO_T}$result" >&6; }
13832 defaultval=$wxUSE_ALL_FEATURES
13833 if test -z "$defaultval"; then
13834 if test x"$enablestring" = xdisable; then
13841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13842 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13843 # Check whether --enable-tga was given.
13844 if test "${enable_tga+set}" = set; then
13845 enableval=$enable_tga;
13846 if test "$enableval" = yes; then
13847 wx_cv_use_tga='wxUSE_TGA
=yes'
13849 wx_cv_use_tga='wxUSE_TGA
=no
'
13854 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13859 eval "$wx_cv_use_tga"
13861 if test x"$enablestring" = xdisable; then
13862 if test $wxUSE_TGA = no; then
13871 { echo "$as_me:$LINENO: result
: $result" >&5
13872 echo "${ECHO_T}$result" >&6; }
13876 defaultval=$wxUSE_ALL_FEATURES
13877 if test -z "$defaultval"; then
13878 if test x"$enablestring" = xdisable; then
13885 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13886 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13887 # Check whether --enable-iff was given.
13888 if test "${enable_iff+set}" = set; then
13889 enableval=$enable_iff;
13890 if test "$enableval" = yes; then
13891 wx_cv_use_iff='wxUSE_IFF=yes'
13893 wx_cv_use_iff='wxUSE_IFF=no'
13898 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13903 eval "$wx_cv_use_iff"
13905 if test x
"$enablestring" = xdisable
; then
13906 if test $wxUSE_IFF = no
; then
13915 { echo "$as_me:$LINENO: result: $result" >&5
13916 echo "${ECHO_T}$result" >&6; }
13920 defaultval
=$wxUSE_ALL_FEATURES
13921 if test -z "$defaultval"; then
13922 if test x
"$enablestring" = xdisable
; then
13929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13930 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13931 # Check whether --enable-pnm was given.
13932 if test "${enable_pnm+set}" = set; then
13933 enableval
=$enable_pnm;
13934 if test "$enableval" = yes; then
13935 wx_cv_use_pnm
='wxUSE_PNM=yes'
13937 wx_cv_use_pnm
='wxUSE_PNM=no'
13942 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13947 eval "$wx_cv_use_pnm"
13949 if test x"$enablestring" = xdisable; then
13950 if test $wxUSE_PNM = no; then
13959 { echo "$as_me:$LINENO: result: $result" >&5
13960 echo "${ECHO_T}$result" >&6; }
13964 defaultval=$wxUSE_ALL_FEATURES
13965 if test -z "$defaultval"; then
13966 if test x"$enablestring" = xdisable; then
13973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13974 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13975 # Check whether --enable-xpm was given.
13976 if test "${enable_xpm+set}" = set; then
13977 enableval=$enable_xpm;
13978 if test "$enableval" = yes; then
13979 wx_cv_use_xpm='wxUSE_XPM
=yes'
13981 wx_cv_use_xpm='wxUSE_XPM
=no
'
13986 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13991 eval "$wx_cv_use_xpm"
13993 if test x"$enablestring" = xdisable; then
13994 if test $wxUSE_XPM = no; then
14003 { echo "$as_me:$LINENO: result
: $result" >&5
14004 echo "${ECHO_T}$result" >&6; }
14008 defaultval=$wxUSE_ALL_FEATURES
14009 if test -z "$defaultval"; then
14010 if test x"$enablestring" = xdisable; then
14017 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
14018 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
14019 # Check whether --enable-ico_cur was given.
14020 if test "${enable_ico_cur+set}" = set; then
14021 enableval=$enable_ico_cur;
14022 if test "$enableval" = yes; then
14023 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14025 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14030 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14035 eval "$wx_cv_use_ico_cur"
14037 if test x
"$enablestring" = xdisable
; then
14038 if test $wxUSE_ICO_CUR = no
; then
14044 result
=$wxUSE_ICO_CUR
14047 { echo "$as_me:$LINENO: result: $result" >&5
14048 echo "${ECHO_T}$result" >&6; }
14054 defaultval
=$wxUSE_ALL_FEATURES
14055 if test -z "$defaultval"; then
14056 if test x
"$enablestring" = xdisable
; then
14063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14064 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14065 # Check whether --enable-dccache was given.
14066 if test "${enable_dccache+set}" = set; then
14067 enableval
=$enable_dccache;
14068 if test "$enableval" = yes; then
14069 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
14071 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
14076 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14081 eval "$wx_cv_use_dccache"
14083 if test x"$enablestring" = xdisable; then
14084 if test $wxUSE_DC_CACHEING = no; then
14090 result=$wxUSE_DC_CACHEING
14093 { echo "$as_me:$LINENO: result: $result" >&5
14094 echo "${ECHO_T}$result" >&6; }
14098 defaultval=$wxUSE_ALL_FEATURES
14099 if test -z "$defaultval"; then
14100 if test x"$enablestring" = xdisable; then
14107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14108 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14109 # Check whether --enable-ps-in-msw was given.
14110 if test "${enable_ps_in_msw+set}" = set; then
14111 enableval=$enable_ps_in_msw;
14112 if test "$enableval" = yes; then
14113 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
14115 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
14120 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14125 eval "$wx_cv_use_ps_in_msw"
14127 if test x"$enablestring" = xdisable; then
14128 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14134 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14137 { echo "$as_me:$LINENO: result
: $result" >&5
14138 echo "${ECHO_T}$result" >&6; }
14142 defaultval=$wxUSE_ALL_FEATURES
14143 if test -z "$defaultval"; then
14144 if test x"$enablestring" = xdisable; then
14151 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
14152 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
14153 # Check whether --enable-ownerdrawn was given.
14154 if test "${enable_ownerdrawn+set}" = set; then
14155 enableval=$enable_ownerdrawn;
14156 if test "$enableval" = yes; then
14157 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14159 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14164 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14169 eval "$wx_cv_use_ownerdrawn"
14171 if test x
"$enablestring" = xdisable
; then
14172 if test $wxUSE_OWNER_DRAWN = no
; then
14178 result
=$wxUSE_OWNER_DRAWN
14181 { echo "$as_me:$LINENO: result: $result" >&5
14182 echo "${ECHO_T}$result" >&6; }
14186 defaultval
=$wxUSE_ALL_FEATURES
14187 if test -z "$defaultval"; then
14188 if test x
"$enablestring" = xdisable
; then
14195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14196 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14197 # Check whether --enable-uxtheme was given.
14198 if test "${enable_uxtheme+set}" = set; then
14199 enableval
=$enable_uxtheme;
14200 if test "$enableval" = yes; then
14201 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
14203 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
14208 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14213 eval "$wx_cv_use_uxtheme"
14215 if test x"$enablestring" = xdisable; then
14216 if test $wxUSE_UXTHEME = no; then
14222 result=$wxUSE_UXTHEME
14225 { echo "$as_me:$LINENO: result: $result" >&5
14226 echo "${ECHO_T}$result" >&6; }
14230 defaultval=$wxUSE_ALL_FEATURES
14231 if test -z "$defaultval"; then
14232 if test x"$enablestring" = xdisable; then
14239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14240 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14241 # Check whether --enable-wxdib was given.
14242 if test "${enable_wxdib+set}" = set; then
14243 enableval=$enable_wxdib;
14244 if test "$enableval" = yes; then
14245 wx_cv_use_wxdib='wxUSE_DIB
=yes'
14247 wx_cv_use_wxdib='wxUSE_DIB
=no
'
14252 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14257 eval "$wx_cv_use_wxdib"
14259 if test x"$enablestring" = xdisable; then
14260 if test $wxUSE_DIB = no; then
14269 { echo "$as_me:$LINENO: result
: $result" >&5
14270 echo "${ECHO_T}$result" >&6; }
14273 if test "$wxUSE_MSW" != 1; then
14274 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14279 defaultval=$wxUSE_ALL_FEATURES
14280 if test -z "$defaultval"; then
14281 if test x"$enablestring" = xdisable; then
14288 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
14289 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
14290 # Check whether --enable-autoidman was given.
14291 if test "${enable_autoidman+set}" = set; then
14292 enableval=$enable_autoidman;
14293 if test "$enableval" = yes; then
14294 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14296 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14301 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14306 eval "$wx_cv_use_autoidman"
14308 if test x
"$enablestring" = xdisable
; then
14309 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
14315 result
=$wxUSE_AUTOID_MANAGEMENT
14318 { echo "$as_me:$LINENO: result: $result" >&5
14319 echo "${ECHO_T}$result" >&6; }
14325 cat >confcache
<<\_ACEOF
14326 # This file is a shell script that caches the results of configure
14327 # tests run on this system so they can be shared between configure
14328 # scripts and configure runs, see configure's option --config-cache.
14329 # It is not useful on other systems. If it contains results you don't
14330 # want to keep, you may remove or edit it.
14332 # config.status only pays attention to the cache file if you give it
14333 # the --recheck option to rerun configure.
14335 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14336 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14337 # following values.
14341 # The following way of writing the cache mishandles newlines in values,
14342 # but we know of no workaround that is simple, portable, and efficient.
14343 # So, we kill variables containing newlines.
14344 # Ultrix sh set writes to stderr and can't be redirected directly,
14345 # and sets the high bit in the cache file unless we assign to the vars.
14347 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14348 eval ac_val
=\$
$ac_var
14352 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14353 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14356 _
| IFS
| as_nl
) ;; #(
14357 *) $as_unset $ac_var ;;
14363 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14364 *${as_nl}ac_space
=\
*)
14365 # `set' does not quote correctly, so add quotes (double-quote
14366 # substitution turns \\\\ into \\, and sed turns \\ into \).
14369 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14372 # `set' quotes correctly as required by POSIX, so do not add quotes.
14373 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14382 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14384 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14386 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14387 if test -w "$cache_file"; then
14388 test "x$cache_file" != "x/dev/null" &&
14389 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14390 echo "$as_me: updating cache $cache_file" >&6;}
14391 cat confcache
>$cache_file
14393 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14394 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14404 ac_cpp
='$CPP $CPPFLAGS'
14405 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14406 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14407 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14408 if test -n "$ac_tool_prefix"; then
14409 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14410 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14413 if test "${ac_cv_prog_CC+set}" = set; then
14414 echo $ECHO_N "(cached) $ECHO_C" >&6
14416 if test -n "$CC"; then
14417 ac_cv_prog_CC
="$CC" # Let the user override the test.
14419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14420 for as_dir
in $PATH
14423 test -z "$as_dir" && as_dir
=.
14424 for ac_exec_ext
in '' $ac_executable_extensions; do
14425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14426 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14437 if test -n "$CC"; then
14438 { echo "$as_me:$LINENO: result: $CC" >&5
14439 echo "${ECHO_T}$CC" >&6; }
14441 { echo "$as_me:$LINENO: result: no" >&5
14442 echo "${ECHO_T}no" >&6; }
14447 if test -z "$ac_cv_prog_CC"; then
14449 # Extract the first word of "gcc", so it can be a program name with args.
14450 set dummy gcc
; ac_word
=$2
14451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14453 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14456 if test -n "$ac_ct_CC"; then
14457 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14460 for as_dir
in $PATH
14463 test -z "$as_dir" && as_dir
=.
14464 for ac_exec_ext
in '' $ac_executable_extensions; do
14465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14466 ac_cv_prog_ac_ct_CC
="gcc"
14467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14476 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14477 if test -n "$ac_ct_CC"; then
14478 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14479 echo "${ECHO_T}$ac_ct_CC" >&6; }
14481 { echo "$as_me:$LINENO: result: no" >&5
14482 echo "${ECHO_T}no" >&6; }
14485 if test "x$ac_ct_CC" = x
; then
14488 case $cross_compiling:$ac_tool_warned in
14490 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14491 whose name does not start with the host triplet. If you think this
14492 configuration is useful to you, please write to autoconf@gnu.org." >&5
14493 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14494 whose name does not start with the host triplet. If you think this
14495 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14496 ac_tool_warned
=yes ;;
14501 CC
="$ac_cv_prog_CC"
14504 if test -z "$CC"; then
14505 if test -n "$ac_tool_prefix"; then
14506 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14507 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14510 if test "${ac_cv_prog_CC+set}" = set; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14513 if test -n "$CC"; then
14514 ac_cv_prog_CC
="$CC" # Let the user override the test.
14516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14517 for as_dir
in $PATH
14520 test -z "$as_dir" && as_dir
=.
14521 for ac_exec_ext
in '' $ac_executable_extensions; do
14522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14523 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14534 if test -n "$CC"; then
14535 { echo "$as_me:$LINENO: result: $CC" >&5
14536 echo "${ECHO_T}$CC" >&6; }
14538 { echo "$as_me:$LINENO: result: no" >&5
14539 echo "${ECHO_T}no" >&6; }
14545 if test -z "$CC"; then
14546 # Extract the first word of "cc", so it can be a program name with args.
14547 set dummy cc
; ac_word
=$2
14548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14550 if test "${ac_cv_prog_CC+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 if test -n "$CC"; then
14554 ac_cv_prog_CC
="$CC" # Let the user override the test.
14556 ac_prog_rejected
=no
14557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14558 for as_dir
in $PATH
14561 test -z "$as_dir" && as_dir
=.
14562 for ac_exec_ext
in '' $ac_executable_extensions; do
14563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14564 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14565 ac_prog_rejected
=yes
14569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14576 if test $ac_prog_rejected = yes; then
14577 # We found a bogon in the path, so make sure we never use it.
14578 set dummy
$ac_cv_prog_CC
14580 if test $# != 0; then
14581 # We chose a different compiler from the bogus one.
14582 # However, it has the same basename, so the bogon will be chosen
14583 # first if we set CC to just the basename; use the full file name.
14585 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14591 if test -n "$CC"; then
14592 { echo "$as_me:$LINENO: result: $CC" >&5
14593 echo "${ECHO_T}$CC" >&6; }
14595 { echo "$as_me:$LINENO: result: no" >&5
14596 echo "${ECHO_T}no" >&6; }
14601 if test -z "$CC"; then
14602 if test -n "$ac_tool_prefix"; then
14603 for ac_prog
in cl.exe
14605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14606 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14609 if test "${ac_cv_prog_CC+set}" = set; then
14610 echo $ECHO_N "(cached) $ECHO_C" >&6
14612 if test -n "$CC"; then
14613 ac_cv_prog_CC
="$CC" # Let the user override the test.
14615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14616 for as_dir
in $PATH
14619 test -z "$as_dir" && as_dir
=.
14620 for ac_exec_ext
in '' $ac_executable_extensions; do
14621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14622 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14633 if test -n "$CC"; then
14634 { echo "$as_me:$LINENO: result: $CC" >&5
14635 echo "${ECHO_T}$CC" >&6; }
14637 { echo "$as_me:$LINENO: result: no" >&5
14638 echo "${ECHO_T}no" >&6; }
14642 test -n "$CC" && break
14645 if test -z "$CC"; then
14647 for ac_prog
in cl.exe
14649 # Extract the first word of "$ac_prog", so it can be a program name with args.
14650 set dummy
$ac_prog; ac_word
=$2
14651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14654 echo $ECHO_N "(cached) $ECHO_C" >&6
14656 if test -n "$ac_ct_CC"; then
14657 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14660 for as_dir
in $PATH
14663 test -z "$as_dir" && as_dir
=.
14664 for ac_exec_ext
in '' $ac_executable_extensions; do
14665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14666 ac_cv_prog_ac_ct_CC
="$ac_prog"
14667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14676 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14677 if test -n "$ac_ct_CC"; then
14678 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14679 echo "${ECHO_T}$ac_ct_CC" >&6; }
14681 { echo "$as_me:$LINENO: result: no" >&5
14682 echo "${ECHO_T}no" >&6; }
14686 test -n "$ac_ct_CC" && break
14689 if test "x$ac_ct_CC" = x
; then
14692 case $cross_compiling:$ac_tool_warned in
14694 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14695 whose name does not start with the host triplet. If you think this
14696 configuration is useful to you, please write to autoconf@gnu.org." >&5
14697 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14698 whose name does not start with the host triplet. If you think this
14699 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14700 ac_tool_warned
=yes ;;
14709 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14710 See \`config.log' for more details." >&5
14711 echo "$as_me: error: no acceptable C compiler found in \$PATH
14712 See \`config.log' for more details." >&2;}
14713 { (exit 1); exit 1; }; }
14715 # Provide some information about the compiler.
14716 echo "$as_me:$LINENO: checking for C compiler version" >&5
14717 ac_compiler
=`set X $ac_compile; echo $2`
14718 { (ac_try
="$ac_compiler --version >&5"
14719 case "(($ac_try" in
14720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14721 *) ac_try_echo=$ac_try;;
14723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14724 (eval "$ac_compiler --version >&5") 2>&5
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); }
14728 { (ac_try="$ac_compiler -v >&5"
14729 case "(($ac_try" in
14730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14731 *) ac_try_echo
=$ac_try;;
14733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14734 (eval "$ac_compiler -v >&5") 2>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }
14738 { (ac_try
="$ac_compiler -V >&5"
14739 case "(($ac_try" in
14740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_compiler -V >&5") 2>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }
14749 cat >conftest.$ac_ext <<_ACEOF
14752 cat confdefs.h >>conftest.$ac_ext
14753 cat >>conftest.$ac_ext <<_ACEOF
14754 /* end confdefs.h. */
14764 ac_clean_files_save=$ac_clean_files
14765 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14766 # Try to create an executable without -o first, disregard a.out.
14767 # It will help us diagnose broken compilers, and finding out an intuition
14769 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14770 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14771 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14773 # List of possible output files, starting from the most likely.
14774 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14775 # only as a last resort. b.out is created by i960 compilers.
14776 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14778 # The IRIX 6 linker writes into existing files which may not be
14779 # executable, retaining their permissions. Remove them first so a
14780 # subsequent execution test works.
14782 for ac_file in $ac_files
14785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14786 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14791 if { (ac_try="$ac_link_default"
14792 case "(($ac_try" in
14793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14794 *) ac_try_echo=$ac_try;;
14796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14797 (eval "$ac_link_default") 2>&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); }; then
14801 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14802 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14803 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14804 # so that the user can short-circuit this test for compilers unknown to
14806 for ac_file
in $ac_files ''
14808 test -f "$ac_file" || continue
14810 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14813 # We found the default executable, but exeext='' is most
14817 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14819 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14821 # We set ac_cv_exeext here because the later test for it is not
14822 # safe: cross compilers may not add the suffix if given an `-o'
14823 # argument, so we may need to know it at that point already.
14824 # Even if this section looks crufty: it has the advantage of
14825 # actually working.
14831 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14837 { echo "$as_me:$LINENO: result: $ac_file" >&5
14838 echo "${ECHO_T}$ac_file" >&6; }
14839 if test -z "$ac_file"; then
14840 echo "$as_me: failed program was:" >&5
14841 sed 's/^/| /' conftest.
$ac_ext >&5
14843 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14844 See \`config.log' for more details." >&5
14845 echo "$as_me: error: C compiler cannot create executables
14846 See \`config.log' for more details." >&2;}
14847 { (exit 77); exit 77; }; }
14850 ac_exeext
=$ac_cv_exeext
14852 # Check that the compiler produces executables we can run. If not, either
14853 # the compiler is broken, or we cross compile.
14854 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14855 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14856 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14857 # If not cross compiling, check that we can run a simple program.
14858 if test "$cross_compiling" != yes; then
14859 if { ac_try
='./$ac_file'
14860 { (case "(($ac_try" in
14861 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14862 *) ac_try_echo=$ac_try;;
14864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14865 (eval "$ac_try") 2>&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); }; }; then
14871 if test "$cross_compiling" = maybe; then
14872 cross_compiling=yes
14874 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14875 If you meant to cross compile, use \`--host'.
14876 See \`config.log' for more details.
" >&5
14877 echo "$as_me: error
: cannot run C compiled programs.
14878 If you meant to cross compile
, use \
`--host'.
14879 See \`config.log
' for more details." >&2;}
14880 { (exit 1); exit 1; }; }
14884 { echo "$as_me:$LINENO: result: yes" >&5
14885 echo "${ECHO_T}yes" >&6; }
14887 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14888 ac_clean_files=$ac_clean_files_save
14889 # Check that the compiler produces executables we can run. If not, either
14890 # the compiler is broken, or we cross compile.
14891 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14892 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14893 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14894 echo "${ECHO_T}$cross_compiling" >&6; }
14896 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14897 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14898 if { (ac_try="$ac_link"
14899 case "(($ac_try" in
14900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14901 *) ac_try_echo=$ac_try;;
14903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14904 (eval "$ac_link") 2>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; then
14908 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14909 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14910 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14912 for ac_file
in conftest.exe conftest conftest.
*; do
14913 test -f "$ac_file" || continue
14915 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14916 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14922 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14923 See \`config.log' for more details." >&5
14924 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14925 See \`config.log' for more details." >&2;}
14926 { (exit 1); exit 1; }; }
14929 rm -f conftest
$ac_cv_exeext
14930 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14931 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14933 rm -f conftest.
$ac_ext
14934 EXEEXT
=$ac_cv_exeext
14936 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14937 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14938 if test "${ac_cv_objext+set}" = set; then
14939 echo $ECHO_N "(cached) $ECHO_C" >&6
14941 cat >conftest.
$ac_ext <<_ACEOF
14944 cat confdefs.h
>>conftest.
$ac_ext
14945 cat >>conftest.
$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14956 rm -f conftest.o conftest.obj
14957 if { (ac_try
="$ac_compile"
14958 case "(($ac_try" in
14959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14960 *) ac_try_echo=$ac_try;;
14962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14963 (eval "$ac_compile") 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; then
14967 for ac_file in conftest.o conftest.obj conftest.*; do
14968 test -f "$ac_file" || continue;
14970 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14971 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14976 echo "$as_me: failed program was:" >&5
14977 sed 's/^/| /' conftest.$ac_ext >&5
14979 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14980 See \`config.log
' for more details." >&5
14981 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14982 See \`config.log' for more details.
" >&2;}
14983 { (exit 1); exit 1; }; }
14986 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14988 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14989 echo "${ECHO_T}$ac_cv_objext" >&6; }
14990 OBJEXT=$ac_cv_objext
14992 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14993 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14994 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14995 echo $ECHO_N "(cached
) $ECHO_C" >&6
14997 cat >conftest.$ac_ext <<_ACEOF
15000 cat confdefs.h >>conftest.$ac_ext
15001 cat >>conftest.$ac_ext <<_ACEOF
15002 /* end confdefs.h. */
15015 rm -f conftest.$ac_objext
15016 if { (ac_try="$ac_compile"
15017 case "(($ac_try" in
15018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15019 *) ac_try_echo=$ac_try;;
15021 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15022 (eval "$ac_compile") 2>conftest.er1
15024 grep -v '^ *+' conftest.er1 >conftest.err
15026 cat conftest.err >&5
15027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15028 (exit $ac_status); } && {
15029 test -z "$ac_c_werror_flag" ||
15030 test ! -s conftest.err
15031 } && test -s conftest.$ac_objext; then
15032 ac_compiler_gnu=yes
15034 echo "$as_me: failed program was
:" >&5
15035 sed 's/^/| /' conftest.$ac_ext >&5
15040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15041 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15044 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15045 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15046 GCC=`test $ac_compiler_gnu = yes && echo yes`
15047 ac_test_CFLAGS=${CFLAGS+set}
15048 ac_save_CFLAGS=$CFLAGS
15049 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15050 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15051 if test "${ac_cv_prog_cc_g+set}" = set; then
15052 echo $ECHO_N "(cached
) $ECHO_C" >&6
15054 ac_save_c_werror_flag=$ac_c_werror_flag
15055 ac_c_werror_flag=yes
15058 cat >conftest.$ac_ext <<_ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15073 rm -f conftest.$ac_objext
15074 if { (ac_try="$ac_compile"
15075 case "(($ac_try" in
15076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15077 *) ac_try_echo=$ac_try;;
15079 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15080 (eval "$ac_compile") 2>conftest.er1
15082 grep -v '^ *+' conftest.er1 >conftest.err
15084 cat conftest.err >&5
15085 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15086 (exit $ac_status); } && {
15087 test -z "$ac_c_werror_flag" ||
15088 test ! -s conftest.err
15089 } && test -s conftest.$ac_objext; then
15090 ac_cv_prog_cc_g=yes
15092 echo "$as_me: failed program was
:" >&5
15093 sed 's/^/| /' conftest.$ac_ext >&5
15096 cat >conftest.$ac_ext <<_ACEOF
15099 cat confdefs.h >>conftest.$ac_ext
15100 cat >>conftest.$ac_ext <<_ACEOF
15101 /* end confdefs.h. */
15111 rm -f conftest.$ac_objext
15112 if { (ac_try="$ac_compile"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15115 *) ac_try_echo=$ac_try;;
15117 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compile") 2>conftest.er1
15120 grep -v '^ *+' conftest.er1 >conftest.err
15122 cat conftest.err >&5
15123 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15124 (exit $ac_status); } && {
15125 test -z "$ac_c_werror_flag" ||
15126 test ! -s conftest.err
15127 } && test -s conftest.$ac_objext; then
15130 echo "$as_me: failed program was
:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15133 ac_c_werror_flag=$ac_save_c_werror_flag
15135 cat >conftest.$ac_ext <<_ACEOF
15138 cat confdefs.h >>conftest.$ac_ext
15139 cat >>conftest.$ac_ext <<_ACEOF
15140 /* end confdefs.h. */
15150 rm -f conftest.$ac_objext
15151 if { (ac_try="$ac_compile"
15152 case "(($ac_try" in
15153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15154 *) ac_try_echo=$ac_try;;
15156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15157 (eval "$ac_compile") 2>conftest.er1
15159 grep -v '^ *+' conftest.er1 >conftest.err
15161 cat conftest.err >&5
15162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15163 (exit $ac_status); } && {
15164 test -z "$ac_c_werror_flag" ||
15165 test ! -s conftest.err
15166 } && test -s conftest.$ac_objext; then
15167 ac_cv_prog_cc_g=yes
15169 echo "$as_me: failed program was
:" >&5
15170 sed 's/^/| /' conftest.$ac_ext >&5
15175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15182 ac_c_werror_flag=$ac_save_c_werror_flag
15184 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15185 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15186 if test "$ac_test_CFLAGS" = set; then
15187 CFLAGS=$ac_save_CFLAGS
15188 elif test $ac_cv_prog_cc_g = yes; then
15189 if test "$GCC" = yes; then
15195 if test "$GCC" = yes; then
15201 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15202 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15203 if test "${ac_cv_prog_cc_c89+set}" = set; then
15204 echo $ECHO_N "(cached
) $ECHO_C" >&6
15206 ac_cv_prog_cc_c89=no
15208 cat >conftest.$ac_ext <<_ACEOF
15211 cat confdefs.h >>conftest.$ac_ext
15212 cat >>conftest.$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15214 #include <stdarg.h>
15216 #include <sys/types.h>
15217 #include <sys/stat.h>
15218 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15219 struct buf { int x; };
15220 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15221 static char *e (p, i)
15227 static char *f (char * (*g) (char **, int), char **p, ...)
15232 s = g (p, va_arg (v,int));
15237 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15238 function prototypes and stuff, but not '\xHH' hex character constants.
15239 These don't provoke an error unfortunately, instead are silently treated
15240 as 'x'. The following induces an error, until -std is added to get
15241 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15242 array size at least. It's necessary to write '\x00'==0 to get something
15243 that's true only with -std. */
15244 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15246 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15247 inside strings and character constants. */
15249 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15251 int test (int i, double x);
15252 struct s1 {int (*f) (int a);};
15253 struct s2 {int (*f) (double a);};
15254 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15260 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15265 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15266 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15268 CC="$ac_save_CC $ac_arg"
15269 rm -f conftest.$ac_objext
15270 if { (ac_try="$ac_compile"
15271 case "(($ac_try" in
15272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15273 *) ac_try_echo=$ac_try;;
15275 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15276 (eval "$ac_compile") 2>conftest.er1
15278 grep -v '^ *+' conftest.er1 >conftest.err
15280 cat conftest.err >&5
15281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15282 (exit $ac_status); } && {
15283 test -z "$ac_c_werror_flag" ||
15284 test ! -s conftest.err
15285 } && test -s conftest.$ac_objext; then
15286 ac_cv_prog_cc_c89=$ac_arg
15288 echo "$as_me: failed program was
:" >&5
15289 sed 's/^/| /' conftest.$ac_ext >&5
15294 rm -f core conftest.err conftest.$ac_objext
15295 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15297 rm -f conftest.$ac_ext
15302 case "x
$ac_cv_prog_cc_c89" in
15304 { echo "$as_me:$LINENO: result
: none needed
" >&5
15305 echo "${ECHO_T}none needed
" >&6; } ;;
15307 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15308 echo "${ECHO_T}unsupported
" >&6; } ;;
15310 CC="$CC $ac_cv_prog_cc_c89"
15311 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15312 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15317 ac_cpp='$CPP $CPPFLAGS'
15318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15326 ac_cpp='$CPP $CPPFLAGS'
15327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15331 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15332 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15333 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15334 echo $ECHO_N "(cached
) $ECHO_C" >&6
15336 cat >conftest.$ac_ext <<_ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15347 #ifndef __INTEL_COMPILER
15355 rm -f conftest.$ac_objext
15356 if { (ac_try="$ac_compile"
15357 case "(($ac_try" in
15358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15359 *) ac_try_echo=$ac_try;;
15361 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15362 (eval "$ac_compile") 2>conftest.er1
15364 grep -v '^ *+' conftest.er1 >conftest.err
15366 cat conftest.err >&5
15367 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15368 (exit $ac_status); } && {
15369 test -z "$ac_c_werror_flag" ||
15370 test ! -s conftest.err
15371 } && test -s conftest.$ac_objext; then
15372 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15374 echo "$as_me: failed program was
:" >&5
15375 sed 's/^/| /' conftest.$ac_ext >&5
15377 bakefile_cv_c_compiler___INTEL_COMPILER=no
15381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15385 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15386 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15387 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15393 ac_cpp='$CPP $CPPFLAGS'
15394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15401 if test "$INTELCC" = "yes"; then
15405 ac_cpp='$CPP $CPPFLAGS'
15406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15410 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15411 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15412 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15413 echo $ECHO_N "(cached
) $ECHO_C" >&6
15415 cat >conftest.$ac_ext <<_ACEOF
15418 cat confdefs.h >>conftest.$ac_ext
15419 cat >>conftest.$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15426 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15434 rm -f conftest.$ac_objext
15435 if { (ac_try="$ac_compile"
15436 case "(($ac_try" in
15437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15438 *) ac_try_echo=$ac_try;;
15440 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15441 (eval "$ac_compile") 2>conftest.er1
15443 grep -v '^ *+' conftest.er1 >conftest.err
15445 cat conftest.err >&5
15446 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15447 (exit $ac_status); } && {
15448 test -z "$ac_c_werror_flag" ||
15449 test ! -s conftest.err
15450 } && test -s conftest.$ac_objext; then
15451 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15453 echo "$as_me: failed program was
:" >&5
15454 sed 's/^/| /' conftest.$ac_ext >&5
15456 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15464 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15465 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15466 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15472 ac_cpp='$CPP $CPPFLAGS'
15473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15482 ac_cpp='$CPP $CPPFLAGS'
15483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15487 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15488 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15489 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15490 echo $ECHO_N "(cached
) $ECHO_C" >&6
15492 cat >conftest.$ac_ext <<_ACEOF
15495 cat confdefs.h >>conftest.$ac_ext
15496 cat >>conftest.$ac_ext <<_ACEOF
15497 /* end confdefs.h. */
15503 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15511 rm -f conftest.$ac_objext
15512 if { (ac_try="$ac_compile"
15513 case "(($ac_try" in
15514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15515 *) ac_try_echo=$ac_try;;
15517 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15518 (eval "$ac_compile") 2>conftest.er1
15520 grep -v '^ *+' conftest.er1 >conftest.err
15522 cat conftest.err >&5
15523 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15524 (exit $ac_status); } && {
15525 test -z "$ac_c_werror_flag" ||
15526 test ! -s conftest.err
15527 } && test -s conftest.$ac_objext; then
15528 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15530 echo "$as_me: failed program was
:" >&5
15531 sed 's/^/| /' conftest.$ac_ext >&5
15533 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15541 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15542 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15543 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15549 ac_cpp='$CPP $CPPFLAGS'
15550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15558 if test "x
$GCC" != "xyes
"; then
15559 if test "xCC
" = "xC
"; then
15560 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15561 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15562 if test "${bakefile_cv_c_exto+set}" = set; then
15563 echo $ECHO_N "(cached
) $ECHO_C" >&6
15565 cat >conftest.$ac_ext <<_ACEOF
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15580 rm -f conftest.$ac_objext conftest.$ac_ext.o
15581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15582 (eval $ac_compile) 2>&5
15584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15585 (exit $ac_status); }; then
15586 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15588 conftest.$ac_ext.o)
15589 bakefile_cv_c_exto="-ext o
"
15596 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15597 See \
`config.log' for more details." >&5
15598 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15599 See \`config.log
' for more details." >&2;}
15600 { (exit 1); exit 1; }; }
15604 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15607 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15608 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15609 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15610 if test "c" = "c"; then
15611 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15613 if test "c" = "cxx"; then
15614 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15618 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15619 unset ac_cv_prog_cc_g
15620 ac_test_CFLAGS=${CFLAGS+set}
15621 ac_save_CFLAGS=$CFLAGS
15622 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15623 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15624 if test "${ac_cv_prog_cc_g+set}" = set; then
15625 echo $ECHO_N "(cached) $ECHO_C" >&6
15627 ac_save_c_werror_flag=$ac_c_werror_flag
15628 ac_c_werror_flag=yes
15631 cat >conftest.$ac_ext <<_ACEOF
15634 cat confdefs.h >>conftest.$ac_ext
15635 cat >>conftest.$ac_ext <<_ACEOF
15636 /* end confdefs.h. */
15646 rm -f conftest.$ac_objext
15647 if { (ac_try="$ac_compile"
15648 case "(($ac_try" in
15649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15650 *) ac_try_echo=$ac_try;;
15652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15653 (eval "$ac_compile") 2>conftest.er1
15655 grep -v '^
*+' conftest.er1 >conftest.err
15657 cat conftest.err >&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } && {
15660 test -z "$ac_c_werror_flag" ||
15661 test ! -s conftest.err
15662 } && test -s conftest.$ac_objext; then
15663 ac_cv_prog_cc_g=yes
15665 echo "$as_me: failed program was:" >&5
15666 sed 's
/^
/| /' conftest.$ac_ext >&5
15669 cat >conftest.$ac_ext <<_ACEOF
15672 cat confdefs.h >>conftest.$ac_ext
15673 cat >>conftest.$ac_ext <<_ACEOF
15674 /* end confdefs.h. */
15684 rm -f conftest.$ac_objext
15685 if { (ac_try="$ac_compile"
15686 case "(($ac_try" in
15687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15688 *) ac_try_echo=$ac_try;;
15690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15691 (eval "$ac_compile") 2>conftest.er1
15693 grep -v '^
*+' conftest.er1 >conftest.err
15695 cat conftest.err >&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); } && {
15698 test -z "$ac_c_werror_flag" ||
15699 test ! -s conftest.err
15700 } && test -s conftest.$ac_objext; then
15703 echo "$as_me: failed program was:" >&5
15704 sed 's
/^
/| /' conftest.$ac_ext >&5
15706 ac_c_werror_flag=$ac_save_c_werror_flag
15708 cat >conftest.$ac_ext <<_ACEOF
15711 cat confdefs.h >>conftest.$ac_ext
15712 cat >>conftest.$ac_ext <<_ACEOF
15713 /* end confdefs.h. */
15723 rm -f conftest.$ac_objext
15724 if { (ac_try="$ac_compile"
15725 case "(($ac_try" in
15726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15727 *) ac_try_echo=$ac_try;;
15729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15730 (eval "$ac_compile") 2>conftest.er1
15732 grep -v '^
*+' conftest.er1 >conftest.err
15734 cat conftest.err >&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); } && {
15737 test -z "$ac_c_werror_flag" ||
15738 test ! -s conftest.err
15739 } && test -s conftest.$ac_objext; then
15740 ac_cv_prog_cc_g=yes
15742 echo "$as_me: failed program was:" >&5
15743 sed 's
/^
/| /' conftest.$ac_ext >&5
15748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15755 ac_c_werror_flag=$ac_save_c_werror_flag
15757 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15758 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15759 if test "$ac_test_CFLAGS" = set; then
15760 CFLAGS=$ac_save_CFLAGS
15761 elif test $ac_cv_prog_cc_g = yes; then
15762 if test "$GCC" = yes; then
15768 if test "$GCC" = yes; then
15782 ac_cpp='$CPP $CPPFLAGS'
15783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15784 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15787 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15788 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15789 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15790 echo $ECHO_N "(cached) $ECHO_C" >&6
15792 cat >conftest.$ac_ext <<_ACEOF
15795 cat confdefs.h >>conftest.$ac_ext
15796 cat >>conftest.$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15811 rm -f conftest.$ac_objext
15812 if { (ac_try="$ac_compile"
15813 case "(($ac_try" in
15814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15815 *) ac_try_echo=$ac_try;;
15817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15818 (eval "$ac_compile") 2>conftest.er1
15820 grep -v '^
*+' conftest.er1 >conftest.err
15822 cat conftest.err >&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); } && {
15825 test -z "$ac_c_werror_flag" ||
15826 test ! -s conftest.err
15827 } && test -s conftest.$ac_objext; then
15828 bakefile_cv_c_compiler___xlC__=yes
15830 echo "$as_me: failed program was:" >&5
15831 sed 's
/^
/| /' conftest.$ac_ext >&5
15833 bakefile_cv_c_compiler___xlC__=no
15837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15841 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15842 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15843 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15849 ac_cpp='$CPP $CPPFLAGS'
15850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15851 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15862 ac_cpp='$CPP $CPPFLAGS'
15863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15864 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15867 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15868 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15869 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15870 echo $ECHO_N "(cached) $ECHO_C" >&6
15872 cat >conftest.$ac_ext <<_ACEOF
15875 cat confdefs.h >>conftest.$ac_ext
15876 cat >>conftest.$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15891 rm -f conftest.$ac_objext
15892 if { (ac_try="$ac_compile"
15893 case "(($ac_try" in
15894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15895 *) ac_try_echo=$ac_try;;
15897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15898 (eval "$ac_compile") 2>conftest.er1
15900 grep -v '^
*+' conftest.er1 >conftest.err
15902 cat conftest.err >&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } && {
15905 test -z "$ac_c_werror_flag" ||
15906 test ! -s conftest.err
15907 } && test -s conftest.$ac_objext; then
15908 bakefile_cv_c_compiler___MWERKS__=yes
15910 echo "$as_me: failed program was:" >&5
15911 sed 's
/^
/| /' conftest.$ac_ext >&5
15913 bakefile_cv_c_compiler___MWERKS__=no
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15922 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15923 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15929 ac_cpp='$CPP $CPPFLAGS'
15930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15931 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15936 if test "$MWCC" != "yes"; then
15940 ac_cpp='$CPP $CPPFLAGS'
15941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15942 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15945 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15946 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15947 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15948 echo $ECHO_N "(cached) $ECHO_C" >&6
15950 cat >conftest.$ac_ext <<_ACEOF
15953 cat confdefs.h >>conftest.$ac_ext
15954 cat >>conftest.$ac_ext <<_ACEOF
15955 /* end confdefs.h. */
15969 rm -f conftest.$ac_objext
15970 if { (ac_try="$ac_compile"
15971 case "(($ac_try" in
15972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15973 *) ac_try_echo=$ac_try;;
15975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15976 (eval "$ac_compile") 2>conftest.er1
15978 grep -v '^
*+' conftest.er1 >conftest.err
15980 cat conftest.err >&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } && {
15983 test -z "$ac_c_werror_flag" ||
15984 test ! -s conftest.err
15985 } && test -s conftest.$ac_objext; then
15986 bakefile_cv_c_compiler___xlC__=yes
15988 echo "$as_me: failed program was:" >&5
15989 sed 's
/^
/| /' conftest.$ac_ext >&5
15991 bakefile_cv_c_compiler___xlC__=no
15995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15999 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16000 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16001 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16009 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16021 ac_cpp='$CPP $CPPFLAGS'
16022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16023 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16026 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16027 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16028 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 cat >conftest.$ac_ext <<_ACEOF
16034 cat confdefs.h >>conftest.$ac_ext
16035 cat >>conftest.$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16042 #ifndef _SGI_COMPILER_VERSION
16050 rm -f conftest.$ac_objext
16051 if { (ac_try="$ac_compile"
16052 case "(($ac_try" in
16053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16054 *) ac_try_echo=$ac_try;;
16056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16057 (eval "$ac_compile") 2>conftest.er1
16059 grep -v '^
*+' conftest.er1 >conftest.err
16061 cat conftest.err >&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); } && {
16064 test -z "$ac_c_werror_flag" ||
16065 test ! -s conftest.err
16066 } && test -s conftest.$ac_objext; then
16067 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16069 echo "$as_me: failed program was:" >&5
16070 sed 's
/^
/| /' conftest.$ac_ext >&5
16072 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16080 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16081 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16082 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16088 ac_cpp='$CPP $CPPFLAGS'
16089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16090 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16098 if test "$INTELCC" != "yes"; then
16102 ac_cpp='$CPP $CPPFLAGS'
16103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16104 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16107 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16108 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16109 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 cat >conftest.$ac_ext <<_ACEOF
16115 cat confdefs.h >>conftest.$ac_ext
16116 cat >>conftest.$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16131 rm -f conftest.$ac_objext
16132 if { (ac_try="$ac_compile"
16133 case "(($ac_try" in
16134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16135 *) ac_try_echo=$ac_try;;
16137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16138 (eval "$ac_compile") 2>conftest.er1
16140 grep -v '^
*+' conftest.er1 >conftest.err
16142 cat conftest.err >&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); } && {
16145 test -z "$ac_c_werror_flag" ||
16146 test ! -s conftest.err
16147 } && test -s conftest.$ac_objext; then
16148 bakefile_cv_c_compiler___SUNPRO_C=yes
16150 echo "$as_me: failed program was:" >&5
16151 sed 's
/^
/| /' conftest.$ac_ext >&5
16153 bakefile_cv_c_compiler___SUNPRO_C=no
16157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16161 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16162 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16163 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16169 ac_cpp='$CPP $CPPFLAGS'
16170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16171 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16183 ac_cpp='$CPP $CPPFLAGS'
16184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16185 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16188 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16189 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16190 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 cat >conftest.$ac_ext <<_ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16212 rm -f conftest.$ac_objext
16213 if { (ac_try="$ac_compile"
16214 case "(($ac_try" in
16215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16216 *) ac_try_echo=$ac_try;;
16218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16219 (eval "$ac_compile") 2>conftest.er1
16221 grep -v '^
*+' conftest.er1 >conftest.err
16223 cat conftest.err >&5
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); } && {
16226 test -z "$ac_c_werror_flag" ||
16227 test ! -s conftest.err
16228 } && test -s conftest.$ac_objext; then
16229 bakefile_cv_c_compiler___HP_cc=yes
16231 echo "$as_me: failed program was:" >&5
16232 sed 's
/^
/| /' conftest.$ac_ext >&5
16234 bakefile_cv_c_compiler___HP_cc=no
16238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16242 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16243 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16244 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16250 ac_cpp='$CPP $CPPFLAGS'
16251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16252 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16263 ac_cpp='$CPP $CPPFLAGS'
16264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16265 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16268 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16269 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16270 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16271 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 cat >conftest.$ac_ext <<_ACEOF
16276 cat confdefs.h >>conftest.$ac_ext
16277 cat >>conftest.$ac_ext <<_ACEOF
16278 /* end confdefs.h. */
16292 rm -f conftest.$ac_objext
16293 if { (ac_try="$ac_compile"
16294 case "(($ac_try" in
16295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16296 *) ac_try_echo=$ac_try;;
16298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16299 (eval "$ac_compile") 2>conftest.er1
16301 grep -v '^
*+' conftest.er1 >conftest.err
16303 cat conftest.err >&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); } && {
16306 test -z "$ac_c_werror_flag" ||
16307 test ! -s conftest.err
16308 } && test -s conftest.$ac_objext; then
16309 bakefile_cv_c_compiler___DECC=yes
16311 echo "$as_me: failed program was:" >&5
16312 sed 's
/^
/| /' conftest.$ac_ext >&5
16314 bakefile_cv_c_compiler___DECC=no
16318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16322 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16323 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16324 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16330 ac_cpp='$CPP $CPPFLAGS'
16331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16332 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16343 ac_cpp='$CPP $CPPFLAGS'
16344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16345 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16348 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16349 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16350 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16353 cat >conftest.$ac_ext <<_ACEOF
16356 cat confdefs.h >>conftest.$ac_ext
16357 cat >>conftest.$ac_ext <<_ACEOF
16358 /* end confdefs.h. */
16372 rm -f conftest.$ac_objext
16373 if { (ac_try="$ac_compile"
16374 case "(($ac_try" in
16375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16376 *) ac_try_echo=$ac_try;;
16378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16379 (eval "$ac_compile") 2>conftest.er1
16381 grep -v '^
*+' conftest.er1 >conftest.err
16383 cat conftest.err >&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } && {
16386 test -z "$ac_c_werror_flag" ||
16387 test ! -s conftest.err
16388 } && test -s conftest.$ac_objext; then
16389 bakefile_cv_c_compiler___SUNPRO_C=yes
16391 echo "$as_me: failed program was:" >&5
16392 sed 's
/^
/| /' conftest.$ac_ext >&5
16394 bakefile_cv_c_compiler___SUNPRO_C=no
16398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16402 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16403 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16404 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16410 ac_cpp='$CPP $CPPFLAGS'
16411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16412 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16424 ac_cpp='$CPP $CPPFLAGS'
16425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16426 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16428 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16429 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16430 # On Suns, sometimes $CPP names a directory.
16431 if test -n "$CPP" && test -d "$CPP"; then
16434 if test -z "$CPP"; then
16435 if test "${ac_cv_prog_CPP+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 # Double quotes because CPP needs to be expanded
16439 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16441 ac_preproc_ok=false
16442 for ac_c_preproc_warn_flag in '' yes
16444 # Use a header file that comes with gcc, so configuring glibc
16445 # with a fresh cross-compiler works.
16446 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16447 # <limits.h> exists even on freestanding compilers.
16448 # On the NeXT, cc -E runs the code through the compiler's parser
,
16449 # not just through cpp. "Syntax error" is here to catch this case.
16450 cat >conftest.
$ac_ext <<_ACEOF
16453 cat confdefs.h
>>conftest.
$ac_ext
16454 cat >>conftest.
$ac_ext <<_ACEOF
16455 /* end confdefs.h. */
16457 # include <limits.h>
16459 # include <assert.h>
16463 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16464 case "(($ac_try" in
16465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16466 *) ac_try_echo=$ac_try;;
16468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16471 grep -v '^ *+' conftest.er1 >conftest.err
16473 cat conftest.err >&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } >/dev/null && {
16476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16477 test ! -s conftest.err
16481 echo "$as_me: failed program was:" >&5
16482 sed 's/^/| /' conftest.$ac_ext >&5
16484 # Broken: fails on valid input.
16488 rm -f conftest.err conftest.$ac_ext
16490 # OK, works on sane cases. Now check whether nonexistent headers
16491 # can be detected and how.
16492 cat >conftest.$ac_ext <<_ACEOF
16495 cat confdefs.h >>conftest.$ac_ext
16496 cat >>conftest.$ac_ext <<_ACEOF
16497 /* end confdefs.h. */
16498 #include <ac_nonexistent.h>
16500 if { (ac_try="$ac_cpp conftest.$ac_ext"
16501 case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16503 *) ac_try_echo
=$ac_try;;
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16508 grep -v '^ *+' conftest.er1
>conftest.err
16510 cat conftest.err
>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } >/dev
/null
&& {
16513 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16514 test ! -s conftest.err
16516 # Broken: success on invalid input.
16519 echo "$as_me: failed program was:" >&5
16520 sed 's/^/| /' conftest.
$ac_ext >&5
16522 # Passes both tests.
16527 rm -f conftest.err conftest.
$ac_ext
16530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16531 rm -f conftest.err conftest.
$ac_ext
16532 if $ac_preproc_ok; then
16537 ac_cv_prog_CPP
=$CPP
16540 CPP
=$ac_cv_prog_CPP
16542 ac_cv_prog_CPP
=$CPP
16544 { echo "$as_me:$LINENO: result: $CPP" >&5
16545 echo "${ECHO_T}$CPP" >&6; }
16546 ac_preproc_ok
=false
16547 for ac_c_preproc_warn_flag
in '' yes
16549 # Use a header file that comes with gcc, so configuring glibc
16550 # with a fresh cross-compiler works.
16551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16552 # <limits.h> exists even on freestanding compilers.
16553 # On the NeXT, cc -E runs the code through the compiler's parser,
16554 # not just through cpp. "Syntax error" is here to catch this case.
16555 cat >conftest.
$ac_ext <<_ACEOF
16558 cat confdefs.h
>>conftest.
$ac_ext
16559 cat >>conftest.
$ac_ext <<_ACEOF
16560 /* end confdefs.h. */
16562 # include <limits.h>
16564 # include <assert.h>
16568 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16569 case "(($ac_try" in
16570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16571 *) ac_try_echo=$ac_try;;
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16576 grep -v '^ *+' conftest.er1 >conftest.err
16578 cat conftest.err >&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); } >/dev/null && {
16581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16582 test ! -s conftest.err
16586 echo "$as_me: failed program was:" >&5
16587 sed 's/^/| /' conftest.$ac_ext >&5
16589 # Broken: fails on valid input.
16593 rm -f conftest.err conftest.$ac_ext
16595 # OK, works on sane cases. Now check whether nonexistent headers
16596 # can be detected and how.
16597 cat >conftest.$ac_ext <<_ACEOF
16600 cat confdefs.h >>conftest.$ac_ext
16601 cat >>conftest.$ac_ext <<_ACEOF
16602 /* end confdefs.h. */
16603 #include <ac_nonexistent.h>
16605 if { (ac_try="$ac_cpp conftest.$ac_ext"
16606 case "(($ac_try" in
16607 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16608 *) ac_try_echo
=$ac_try;;
16610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16611 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16613 grep -v '^ *+' conftest.er1
>conftest.err
16615 cat conftest.err
>&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } >/dev
/null
&& {
16618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16619 test ! -s conftest.err
16621 # Broken: success on invalid input.
16624 echo "$as_me: failed program was:" >&5
16625 sed 's/^/| /' conftest.
$ac_ext >&5
16627 # Passes both tests.
16632 rm -f conftest.err conftest.
$ac_ext
16635 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16636 rm -f conftest.err conftest.
$ac_ext
16637 if $ac_preproc_ok; then
16640 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16641 See \`config.log' for more details." >&5
16642 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16643 See \`config.log' for more details." >&2;}
16644 { (exit 1); exit 1; }; }
16648 ac_cpp
='$CPP $CPPFLAGS'
16649 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16650 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16651 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16654 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16655 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16656 if test "${ac_cv_path_GREP+set}" = set; then
16657 echo $ECHO_N "(cached) $ECHO_C" >&6
16659 # Extract the first word of "grep ggrep" to use in msg output
16660 if test -z "$GREP"; then
16661 set dummy
grep ggrep
; ac_prog_name
=$2
16662 if test "${ac_cv_path_GREP+set}" = set; then
16663 echo $ECHO_N "(cached) $ECHO_C" >&6
16665 ac_path_GREP_found
=false
16666 # Loop through the user's path and test for each of PROGNAME-LIST
16667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16668 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16671 test -z "$as_dir" && as_dir
=.
16672 for ac_prog
in grep ggrep
; do
16673 for ac_exec_ext
in '' $ac_executable_extensions; do
16674 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16675 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16676 # Check for GNU ac_path_GREP and select it if it is found.
16677 # Check for GNU $ac_path_GREP
16678 case `"$ac_path_GREP" --version 2>&1` in
16680 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16683 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16686 cat "conftest.in" "conftest.in" >"conftest.tmp"
16687 mv "conftest.tmp" "conftest.in"
16688 cp "conftest.in" "conftest.nl"
16689 echo 'GREP' >> "conftest.nl"
16690 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16691 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16692 ac_count
=`expr $ac_count + 1`
16693 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16694 # Best one so far, save it but keep looking for a better one
16695 ac_cv_path_GREP
="$ac_path_GREP"
16696 ac_path_GREP_max
=$ac_count
16698 # 10*(2^10) chars as input seems more than enough
16699 test $ac_count -gt 10 && break
16701 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16705 $ac_path_GREP_found && break 3
16715 GREP
="$ac_cv_path_GREP"
16716 if test -z "$GREP"; then
16717 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16718 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16719 { (exit 1); exit 1; }; }
16723 ac_cv_path_GREP
=$GREP
16728 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16729 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16730 GREP
="$ac_cv_path_GREP"
16733 { echo "$as_me:$LINENO: checking for egrep" >&5
16734 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16735 if test "${ac_cv_path_EGREP+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16738 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16739 then ac_cv_path_EGREP
="$GREP -E"
16741 # Extract the first word of "egrep" to use in msg output
16742 if test -z "$EGREP"; then
16743 set dummy
egrep; ac_prog_name
=$2
16744 if test "${ac_cv_path_EGREP+set}" = set; then
16745 echo $ECHO_N "(cached) $ECHO_C" >&6
16747 ac_path_EGREP_found
=false
16748 # Loop through the user's path and test for each of PROGNAME-LIST
16749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16750 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16753 test -z "$as_dir" && as_dir
=.
16754 for ac_prog
in egrep; do
16755 for ac_exec_ext
in '' $ac_executable_extensions; do
16756 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16757 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16758 # Check for GNU ac_path_EGREP and select it if it is found.
16759 # Check for GNU $ac_path_EGREP
16760 case `"$ac_path_EGREP" --version 2>&1` in
16762 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16765 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16768 cat "conftest.in" "conftest.in" >"conftest.tmp"
16769 mv "conftest.tmp" "conftest.in"
16770 cp "conftest.in" "conftest.nl"
16771 echo 'EGREP' >> "conftest.nl"
16772 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16773 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16774 ac_count
=`expr $ac_count + 1`
16775 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16776 # Best one so far, save it but keep looking for a better one
16777 ac_cv_path_EGREP
="$ac_path_EGREP"
16778 ac_path_EGREP_max
=$ac_count
16780 # 10*(2^10) chars as input seems more than enough
16781 test $ac_count -gt 10 && break
16783 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16787 $ac_path_EGREP_found && break 3
16797 EGREP
="$ac_cv_path_EGREP"
16798 if test -z "$EGREP"; then
16799 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16800 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16801 { (exit 1); exit 1; }; }
16805 ac_cv_path_EGREP
=$EGREP
16811 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16812 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16813 EGREP
="$ac_cv_path_EGREP"
16816 if test $ac_cv_c_compiler_gnu = yes; then
16817 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16818 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16819 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16820 echo $ECHO_N "(cached) $ECHO_C" >&6
16822 ac_pattern
="Autoconf.*'x'"
16823 cat >conftest.
$ac_ext <<_ACEOF
16826 cat confdefs.h
>>conftest.
$ac_ext
16827 cat >>conftest.
$ac_ext <<_ACEOF
16828 /* end confdefs.h. */
16832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16833 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16834 ac_cv_prog_gcc_traditional
=yes
16836 ac_cv_prog_gcc_traditional
=no
16841 if test $ac_cv_prog_gcc_traditional = no
; then
16842 cat >conftest.
$ac_ext <<_ACEOF
16845 cat confdefs.h
>>conftest.
$ac_ext
16846 cat >>conftest.
$ac_ext <<_ACEOF
16847 /* end confdefs.h. */
16848 #include <termio.h>
16851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16852 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16853 ac_cv_prog_gcc_traditional
=yes
16859 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16860 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16861 if test $ac_cv_prog_gcc_traditional = yes; then
16862 CC
="$CC -traditional"
16867 CXXFLAGS
=${CXXFLAGS:=}
16872 ac_cpp
='$CXXCPP $CPPFLAGS'
16873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16876 if test -z "$CXX"; then
16877 if test -n "$CCC"; then
16880 if test -n "$ac_tool_prefix"; then
16881 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16884 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16887 if test "${ac_cv_prog_CXX+set}" = set; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16890 if test -n "$CXX"; then
16891 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16894 for as_dir
in $PATH
16897 test -z "$as_dir" && as_dir
=.
16898 for ac_exec_ext
in '' $ac_executable_extensions; do
16899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16900 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16910 CXX
=$ac_cv_prog_CXX
16911 if test -n "$CXX"; then
16912 { echo "$as_me:$LINENO: result: $CXX" >&5
16913 echo "${ECHO_T}$CXX" >&6; }
16915 { echo "$as_me:$LINENO: result: no" >&5
16916 echo "${ECHO_T}no" >&6; }
16920 test -n "$CXX" && break
16923 if test -z "$CXX"; then
16925 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16927 # Extract the first word of "$ac_prog", so it can be a program name with args.
16928 set dummy
$ac_prog; ac_word
=$2
16929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16931 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16932 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 if test -n "$ac_ct_CXX"; then
16935 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16938 for as_dir
in $PATH
16941 test -z "$as_dir" && as_dir
=.
16942 for ac_exec_ext
in '' $ac_executable_extensions; do
16943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16944 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16954 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16955 if test -n "$ac_ct_CXX"; then
16956 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16957 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16959 { echo "$as_me:$LINENO: result: no" >&5
16960 echo "${ECHO_T}no" >&6; }
16964 test -n "$ac_ct_CXX" && break
16967 if test "x$ac_ct_CXX" = x
; then
16970 case $cross_compiling:$ac_tool_warned in
16972 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16973 whose name does not start with the host triplet. If you think this
16974 configuration is useful to you, please write to autoconf@gnu.org." >&5
16975 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16976 whose name does not start with the host triplet. If you think this
16977 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16978 ac_tool_warned
=yes ;;
16986 # Provide some information about the compiler.
16987 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16988 ac_compiler
=`set X $ac_compile; echo $2`
16989 { (ac_try
="$ac_compiler --version >&5"
16990 case "(($ac_try" in
16991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16992 *) ac_try_echo=$ac_try;;
16994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16995 (eval "$ac_compiler --version >&5") 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }
16999 { (ac_try="$ac_compiler -v >&5"
17000 case "(($ac_try" in
17001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17002 *) ac_try_echo
=$ac_try;;
17004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17005 (eval "$ac_compiler -v >&5") 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }
17009 { (ac_try
="$ac_compiler -V >&5"
17010 case "(($ac_try" in
17011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17012 *) ac_try_echo=$ac_try;;
17014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17015 (eval "$ac_compiler -V >&5") 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }
17020 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17021 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17022 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6
17025 cat >conftest.$ac_ext <<_ACEOF
17028 cat confdefs.h >>conftest.$ac_ext
17029 cat >>conftest.$ac_ext <<_ACEOF
17030 /* end confdefs.h. */
17043 rm -f conftest.$ac_objext
17044 if { (ac_try="$ac_compile"
17045 case "(($ac_try" in
17046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17047 *) ac_try_echo
=$ac_try;;
17049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17050 (eval "$ac_compile") 2>conftest.er1
17052 grep -v '^ *+' conftest.er1
>conftest.err
17054 cat conftest.err
>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } && {
17057 test -z "$ac_cxx_werror_flag" ||
17058 test ! -s conftest.err
17059 } && test -s conftest.
$ac_objext; then
17060 ac_compiler_gnu
=yes
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.
$ac_ext >&5
17068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17069 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17072 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17073 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17074 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17075 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17076 ac_save_CXXFLAGS
=$CXXFLAGS
17077 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17078 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17079 if test "${ac_cv_prog_cxx_g+set}" = set; then
17080 echo $ECHO_N "(cached) $ECHO_C" >&6
17082 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17083 ac_cxx_werror_flag
=yes
17084 ac_cv_prog_cxx_g
=no
17086 cat >conftest.
$ac_ext <<_ACEOF
17089 cat confdefs.h
>>conftest.
$ac_ext
17090 cat >>conftest.
$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17101 rm -f conftest.
$ac_objext
17102 if { (ac_try
="$ac_compile"
17103 case "(($ac_try" in
17104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17105 *) ac_try_echo=$ac_try;;
17107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17108 (eval "$ac_compile") 2>conftest.er1
17110 grep -v '^ *+' conftest.er1 >conftest.err
17112 cat conftest.err >&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } && {
17115 test -z "$ac_cxx_werror_flag" ||
17116 test ! -s conftest.err
17117 } && test -s conftest.$ac_objext; then
17118 ac_cv_prog_cxx_g=yes
17120 echo "$as_me: failed program was:" >&5
17121 sed 's/^/| /' conftest.$ac_ext >&5
17124 cat >conftest.$ac_ext <<_ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17139 rm -f conftest.$ac_objext
17140 if { (ac_try="$ac_compile"
17141 case "(($ac_try" in
17142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17143 *) ac_try_echo
=$ac_try;;
17145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17146 (eval "$ac_compile") 2>conftest.er1
17148 grep -v '^ *+' conftest.er1
>conftest.err
17150 cat conftest.err
>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } && {
17153 test -z "$ac_cxx_werror_flag" ||
17154 test ! -s conftest.err
17155 } && test -s conftest.
$ac_objext; then
17158 echo "$as_me: failed program was:" >&5
17159 sed 's/^/| /' conftest.
$ac_ext >&5
17161 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17163 cat >conftest.
$ac_ext <<_ACEOF
17166 cat confdefs.h
>>conftest.
$ac_ext
17167 cat >>conftest.
$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17178 rm -f conftest.
$ac_objext
17179 if { (ac_try
="$ac_compile"
17180 case "(($ac_try" in
17181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17182 *) ac_try_echo=$ac_try;;
17184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17185 (eval "$ac_compile") 2>conftest.er1
17187 grep -v '^ *+' conftest.er1 >conftest.err
17189 cat conftest.err >&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); } && {
17192 test -z "$ac_cxx_werror_flag" ||
17193 test ! -s conftest.err
17194 } && test -s conftest.$ac_objext; then
17195 ac_cv_prog_cxx_g=yes
17197 echo "$as_me: failed program was:" >&5
17198 sed 's/^/| /' conftest.$ac_ext >&5
17203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17210 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17212 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17213 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17214 if test "$ac_test_CXXFLAGS" = set; then
17215 CXXFLAGS=$ac_save_CXXFLAGS
17216 elif test $ac_cv_prog_cxx_g = yes; then
17217 if test "$GXX" = yes; then
17223 if test "$GXX" = yes; then
17230 ac_cpp='$CPP $CPPFLAGS'
17231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17239 ac_cpp='$CXXCPP $CPPFLAGS'
17240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17244 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17245 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17246 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17247 echo $ECHO_N "(cached) $ECHO_C" >&6
17249 cat >conftest.$ac_ext <<_ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17260 #ifndef __INTEL_COMPILER
17268 rm -f conftest.$ac_objext
17269 if { (ac_try="$ac_compile"
17270 case "(($ac_try" in
17271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17272 *) ac_try_echo
=$ac_try;;
17274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17275 (eval "$ac_compile") 2>conftest.er1
17277 grep -v '^ *+' conftest.er1
>conftest.err
17279 cat conftest.err
>&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); } && {
17282 test -z "$ac_cxx_werror_flag" ||
17283 test ! -s conftest.err
17284 } && test -s conftest.
$ac_objext; then
17285 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17287 echo "$as_me: failed program was:" >&5
17288 sed 's/^/| /' conftest.
$ac_ext >&5
17290 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17298 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17299 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17300 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17306 ac_cpp
='$CPP $CPPFLAGS'
17307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17314 if test "$INTELCXX" = "yes"; then
17318 ac_cpp
='$CXXCPP $CPPFLAGS'
17319 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17320 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17321 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17323 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17324 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17325 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17326 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 cat >conftest.
$ac_ext <<_ACEOF
17331 cat confdefs.h
>>conftest.
$ac_ext
17332 cat >>conftest.
$ac_ext <<_ACEOF
17333 /* end confdefs.h. */
17339 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17347 rm -f conftest.
$ac_objext
17348 if { (ac_try
="$ac_compile"
17349 case "(($ac_try" in
17350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17351 *) ac_try_echo=$ac_try;;
17353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17354 (eval "$ac_compile") 2>conftest.er1
17356 grep -v '^ *+' conftest.er1 >conftest.err
17358 cat conftest.err >&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } && {
17361 test -z "$ac_cxx_werror_flag" ||
17362 test ! -s conftest.err
17363 } && test -s conftest.$ac_objext; then
17364 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17366 echo "$as_me: failed program was:" >&5
17367 sed 's/^/| /' conftest.$ac_ext >&5
17369 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17377 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17378 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17379 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17385 ac_cpp='$CPP $CPPFLAGS'
17386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17395 ac_cpp='$CXXCPP $CPPFLAGS'
17396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17400 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17401 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17402 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17405 cat >conftest.$ac_ext <<_ACEOF
17408 cat confdefs.h >>conftest.$ac_ext
17409 cat >>conftest.$ac_ext <<_ACEOF
17410 /* end confdefs.h. */
17416 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17424 rm -f conftest.$ac_objext
17425 if { (ac_try="$ac_compile"
17426 case "(($ac_try" in
17427 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17428 *) ac_try_echo
=$ac_try;;
17430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17431 (eval "$ac_compile") 2>conftest.er1
17433 grep -v '^ *+' conftest.er1
>conftest.err
17435 cat conftest.err
>&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); } && {
17438 test -z "$ac_cxx_werror_flag" ||
17439 test ! -s conftest.err
17440 } && test -s conftest.
$ac_objext; then
17441 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17443 echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.
$ac_ext >&5
17446 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17454 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17455 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17456 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17462 ac_cpp
='$CPP $CPPFLAGS'
17463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17471 if test "x$GCXX" != "xyes"; then
17472 if test "xCXX" = "xC"; then
17473 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17474 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17475 if test "${bakefile_cv_c_exto+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 cat >conftest.
$ac_ext <<_ACEOF
17481 cat confdefs.h
>>conftest.
$ac_ext
17482 cat >>conftest.
$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17493 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); }; then
17499 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17501 conftest.
$ac_ext.o
)
17502 bakefile_cv_c_exto
="-ext o"
17509 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17510 See \`config.log' for more details." >&5
17511 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17512 See \`config.log' for more details." >&2;}
17513 { (exit 1); exit 1; }; }
17517 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17520 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17521 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17522 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17523 if test "c" = "c"; then
17524 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17526 if test "c" = "cxx"; then
17527 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17531 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17532 unset ac_cv_prog_cc_g
17533 ac_test_CFLAGS
=${CFLAGS+set}
17534 ac_save_CFLAGS
=$CFLAGS
17535 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17536 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17537 if test "${ac_cv_prog_cc_g+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17540 ac_save_c_werror_flag
=$ac_c_werror_flag
17541 ac_c_werror_flag
=yes
17544 cat >conftest.
$ac_ext <<_ACEOF
17547 cat confdefs.h
>>conftest.
$ac_ext
17548 cat >>conftest.
$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17559 rm -f conftest.
$ac_objext
17560 if { (ac_try
="$ac_compile"
17561 case "(($ac_try" in
17562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17563 *) ac_try_echo=$ac_try;;
17565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17566 (eval "$ac_compile") 2>conftest.er1
17568 grep -v '^ *+' conftest.er1 >conftest.err
17570 cat conftest.err >&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } && {
17573 test -z "$ac_c_werror_flag" ||
17574 test ! -s conftest.err
17575 } && test -s conftest.$ac_objext; then
17576 ac_cv_prog_cc_g=yes
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.$ac_ext >&5
17582 cat >conftest.$ac_ext <<_ACEOF
17585 cat confdefs.h >>conftest.$ac_ext
17586 cat >>conftest.$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17597 rm -f conftest.$ac_objext
17598 if { (ac_try="$ac_compile"
17599 case "(($ac_try" in
17600 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17601 *) ac_try_echo
=$ac_try;;
17603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17604 (eval "$ac_compile") 2>conftest.er1
17606 grep -v '^ *+' conftest.er1
>conftest.err
17608 cat conftest.err
>&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } && {
17611 test -z "$ac_c_werror_flag" ||
17612 test ! -s conftest.err
17613 } && test -s conftest.
$ac_objext; then
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.
$ac_ext >&5
17619 ac_c_werror_flag
=$ac_save_c_werror_flag
17621 cat >conftest.
$ac_ext <<_ACEOF
17624 cat confdefs.h
>>conftest.
$ac_ext
17625 cat >>conftest.
$ac_ext <<_ACEOF
17626 /* end confdefs.h. */
17636 rm -f conftest.
$ac_objext
17637 if { (ac_try
="$ac_compile"
17638 case "(($ac_try" in
17639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17640 *) ac_try_echo=$ac_try;;
17642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17643 (eval "$ac_compile") 2>conftest.er1
17645 grep -v '^ *+' conftest.er1 >conftest.err
17647 cat conftest.err >&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); } && {
17650 test -z "$ac_c_werror_flag" ||
17651 test ! -s conftest.err
17652 } && test -s conftest.$ac_objext; then
17653 ac_cv_prog_cc_g=yes
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5
17661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17668 ac_c_werror_flag=$ac_save_c_werror_flag
17670 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17671 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17672 if test "$ac_test_CFLAGS" = set; then
17673 CFLAGS=$ac_save_CFLAGS
17674 elif test $ac_cv_prog_cc_g = yes; then
17675 if test "$GCC" = yes; then
17681 if test "$GCC" = yes; then
17695 ac_cpp='$CXXCPP $CPPFLAGS'
17696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17700 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17701 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17702 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17703 echo $ECHO_N "(cached) $ECHO_C" >&6
17705 cat >conftest.$ac_ext <<_ACEOF
17708 cat confdefs.h >>conftest.$ac_ext
17709 cat >>conftest.$ac_ext <<_ACEOF
17710 /* end confdefs.h. */
17724 rm -f conftest.$ac_objext
17725 if { (ac_try="$ac_compile"
17726 case "(($ac_try" in
17727 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17728 *) ac_try_echo
=$ac_try;;
17730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17731 (eval "$ac_compile") 2>conftest.er1
17733 grep -v '^ *+' conftest.er1
>conftest.err
17735 cat conftest.err
>&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } && {
17738 test -z "$ac_cxx_werror_flag" ||
17739 test ! -s conftest.err
17740 } && test -s conftest.
$ac_objext; then
17741 bakefile_cv_cxx_compiler___xlC__
=yes
17743 echo "$as_me: failed program was:" >&5
17744 sed 's/^/| /' conftest.
$ac_ext >&5
17746 bakefile_cv_cxx_compiler___xlC__
=no
17750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17754 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17755 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17756 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17762 ac_cpp
='$CPP $CPPFLAGS'
17763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17775 ac_cpp
='$CXXCPP $CPPFLAGS'
17776 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17777 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17778 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17780 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17781 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17782 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17783 echo $ECHO_N "(cached) $ECHO_C" >&6
17785 cat >conftest.
$ac_ext <<_ACEOF
17788 cat confdefs.h
>>conftest.
$ac_ext
17789 cat >>conftest.
$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17804 rm -f conftest.
$ac_objext
17805 if { (ac_try
="$ac_compile"
17806 case "(($ac_try" in
17807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17808 *) ac_try_echo=$ac_try;;
17810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17811 (eval "$ac_compile") 2>conftest.er1
17813 grep -v '^ *+' conftest.er1 >conftest.err
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } && {
17818 test -z "$ac_cxx_werror_flag" ||
17819 test ! -s conftest.err
17820 } && test -s conftest.$ac_objext; then
17821 bakefile_cv_cxx_compiler___MWERKS__=yes
17823 echo "$as_me: failed program was:" >&5
17824 sed 's/^/| /' conftest.$ac_ext >&5
17826 bakefile_cv_cxx_compiler___MWERKS__=no
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17835 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17836 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17842 ac_cpp='$CPP $CPPFLAGS'
17843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17849 if test "$MWCXX" != "yes"; then
17853 ac_cpp='$CXXCPP $CPPFLAGS'
17854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17858 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17859 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17860 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17861 echo $ECHO_N "(cached) $ECHO_C" >&6
17863 cat >conftest.$ac_ext <<_ACEOF
17866 cat confdefs.h >>conftest.$ac_ext
17867 cat >>conftest.$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17882 rm -f conftest.$ac_objext
17883 if { (ac_try="$ac_compile"
17884 case "(($ac_try" in
17885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17886 *) ac_try_echo
=$ac_try;;
17888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17889 (eval "$ac_compile") 2>conftest.er1
17891 grep -v '^ *+' conftest.er1
>conftest.err
17893 cat conftest.err
>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); } && {
17896 test -z "$ac_cxx_werror_flag" ||
17897 test ! -s conftest.err
17898 } && test -s conftest.
$ac_objext; then
17899 bakefile_cv_cxx_compiler___xlC__
=yes
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.
$ac_ext >&5
17904 bakefile_cv_cxx_compiler___xlC__
=no
17908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17912 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17913 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17914 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17920 ac_cpp
='$CPP $CPPFLAGS'
17921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17934 ac_cpp
='$CXXCPP $CPPFLAGS'
17935 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17936 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17937 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17939 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17940 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17941 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17942 echo $ECHO_N "(cached) $ECHO_C" >&6
17944 cat >conftest.
$ac_ext <<_ACEOF
17947 cat confdefs.h
>>conftest.
$ac_ext
17948 cat >>conftest.
$ac_ext <<_ACEOF
17949 /* end confdefs.h. */
17955 #ifndef _SGI_COMPILER_VERSION
17963 rm -f conftest.
$ac_objext
17964 if { (ac_try
="$ac_compile"
17965 case "(($ac_try" in
17966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17967 *) ac_try_echo=$ac_try;;
17969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17970 (eval "$ac_compile") 2>conftest.er1
17972 grep -v '^ *+' conftest.er1 >conftest.err
17974 cat conftest.err >&5
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); } && {
17977 test -z "$ac_cxx_werror_flag" ||
17978 test ! -s conftest.err
17979 } && test -s conftest.$ac_objext; then
17980 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17982 echo "$as_me: failed program was:" >&5
17983 sed 's/^/| /' conftest.$ac_ext >&5
17985 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17993 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17994 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17995 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18001 ac_cpp='$CPP $CPPFLAGS'
18002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18011 if test "$INTELCXX" != "yes"; then
18015 ac_cpp='$CXXCPP $CPPFLAGS'
18016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18020 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18021 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18022 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18023 echo $ECHO_N "(cached) $ECHO_C" >&6
18025 cat >conftest.$ac_ext <<_ACEOF
18028 cat confdefs.h >>conftest.$ac_ext
18029 cat >>conftest.$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18036 #ifndef __SUNPRO_CC
18044 rm -f conftest.$ac_objext
18045 if { (ac_try="$ac_compile"
18046 case "(($ac_try" in
18047 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18048 *) ac_try_echo
=$ac_try;;
18050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18051 (eval "$ac_compile") 2>conftest.er1
18053 grep -v '^ *+' conftest.er1
>conftest.err
18055 cat conftest.err
>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } && {
18058 test -z "$ac_cxx_werror_flag" ||
18059 test ! -s conftest.err
18060 } && test -s conftest.
$ac_objext; then
18061 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.
$ac_ext >&5
18066 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18074 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18075 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18076 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18082 ac_cpp
='$CPP $CPPFLAGS'
18083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18096 ac_cpp
='$CXXCPP $CPPFLAGS'
18097 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18098 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18099 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18101 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18102 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18103 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18106 cat >conftest.
$ac_ext <<_ACEOF
18109 cat confdefs.h
>>conftest.
$ac_ext
18110 cat >>conftest.
$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18125 rm -f conftest.
$ac_objext
18126 if { (ac_try
="$ac_compile"
18127 case "(($ac_try" in
18128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18129 *) ac_try_echo=$ac_try;;
18131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18132 (eval "$ac_compile") 2>conftest.er1
18134 grep -v '^ *+' conftest.er1 >conftest.err
18136 cat conftest.err >&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); } && {
18139 test -z "$ac_cxx_werror_flag" ||
18140 test ! -s conftest.err
18141 } && test -s conftest.$ac_objext; then
18142 bakefile_cv_cxx_compiler___HP_aCC=yes
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.$ac_ext >&5
18147 bakefile_cv_cxx_compiler___HP_aCC=no
18151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18156 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18157 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18163 ac_cpp='$CPP $CPPFLAGS'
18164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18176 ac_cpp='$CXXCPP $CPPFLAGS'
18177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18181 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18182 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18183 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18184 echo $ECHO_N "(cached) $ECHO_C" >&6
18186 cat >conftest.$ac_ext <<_ACEOF
18189 cat confdefs.h >>conftest.$ac_ext
18190 cat >>conftest.$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18205 rm -f conftest.$ac_objext
18206 if { (ac_try="$ac_compile"
18207 case "(($ac_try" in
18208 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18209 *) ac_try_echo
=$ac_try;;
18211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18212 (eval "$ac_compile") 2>conftest.er1
18214 grep -v '^ *+' conftest.er1
>conftest.err
18216 cat conftest.err
>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } && {
18219 test -z "$ac_cxx_werror_flag" ||
18220 test ! -s conftest.err
18221 } && test -s conftest.
$ac_objext; then
18222 bakefile_cv_cxx_compiler___DECCXX
=yes
18224 echo "$as_me: failed program was:" >&5
18225 sed 's/^/| /' conftest.
$ac_ext >&5
18227 bakefile_cv_cxx_compiler___DECCXX
=no
18231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18235 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18236 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18237 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18243 ac_cpp
='$CPP $CPPFLAGS'
18244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18256 ac_cpp
='$CXXCPP $CPPFLAGS'
18257 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18258 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18259 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18261 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18262 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18263 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 cat >conftest.
$ac_ext <<_ACEOF
18269 cat confdefs.h
>>conftest.
$ac_ext
18270 cat >>conftest.
$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18277 #ifndef __SUNPRO_CC
18285 rm -f conftest.
$ac_objext
18286 if { (ac_try
="$ac_compile"
18287 case "(($ac_try" in
18288 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18289 *) ac_try_echo=$ac_try;;
18291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18292 (eval "$ac_compile") 2>conftest.er1
18294 grep -v '^ *+' conftest.er1 >conftest.err
18296 cat conftest.err >&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } && {
18299 test -z "$ac_cxx_werror_flag" ||
18300 test ! -s conftest.err
18301 } && test -s conftest.$ac_objext; then
18302 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18304 echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.$ac_ext >&5
18307 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18315 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18316 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18317 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18323 ac_cpp='$CPP $CPPFLAGS'
18324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18336 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18337 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18338 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18339 { (exit 1); exit 1; }; }
18342 if test "x$SUNCXX" != xyes; then
18343 if test -n "$ac_tool_prefix"; then
18344 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18345 set dummy ${ac_tool_prefix}ar; ac_word=$2
18346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18348 if test "${ac_cv_prog_AR+set}" = set; then
18349 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 if test -n "$AR"; then
18352 ac_cv_prog_AR="$AR" # Let the user override the test.
18354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18355 for as_dir in $PATH
18358 test -z "$as_dir" && as_dir=.
18359 for ac_exec_ext in '' $ac_executable_extensions; do
18360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18361 ac_cv_prog_AR="${ac_tool_prefix}ar"
18362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18372 if test -n "$AR"; then
18373 { echo "$as_me:$LINENO: result: $AR" >&5
18374 echo "${ECHO_T}$AR" >&6; }
18376 { echo "$as_me:$LINENO: result: no" >&5
18377 echo "${ECHO_T}no" >&6; }
18382 if test -z "$ac_cv_prog_AR"; then
18384 # Extract the first word of "ar", so it can be a program name with args.
18385 set dummy ar; ac_word=$2
18386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18388 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18389 echo $ECHO_N "(cached) $ECHO_C" >&6
18391 if test -n "$ac_ct_AR"; then
18392 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18395 for as_dir in $PATH
18398 test -z "$as_dir" && as_dir=.
18399 for ac_exec_ext in '' $ac_executable_extensions; do
18400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18401 ac_cv_prog_ac_ct_AR="ar"
18402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18411 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18412 if test -n "$ac_ct_AR"; then
18413 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18414 echo "${ECHO_T}$ac_ct_AR" >&6; }
18416 { echo "$as_me:$LINENO: result: no" >&5
18417 echo "${ECHO_T}no" >&6; }
18420 if test "x$ac_ct_AR" = x; then
18423 case $cross_compiling:$ac_tool_warned in
18425 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18426 whose name does not start with the host triplet. If you think this
18427 configuration is useful to you, please write to autoconf@gnu.org." >&5
18428 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18429 whose name does not start with the host triplet. If you think this
18430 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18431 ac_tool_warned=yes ;;
18436 AR="$ac_cv_prog_AR"
18439 if test "x$AR" = "x" ; then
18440 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18441 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18442 { (exit 1); exit 1; }; }
18447 if test "$wxUSE_MAC" = 1; then
18449 retest_macosx_linking=no
18451 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18452 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18453 # Implicitly turn on the new --with-macosx-sdk using the default
18454 # SDK which provides the behavior this option has always had.
18455 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18456 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18457 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18458 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18459 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18460 wxUSE_MACOSX_SDK=yes
18463 # Complain to user if he specified an argument to --enable-universal_binary
18464 # and also 1) specified --with-macosx-sdk using the default (yes) or
18465 # 2) specified --with-macosx-sdk using a path or 3) specified
18466 # --without-macosx-sdk (no).
18467 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18468 { { echo "$as_me:$LINENO: 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." >&5
18470 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18471 See \`config.log' for more details.
" >&2;}
18472 { (exit 1); exit 1; }; }
18474 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18475 # special-case the empty string because the below test simply
18476 # converts "no
" to the empty string anyway.
18477 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18478 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18479 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18482 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18483 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18484 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18485 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18486 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18487 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18488 retest_macosx_linking=yes
18490 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18491 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18495 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18497 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18498 # TODO: Search for most recent SDK and use it.
18499 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18503 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18504 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18505 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18506 if ! test -d "$wxUSE_MACOSX_SDK"; then
18507 { { echo "$as_me:$LINENO: error
: not found
18508 See \
`config.log' for more details." >&5
18509 echo "$as_me: error: not found
18510 See \`config.log
' for more details." >&2;}
18511 { (exit 1); exit 1; }; }
18513 { echo "$as_me:$LINENO: result: exists" >&5
18514 echo "${ECHO_T}exists" >&6; }
18516 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18517 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18518 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18519 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18520 retest_macosx_linking=yes
18523 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18524 wxUSE_MACOSX_VERSION_MIN=
18525 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18526 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18527 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18528 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18530 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/'`
18532 # If that failed, try again with the new key
18533 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18535 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/'`
18539 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18540 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18541 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18542 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18544 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18545 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18546 wxUSE_MACOSX_VERSION_MIN=
18549 wxUSE_MACOSX_VERSION_MIN=
18551 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18552 for ac_prog in sw_vers
18554 # Extract the first word of "$ac_prog", so it can be a program name with args.
18555 set dummy $ac_prog; ac_word=$2
18556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18558 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18559 echo $ECHO_N "(cached) $ECHO_C" >&6
18561 if test -n "$OSX_SW_VERS"; then
18562 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18565 for as_dir in $PATH
18568 test -z "$as_dir" && as_dir=.
18569 for ac_exec_ext in '' $ac_executable_extensions; do
18570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18571 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18581 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18582 if test -n "$OSX_SW_VERS"; then
18583 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18584 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18586 { echo "$as_me:$LINENO: result: no" >&5
18587 echo "${ECHO_T}no" >&6; }
18591 test -n "$OSX_SW_VERS" && break
18594 if test "$OSX_SW_VERS" != ""; then
18595 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18597 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18598 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18602 case "$OSX_VERSION" in
18604 wxUSE_MACOSX_VERSION_MIN=10.4
18608 if test "$wxUSE_OSX_CARBON" = 1; then
18609 # otherwise configure stops on leopard for universal_binary
18610 wxUSE_MACOSX_VERSION_MIN=10.4
18612 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18613 wxUSE_MACOSX_VERSION_MIN=10.5
18620 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18624 if test "$wxUSE_OSX_CARBON" = 1; then
18628 if test "x$NEEDS_GCC40" == "xyes"; then
18629 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18630 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18631 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18632 if test "x$CC" = "xgcc"; then
18633 CCVERSION=`$CC --version | grep 4.[2-9].`
18634 if test "x$CCVERSION" != "x"; then
18635 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18636 CC="/usr/bin/gcc-4.0"
18640 if test "x$CXX" = "xg++"; then
18641 CCVERSION=`$CXX --version | grep 4.[2-9].`
18642 if test "x$CCVERSION" != "x"; then
18643 CXX="/usr/bin/g++-4.0"
18648 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18649 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18650 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18651 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18652 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18653 retest_macosx_linking=yes
18656 if test "x$retest_macosx_linking" = "xyes"; then
18658 ac_cpp='$CPP $CPPFLAGS'
18659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18660 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18663 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18664 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18665 cat >conftest.$ac_ext <<_ACEOF
18668 cat confdefs.h >>conftest.$ac_ext
18669 cat >>conftest.$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18680 rm -f conftest.$ac_objext conftest$ac_exeext
18681 if { (ac_try="$ac_link"
18682 case "(($ac_try" in
18683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18684 *) ac_try_echo=$ac_try;;
18686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18687 (eval "$ac_link") 2>conftest.er1
18689 grep -v '^
*+' conftest.er1 >conftest.err
18691 cat conftest.err >&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } && {
18694 test -z "$ac_c_werror_flag" ||
18695 test ! -s conftest.err
18696 } && test -s conftest$ac_exeext &&
18697 $as_test_x conftest$ac_exeext; then
18698 { echo "$as_me:$LINENO: result: yes" >&5
18699 echo "${ECHO_T}yes" >&6; }
18701 echo "$as_me: failed program was:" >&5
18702 sed 's
/^
/| /' conftest.$ac_ext >&5
18704 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18705 See \`config.log' for more details.
" >&5
18706 echo "$as_me: error
: no. Try a different SDK
18707 See \
`config.log' for more details." >&2;}
18708 { (exit 1); exit 1; }; }; exit 1
18711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18712 conftest$ac_exeext conftest.$ac_ext
18714 ac_cpp='$CPP $CPPFLAGS'
18715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18721 ac_cpp='$CXXCPP $CPPFLAGS'
18722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18726 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18727 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18728 cat >conftest.$ac_ext <<_ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18743 rm -f conftest.$ac_objext conftest$ac_exeext
18744 if { (ac_try="$ac_link"
18745 case "(($ac_try" in
18746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18747 *) ac_try_echo
=$ac_try;;
18749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18750 (eval "$ac_link") 2>conftest.er1
18752 grep -v '^ *+' conftest.er1
>conftest.err
18754 cat conftest.err
>&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } && {
18757 test -z "$ac_cxx_werror_flag" ||
18758 test ! -s conftest.err
18759 } && test -s conftest
$ac_exeext &&
18760 $as_test_x conftest
$ac_exeext; then
18761 { echo "$as_me:$LINENO: result: yes" >&5
18762 echo "${ECHO_T}yes" >&6; }
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.
$ac_ext >&5
18767 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18768 See \`config.log' for more details." >&5
18769 echo "$as_me: error: no. Try a different SDK
18770 See \`config.log' for more details." >&2;}
18771 { (exit 1); exit 1; }; }; exit 1
18774 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18775 conftest
$ac_exeext conftest.
$ac_ext
18777 ac_cpp
='$CPP $CPPFLAGS'
18778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18788 INSTALL_PROGRAM
="cp -fp"
18789 INSTALL_DATA
="cp -fp"
18796 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18797 CXXFLAGS
="-qunique $CXXFLAGS"
18801 powerpc
-*-darwin* )
18802 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18803 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18804 cat >conftest.
$ac_ext <<_ACEOF
18807 cat confdefs.h
>>conftest.
$ac_ext
18808 cat >>conftest.
$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18814 #ifndef __POWERPC__
18815 choke me for lack of PowerPC
18822 rm -f conftest.
$ac_objext
18823 if { (ac_try
="$ac_compile"
18824 case "(($ac_try" in
18825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18826 *) ac_try_echo=$ac_try;;
18828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18829 (eval "$ac_compile") 2>conftest.er1
18831 grep -v '^ *+' conftest.er1 >conftest.err
18833 cat conftest.err >&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); } && {
18836 test -z "$ac_c_werror_flag" ||
18837 test ! -s conftest.err
18838 } && test -s conftest.$ac_objext; then
18839 { echo "$as_me:$LINENO: result: yes" >&5
18840 echo "${ECHO_T}yes" >&6; }
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.$ac_ext >&5
18845 { echo "$as_me:$LINENO: result: no" >&5
18846 echo "${ECHO_T}no" >&6; }
18847 cat >>confdefs.h <<\_ACEOF
18848 #define __POWERPC__ 1
18854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18860 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18861 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18862 cat >conftest.$ac_ext <<_ACEOF
18865 cat confdefs.h >>conftest.$ac_ext
18866 cat >>conftest.$ac_ext <<_ACEOF
18867 /* end confdefs.h. */
18868 #include <CoreFoundation/CFBase.h>
18878 rm -f conftest.$ac_objext
18879 if { (ac_try="$ac_compile"
18880 case "(($ac_try" in
18881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18882 *) ac_try_echo
=$ac_try;;
18884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18885 (eval "$ac_compile") 2>conftest.er1
18887 grep -v '^ *+' conftest.er1
>conftest.err
18889 cat conftest.err
>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } && {
18892 test -z "$ac_c_werror_flag" ||
18893 test ! -s conftest.err
18894 } && test -s conftest.
$ac_objext; then
18895 { echo "$as_me:$LINENO: result: yes" >&5
18896 echo "${ECHO_T}yes" >&6; }
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.
$ac_ext >&5
18901 { echo "$as_me:$LINENO: result: no" >&5
18902 echo "${ECHO_T}no" >&6; }
18903 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18904 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18905 cat >conftest.
$ac_ext <<_ACEOF
18908 cat confdefs.h
>>conftest.
$ac_ext
18909 cat >>conftest.
$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 #define __CF_USE_FRAMEWORK_INCLUDES__
18912 #include <CoreFoundation/CFBase.h>
18922 rm -f conftest.
$ac_objext
18923 if { (ac_try
="$ac_compile"
18924 case "(($ac_try" in
18925 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18926 *) ac_try_echo=$ac_try;;
18928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18929 (eval "$ac_compile") 2>conftest.er1
18931 grep -v '^ *+' conftest.er1 >conftest.err
18933 cat conftest.err >&5
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); } && {
18936 test -z "$ac_c_werror_flag" ||
18937 test ! -s conftest.err
18938 } && test -s conftest.$ac_objext; then
18939 { echo "$as_me:$LINENO: result: yes" >&5
18940 echo "${ECHO_T}yes" >&6; }
18941 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.$ac_ext >&5
18946 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18947 See \`config.log
' for more details." >&5
18948 echo "$as_me: error: no. CoreFoundation not available.
18949 See \`config.log' for more details.
" >&2;}
18950 { (exit 1); exit 1; }; }
18954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18964 doesnt_want_win32=0
18967 if test "$wxUSE_MSW" = 1 ; then
18970 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18971 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18972 if test "${wx_cv_nocygwin+set}" = set; then
18973 echo $ECHO_N "(cached
) $ECHO_C" >&6
18976 cat >conftest.$ac_ext <<_ACEOF
18979 cat confdefs.h >>conftest.$ac_ext
18980 cat >>conftest.$ac_ext <<_ACEOF
18981 /* end confdefs.h. */
18995 rm -f conftest.$ac_objext
18996 if { (ac_try="$ac_compile"
18997 case "(($ac_try" in
18998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18999 *) ac_try_echo=$ac_try;;
19001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19002 (eval "$ac_compile") 2>conftest.er1
19004 grep -v '^ *+' conftest.er1 >conftest.err
19006 cat conftest.err >&5
19007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19008 (exit $ac_status); } && {
19009 test -z "$ac_c_werror_flag" ||
19010 test ! -s conftest.err
19011 } && test -s conftest.$ac_objext; then
19014 echo "$as_me: failed program was
:" >&5
19015 sed 's/^/| /' conftest.$ac_ext >&5
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19025 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19026 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19028 if test "$wx_cv_nocygwin" = "yes"; then
19031 doesnt_want_win32=1
19034 if test "$wants_win32" = 1 ; then
19035 BAKEFILE_FORCE_PLATFORM=win32
19043 if test "$wxUSE_WINE" = "yes"; then
19045 LDFLAGS_GUI="-mwindows"
19048 if test "$wants_win32" = 1 ; then
19051 cat >>confdefs.h <<\_ACEOF
19052 #define __WIN32__ 1
19055 cat >>confdefs.h <<\_ACEOF
19056 #define __WIN95__ 1
19059 cat >>confdefs.h <<\_ACEOF
19060 #define __WINDOWS__ 1
19063 cat >>confdefs.h <<\_ACEOF
19064 #define __GNUWIN32__ 1
19067 cat >>confdefs.h <<\_ACEOF
19072 if test "$doesnt_want_win32" = 1 ; then
19077 if test "$USE_UNIX" = 1 ; then
19079 cat >>confdefs.h <<\_ACEOF
19086 *-pc-os2_emx | *-pc-os2-emx )
19087 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19088 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19089 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19090 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19091 echo $ECHO_N "(cached
) $ECHO_C" >&6
19093 ac_check_lib_save_LIBS=$LIBS
19094 LIBS="-lcExt $LIBS"
19095 cat >conftest.$ac_ext <<_ACEOF
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19102 /* Override any GCC internal prototype to avoid an error.
19103 Use char because int might match the return type of a GCC
19104 builtin and then its argument prototype would still apply. */
19117 rm -f conftest.$ac_objext conftest$ac_exeext
19118 if { (ac_try="$ac_link"
19119 case "(($ac_try" in
19120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19121 *) ac_try_echo=$ac_try;;
19123 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19124 (eval "$ac_link") 2>conftest.er1
19126 grep -v '^ *+' conftest.er1 >conftest.err
19128 cat conftest.err >&5
19129 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19130 (exit $ac_status); } && {
19131 test -z "$ac_c_werror_flag" ||
19132 test ! -s conftest.err
19133 } && test -s conftest$ac_exeext &&
19134 $as_test_x conftest$ac_exeext; then
19135 ac_cv_lib_cExt_drand48=yes
19137 echo "$as_me: failed program was
:" >&5
19138 sed 's/^/| /' conftest.$ac_ext >&5
19140 ac_cv_lib_cExt_drand48=no
19143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19144 conftest$ac_exeext conftest.$ac_ext
19145 LIBS=$ac_check_lib_save_LIBS
19147 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19148 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19149 if test $ac_cv_lib_cExt_drand48 = yes; then
19150 LIBS="$LIBS -lcExt"
19154 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19156 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19157 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19158 if test "${wx_cv_gccversion+set}" = set; then
19159 echo $ECHO_N "(cached
) $ECHO_C" >&6
19162 if test "$cross_compiling" = yes; then
19163 wx_cv_gccversion="EMX2
"
19166 cat >conftest.$ac_ext <<_ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19177 FILE *f=fopen("conftestval
", "w
");
19182 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19184 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19194 rm -f conftest$ac_exeext
19195 if { (ac_try="$ac_link"
19196 case "(($ac_try" in
19197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19198 *) ac_try_echo=$ac_try;;
19200 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19201 (eval "$ac_link") 2>&5
19203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19205 { (case "(($ac_try" in
19206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_try") 2>&5
19212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19213 (exit $ac_status); }; }; then
19214 wx_cv_gccversion=`cat conftestval`
19216 echo "$as_me: program exited with status
$ac_status" >&5
19217 echo "$as_me: failed program was
:" >&5
19218 sed 's/^/| /' conftest.$ac_ext >&5
19220 ( exit $ac_status )
19221 wx_cv_gccversion="EMX2
"
19223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19229 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19230 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19231 if test "$wx_cv_gccversion" = "EMX2
"; then
19232 LIBS="$LIBS -lstdcpp"
19233 LDFLAGS="$LDFLAGS -Zsysv-signals"
19235 if test "$wx_cv_gccversion" = "EMX3
"; then
19236 LIBS="$LIBS -lstdcxx -lgcc"
19237 LDFLAGS="$LDFLAGS -Zsysv-signals"
19239 LIBS="$LIBS -lstdc++"
19242 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19243 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19244 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19251 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19252 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19253 if test "${ac_cv_string_strcasecmp+set}" = set; then
19254 echo $ECHO_N "(cached
) $ECHO_C" >&6
19257 cat >conftest.$ac_ext <<_ACEOF
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19264 #include <string.h>
19270 strcasecmp("foo
", "bar
");
19276 rm -f conftest.$ac_objext conftest$ac_exeext
19277 if { (ac_try="$ac_link"
19278 case "(($ac_try" in
19279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19280 *) ac_try_echo=$ac_try;;
19282 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19283 (eval "$ac_link") 2>conftest.er1
19285 grep -v '^ *+' conftest.er1 >conftest.err
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19289 (exit $ac_status); } && {
19290 test -z "$ac_c_werror_flag" ||
19291 test ! -s conftest.err
19292 } && test -s conftest$ac_exeext &&
19293 $as_test_x conftest$ac_exeext; then
19294 ac_cv_string_strcasecmp=yes
19296 echo "$as_me: failed program was
:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19299 ac_cv_string_strcasecmp=no
19303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19304 conftest$ac_exeext conftest.$ac_ext
19307 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19308 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19310 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19311 cat >>confdefs.h <<\_ACEOF
19312 #define HAVE_STRCASECMP_IN_STRING_H 1
19316 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19317 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19318 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19319 echo $ECHO_N "(cached
) $ECHO_C" >&6
19322 cat >conftest.$ac_ext <<_ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19329 #include <strings.h>
19335 strcasecmp("foo
", "bar
");
19341 rm -f conftest.$ac_objext conftest$ac_exeext
19342 if { (ac_try="$ac_link"
19343 case "(($ac_try" in
19344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19345 *) ac_try_echo=$ac_try;;
19347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19348 (eval "$ac_link") 2>conftest.er1
19350 grep -v '^ *+' conftest.er1 >conftest.err
19352 cat conftest.err >&5
19353 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19354 (exit $ac_status); } && {
19355 test -z "$ac_c_werror_flag" ||
19356 test ! -s conftest.err
19357 } && test -s conftest$ac_exeext &&
19358 $as_test_x conftest$ac_exeext; then
19359 ac_cv_strings_strcasecmp=yes
19361 echo "$as_me: failed program was
:" >&5
19362 sed 's/^/| /' conftest.$ac_ext >&5
19364 ac_cv_strings_strcasecmp=no
19368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19369 conftest$ac_exeext conftest.$ac_ext
19372 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19373 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19375 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19376 cat >>confdefs.h <<\_ACEOF
19377 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19381 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19382 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19383 { (exit 1); exit 1; }; }
19391 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19392 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19393 if test "${ac_cv_header_stdc+set}" = set; then
19394 echo $ECHO_N "(cached
) $ECHO_C" >&6
19396 cat >conftest.$ac_ext <<_ACEOF
19399 cat confdefs.h >>conftest.$ac_ext
19400 cat >>conftest.$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19402 #include <stdlib.h>
19403 #include <stdarg.h>
19404 #include <string.h>
19415 rm -f conftest.$ac_objext
19416 if { (ac_try="$ac_compile"
19417 case "(($ac_try" in
19418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19419 *) ac_try_echo=$ac_try;;
19421 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_compile") 2>conftest.er1
19424 grep -v '^ *+' conftest.er1 >conftest.err
19426 cat conftest.err >&5
19427 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19428 (exit $ac_status); } && {
19429 test -z "$ac_c_werror_flag" ||
19430 test ! -s conftest.err
19431 } && test -s conftest.$ac_objext; then
19432 ac_cv_header_stdc=yes
19434 echo "$as_me: failed program was
:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19437 ac_cv_header_stdc=no
19440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19442 if test $ac_cv_header_stdc = yes; then
19443 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19444 cat >conftest.$ac_ext <<_ACEOF
19447 cat confdefs.h >>conftest.$ac_ext
19448 cat >>conftest.$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19450 #include <string.h>
19453 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19454 $EGREP "memchr
" >/dev/null 2>&1; then
19457 ac_cv_header_stdc=no
19463 if test $ac_cv_header_stdc = yes; then
19464 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19465 cat >conftest.$ac_ext <<_ACEOF
19468 cat confdefs.h >>conftest.$ac_ext
19469 cat >>conftest.$ac_ext <<_ACEOF
19470 /* end confdefs.h. */
19471 #include <stdlib.h>
19474 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19475 $EGREP "free
" >/dev/null 2>&1; then
19478 ac_cv_header_stdc=no
19484 if test $ac_cv_header_stdc = yes; then
19485 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19486 if test "$cross_compiling" = yes; then
19489 cat >conftest.$ac_ext <<_ACEOF
19492 cat confdefs.h >>conftest.$ac_ext
19493 cat >>conftest.$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19496 #include <stdlib.h>
19497 #if ((' ' & 0x0FF) == 0x020)
19498 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19499 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19501 # define ISLOWER(c) \
19502 (('a' <= (c) && (c) <= 'i') \
19503 || ('j' <= (c) && (c) <= 'r') \
19504 || ('s' <= (c) && (c) <= 'z'))
19505 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19508 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19513 for (i = 0; i < 256; i++)
19514 if (XOR (islower (i), ISLOWER (i))
19515 || toupper (i) != TOUPPER (i))
19520 rm -f conftest$ac_exeext
19521 if { (ac_try="$ac_link"
19522 case "(($ac_try" in
19523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19524 *) ac_try_echo=$ac_try;;
19526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_link") 2>&5
19529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19531 { (case "(($ac_try" in
19532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19533 *) ac_try_echo=$ac_try;;
19535 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19536 (eval "$ac_try") 2>&5
19538 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19539 (exit $ac_status); }; }; then
19542 echo "$as_me: program exited with status
$ac_status" >&5
19543 echo "$as_me: failed program was
:" >&5
19544 sed 's/^/| /' conftest.$ac_ext >&5
19546 ( exit $ac_status )
19547 ac_cv_header_stdc=no
19549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19555 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19556 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19557 if test $ac_cv_header_stdc = yes; then
19559 cat >>confdefs.h <<\_ACEOF
19560 #define STDC_HEADERS 1
19565 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19575 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19576 inttypes.h stdint.h unistd.h
19578 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19579 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19580 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19581 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19582 echo $ECHO_N "(cached
) $ECHO_C" >&6
19584 cat >conftest.$ac_ext <<_ACEOF
19587 cat confdefs.h >>conftest.$ac_ext
19588 cat >>conftest.$ac_ext <<_ACEOF
19589 /* end confdefs.h. */
19590 $ac_includes_default
19592 #include <$ac_header>
19594 rm -f conftest.$ac_objext
19595 if { (ac_try="$ac_compile"
19596 case "(($ac_try" in
19597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19598 *) ac_try_echo=$ac_try;;
19600 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19601 (eval "$ac_compile") 2>conftest.er1
19603 grep -v '^ *+' conftest.er1 >conftest.err
19605 cat conftest.err >&5
19606 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19607 (exit $ac_status); } && {
19608 test -z "$ac_c_werror_flag" ||
19609 test ! -s conftest.err
19610 } && test -s conftest.$ac_objext; then
19611 eval "$as_ac_Header=yes"
19613 echo "$as_me: failed program was
:" >&5
19614 sed 's/^/| /' conftest.$ac_ext >&5
19616 eval "$as_ac_Header=no
"
19619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19621 ac_res=`eval echo '${'$as_ac_Header'}'`
19622 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19623 echo "${ECHO_T}$ac_res" >&6; }
19624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19625 cat >>confdefs.h <<_ACEOF
19626 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19636 for ac_header in langinfo.h wchar.h
19638 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19639 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19640 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19641 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19642 echo $ECHO_N "(cached
) $ECHO_C" >&6
19644 cat >conftest.$ac_ext <<_ACEOF
19647 cat confdefs.h >>conftest.$ac_ext
19648 cat >>conftest.$ac_ext <<_ACEOF
19649 /* end confdefs.h. */
19650 $ac_includes_default
19652 #include <$ac_header>
19654 rm -f conftest.$ac_objext
19655 if { (ac_try="$ac_compile"
19656 case "(($ac_try" in
19657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19658 *) ac_try_echo=$ac_try;;
19660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19661 (eval "$ac_compile") 2>conftest.er1
19663 grep -v '^ *+' conftest.er1 >conftest.err
19665 cat conftest.err >&5
19666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19667 (exit $ac_status); } && {
19668 test -z "$ac_c_werror_flag" ||
19669 test ! -s conftest.err
19670 } && test -s conftest.$ac_objext; then
19671 eval "$as_ac_Header=yes"
19673 echo "$as_me: failed program was
:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19676 eval "$as_ac_Header=no
"
19679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19681 ac_res=`eval echo '${'$as_ac_Header'}'`
19682 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19683 echo "${ECHO_T}$ac_res" >&6; }
19684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19685 cat >>confdefs.h <<_ACEOF
19686 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19694 if test "$ac_cv_header_wchar_h" != "yes"; then
19696 for ac_header in wcstr.h
19698 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19699 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19700 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19701 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19702 echo $ECHO_N "(cached
) $ECHO_C" >&6
19704 cat >conftest.$ac_ext <<_ACEOF
19707 cat confdefs.h >>conftest.$ac_ext
19708 cat >>conftest.$ac_ext <<_ACEOF
19709 /* end confdefs.h. */
19710 $ac_includes_default
19712 #include <$ac_header>
19714 rm -f conftest.$ac_objext
19715 if { (ac_try="$ac_compile"
19716 case "(($ac_try" in
19717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19718 *) ac_try_echo=$ac_try;;
19720 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19721 (eval "$ac_compile") 2>conftest.er1
19723 grep -v '^ *+' conftest.er1 >conftest.err
19725 cat conftest.err >&5
19726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19727 (exit $ac_status); } && {
19728 test -z "$ac_c_werror_flag" ||
19729 test ! -s conftest.err
19730 } && test -s conftest.$ac_objext; then
19731 eval "$as_ac_Header=yes"
19733 echo "$as_me: failed program was
:" >&5
19734 sed 's/^/| /' conftest.$ac_ext >&5
19736 eval "$as_ac_Header=no
"
19739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19741 ac_res=`eval echo '${'$as_ac_Header'}'`
19742 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19743 echo "${ECHO_T}$ac_res" >&6; }
19744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19745 cat >>confdefs.h <<_ACEOF
19746 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19756 *-pc-os2_emx | *-pc-os2-emx )
19757 if test $ac_cv_header_langinfo_h = "yes" \
19758 -a \( "$wx_cv_gccversion" = "EMX2
" \
19759 -o "$wx_cv_gccversion" = "EMX3
" \
19760 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19761 LIBS="$LIBS -lintl"
19766 if test "$USE_UNIX" = 1 ; then
19768 for ac_header in sys/select.h
19770 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19771 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19772 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19773 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19774 echo $ECHO_N "(cached
) $ECHO_C" >&6
19776 cat >conftest.$ac_ext <<_ACEOF
19779 cat confdefs.h >>conftest.$ac_ext
19780 cat >>conftest.$ac_ext <<_ACEOF
19781 /* end confdefs.h. */
19782 $ac_includes_default
19784 #include <$ac_header>
19786 rm -f conftest.$ac_objext
19787 if { (ac_try="$ac_compile"
19788 case "(($ac_try" in
19789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19790 *) ac_try_echo=$ac_try;;
19792 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19795 grep -v '^ *+' conftest.er1 >conftest.err
19797 cat conftest.err >&5
19798 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_c_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.$ac_objext; then
19803 eval "$as_ac_Header=yes"
19805 echo "$as_me: failed program was
:" >&5
19806 sed 's/^/| /' conftest.$ac_ext >&5
19808 eval "$as_ac_Header=no
"
19811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19813 ac_res=`eval echo '${'$as_ac_Header'}'`
19814 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19815 echo "${ECHO_T}$ac_res" >&6; }
19816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19817 cat >>confdefs.h <<_ACEOF
19818 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19828 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19829 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19830 if test "${ac_cv_c_const+set}" = set; then
19831 echo $ECHO_N "(cached
) $ECHO_C" >&6
19833 cat >conftest.$ac_ext <<_ACEOF
19836 cat confdefs.h >>conftest.$ac_ext
19837 cat >>conftest.$ac_ext <<_ACEOF
19838 /* end confdefs.h. */
19843 /* FIXME: Include the comments suggested by Paul. */
19844 #ifndef __cplusplus
19845 /* Ultrix mips cc rejects this. */
19846 typedef int charset[2];
19848 /* SunOS 4.1.1 cc rejects this. */
19849 char const *const *pcpcc;
19851 /* NEC SVR4.0.2 mips cc rejects this. */
19852 struct point {int x, y;};
19853 static struct point const zero = {0,0};
19854 /* AIX XL C 1.02.0.0 rejects this.
19855 It does not let you subtract one const X* pointer from another in
19856 an arm of an if-expression whose if-part is not a constant
19858 const char *g = "string
";
19859 pcpcc = &g + (g ? g-g : 0);
19860 /* HPUX 7.0 cc rejects these. */
19862 ppc = (char**) pcpcc;
19863 pcpcc = (char const *const *) ppc;
19864 { /* SCO 3.2v4 cc rejects this. */
19866 char const *s = 0 ? (char *) 0 : (char const *) 0;
19871 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19872 int x[] = {25, 17};
19873 const int *foo = &x[0];
19876 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19877 typedef const int *iptr;
19881 { /* AIX XL C 1.02.0.0 rejects this saying
19882 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19883 struct s { int j; const int *ap[3]; };
19884 struct s *b; b->j = 5;
19886 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19887 const int foo = 10;
19888 if (!foo) return 0;
19890 return !cs[0] && !zero.x;
19897 rm -f conftest.$ac_objext
19898 if { (ac_try="$ac_compile"
19899 case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19903 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_compile") 2>conftest.er1
19906 grep -v '^ *+' conftest.er1 >conftest.err
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19910 (exit $ac_status); } && {
19911 test -z "$ac_c_werror_flag" ||
19912 test ! -s conftest.err
19913 } && test -s conftest.$ac_objext; then
19916 echo "$as_me: failed program was
:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19924 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19925 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19926 if test $ac_cv_c_const = no; then
19928 cat >>confdefs.h <<\_ACEOF
19934 { echo "$as_me:$LINENO: checking
for inline
" >&5
19935 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19936 if test "${ac_cv_c_inline+set}" = set; then
19937 echo $ECHO_N "(cached
) $ECHO_C" >&6
19940 for ac_kw in inline __inline__ __inline; do
19941 cat >conftest.$ac_ext <<_ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 #ifndef __cplusplus
19949 static $ac_kw foo_t static_foo () {return 0; }
19950 $ac_kw foo_t foo () {return 0; }
19954 rm -f conftest.$ac_objext
19955 if { (ac_try="$ac_compile"
19956 case "(($ac_try" in
19957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19958 *) ac_try_echo=$ac_try;;
19960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19961 (eval "$ac_compile") 2>conftest.er1
19963 grep -v '^ *+' conftest.er1 >conftest.err
19965 cat conftest.err >&5
19966 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19967 (exit $ac_status); } && {
19968 test -z "$ac_c_werror_flag" ||
19969 test ! -s conftest.err
19970 } && test -s conftest.$ac_objext; then
19971 ac_cv_c_inline=$ac_kw
19973 echo "$as_me: failed program was
:" >&5
19974 sed 's/^/| /' conftest.$ac_ext >&5
19979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19980 test "$ac_cv_c_inline" != no && break
19984 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19985 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19988 case $ac_cv_c_inline in
19991 case $ac_cv_c_inline in
19993 *) ac_val=$ac_cv_c_inline;;
19995 cat >>confdefs.h <<_ACEOF
19996 #ifndef __cplusplus
19997 #define inline $ac_val
20004 { echo "$as_me:$LINENO: checking
for short
" >&5
20005 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20006 if test "${ac_cv_type_short+set}" = set; then
20007 echo $ECHO_N "(cached
) $ECHO_C" >&6
20009 cat >conftest.$ac_ext <<_ACEOF
20012 cat confdefs.h >>conftest.$ac_ext
20013 cat >>conftest.$ac_ext <<_ACEOF
20014 /* end confdefs.h. */
20015 $ac_includes_default
20016 typedef short ac__type_new_;
20020 if ((ac__type_new_ *) 0)
20022 if (sizeof (ac__type_new_))
20028 rm -f conftest.$ac_objext
20029 if { (ac_try="$ac_compile"
20030 case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20034 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_compile") 2>conftest.er1
20037 grep -v '^ *+' conftest.er1 >conftest.err
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20041 (exit $ac_status); } && {
20042 test -z "$ac_c_werror_flag" ||
20043 test ! -s conftest.err
20044 } && test -s conftest.$ac_objext; then
20045 ac_cv_type_short=yes
20047 echo "$as_me: failed program was
:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20050 ac_cv_type_short=no
20053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20055 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20056 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20058 # The cast to long int works around a bug in the HP C Compiler
20059 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20060 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20061 # This bug is HP SR number 8606223364.
20062 { echo "$as_me:$LINENO: checking size of short
" >&5
20063 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20064 if test "${ac_cv_sizeof_short+set}" = set; then
20065 echo $ECHO_N "(cached
) $ECHO_C" >&6
20067 if test "$cross_compiling" = yes; then
20068 # Depending upon the size, compute the lo and hi bounds.
20069 cat >conftest.$ac_ext <<_ACEOF
20072 cat confdefs.h >>conftest.$ac_ext
20073 cat >>conftest.$ac_ext <<_ACEOF
20074 /* end confdefs.h. */
20075 $ac_includes_default
20076 typedef short ac__type_sizeof_;
20080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20087 rm -f conftest.$ac_objext
20088 if { (ac_try="$ac_compile"
20089 case "(($ac_try" in
20090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20091 *) ac_try_echo=$ac_try;;
20093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20094 (eval "$ac_compile") 2>conftest.er1
20096 grep -v '^ *+' conftest.er1 >conftest.err
20098 cat conftest.err >&5
20099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20100 (exit $ac_status); } && {
20101 test -z "$ac_c_werror_flag" ||
20102 test ! -s conftest.err
20103 } && test -s conftest.$ac_objext; then
20106 cat >conftest.$ac_ext <<_ACEOF
20109 cat confdefs.h >>conftest.$ac_ext
20110 cat >>conftest.$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20112 $ac_includes_default
20113 typedef short ac__type_sizeof_;
20117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20124 rm -f conftest.$ac_objext
20125 if { (ac_try="$ac_compile"
20126 case "(($ac_try" in
20127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;;
20130 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_compile") 2>conftest.er1
20133 grep -v '^ *+' conftest.er1 >conftest.err
20135 cat conftest.err >&5
20136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20137 (exit $ac_status); } && {
20138 test -z "$ac_c_werror_flag" ||
20139 test ! -s conftest.err
20140 } && test -s conftest.$ac_objext; then
20141 ac_hi=$ac_mid; break
20143 echo "$as_me: failed program was
:" >&5
20144 sed 's/^/| /' conftest.$ac_ext >&5
20146 ac_lo=`expr $ac_mid + 1`
20147 if test $ac_lo -le $ac_mid; then
20151 ac_mid=`expr 2 '*' $ac_mid + 1`
20154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20157 echo "$as_me: failed program was
:" >&5
20158 sed 's/^/| /' conftest.$ac_ext >&5
20160 cat >conftest.$ac_ext <<_ACEOF
20163 cat confdefs.h >>conftest.$ac_ext
20164 cat >>conftest.$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20166 $ac_includes_default
20167 typedef short ac__type_sizeof_;
20171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20178 rm -f conftest.$ac_objext
20179 if { (ac_try="$ac_compile"
20180 case "(($ac_try" in
20181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182 *) ac_try_echo=$ac_try;;
20184 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20185 (eval "$ac_compile") 2>conftest.er1
20187 grep -v '^ *+' conftest.er1 >conftest.err
20189 cat conftest.err >&5
20190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20191 (exit $ac_status); } && {
20192 test -z "$ac_c_werror_flag" ||
20193 test ! -s conftest.err
20194 } && test -s conftest.$ac_objext; then
20197 cat >conftest.$ac_ext <<_ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20203 $ac_includes_default
20204 typedef short ac__type_sizeof_;
20208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20215 rm -f conftest.$ac_objext
20216 if { (ac_try="$ac_compile"
20217 case "(($ac_try" in
20218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20219 *) ac_try_echo=$ac_try;;
20221 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20222 (eval "$ac_compile") 2>conftest.er1
20224 grep -v '^ *+' conftest.er1 >conftest.err
20226 cat conftest.err >&5
20227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20228 (exit $ac_status); } && {
20229 test -z "$ac_c_werror_flag" ||
20230 test ! -s conftest.err
20231 } && test -s conftest.$ac_objext; then
20232 ac_lo=$ac_mid; break
20234 echo "$as_me: failed program was
:" >&5
20235 sed 's/^/| /' conftest.$ac_ext >&5
20237 ac_hi=`expr '(' $ac_mid ')' - 1`
20238 if test $ac_mid -le $ac_hi; then
20242 ac_mid=`expr 2 '*' $ac_mid`
20245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248 echo "$as_me: failed program was
:" >&5
20249 sed 's/^/| /' conftest.$ac_ext >&5
20254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20258 # Binary search between lo and hi bounds.
20259 while test "x
$ac_lo" != "x
$ac_hi"; do
20260 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20261 cat >conftest.$ac_ext <<_ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 $ac_includes_default
20268 typedef short ac__type_sizeof_;
20272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20279 rm -f conftest.$ac_objext
20280 if { (ac_try="$ac_compile"
20281 case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_compile") 2>conftest.er1
20288 grep -v '^ *+' conftest.er1 >conftest.err
20290 cat conftest.err >&5
20291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20292 (exit $ac_status); } && {
20293 test -z "$ac_c_werror_flag" ||
20294 test ! -s conftest.err
20295 } && test -s conftest.$ac_objext; then
20298 echo "$as_me: failed program was
:" >&5
20299 sed 's/^/| /' conftest.$ac_ext >&5
20301 ac_lo=`expr '(' $ac_mid ')' + 1`
20304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20307 ?*) ac_cv_sizeof_short=$ac_lo;;
20308 '') if test "$ac_cv_type_short" = yes; then
20309 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20310 See \
`config.log' for more details." >&5
20311 echo "$as_me: error: cannot compute sizeof (short)
20312 See \`config.log
' for more details." >&2;}
20313 { (exit 77); exit 77; }; }
20315 ac_cv_sizeof_short=0
20319 cat >conftest.$ac_ext <<_ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 $ac_includes_default
20326 typedef short ac__type_sizeof_;
20327 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20328 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20330 #include <stdlib.h>
20335 FILE *f = fopen ("conftest.val", "w");
20338 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20340 long int i = longval ();
20341 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20343 fprintf (f, "%ld\n", i);
20347 unsigned long int i = ulongval ();
20348 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20350 fprintf (f, "%lu\n", i);
20352 return ferror (f) || fclose (f) != 0;
20358 rm -f conftest$ac_exeext
20359 if { (ac_try="$ac_link"
20360 case "(($ac_try" in
20361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20362 *) ac_try_echo=$ac_try;;
20364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20365 (eval "$ac_link") 2>&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20369 { (case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_try") 2>&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); }; }; then
20378 ac_cv_sizeof_short=`cat conftest.val`
20380 echo "$as_me: program exited with status $ac_status" >&5
20381 echo "$as_me: failed program was:" >&5
20382 sed 's
/^
/| /' conftest.$ac_ext >&5
20384 ( exit $ac_status )
20385 if test "$ac_cv_type_short" = yes; then
20386 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20387 See \`config.log' for more details.
" >&5
20388 echo "$as_me: error
: cannot compute sizeof
(short
)
20389 See \
`config.log' for more details." >&2;}
20390 { (exit 77); exit 77; }; }
20392 ac_cv_sizeof_short=0
20395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20399 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20400 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20404 cat >>confdefs.h <<_ACEOF
20405 #define SIZEOF_SHORT $ac_cv_sizeof_short
20409 { echo "$as_me:$LINENO: checking for void *" >&5
20410 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20411 if test "${ac_cv_type_void_p+set}" = set; then
20412 echo $ECHO_N "(cached) $ECHO_C" >&6
20414 cat >conftest.$ac_ext <<_ACEOF
20417 cat confdefs.h >>conftest.$ac_ext
20418 cat >>conftest.$ac_ext <<_ACEOF
20419 /* end confdefs.h. */
20420 $ac_includes_default
20421 typedef void * ac__type_new_;
20425 if ((ac__type_new_ *) 0)
20427 if (sizeof (ac__type_new_))
20433 rm -f conftest.$ac_objext
20434 if { (ac_try="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20437 *) ac_try_echo
=$ac_try;;
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20442 grep -v '^ *+' conftest.er1
>conftest.err
20444 cat conftest.err
>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.
$ac_objext; then
20450 ac_cv_type_void_p
=yes
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.
$ac_ext >&5
20455 ac_cv_type_void_p
=no
20458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20460 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20461 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20463 # The cast to long int works around a bug in the HP C Compiler
20464 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20465 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20466 # This bug is HP SR number 8606223364.
20467 { echo "$as_me:$LINENO: checking size of void *" >&5
20468 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20469 if test "${ac_cv_sizeof_void_p+set}" = set; then
20470 echo $ECHO_N "(cached) $ECHO_C" >&6
20472 if test "$cross_compiling" = yes; then
20473 # Depending upon the size, compute the lo and hi bounds.
20474 cat >conftest.
$ac_ext <<_ACEOF
20477 cat confdefs.h
>>conftest.
$ac_ext
20478 cat >>conftest.
$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480 $ac_includes_default
20481 typedef void * ac__type_sizeof_;
20485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20492 rm -f conftest.
$ac_objext
20493 if { (ac_try
="$ac_compile"
20494 case "(($ac_try" in
20495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20496 *) ac_try_echo=$ac_try;;
20498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20499 (eval "$ac_compile") 2>conftest.er1
20501 grep -v '^ *+' conftest.er1 >conftest.err
20503 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } && {
20506 test -z "$ac_c_werror_flag" ||
20507 test ! -s conftest.err
20508 } && test -s conftest.$ac_objext; then
20511 cat >conftest.$ac_ext <<_ACEOF
20514 cat confdefs.h >>conftest.$ac_ext
20515 cat >>conftest.$ac_ext <<_ACEOF
20516 /* end confdefs.h. */
20517 $ac_includes_default
20518 typedef void * ac__type_sizeof_;
20522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20529 rm -f conftest.$ac_objext
20530 if { (ac_try="$ac_compile"
20531 case "(($ac_try" in
20532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20533 *) ac_try_echo
=$ac_try;;
20535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20536 (eval "$ac_compile") 2>conftest.er1
20538 grep -v '^ *+' conftest.er1
>conftest.err
20540 cat conftest.err
>&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); } && {
20543 test -z "$ac_c_werror_flag" ||
20544 test ! -s conftest.err
20545 } && test -s conftest.
$ac_objext; then
20546 ac_hi
=$ac_mid; break
20548 echo "$as_me: failed program was:" >&5
20549 sed 's/^/| /' conftest.
$ac_ext >&5
20551 ac_lo
=`expr $ac_mid + 1`
20552 if test $ac_lo -le $ac_mid; then
20556 ac_mid
=`expr 2 '*' $ac_mid + 1`
20559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20562 echo "$as_me: failed program was:" >&5
20563 sed 's/^/| /' conftest.
$ac_ext >&5
20565 cat >conftest.
$ac_ext <<_ACEOF
20568 cat confdefs.h
>>conftest.
$ac_ext
20569 cat >>conftest.
$ac_ext <<_ACEOF
20570 /* end confdefs.h. */
20571 $ac_includes_default
20572 typedef void * ac__type_sizeof_;
20576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20583 rm -f conftest.
$ac_objext
20584 if { (ac_try
="$ac_compile"
20585 case "(($ac_try" in
20586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20587 *) ac_try_echo=$ac_try;;
20589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20590 (eval "$ac_compile") 2>conftest.er1
20592 grep -v '^ *+' conftest.er1 >conftest.err
20594 cat conftest.err >&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } && {
20597 test -z "$ac_c_werror_flag" ||
20598 test ! -s conftest.err
20599 } && test -s conftest.$ac_objext; then
20602 cat >conftest.$ac_ext <<_ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608 $ac_includes_default
20609 typedef void * ac__type_sizeof_;
20613 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20620 rm -f conftest.$ac_objext
20621 if { (ac_try="$ac_compile"
20622 case "(($ac_try" in
20623 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20624 *) ac_try_echo
=$ac_try;;
20626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20627 (eval "$ac_compile") 2>conftest.er1
20629 grep -v '^ *+' conftest.er1
>conftest.err
20631 cat conftest.err
>&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } && {
20634 test -z "$ac_c_werror_flag" ||
20635 test ! -s conftest.err
20636 } && test -s conftest.
$ac_objext; then
20637 ac_lo
=$ac_mid; break
20639 echo "$as_me: failed program was:" >&5
20640 sed 's/^/| /' conftest.
$ac_ext >&5
20642 ac_hi
=`expr '(' $ac_mid ')' - 1`
20643 if test $ac_mid -le $ac_hi; then
20647 ac_mid
=`expr 2 '*' $ac_mid`
20650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20653 echo "$as_me: failed program was:" >&5
20654 sed 's/^/| /' conftest.
$ac_ext >&5
20659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20663 # Binary search between lo and hi bounds.
20664 while test "x$ac_lo" != "x$ac_hi"; do
20665 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20666 cat >conftest.
$ac_ext <<_ACEOF
20669 cat confdefs.h
>>conftest.
$ac_ext
20670 cat >>conftest.
$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20672 $ac_includes_default
20673 typedef void * ac__type_sizeof_;
20677 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20684 rm -f conftest.
$ac_objext
20685 if { (ac_try
="$ac_compile"
20686 case "(($ac_try" in
20687 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20688 *) ac_try_echo=$ac_try;;
20690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20691 (eval "$ac_compile") 2>conftest.er1
20693 grep -v '^ *+' conftest.er1 >conftest.err
20695 cat conftest.err >&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } && {
20698 test -z "$ac_c_werror_flag" ||
20699 test ! -s conftest.err
20700 } && test -s conftest.$ac_objext; then
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.$ac_ext >&5
20706 ac_lo=`expr '(' $ac_mid ')' + 1`
20709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20712 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20713 '') if test "$ac_cv_type_void_p" = yes; then
20714 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20715 See \`config.log
' for more details." >&5
20716 echo "$as_me: error: cannot compute sizeof (void *)
20717 See \`config.log' for more details.
" >&2;}
20718 { (exit 77); exit 77; }; }
20720 ac_cv_sizeof_void_p=0
20724 cat >conftest.$ac_ext <<_ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 $ac_includes_default
20731 typedef void * ac__type_sizeof_;
20732 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20733 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20735 #include <stdlib.h>
20740 FILE *f = fopen ("conftest.val
", "w
");
20743 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20745 long int i = longval ();
20746 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20748 fprintf (f, "%ld
\n", i);
20752 unsigned long int i = ulongval ();
20753 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20755 fprintf (f, "%lu
\n", i);
20757 return ferror (f) || fclose (f) != 0;
20763 rm -f conftest$ac_exeext
20764 if { (ac_try="$ac_link"
20765 case "(($ac_try" in
20766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20767 *) ac_try_echo=$ac_try;;
20769 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20770 (eval "$ac_link") 2>&5
20772 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20773 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20774 { (case "(($ac_try" in
20775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20776 *) ac_try_echo=$ac_try;;
20778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20779 (eval "$ac_try") 2>&5
20781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20782 (exit $ac_status); }; }; then
20783 ac_cv_sizeof_void_p=`cat conftest.val`
20785 echo "$as_me: program exited with status
$ac_status" >&5
20786 echo "$as_me: failed program was
:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20789 ( exit $ac_status )
20790 if test "$ac_cv_type_void_p" = yes; then
20791 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20792 See \
`config.log' for more details." >&5
20793 echo "$as_me: error: cannot compute sizeof (void *)
20794 See \`config.log
' for more details." >&2;}
20795 { (exit 77); exit 77; }; }
20797 ac_cv_sizeof_void_p=0
20800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20804 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20805 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20809 cat >>confdefs.h <<_ACEOF
20810 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20814 { echo "$as_me:$LINENO: checking for int" >&5
20815 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20816 if test "${ac_cv_type_int+set}" = set; then
20817 echo $ECHO_N "(cached) $ECHO_C" >&6
20819 cat >conftest.$ac_ext <<_ACEOF
20822 cat confdefs.h >>conftest.$ac_ext
20823 cat >>conftest.$ac_ext <<_ACEOF
20824 /* end confdefs.h. */
20825 $ac_includes_default
20826 typedef int ac__type_new_;
20830 if ((ac__type_new_ *) 0)
20832 if (sizeof (ac__type_new_))
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20847 grep -v '^
*+' conftest.er1 >conftest.err
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.$ac_objext; then
20857 echo "$as_me: failed program was:" >&5
20858 sed 's
/^
/| /' conftest.$ac_ext >&5
20863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20865 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20866 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20868 # The cast to long int works around a bug in the HP C Compiler
20869 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20870 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20871 # This bug is HP SR number 8606223364.
20872 { echo "$as_me:$LINENO: checking size of int" >&5
20873 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20874 if test "${ac_cv_sizeof_int+set}" = set; then
20875 echo $ECHO_N "(cached) $ECHO_C" >&6
20877 if test "$cross_compiling" = yes; then
20878 # Depending upon the size, compute the lo and hi bounds.
20879 cat >conftest.
$ac_ext <<_ACEOF
20882 cat confdefs.h
>>conftest.
$ac_ext
20883 cat >>conftest.
$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20885 $ac_includes_default
20886 typedef int ac__type_sizeof_;
20890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20897 rm -f conftest.
$ac_objext
20898 if { (ac_try
="$ac_compile"
20899 case "(($ac_try" in
20900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20901 *) ac_try_echo=$ac_try;;
20903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20904 (eval "$ac_compile") 2>conftest.er1
20906 grep -v '^ *+' conftest.er1 >conftest.err
20908 cat conftest.err >&5
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); } && {
20911 test -z "$ac_c_werror_flag" ||
20912 test ! -s conftest.err
20913 } && test -s conftest.$ac_objext; then
20916 cat >conftest.$ac_ext <<_ACEOF
20919 cat confdefs.h >>conftest.$ac_ext
20920 cat >>conftest.$ac_ext <<_ACEOF
20921 /* end confdefs.h. */
20922 $ac_includes_default
20923 typedef int ac__type_sizeof_;
20927 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20934 rm -f conftest.$ac_objext
20935 if { (ac_try="$ac_compile"
20936 case "(($ac_try" in
20937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20938 *) ac_try_echo
=$ac_try;;
20940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20941 (eval "$ac_compile") 2>conftest.er1
20943 grep -v '^ *+' conftest.er1
>conftest.err
20945 cat conftest.err
>&5
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); } && {
20948 test -z "$ac_c_werror_flag" ||
20949 test ! -s conftest.err
20950 } && test -s conftest.
$ac_objext; then
20951 ac_hi
=$ac_mid; break
20953 echo "$as_me: failed program was:" >&5
20954 sed 's/^/| /' conftest.
$ac_ext >&5
20956 ac_lo
=`expr $ac_mid + 1`
20957 if test $ac_lo -le $ac_mid; then
20961 ac_mid
=`expr 2 '*' $ac_mid + 1`
20964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20967 echo "$as_me: failed program was:" >&5
20968 sed 's/^/| /' conftest.
$ac_ext >&5
20970 cat >conftest.
$ac_ext <<_ACEOF
20973 cat confdefs.h
>>conftest.
$ac_ext
20974 cat >>conftest.
$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 $ac_includes_default
20977 typedef int ac__type_sizeof_;
20981 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20988 rm -f conftest.
$ac_objext
20989 if { (ac_try
="$ac_compile"
20990 case "(($ac_try" in
20991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20992 *) ac_try_echo=$ac_try;;
20994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20995 (eval "$ac_compile") 2>conftest.er1
20997 grep -v '^ *+' conftest.er1 >conftest.err
20999 cat conftest.err >&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); } && {
21002 test -z "$ac_c_werror_flag" ||
21003 test ! -s conftest.err
21004 } && test -s conftest.$ac_objext; then
21007 cat >conftest.$ac_ext <<_ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 $ac_includes_default
21014 typedef int ac__type_sizeof_;
21018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21025 rm -f conftest.$ac_objext
21026 if { (ac_try="$ac_compile"
21027 case "(($ac_try" in
21028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21029 *) ac_try_echo
=$ac_try;;
21031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21032 (eval "$ac_compile") 2>conftest.er1
21034 grep -v '^ *+' conftest.er1
>conftest.err
21036 cat conftest.err
>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); } && {
21039 test -z "$ac_c_werror_flag" ||
21040 test ! -s conftest.err
21041 } && test -s conftest.
$ac_objext; then
21042 ac_lo
=$ac_mid; break
21044 echo "$as_me: failed program was:" >&5
21045 sed 's/^/| /' conftest.
$ac_ext >&5
21047 ac_hi
=`expr '(' $ac_mid ')' - 1`
21048 if test $ac_mid -le $ac_hi; then
21052 ac_mid
=`expr 2 '*' $ac_mid`
21055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.
$ac_ext >&5
21064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21068 # Binary search between lo and hi bounds.
21069 while test "x$ac_lo" != "x$ac_hi"; do
21070 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21071 cat >conftest.
$ac_ext <<_ACEOF
21074 cat confdefs.h
>>conftest.
$ac_ext
21075 cat >>conftest.
$ac_ext <<_ACEOF
21076 /* end confdefs.h. */
21077 $ac_includes_default
21078 typedef int ac__type_sizeof_;
21082 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21089 rm -f conftest.
$ac_objext
21090 if { (ac_try
="$ac_compile"
21091 case "(($ac_try" in
21092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_compile") 2>conftest.er1
21098 grep -v '^ *+' conftest.er1 >conftest.err
21100 cat conftest.err >&5
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); } && {
21103 test -z "$ac_c_werror_flag" ||
21104 test ! -s conftest.err
21105 } && test -s conftest.$ac_objext; then
21108 echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.$ac_ext >&5
21111 ac_lo=`expr '(' $ac_mid ')' + 1`
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21117 ?*) ac_cv_sizeof_int=$ac_lo;;
21118 '') if test "$ac_cv_type_int" = yes; then
21119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21120 See \`config.log
' for more details." >&5
21121 echo "$as_me: error: cannot compute sizeof (int)
21122 See \`config.log' for more details.
" >&2;}
21123 { (exit 77); exit 77; }; }
21129 cat >conftest.$ac_ext <<_ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 $ac_includes_default
21136 typedef int ac__type_sizeof_;
21137 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21138 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21140 #include <stdlib.h>
21145 FILE *f = fopen ("conftest.val
", "w
");
21148 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21150 long int i = longval ();
21151 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21153 fprintf (f, "%ld
\n", i);
21157 unsigned long int i = ulongval ();
21158 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21160 fprintf (f, "%lu
\n", i);
21162 return ferror (f) || fclose (f) != 0;
21168 rm -f conftest$ac_exeext
21169 if { (ac_try="$ac_link"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21174 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_link") 2>&5
21177 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21179 { (case "(($ac_try" in
21180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21181 *) ac_try_echo=$ac_try;;
21183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21184 (eval "$ac_try") 2>&5
21186 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21187 (exit $ac_status); }; }; then
21188 ac_cv_sizeof_int=`cat conftest.val`
21190 echo "$as_me: program exited with status
$ac_status" >&5
21191 echo "$as_me: failed program was
:" >&5
21192 sed 's/^/| /' conftest.$ac_ext >&5
21194 ( exit $ac_status )
21195 if test "$ac_cv_type_int" = yes; then
21196 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21197 See \
`config.log' for more details." >&5
21198 echo "$as_me: error: cannot compute sizeof (int)
21199 See \`config.log
' for more details." >&2;}
21200 { (exit 77); exit 77; }; }
21205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21209 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21210 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21214 cat >>confdefs.h <<_ACEOF
21215 #define SIZEOF_INT $ac_cv_sizeof_int
21219 { echo "$as_me:$LINENO: checking for long" >&5
21220 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21221 if test "${ac_cv_type_long+set}" = set; then
21222 echo $ECHO_N "(cached) $ECHO_C" >&6
21224 cat >conftest.$ac_ext <<_ACEOF
21227 cat confdefs.h >>conftest.$ac_ext
21228 cat >>conftest.$ac_ext <<_ACEOF
21229 /* end confdefs.h. */
21230 $ac_includes_default
21231 typedef long ac__type_new_;
21235 if ((ac__type_new_ *) 0)
21237 if (sizeof (ac__type_new_))
21243 rm -f conftest.$ac_objext
21244 if { (ac_try="$ac_compile"
21245 case "(($ac_try" in
21246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21247 *) ac_try_echo=$ac_try;;
21249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21250 (eval "$ac_compile") 2>conftest.er1
21252 grep -v '^
*+' conftest.er1 >conftest.err
21254 cat conftest.err >&5
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); } && {
21257 test -z "$ac_c_werror_flag" ||
21258 test ! -s conftest.err
21259 } && test -s conftest.$ac_objext; then
21260 ac_cv_type_long=yes
21262 echo "$as_me: failed program was:" >&5
21263 sed 's
/^
/| /' conftest.$ac_ext >&5
21268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21270 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21271 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21273 # The cast to long int works around a bug in the HP C Compiler
21274 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21275 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21276 # This bug is HP SR number 8606223364.
21277 { echo "$as_me:$LINENO: checking size of long" >&5
21278 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21279 if test "${ac_cv_sizeof_long+set}" = set; then
21280 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 if test "$cross_compiling" = yes; then
21283 # Depending upon the size, compute the lo and hi bounds.
21284 cat >conftest.
$ac_ext <<_ACEOF
21287 cat confdefs.h
>>conftest.
$ac_ext
21288 cat >>conftest.
$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21290 $ac_includes_default
21291 typedef long ac__type_sizeof_;
21295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21302 rm -f conftest.
$ac_objext
21303 if { (ac_try
="$ac_compile"
21304 case "(($ac_try" in
21305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21306 *) ac_try_echo=$ac_try;;
21308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21309 (eval "$ac_compile") 2>conftest.er1
21311 grep -v '^ *+' conftest.er1 >conftest.err
21313 cat conftest.err >&5
21314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315 (exit $ac_status); } && {
21316 test -z "$ac_c_werror_flag" ||
21317 test ! -s conftest.err
21318 } && test -s conftest.$ac_objext; then
21321 cat >conftest.$ac_ext <<_ACEOF
21324 cat confdefs.h >>conftest.$ac_ext
21325 cat >>conftest.$ac_ext <<_ACEOF
21326 /* end confdefs.h. */
21327 $ac_includes_default
21328 typedef long ac__type_sizeof_;
21332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21339 rm -f conftest.$ac_objext
21340 if { (ac_try="$ac_compile"
21341 case "(($ac_try" in
21342 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21343 *) ac_try_echo
=$ac_try;;
21345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21346 (eval "$ac_compile") 2>conftest.er1
21348 grep -v '^ *+' conftest.er1
>conftest.err
21350 cat conftest.err
>&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } && {
21353 test -z "$ac_c_werror_flag" ||
21354 test ! -s conftest.err
21355 } && test -s conftest.
$ac_objext; then
21356 ac_hi
=$ac_mid; break
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.
$ac_ext >&5
21361 ac_lo
=`expr $ac_mid + 1`
21362 if test $ac_lo -le $ac_mid; then
21366 ac_mid
=`expr 2 '*' $ac_mid + 1`
21369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.
$ac_ext >&5
21375 cat >conftest.
$ac_ext <<_ACEOF
21378 cat confdefs.h
>>conftest.
$ac_ext
21379 cat >>conftest.
$ac_ext <<_ACEOF
21380 /* end confdefs.h. */
21381 $ac_includes_default
21382 typedef long ac__type_sizeof_;
21386 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21393 rm -f conftest.
$ac_objext
21394 if { (ac_try
="$ac_compile"
21395 case "(($ac_try" in
21396 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21397 *) ac_try_echo=$ac_try;;
21399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21400 (eval "$ac_compile") 2>conftest.er1
21402 grep -v '^ *+' conftest.er1 >conftest.err
21404 cat conftest.err >&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } && {
21407 test -z "$ac_c_werror_flag" ||
21408 test ! -s conftest.err
21409 } && test -s conftest.$ac_objext; then
21412 cat >conftest.$ac_ext <<_ACEOF
21415 cat confdefs.h >>conftest.$ac_ext
21416 cat >>conftest.$ac_ext <<_ACEOF
21417 /* end confdefs.h. */
21418 $ac_includes_default
21419 typedef long ac__type_sizeof_;
21423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21430 rm -f conftest.$ac_objext
21431 if { (ac_try="$ac_compile"
21432 case "(($ac_try" in
21433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21434 *) ac_try_echo
=$ac_try;;
21436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21437 (eval "$ac_compile") 2>conftest.er1
21439 grep -v '^ *+' conftest.er1
>conftest.err
21441 cat conftest.err
>&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); } && {
21444 test -z "$ac_c_werror_flag" ||
21445 test ! -s conftest.err
21446 } && test -s conftest.
$ac_objext; then
21447 ac_lo
=$ac_mid; break
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.
$ac_ext >&5
21452 ac_hi
=`expr '(' $ac_mid ')' - 1`
21453 if test $ac_mid -le $ac_hi; then
21457 ac_mid
=`expr 2 '*' $ac_mid`
21460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21463 echo "$as_me: failed program was:" >&5
21464 sed 's/^/| /' conftest.
$ac_ext >&5
21469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21473 # Binary search between lo and hi bounds.
21474 while test "x$ac_lo" != "x$ac_hi"; do
21475 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21476 cat >conftest.
$ac_ext <<_ACEOF
21479 cat confdefs.h
>>conftest.
$ac_ext
21480 cat >>conftest.
$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 $ac_includes_default
21483 typedef long ac__type_sizeof_;
21487 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21494 rm -f conftest.
$ac_objext
21495 if { (ac_try
="$ac_compile"
21496 case "(($ac_try" in
21497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21498 *) ac_try_echo=$ac_try;;
21500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21501 (eval "$ac_compile") 2>conftest.er1
21503 grep -v '^ *+' conftest.er1 >conftest.err
21505 cat conftest.err >&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } && {
21508 test -z "$ac_c_werror_flag" ||
21509 test ! -s conftest.err
21510 } && test -s conftest.$ac_objext; then
21513 echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.$ac_ext >&5
21516 ac_lo=`expr '(' $ac_mid ')' + 1`
21519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21522 ?*) ac_cv_sizeof_long=$ac_lo;;
21523 '') if test "$ac_cv_type_long" = yes; then
21524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21525 See \`config.log
' for more details." >&5
21526 echo "$as_me: error: cannot compute sizeof (long)
21527 See \`config.log' for more details.
" >&2;}
21528 { (exit 77); exit 77; }; }
21530 ac_cv_sizeof_long=0
21534 cat >conftest.$ac_ext <<_ACEOF
21537 cat confdefs.h >>conftest.$ac_ext
21538 cat >>conftest.$ac_ext <<_ACEOF
21539 /* end confdefs.h. */
21540 $ac_includes_default
21541 typedef long ac__type_sizeof_;
21542 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21543 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21545 #include <stdlib.h>
21550 FILE *f = fopen ("conftest.val
", "w
");
21553 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21555 long int i = longval ();
21556 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21558 fprintf (f, "%ld
\n", i);
21562 unsigned long int i = ulongval ();
21563 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21565 fprintf (f, "%lu
\n", i);
21567 return ferror (f) || fclose (f) != 0;
21573 rm -f conftest$ac_exeext
21574 if { (ac_try="$ac_link"
21575 case "(($ac_try" in
21576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21577 *) ac_try_echo=$ac_try;;
21579 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21580 (eval "$ac_link") 2>&5
21582 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21584 { (case "(($ac_try" in
21585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21586 *) ac_try_echo=$ac_try;;
21588 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21589 (eval "$ac_try") 2>&5
21591 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21592 (exit $ac_status); }; }; then
21593 ac_cv_sizeof_long=`cat conftest.val`
21595 echo "$as_me: program exited with status
$ac_status" >&5
21596 echo "$as_me: failed program was
:" >&5
21597 sed 's/^/| /' conftest.$ac_ext >&5
21599 ( exit $ac_status )
21600 if test "$ac_cv_type_long" = yes; then
21601 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21602 See \
`config.log' for more details." >&5
21603 echo "$as_me: error: cannot compute sizeof (long)
21604 See \`config.log
' for more details." >&2;}
21605 { (exit 77); exit 77; }; }
21607 ac_cv_sizeof_long=0
21610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21614 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21615 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21619 cat >>confdefs.h <<_ACEOF
21620 #define SIZEOF_LONG $ac_cv_sizeof_long
21624 { echo "$as_me:$LINENO: checking for size_t" >&5
21625 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21626 if test "${ac_cv_type_size_t+set}" = set; then
21627 echo $ECHO_N "(cached) $ECHO_C" >&6
21629 cat >conftest.$ac_ext <<_ACEOF
21632 cat confdefs.h >>conftest.$ac_ext
21633 cat >>conftest.$ac_ext <<_ACEOF
21634 /* end confdefs.h. */
21635 $ac_includes_default
21636 typedef size_t ac__type_new_;
21640 if ((ac__type_new_ *) 0)
21642 if (sizeof (ac__type_new_))
21648 rm -f conftest.$ac_objext
21649 if { (ac_try="$ac_compile"
21650 case "(($ac_try" in
21651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21652 *) ac_try_echo=$ac_try;;
21654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21655 (eval "$ac_compile") 2>conftest.er1
21657 grep -v '^
*+' conftest.er1 >conftest.err
21659 cat conftest.err >&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } && {
21662 test -z "$ac_c_werror_flag" ||
21663 test ! -s conftest.err
21664 } && test -s conftest.$ac_objext; then
21665 ac_cv_type_size_t=yes
21667 echo "$as_me: failed program was:" >&5
21668 sed 's
/^
/| /' conftest.$ac_ext >&5
21670 ac_cv_type_size_t=no
21673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21675 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21676 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21678 # The cast to long int works around a bug in the HP C Compiler
21679 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21680 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21681 # This bug is HP SR number 8606223364.
21682 { echo "$as_me:$LINENO: checking size of size_t" >&5
21683 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21684 if test "${ac_cv_sizeof_size_t+set}" = set; then
21685 echo $ECHO_N "(cached) $ECHO_C" >&6
21687 if test "$cross_compiling" = yes; then
21688 # Depending upon the size, compute the lo and hi bounds.
21689 cat >conftest.
$ac_ext <<_ACEOF
21692 cat confdefs.h
>>conftest.
$ac_ext
21693 cat >>conftest.
$ac_ext <<_ACEOF
21694 /* end confdefs.h. */
21695 $ac_includes_default
21696 typedef size_t ac__type_sizeof_;
21700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21707 rm -f conftest.
$ac_objext
21708 if { (ac_try
="$ac_compile"
21709 case "(($ac_try" in
21710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21711 *) ac_try_echo=$ac_try;;
21713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21714 (eval "$ac_compile") 2>conftest.er1
21716 grep -v '^ *+' conftest.er1 >conftest.err
21718 cat conftest.err >&5
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); } && {
21721 test -z "$ac_c_werror_flag" ||
21722 test ! -s conftest.err
21723 } && test -s conftest.$ac_objext; then
21726 cat >conftest.$ac_ext <<_ACEOF
21729 cat confdefs.h >>conftest.$ac_ext
21730 cat >>conftest.$ac_ext <<_ACEOF
21731 /* end confdefs.h. */
21732 $ac_includes_default
21733 typedef size_t ac__type_sizeof_;
21737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21744 rm -f conftest.$ac_objext
21745 if { (ac_try="$ac_compile"
21746 case "(($ac_try" in
21747 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21748 *) ac_try_echo
=$ac_try;;
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_compile") 2>conftest.er1
21753 grep -v '^ *+' conftest.er1
>conftest.err
21755 cat conftest.err
>&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } && {
21758 test -z "$ac_c_werror_flag" ||
21759 test ! -s conftest.err
21760 } && test -s conftest.
$ac_objext; then
21761 ac_hi
=$ac_mid; break
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.
$ac_ext >&5
21766 ac_lo
=`expr $ac_mid + 1`
21767 if test $ac_lo -le $ac_mid; then
21771 ac_mid
=`expr 2 '*' $ac_mid + 1`
21774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21777 echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.
$ac_ext >&5
21780 cat >conftest.
$ac_ext <<_ACEOF
21783 cat confdefs.h
>>conftest.
$ac_ext
21784 cat >>conftest.
$ac_ext <<_ACEOF
21785 /* end confdefs.h. */
21786 $ac_includes_default
21787 typedef size_t ac__type_sizeof_;
21791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21798 rm -f conftest.
$ac_objext
21799 if { (ac_try
="$ac_compile"
21800 case "(($ac_try" in
21801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21802 *) ac_try_echo=$ac_try;;
21804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21805 (eval "$ac_compile") 2>conftest.er1
21807 grep -v '^ *+' conftest.er1 >conftest.err
21809 cat conftest.err >&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); } && {
21812 test -z "$ac_c_werror_flag" ||
21813 test ! -s conftest.err
21814 } && test -s conftest.$ac_objext; then
21817 cat >conftest.$ac_ext <<_ACEOF
21820 cat confdefs.h >>conftest.$ac_ext
21821 cat >>conftest.$ac_ext <<_ACEOF
21822 /* end confdefs.h. */
21823 $ac_includes_default
21824 typedef size_t ac__type_sizeof_;
21828 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21835 rm -f conftest.$ac_objext
21836 if { (ac_try="$ac_compile"
21837 case "(($ac_try" in
21838 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21839 *) ac_try_echo
=$ac_try;;
21841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21842 (eval "$ac_compile") 2>conftest.er1
21844 grep -v '^ *+' conftest.er1
>conftest.err
21846 cat conftest.err
>&5
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); } && {
21849 test -z "$ac_c_werror_flag" ||
21850 test ! -s conftest.err
21851 } && test -s conftest.
$ac_objext; then
21852 ac_lo
=$ac_mid; break
21854 echo "$as_me: failed program was:" >&5
21855 sed 's/^/| /' conftest.
$ac_ext >&5
21857 ac_hi
=`expr '(' $ac_mid ')' - 1`
21858 if test $ac_mid -le $ac_hi; then
21862 ac_mid
=`expr 2 '*' $ac_mid`
21865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.
$ac_ext >&5
21874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21878 # Binary search between lo and hi bounds.
21879 while test "x$ac_lo" != "x$ac_hi"; do
21880 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21881 cat >conftest.
$ac_ext <<_ACEOF
21884 cat confdefs.h
>>conftest.
$ac_ext
21885 cat >>conftest.
$ac_ext <<_ACEOF
21886 /* end confdefs.h. */
21887 $ac_includes_default
21888 typedef size_t ac__type_sizeof_;
21892 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21899 rm -f conftest.
$ac_objext
21900 if { (ac_try
="$ac_compile"
21901 case "(($ac_try" in
21902 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21903 *) ac_try_echo=$ac_try;;
21905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21906 (eval "$ac_compile") 2>conftest.er1
21908 grep -v '^ *+' conftest.er1 >conftest.err
21910 cat conftest.err >&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } && {
21913 test -z "$ac_c_werror_flag" ||
21914 test ! -s conftest.err
21915 } && test -s conftest.$ac_objext; then
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.$ac_ext >&5
21921 ac_lo=`expr '(' $ac_mid ')' + 1`
21924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21927 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21928 '') if test "$ac_cv_type_size_t" = yes; then
21929 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21930 See \`config.log
' for more details." >&5
21931 echo "$as_me: error: cannot compute sizeof (size_t)
21932 See \`config.log' for more details.
" >&2;}
21933 { (exit 77); exit 77; }; }
21935 ac_cv_sizeof_size_t=0
21939 cat >conftest.$ac_ext <<_ACEOF
21942 cat confdefs.h >>conftest.$ac_ext
21943 cat >>conftest.$ac_ext <<_ACEOF
21944 /* end confdefs.h. */
21945 $ac_includes_default
21946 typedef size_t ac__type_sizeof_;
21947 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21948 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21950 #include <stdlib.h>
21955 FILE *f = fopen ("conftest.val
", "w
");
21958 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21960 long int i = longval ();
21961 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21963 fprintf (f, "%ld
\n", i);
21967 unsigned long int i = ulongval ();
21968 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21970 fprintf (f, "%lu
\n", i);
21972 return ferror (f) || fclose (f) != 0;
21978 rm -f conftest$ac_exeext
21979 if { (ac_try="$ac_link"
21980 case "(($ac_try" in
21981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21982 *) ac_try_echo=$ac_try;;
21984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21985 (eval "$ac_link") 2>&5
21987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21989 { (case "(($ac_try" in
21990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21991 *) ac_try_echo=$ac_try;;
21993 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21994 (eval "$ac_try") 2>&5
21996 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21997 (exit $ac_status); }; }; then
21998 ac_cv_sizeof_size_t=`cat conftest.val`
22000 echo "$as_me: program exited with status
$ac_status" >&5
22001 echo "$as_me: failed program was
:" >&5
22002 sed 's/^/| /' conftest.$ac_ext >&5
22004 ( exit $ac_status )
22005 if test "$ac_cv_type_size_t" = yes; then
22006 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22007 See \
`config.log' for more details." >&5
22008 echo "$as_me: error: cannot compute sizeof (size_t)
22009 See \`config.log
' for more details." >&2;}
22010 { (exit 77); exit 77; }; }
22012 ac_cv_sizeof_size_t=0
22015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22019 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22020 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22024 cat >>confdefs.h <<_ACEOF
22025 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22032 { echo "$as_me:$LINENO: checking for long long" >&5
22033 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22034 if test "${ac_cv_type_long_long+set}" = set; then
22035 echo $ECHO_N "(cached) $ECHO_C" >&6
22037 cat >conftest.$ac_ext <<_ACEOF
22040 cat confdefs.h >>conftest.$ac_ext
22041 cat >>conftest.$ac_ext <<_ACEOF
22042 /* end confdefs.h. */
22043 $ac_includes_default
22044 typedef long long ac__type_new_;
22048 if ((ac__type_new_ *) 0)
22050 if (sizeof (ac__type_new_))
22056 rm -f conftest.$ac_objext
22057 if { (ac_try="$ac_compile"
22058 case "(($ac_try" in
22059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22060 *) ac_try_echo=$ac_try;;
22062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22063 (eval "$ac_compile") 2>conftest.er1
22065 grep -v '^
*+' conftest.er1 >conftest.err
22067 cat conftest.err >&5
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); } && {
22070 test -z "$ac_c_werror_flag" ||
22071 test ! -s conftest.err
22072 } && test -s conftest.$ac_objext; then
22073 ac_cv_type_long_long=yes
22075 echo "$as_me: failed program was:" >&5
22076 sed 's
/^
/| /' conftest.$ac_ext >&5
22078 ac_cv_type_long_long=no
22081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22083 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22084 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22086 # The cast to long int works around a bug in the HP C Compiler
22087 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22088 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22089 # This bug is HP SR number 8606223364.
22090 { echo "$as_me:$LINENO: checking size of long long" >&5
22091 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22092 if test "${ac_cv_sizeof_long_long+set}" = set; then
22093 echo $ECHO_N "(cached) $ECHO_C" >&6
22095 if test "$cross_compiling" = yes; then
22096 # Depending upon the size, compute the lo and hi bounds.
22097 cat >conftest.
$ac_ext <<_ACEOF
22100 cat confdefs.h
>>conftest.
$ac_ext
22101 cat >>conftest.
$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103 $ac_includes_default
22104 typedef long long ac__type_sizeof_;
22108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22115 rm -f conftest.
$ac_objext
22116 if { (ac_try
="$ac_compile"
22117 case "(($ac_try" in
22118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22119 *) ac_try_echo=$ac_try;;
22121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 (eval "$ac_compile") 2>conftest.er1
22124 grep -v '^ *+' conftest.er1 >conftest.err
22126 cat conftest.err >&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } && {
22129 test -z "$ac_c_werror_flag" ||
22130 test ! -s conftest.err
22131 } && test -s conftest.$ac_objext; then
22134 cat >conftest.$ac_ext <<_ACEOF
22137 cat confdefs.h >>conftest.$ac_ext
22138 cat >>conftest.$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140 $ac_includes_default
22141 typedef long long ac__type_sizeof_;
22145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22152 rm -f conftest.$ac_objext
22153 if { (ac_try="$ac_compile"
22154 case "(($ac_try" in
22155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22156 *) ac_try_echo
=$ac_try;;
22158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22159 (eval "$ac_compile") 2>conftest.er1
22161 grep -v '^ *+' conftest.er1
>conftest.err
22163 cat conftest.err
>&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); } && {
22166 test -z "$ac_c_werror_flag" ||
22167 test ! -s conftest.err
22168 } && test -s conftest.
$ac_objext; then
22169 ac_hi
=$ac_mid; break
22171 echo "$as_me: failed program was:" >&5
22172 sed 's/^/| /' conftest.
$ac_ext >&5
22174 ac_lo
=`expr $ac_mid + 1`
22175 if test $ac_lo -le $ac_mid; then
22179 ac_mid
=`expr 2 '*' $ac_mid + 1`
22182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.
$ac_ext >&5
22188 cat >conftest.
$ac_ext <<_ACEOF
22191 cat confdefs.h
>>conftest.
$ac_ext
22192 cat >>conftest.
$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194 $ac_includes_default
22195 typedef long long ac__type_sizeof_;
22199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22206 rm -f conftest.
$ac_objext
22207 if { (ac_try
="$ac_compile"
22208 case "(($ac_try" in
22209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_compile") 2>conftest.er1
22215 grep -v '^ *+' conftest.er1 >conftest.err
22217 cat conftest.err >&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); } && {
22220 test -z "$ac_c_werror_flag" ||
22221 test ! -s conftest.err
22222 } && test -s conftest.$ac_objext; then
22225 cat >conftest.$ac_ext <<_ACEOF
22228 cat confdefs.h >>conftest.$ac_ext
22229 cat >>conftest.$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 $ac_includes_default
22232 typedef long long ac__type_sizeof_;
22236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22243 rm -f conftest.$ac_objext
22244 if { (ac_try="$ac_compile"
22245 case "(($ac_try" in
22246 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22247 *) ac_try_echo
=$ac_try;;
22249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22250 (eval "$ac_compile") 2>conftest.er1
22252 grep -v '^ *+' conftest.er1
>conftest.err
22254 cat conftest.err
>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } && {
22257 test -z "$ac_c_werror_flag" ||
22258 test ! -s conftest.err
22259 } && test -s conftest.
$ac_objext; then
22260 ac_lo
=$ac_mid; break
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.
$ac_ext >&5
22265 ac_hi
=`expr '(' $ac_mid ')' - 1`
22266 if test $ac_mid -le $ac_hi; then
22270 ac_mid
=`expr 2 '*' $ac_mid`
22273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.
$ac_ext >&5
22282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22286 # Binary search between lo and hi bounds.
22287 while test "x$ac_lo" != "x$ac_hi"; do
22288 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22289 cat >conftest.
$ac_ext <<_ACEOF
22292 cat confdefs.h
>>conftest.
$ac_ext
22293 cat >>conftest.
$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295 $ac_includes_default
22296 typedef long long ac__type_sizeof_;
22300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22307 rm -f conftest.
$ac_objext
22308 if { (ac_try
="$ac_compile"
22309 case "(($ac_try" in
22310 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22311 *) ac_try_echo=$ac_try;;
22313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22314 (eval "$ac_compile") 2>conftest.er1
22316 grep -v '^ *+' conftest.er1 >conftest.err
22318 cat conftest.err >&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } && {
22321 test -z "$ac_c_werror_flag" ||
22322 test ! -s conftest.err
22323 } && test -s conftest.$ac_objext; then
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22329 ac_lo=`expr '(' $ac_mid ')' + 1`
22332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22335 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22336 '') if test "$ac_cv_type_long_long" = yes; then
22337 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22338 See \`config.log
' for more details." >&5
22339 echo "$as_me: error: cannot compute sizeof (long long)
22340 See \`config.log' for more details.
" >&2;}
22341 { (exit 77); exit 77; }; }
22343 ac_cv_sizeof_long_long=0
22347 cat >conftest.$ac_ext <<_ACEOF
22350 cat confdefs.h >>conftest.$ac_ext
22351 cat >>conftest.$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22353 $ac_includes_default
22354 typedef long long ac__type_sizeof_;
22355 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22356 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22358 #include <stdlib.h>
22363 FILE *f = fopen ("conftest.val
", "w
");
22366 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22368 long int i = longval ();
22369 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22371 fprintf (f, "%ld
\n", i);
22375 unsigned long int i = ulongval ();
22376 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22378 fprintf (f, "%lu
\n", i);
22380 return ferror (f) || fclose (f) != 0;
22386 rm -f conftest$ac_exeext
22387 if { (ac_try="$ac_link"
22388 case "(($ac_try" in
22389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22390 *) ac_try_echo=$ac_try;;
22392 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22393 (eval "$ac_link") 2>&5
22395 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22397 { (case "(($ac_try" in
22398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22399 *) ac_try_echo=$ac_try;;
22401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22402 (eval "$ac_try") 2>&5
22404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22405 (exit $ac_status); }; }; then
22406 ac_cv_sizeof_long_long=`cat conftest.val`
22408 echo "$as_me: program exited with status
$ac_status" >&5
22409 echo "$as_me: failed program was
:" >&5
22410 sed 's/^/| /' conftest.$ac_ext >&5
22412 ( exit $ac_status )
22413 if test "$ac_cv_type_long_long" = yes; then
22414 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22415 See \
`config.log' for more details." >&5
22416 echo "$as_me: error: cannot compute sizeof (long long)
22417 See \`config.log
' for more details." >&2;}
22418 { (exit 77); exit 77; }; }
22420 ac_cv_sizeof_long_long=0
22423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22427 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22428 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22432 cat >>confdefs.h <<_ACEOF
22433 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22439 { echo "$as_me:$LINENO: checking for long long" >&5
22440 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22441 if test "${ac_cv_type_long_long+set}" = set; then
22442 echo $ECHO_N "(cached) $ECHO_C" >&6
22444 cat >conftest.$ac_ext <<_ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef long long ac__type_new_;
22455 if ((ac__type_new_ *) 0)
22457 if (sizeof (ac__type_new_))
22463 rm -f conftest.$ac_objext
22464 if { (ac_try="$ac_compile"
22465 case "(($ac_try" in
22466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_compile") 2>conftest.er1
22472 grep -v '^
*+' conftest.er1 >conftest.err
22474 cat conftest.err >&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } && {
22477 test -z "$ac_c_werror_flag" ||
22478 test ! -s conftest.err
22479 } && test -s conftest.$ac_objext; then
22480 ac_cv_type_long_long=yes
22482 echo "$as_me: failed program was:" >&5
22483 sed 's
/^
/| /' conftest.$ac_ext >&5
22485 ac_cv_type_long_long=no
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22490 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22491 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22493 # The cast to long int works around a bug in the HP C Compiler
22494 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22495 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22496 # This bug is HP SR number 8606223364.
22497 { echo "$as_me:$LINENO: checking size of long long" >&5
22498 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22499 if test "${ac_cv_sizeof_long_long+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22502 if test "$cross_compiling" = yes; then
22503 # Depending upon the size, compute the lo and hi bounds.
22504 cat >conftest.
$ac_ext <<_ACEOF
22507 cat confdefs.h
>>conftest.
$ac_ext
22508 cat >>conftest.
$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22510 $ac_includes_default
22511 typedef long long ac__type_sizeof_;
22515 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22522 rm -f conftest.
$ac_objext
22523 if { (ac_try
="$ac_compile"
22524 case "(($ac_try" in
22525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_compile") 2>conftest.er1
22531 grep -v '^ *+' conftest.er1 >conftest.err
22533 cat conftest.err >&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); } && {
22536 test -z "$ac_c_werror_flag" ||
22537 test ! -s conftest.err
22538 } && test -s conftest.$ac_objext; then
22541 cat >conftest.$ac_ext <<_ACEOF
22544 cat confdefs.h >>conftest.$ac_ext
22545 cat >>conftest.$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22547 $ac_includes_default
22548 typedef long long ac__type_sizeof_;
22552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22559 rm -f conftest.$ac_objext
22560 if { (ac_try="$ac_compile"
22561 case "(($ac_try" in
22562 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22563 *) ac_try_echo
=$ac_try;;
22565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22566 (eval "$ac_compile") 2>conftest.er1
22568 grep -v '^ *+' conftest.er1
>conftest.err
22570 cat conftest.err
>&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); } && {
22573 test -z "$ac_c_werror_flag" ||
22574 test ! -s conftest.err
22575 } && test -s conftest.
$ac_objext; then
22576 ac_hi
=$ac_mid; break
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.
$ac_ext >&5
22581 ac_lo
=`expr $ac_mid + 1`
22582 if test $ac_lo -le $ac_mid; then
22586 ac_mid
=`expr 2 '*' $ac_mid + 1`
22589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22592 echo "$as_me: failed program was:" >&5
22593 sed 's/^/| /' conftest.
$ac_ext >&5
22595 cat >conftest.
$ac_ext <<_ACEOF
22598 cat confdefs.h
>>conftest.
$ac_ext
22599 cat >>conftest.
$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22601 $ac_includes_default
22602 typedef long long ac__type_sizeof_;
22606 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22613 rm -f conftest.
$ac_objext
22614 if { (ac_try
="$ac_compile"
22615 case "(($ac_try" in
22616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22617 *) ac_try_echo=$ac_try;;
22619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22620 (eval "$ac_compile") 2>conftest.er1
22622 grep -v '^ *+' conftest.er1 >conftest.err
22624 cat conftest.err >&5
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); } && {
22627 test -z "$ac_c_werror_flag" ||
22628 test ! -s conftest.err
22629 } && test -s conftest.$ac_objext; then
22632 cat >conftest.$ac_ext <<_ACEOF
22635 cat confdefs.h >>conftest.$ac_ext
22636 cat >>conftest.$ac_ext <<_ACEOF
22637 /* end confdefs.h. */
22638 $ac_includes_default
22639 typedef long long ac__type_sizeof_;
22643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22650 rm -f conftest.$ac_objext
22651 if { (ac_try="$ac_compile"
22652 case "(($ac_try" in
22653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22654 *) ac_try_echo
=$ac_try;;
22656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22657 (eval "$ac_compile") 2>conftest.er1
22659 grep -v '^ *+' conftest.er1
>conftest.err
22661 cat conftest.err
>&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); } && {
22664 test -z "$ac_c_werror_flag" ||
22665 test ! -s conftest.err
22666 } && test -s conftest.
$ac_objext; then
22667 ac_lo
=$ac_mid; break
22669 echo "$as_me: failed program was:" >&5
22670 sed 's/^/| /' conftest.
$ac_ext >&5
22672 ac_hi
=`expr '(' $ac_mid ')' - 1`
22673 if test $ac_mid -le $ac_hi; then
22677 ac_mid
=`expr 2 '*' $ac_mid`
22680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22683 echo "$as_me: failed program was:" >&5
22684 sed 's/^/| /' conftest.
$ac_ext >&5
22689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22693 # Binary search between lo and hi bounds.
22694 while test "x$ac_lo" != "x$ac_hi"; do
22695 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22696 cat >conftest.
$ac_ext <<_ACEOF
22699 cat confdefs.h
>>conftest.
$ac_ext
22700 cat >>conftest.
$ac_ext <<_ACEOF
22701 /* end confdefs.h. */
22702 $ac_includes_default
22703 typedef long long ac__type_sizeof_;
22707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22714 rm -f conftest.
$ac_objext
22715 if { (ac_try
="$ac_compile"
22716 case "(($ac_try" in
22717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22718 *) ac_try_echo=$ac_try;;
22720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22721 (eval "$ac_compile") 2>conftest.er1
22723 grep -v '^ *+' conftest.er1 >conftest.err
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } && {
22728 test -z "$ac_c_werror_flag" ||
22729 test ! -s conftest.err
22730 } && test -s conftest.$ac_objext; then
22733 echo "$as_me: failed program was:" >&5
22734 sed 's/^/| /' conftest.$ac_ext >&5
22736 ac_lo=`expr '(' $ac_mid ')' + 1`
22739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22742 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22743 '') if test "$ac_cv_type_long_long" = yes; then
22744 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22745 See \`config.log
' for more details." >&5
22746 echo "$as_me: error: cannot compute sizeof (long long)
22747 See \`config.log' for more details.
" >&2;}
22748 { (exit 77); exit 77; }; }
22750 ac_cv_sizeof_long_long=0
22754 cat >conftest.$ac_ext <<_ACEOF
22757 cat confdefs.h >>conftest.$ac_ext
22758 cat >>conftest.$ac_ext <<_ACEOF
22759 /* end confdefs.h. */
22760 $ac_includes_default
22761 typedef long long ac__type_sizeof_;
22762 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22763 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22765 #include <stdlib.h>
22770 FILE *f = fopen ("conftest.val
", "w
");
22773 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22775 long int i = longval ();
22776 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22778 fprintf (f, "%ld
\n", i);
22782 unsigned long int i = ulongval ();
22783 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22785 fprintf (f, "%lu
\n", i);
22787 return ferror (f) || fclose (f) != 0;
22793 rm -f conftest$ac_exeext
22794 if { (ac_try="$ac_link"
22795 case "(($ac_try" in
22796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22797 *) ac_try_echo=$ac_try;;
22799 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22800 (eval "$ac_link") 2>&5
22802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22803 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22804 { (case "(($ac_try" in
22805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22806 *) ac_try_echo=$ac_try;;
22808 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22809 (eval "$ac_try") 2>&5
22811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22812 (exit $ac_status); }; }; then
22813 ac_cv_sizeof_long_long=`cat conftest.val`
22815 echo "$as_me: program exited with status
$ac_status" >&5
22816 echo "$as_me: failed program was
:" >&5
22817 sed 's/^/| /' conftest.$ac_ext >&5
22819 ( exit $ac_status )
22820 if test "$ac_cv_type_long_long" = yes; then
22821 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22822 See \
`config.log' for more details." >&5
22823 echo "$as_me: error: cannot compute sizeof (long long)
22824 See \`config.log
' for more details." >&2;}
22825 { (exit 77); exit 77; }; }
22827 ac_cv_sizeof_long_long=0
22830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22834 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22835 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22839 cat >>confdefs.h <<_ACEOF
22840 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22844 if test "$ac_cv_sizeof_long_long" != 0; then
22845 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22849 { echo "$as_me:$LINENO: checking for long long" >&5
22850 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22851 if test "${ac_cv_type_long_long+set}" = set; then
22852 echo $ECHO_N "(cached) $ECHO_C" >&6
22854 cat >conftest.$ac_ext <<_ACEOF
22857 cat confdefs.h >>conftest.$ac_ext
22858 cat >>conftest.$ac_ext <<_ACEOF
22859 /* end confdefs.h. */
22860 $ac_includes_default
22861 typedef long long ac__type_new_;
22865 if ((ac__type_new_ *) 0)
22867 if (sizeof (ac__type_new_))
22873 rm -f conftest.$ac_objext
22874 if { (ac_try="$ac_compile"
22875 case "(($ac_try" in
22876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22877 *) ac_try_echo=$ac_try;;
22879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22880 (eval "$ac_compile") 2>conftest.er1
22882 grep -v '^
*+' conftest.er1 >conftest.err
22884 cat conftest.err >&5
22885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886 (exit $ac_status); } && {
22887 test -z "$ac_c_werror_flag" ||
22888 test ! -s conftest.err
22889 } && test -s conftest.$ac_objext; then
22890 ac_cv_type_long_long=yes
22892 echo "$as_me: failed program was:" >&5
22893 sed 's
/^
/| /' conftest.$ac_ext >&5
22895 ac_cv_type_long_long=no
22898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22900 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22901 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22903 # The cast to long int works around a bug in the HP C Compiler
22904 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22905 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22906 # This bug is HP SR number 8606223364.
22907 { echo "$as_me:$LINENO: checking size of long long" >&5
22908 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22909 if test "${ac_cv_sizeof_long_long+set}" = set; then
22910 echo $ECHO_N "(cached) $ECHO_C" >&6
22912 if test "$cross_compiling" = yes; then
22913 # Depending upon the size, compute the lo and hi bounds.
22914 cat >conftest.
$ac_ext <<_ACEOF
22917 cat confdefs.h
>>conftest.
$ac_ext
22918 cat >>conftest.
$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22920 $ac_includes_default
22921 typedef long long ac__type_sizeof_;
22925 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22932 rm -f conftest.
$ac_objext
22933 if { (ac_try
="$ac_compile"
22934 case "(($ac_try" in
22935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22936 *) ac_try_echo=$ac_try;;
22938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22939 (eval "$ac_compile") 2>conftest.er1
22941 grep -v '^ *+' conftest.er1 >conftest.err
22943 cat conftest.err >&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); } && {
22946 test -z "$ac_c_werror_flag" ||
22947 test ! -s conftest.err
22948 } && test -s conftest.$ac_objext; then
22951 cat >conftest.$ac_ext <<_ACEOF
22954 cat confdefs.h >>conftest.$ac_ext
22955 cat >>conftest.$ac_ext <<_ACEOF
22956 /* end confdefs.h. */
22957 $ac_includes_default
22958 typedef long long ac__type_sizeof_;
22962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22969 rm -f conftest.$ac_objext
22970 if { (ac_try="$ac_compile"
22971 case "(($ac_try" in
22972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22973 *) ac_try_echo
=$ac_try;;
22975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22976 (eval "$ac_compile") 2>conftest.er1
22978 grep -v '^ *+' conftest.er1
>conftest.err
22980 cat conftest.err
>&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); } && {
22983 test -z "$ac_c_werror_flag" ||
22984 test ! -s conftest.err
22985 } && test -s conftest.
$ac_objext; then
22986 ac_hi
=$ac_mid; break
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.
$ac_ext >&5
22991 ac_lo
=`expr $ac_mid + 1`
22992 if test $ac_lo -le $ac_mid; then
22996 ac_mid
=`expr 2 '*' $ac_mid + 1`
22999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.
$ac_ext >&5
23005 cat >conftest.
$ac_ext <<_ACEOF
23008 cat confdefs.h
>>conftest.
$ac_ext
23009 cat >>conftest.
$ac_ext <<_ACEOF
23010 /* end confdefs.h. */
23011 $ac_includes_default
23012 typedef long long ac__type_sizeof_;
23016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23023 rm -f conftest.
$ac_objext
23024 if { (ac_try
="$ac_compile"
23025 case "(($ac_try" in
23026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23027 *) ac_try_echo=$ac_try;;
23029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23030 (eval "$ac_compile") 2>conftest.er1
23032 grep -v '^ *+' conftest.er1 >conftest.err
23034 cat conftest.err >&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } && {
23037 test -z "$ac_c_werror_flag" ||
23038 test ! -s conftest.err
23039 } && test -s conftest.$ac_objext; then
23042 cat >conftest.$ac_ext <<_ACEOF
23045 cat confdefs.h >>conftest.$ac_ext
23046 cat >>conftest.$ac_ext <<_ACEOF
23047 /* end confdefs.h. */
23048 $ac_includes_default
23049 typedef long long ac__type_sizeof_;
23053 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23060 rm -f conftest.$ac_objext
23061 if { (ac_try="$ac_compile"
23062 case "(($ac_try" in
23063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23064 *) ac_try_echo
=$ac_try;;
23066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23067 (eval "$ac_compile") 2>conftest.er1
23069 grep -v '^ *+' conftest.er1
>conftest.err
23071 cat conftest.err
>&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } && {
23074 test -z "$ac_c_werror_flag" ||
23075 test ! -s conftest.err
23076 } && test -s conftest.
$ac_objext; then
23077 ac_lo
=$ac_mid; break
23079 echo "$as_me: failed program was:" >&5
23080 sed 's/^/| /' conftest.
$ac_ext >&5
23082 ac_hi
=`expr '(' $ac_mid ')' - 1`
23083 if test $ac_mid -le $ac_hi; then
23087 ac_mid
=`expr 2 '*' $ac_mid`
23090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.
$ac_ext >&5
23099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23103 # Binary search between lo and hi bounds.
23104 while test "x$ac_lo" != "x$ac_hi"; do
23105 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23106 cat >conftest.
$ac_ext <<_ACEOF
23109 cat confdefs.h
>>conftest.
$ac_ext
23110 cat >>conftest.
$ac_ext <<_ACEOF
23111 /* end confdefs.h. */
23112 $ac_includes_default
23113 typedef long long ac__type_sizeof_;
23117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23124 rm -f conftest.
$ac_objext
23125 if { (ac_try
="$ac_compile"
23126 case "(($ac_try" in
23127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23128 *) ac_try_echo=$ac_try;;
23130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23131 (eval "$ac_compile") 2>conftest.er1
23133 grep -v '^ *+' conftest.er1 >conftest.err
23135 cat conftest.err >&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); } && {
23138 test -z "$ac_c_werror_flag" ||
23139 test ! -s conftest.err
23140 } && test -s conftest.$ac_objext; then
23143 echo "$as_me: failed program was:" >&5
23144 sed 's/^/| /' conftest.$ac_ext >&5
23146 ac_lo=`expr '(' $ac_mid ')' + 1`
23149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23152 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23153 '') if test "$ac_cv_type_long_long" = yes; then
23154 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23155 See \`config.log
' for more details." >&5
23156 echo "$as_me: error: cannot compute sizeof (long long)
23157 See \`config.log' for more details.
" >&2;}
23158 { (exit 77); exit 77; }; }
23160 ac_cv_sizeof_long_long=0
23164 cat >conftest.$ac_ext <<_ACEOF
23167 cat confdefs.h >>conftest.$ac_ext
23168 cat >>conftest.$ac_ext <<_ACEOF
23169 /* end confdefs.h. */
23170 $ac_includes_default
23171 typedef long long ac__type_sizeof_;
23172 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23173 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23175 #include <stdlib.h>
23180 FILE *f = fopen ("conftest.val
", "w
");
23183 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23185 long int i = longval ();
23186 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23188 fprintf (f, "%ld
\n", i);
23192 unsigned long int i = ulongval ();
23193 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23195 fprintf (f, "%lu
\n", i);
23197 return ferror (f) || fclose (f) != 0;
23203 rm -f conftest$ac_exeext
23204 if { (ac_try="$ac_link"
23205 case "(($ac_try" in
23206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23207 *) ac_try_echo=$ac_try;;
23209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23210 (eval "$ac_link") 2>&5
23212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23214 { (case "(($ac_try" in
23215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23216 *) ac_try_echo=$ac_try;;
23218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23219 (eval "$ac_try") 2>&5
23221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23222 (exit $ac_status); }; }; then
23223 ac_cv_sizeof_long_long=`cat conftest.val`
23225 echo "$as_me: program exited with status
$ac_status" >&5
23226 echo "$as_me: failed program was
:" >&5
23227 sed 's/^/| /' conftest.$ac_ext >&5
23229 ( exit $ac_status )
23230 if test "$ac_cv_type_long_long" = yes; then
23231 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23232 See \
`config.log' for more details." >&5
23233 echo "$as_me: error: cannot compute sizeof (long long)
23234 See \`config.log
' for more details." >&2;}
23235 { (exit 77); exit 77; }; }
23237 ac_cv_sizeof_long_long=0
23240 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23244 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23245 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23249 cat >>confdefs.h <<_ACEOF
23250 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23256 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23257 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23258 if test "${ac_cv_type_wchar_t+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23261 cat >conftest.$ac_ext <<_ACEOF
23264 cat confdefs.h >>conftest.$ac_ext
23265 cat >>conftest.$ac_ext <<_ACEOF
23266 /* end confdefs.h. */
23268 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23269 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23270 # error "fake wchar_t"
23272 #ifdef HAVE_WCHAR_H
23274 # include <stddef.h>
23276 # include <wchar.h>
23278 #ifdef HAVE_STDLIB_H
23279 # include <stdlib.h>
23285 typedef wchar_t ac__type_new_
;
23289 if ((ac__type_new_
*) 0)
23291 if (sizeof
(ac__type_new_
))
23297 rm -f conftest.
$ac_objext
23298 if { (ac_try
="$ac_compile"
23299 case "(($ac_try" in
23300 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23301 *) ac_try_echo=$ac_try;;
23303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23304 (eval "$ac_compile") 2>conftest.er1
23306 grep -v '^ *+' conftest.er1 >conftest.err
23308 cat conftest.err >&5
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); } && {
23311 test -z "$ac_c_werror_flag" ||
23312 test ! -s conftest.err
23313 } && test -s conftest.$ac_objext; then
23314 ac_cv_type_wchar_t=yes
23316 echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.$ac_ext >&5
23319 ac_cv_type_wchar_t=no
23322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23324 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23325 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23327 # The cast to long int works around a bug in the HP C Compiler
23328 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23329 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23330 # This bug is HP SR number 8606223364.
23331 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23332 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23333 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23334 echo $ECHO_N "(cached) $ECHO_C" >&6
23336 if test "$cross_compiling" = yes; then
23337 # Depending upon the size, compute the lo and hi bounds.
23338 cat >conftest.$ac_ext <<_ACEOF
23341 cat confdefs.h >>conftest.$ac_ext
23342 cat >>conftest.$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23345 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23346 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23347 # error "fake wchar_t"
23349 #ifdef HAVE_WCHAR_H
23351 # include <stddef.h>
23353 # include <wchar.h>
23355 #ifdef HAVE_STDLIB_H
23356 # include <stdlib.h>
23362 typedef wchar_t ac__type_sizeof_
;
23366 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23373 rm -f conftest.
$ac_objext
23374 if { (ac_try
="$ac_compile"
23375 case "(($ac_try" in
23376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23377 *) ac_try_echo=$ac_try;;
23379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23380 (eval "$ac_compile") 2>conftest.er1
23382 grep -v '^ *+' conftest.er1 >conftest.err
23384 cat conftest.err >&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } && {
23387 test -z "$ac_c_werror_flag" ||
23388 test ! -s conftest.err
23389 } && test -s conftest.$ac_objext; then
23392 cat >conftest.$ac_ext <<_ACEOF
23395 cat confdefs.h >>conftest.$ac_ext
23396 cat >>conftest.$ac_ext <<_ACEOF
23397 /* end confdefs.h. */
23399 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23400 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23401 # error "fake wchar_t"
23403 #ifdef HAVE_WCHAR_H
23405 # include <stddef.h>
23407 # include <wchar.h>
23409 #ifdef HAVE_STDLIB_H
23410 # include <stdlib.h>
23416 typedef wchar_t ac__type_sizeof_;
23420 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23427 rm -f conftest.$ac_objext
23428 if { (ac_try="$ac_compile"
23429 case "(($ac_try" in
23430 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23431 *) ac_try_echo
=$ac_try;;
23433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23434 (eval "$ac_compile") 2>conftest.er1
23436 grep -v '^ *+' conftest.er1
>conftest.err
23438 cat conftest.err
>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); } && {
23441 test -z "$ac_c_werror_flag" ||
23442 test ! -s conftest.err
23443 } && test -s conftest.
$ac_objext; then
23444 ac_hi
=$ac_mid; break
23446 echo "$as_me: failed program was:" >&5
23447 sed 's/^/| /' conftest.
$ac_ext >&5
23449 ac_lo
=`expr $ac_mid + 1`
23450 if test $ac_lo -le $ac_mid; then
23454 ac_mid
=`expr 2 '*' $ac_mid + 1`
23457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23460 echo "$as_me: failed program was:" >&5
23461 sed 's/^/| /' conftest.
$ac_ext >&5
23463 cat >conftest.
$ac_ext <<_ACEOF
23466 cat confdefs.h
>>conftest.
$ac_ext
23467 cat >>conftest.
$ac_ext <<_ACEOF
23468 /* end confdefs.h. */
23470 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23471 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23472 # error "fake wchar_t"
23474 #ifdef HAVE_WCHAR_H
23476 # include <stddef.h>
23478 # include <wchar.h>
23480 #ifdef HAVE_STDLIB_H
23481 # include <stdlib.h>
23487 typedef wchar_t ac__type_sizeof_;
23491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23498 rm -f conftest.
$ac_objext
23499 if { (ac_try
="$ac_compile"
23500 case "(($ac_try" in
23501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23502 *) ac_try_echo=$ac_try;;
23504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23505 (eval "$ac_compile") 2>conftest.er1
23507 grep -v '^ *+' conftest.er1 >conftest.err
23509 cat conftest.err >&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); } && {
23512 test -z "$ac_c_werror_flag" ||
23513 test ! -s conftest.err
23514 } && test -s conftest.$ac_objext; then
23517 cat >conftest.$ac_ext <<_ACEOF
23520 cat confdefs.h >>conftest.$ac_ext
23521 cat >>conftest.$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23524 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23525 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23526 # error "fake wchar_t"
23528 #ifdef HAVE_WCHAR_H
23530 # include <stddef.h>
23532 # include <wchar.h>
23534 #ifdef HAVE_STDLIB_H
23535 # include <stdlib.h>
23541 typedef wchar_t ac__type_sizeof_;
23545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23552 rm -f conftest.$ac_objext
23553 if { (ac_try="$ac_compile"
23554 case "(($ac_try" in
23555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23556 *) ac_try_echo
=$ac_try;;
23558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23559 (eval "$ac_compile") 2>conftest.er1
23561 grep -v '^ *+' conftest.er1
>conftest.err
23563 cat conftest.err
>&5
23564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565 (exit $ac_status); } && {
23566 test -z "$ac_c_werror_flag" ||
23567 test ! -s conftest.err
23568 } && test -s conftest.
$ac_objext; then
23569 ac_lo
=$ac_mid; break
23571 echo "$as_me: failed program was:" >&5
23572 sed 's/^/| /' conftest.
$ac_ext >&5
23574 ac_hi
=`expr '(' $ac_mid ')' - 1`
23575 if test $ac_mid -le $ac_hi; then
23579 ac_mid
=`expr 2 '*' $ac_mid`
23582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23585 echo "$as_me: failed program was:" >&5
23586 sed 's/^/| /' conftest.
$ac_ext >&5
23591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23595 # Binary search between lo and hi bounds.
23596 while test "x$ac_lo" != "x$ac_hi"; do
23597 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23598 cat >conftest.
$ac_ext <<_ACEOF
23601 cat confdefs.h
>>conftest.
$ac_ext
23602 cat >>conftest.
$ac_ext <<_ACEOF
23603 /* end confdefs.h. */
23605 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23606 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23607 # error "fake wchar_t"
23609 #ifdef HAVE_WCHAR_H
23611 # include <stddef.h>
23613 # include <wchar.h>
23615 #ifdef HAVE_STDLIB_H
23616 # include <stdlib.h>
23622 typedef wchar_t ac__type_sizeof_;
23626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23633 rm -f conftest.
$ac_objext
23634 if { (ac_try
="$ac_compile"
23635 case "(($ac_try" in
23636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23637 *) ac_try_echo=$ac_try;;
23639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23640 (eval "$ac_compile") 2>conftest.er1
23642 grep -v '^ *+' conftest.er1 >conftest.err
23644 cat conftest.err >&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } && {
23647 test -z "$ac_c_werror_flag" ||
23648 test ! -s conftest.err
23649 } && test -s conftest.$ac_objext; then
23652 echo "$as_me: failed program was:" >&5
23653 sed 's/^/| /' conftest.$ac_ext >&5
23655 ac_lo=`expr '(' $ac_mid ')' + 1`
23658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23661 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23662 '') if test "$ac_cv_type_wchar_t" = yes; then
23663 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23664 See \`config.log
' for more details." >&5
23665 echo "$as_me: error: cannot compute sizeof (wchar_t)
23666 See \`config.log' for more details.
" >&2;}
23667 { (exit 77); exit 77; }; }
23669 ac_cv_sizeof_wchar_t=0
23673 cat >conftest.$ac_ext <<_ACEOF
23676 cat confdefs.h >>conftest.$ac_ext
23677 cat >>conftest.$ac_ext <<_ACEOF
23678 /* end confdefs.h. */
23680 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23681 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23682 # error "fake wchar_t
"
23684 #ifdef HAVE_WCHAR_H
23686 # include <stddef.h>
23688 # include <wchar.h>
23690 #ifdef HAVE_STDLIB_H
23691 # include <stdlib.h>
23697 typedef wchar_t ac__type_sizeof_;
23698 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23699 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23701 #include <stdlib.h>
23706 FILE *f = fopen ("conftest.val
", "w
");
23709 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23711 long int i = longval ();
23712 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23714 fprintf (f, "%ld
\n", i);
23718 unsigned long int i = ulongval ();
23719 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23721 fprintf (f, "%lu
\n", i);
23723 return ferror (f) || fclose (f) != 0;
23729 rm -f conftest$ac_exeext
23730 if { (ac_try="$ac_link"
23731 case "(($ac_try" in
23732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23733 *) ac_try_echo=$ac_try;;
23735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23736 (eval "$ac_link") 2>&5
23738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23740 { (case "(($ac_try" in
23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23744 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_try") 2>&5
23747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23748 (exit $ac_status); }; }; then
23749 ac_cv_sizeof_wchar_t=`cat conftest.val`
23751 echo "$as_me: program exited with status
$ac_status" >&5
23752 echo "$as_me: failed program was
:" >&5
23753 sed 's/^/| /' conftest.$ac_ext >&5
23755 ( exit $ac_status )
23756 if test "$ac_cv_type_wchar_t" = yes; then
23757 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23758 See \
`config.log' for more details." >&5
23759 echo "$as_me: error: cannot compute sizeof (wchar_t)
23760 See \`config.log
' for more details." >&2;}
23761 { (exit 77); exit 77; }; }
23763 ac_cv_sizeof_wchar_t=0
23766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23770 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23771 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23775 cat >>confdefs.h <<_ACEOF
23776 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23780 if test "$ac_cv_sizeof_wchar_t" != 0; then
23786 { echo "$as_me:$LINENO: checking for va_copy" >&5
23787 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23788 if test "${wx_cv_func_va_copy+set}" = set; then
23789 echo $ECHO_N "(cached) $ECHO_C" >&6
23793 ac_cpp='$CXXCPP $CPPFLAGS'
23794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23795 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23798 cat >conftest.$ac_ext <<_ACEOF
23800 #include <stdarg.h>
23801 void foo(char *f, ...)
23815 rm -f conftest.$ac_objext conftest$ac_exeext
23816 if { (ac_try="$ac_link"
23817 case "(($ac_try" in
23818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23819 *) ac_try_echo=$ac_try;;
23821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23822 (eval "$ac_link") 2>conftest.er1
23824 grep -v '^
*+' conftest.er1 >conftest.err
23826 cat conftest.err >&5
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); } && {
23829 test -z "$ac_cxx_werror_flag" ||
23830 test ! -s conftest.err
23831 } && test -s conftest$ac_exeext &&
23832 $as_test_x conftest$ac_exeext; then
23833 wx_cv_func_va_copy=yes
23835 echo "$as_me: failed program was:" >&5
23836 sed 's
/^
/| /' conftest.$ac_ext >&5
23838 wx_cv_func_va_copy=no
23842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23843 conftest$ac_exeext conftest.$ac_ext
23845 ac_cpp='$CPP $CPPFLAGS'
23846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23847 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23853 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23854 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23856 if test $wx_cv_func_va_copy = "yes"; then
23857 cat >>confdefs.h <<\_ACEOF
23858 #define HAVE_VA_COPY 1
23862 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23863 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23864 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23865 echo $ECHO_N "(cached) $ECHO_C" >&6
23868 if test "$cross_compiling" = yes; then
23869 wx_cv_type_va_list_lvalue=yes
23872 cat >conftest.$ac_ext <<_ACEOF
23874 #include <stdarg.h>
23875 int foo(char *f, ...)
23880 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23888 return foo("hi", 17);
23891 rm -f conftest$ac_exeext
23892 if { (ac_try="$ac_link"
23893 case "(($ac_try" in
23894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23895 *) ac_try_echo=$ac_try;;
23897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23898 (eval "$ac_link") 2>&5
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23902 { (case "(($ac_try" in
23903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23904 *) ac_try_echo=$ac_try;;
23906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23907 (eval "$ac_try") 2>&5
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; }; then
23911 wx_cv_type_va_list_lvalue=yes
23913 echo "$as_me: program exited with status $ac_status" >&5
23914 echo "$as_me: failed program was:" >&5
23915 sed 's
/^
/| /' conftest.$ac_ext >&5
23917 ( exit $ac_status )
23918 wx_cv_type_va_list_lvalue=no
23920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23927 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23928 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23930 if test $wx_cv_type_va_list_lvalue != "yes"; then
23931 cat >>confdefs.h <<\_ACEOF
23932 #define VA_LIST_IS_ARRAY 1
23938 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23940 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23941 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23942 if test "${wx_cv_have_variadic_macros+set}" = set; then
23943 echo $ECHO_N "(cached) $ECHO_C" >&6
23947 ac_cpp='$CXXCPP $CPPFLAGS'
23948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23949 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23952 cat >conftest.$ac_ext <<_ACEOF
23955 cat confdefs.h >>conftest.$ac_ext
23956 cat >>conftest.$ac_ext <<_ACEOF
23957 /* end confdefs.h. */
23960 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23966 test("%s %d %p", "test", 1, 0);
23973 rm -f conftest.$ac_objext
23974 if { (ac_try="$ac_compile"
23975 case "(($ac_try" in
23976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23977 *) ac_try_echo=$ac_try;;
23979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23980 (eval "$ac_compile") 2>conftest.er1
23982 grep -v '^
*+' conftest.er1 >conftest.err
23984 cat conftest.err >&5
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); } && {
23987 test -z "$ac_cxx_werror_flag" ||
23988 test ! -s conftest.err
23989 } && test -s conftest.$ac_objext; then
23990 wx_cv_have_variadic_macros=yes
23992 echo "$as_me: failed program was:" >&5
23993 sed 's
/^
/| /' conftest.$ac_ext >&5
23995 wx_cv_have_variadic_macros=no
23999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24001 ac_cpp='$CPP $CPPFLAGS'
24002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24003 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24009 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24010 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24012 if test $wx_cv_have_variadic_macros = "yes"; then
24013 cat >>confdefs.h <<\_ACEOF
24014 #define HAVE_VARIADIC_MACROS 1
24021 LARGEFILE_CPPFLAGS=
24022 # Check whether --enable-largefile was given.
24023 if test "${enable_largefile+set}" = set; then
24024 enableval=$enable_largefile;
24027 if test "$enable_largefile" != no; then
24030 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24031 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24032 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24033 echo $ECHO_N "(cached) $ECHO_C" >&6
24036 cat >conftest.$ac_ext <<_ACEOF
24039 cat confdefs.h >>conftest.$ac_ext
24040 cat >>conftest.$ac_ext <<_ACEOF
24041 /* end confdefs.h. */
24042 #define _FILE_OFFSET_BITS 64
24043 #include <sys/types.h>
24048 unsigned int field: sizeof(off_t) == 8;
24055 rm -f conftest.$ac_objext
24056 if { (ac_try="$ac_compile"
24057 case "(($ac_try" in
24058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24059 *) ac_try_echo=$ac_try;;
24061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24062 (eval "$ac_compile") 2>conftest.er1
24064 grep -v '^
*+' conftest.er1 >conftest.err
24066 cat conftest.err >&5
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); } && {
24069 test -z "$ac_c_werror_flag" ||
24070 test ! -s conftest.err
24071 } && test -s conftest.$ac_objext; then
24072 ac_cv_sys_file_offset_bits=64
24074 echo "$as_me: failed program was:" >&5
24075 sed 's
/^
/| /' conftest.$ac_ext >&5
24077 ac_cv_sys_file_offset_bits=no
24080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24084 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24085 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24087 if test "$ac_cv_sys_file_offset_bits" != no; then
24089 cat >>confdefs.h <<_ACEOF
24090 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24095 if test "x$wx_largefile" != "xyes"; then
24097 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24098 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24099 if test "${ac_cv_sys_large_files+set}" = set; then
24100 echo $ECHO_N "(cached) $ECHO_C" >&6
24103 cat >conftest.$ac_ext <<_ACEOF
24106 cat confdefs.h >>conftest.$ac_ext
24107 cat >>conftest.$ac_ext <<_ACEOF
24108 /* end confdefs.h. */
24109 #define _LARGE_FILES 1
24110 #include <sys/types.h>
24115 unsigned int field: sizeof(off_t) == 8;
24122 rm -f conftest.$ac_objext
24123 if { (ac_try="$ac_compile"
24124 case "(($ac_try" in
24125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24126 *) ac_try_echo=$ac_try;;
24128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24129 (eval "$ac_compile") 2>conftest.er1
24131 grep -v '^
*+' conftest.er1 >conftest.err
24133 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } && {
24136 test -z "$ac_c_werror_flag" ||
24137 test ! -s conftest.err
24138 } && test -s conftest.$ac_objext; then
24139 ac_cv_sys_large_files=1
24141 echo "$as_me: failed program was:" >&5
24142 sed 's
/^
/| /' conftest.$ac_ext >&5
24144 ac_cv_sys_large_files=no
24147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24151 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24152 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24154 if test "$ac_cv_sys_large_files" != no; then
24156 cat >>confdefs.h <<_ACEOF
24157 #define _LARGE_FILES $ac_cv_sys_large_files
24164 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24165 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24166 if test "x$wx_largefile" = "xyes"; then
24167 cat >>confdefs.h <<\_ACEOF
24168 #define HAVE_LARGEFILE_SUPPORT 1
24172 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24173 echo "${ECHO_T}$wx_largefile" >&6; }
24176 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24177 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24178 elif test "$ac_cv_sys_large_files" = 1; then
24179 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24182 if test -n "$LARGEFILE_CPPFLAGS"; then
24183 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24185 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24186 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24187 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24188 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24189 echo $ECHO_N "(cached) $ECHO_C" >&6
24193 ac_cpp='$CXXCPP $CPPFLAGS'
24194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24195 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24198 cat >conftest.$ac_ext <<_ACEOF
24201 cat confdefs.h >>conftest.$ac_ext
24202 cat >>conftest.$ac_ext <<_ACEOF
24203 /* end confdefs.h. */
24209 #ifndef __STDC_EXT__
24217 rm -f conftest.$ac_objext
24218 if { (ac_try="$ac_compile"
24219 case "(($ac_try" in
24220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24221 *) ac_try_echo=$ac_try;;
24223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24224 (eval "$ac_compile") 2>conftest.er1
24226 grep -v '^
*+' conftest.er1 >conftest.err
24228 cat conftest.err >&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); } && {
24231 test -z "$ac_cxx_werror_flag" ||
24232 test ! -s conftest.err
24233 } && test -s conftest.$ac_objext; then
24234 wx_cv_STDC_EXT_required=no
24236 echo "$as_me: failed program was:" >&5
24237 sed 's
/^
/| /' conftest.$ac_ext >&5
24239 wx_cv_STDC_EXT_required=yes
24243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24245 ac_cpp='$CPP $CPPFLAGS'
24246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24247 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24253 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24254 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24255 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24256 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24262 ac_cpp='$CXXCPP $CPPFLAGS'
24263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24264 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24267 old_CPPFLAGS="$CPPFLAGS"
24268 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24269 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24270 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24271 if test "${ac_cv_sys_largefile_source+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24275 cat >conftest.$ac_ext <<_ACEOF
24278 cat confdefs.h >>conftest.$ac_ext
24279 cat >>conftest.$ac_ext <<_ACEOF
24280 /* end confdefs.h. */
24281 #include <sys/types.h> /* for off_t */
24286 int (*fp) (FILE *, off_t, int) = fseeko;
24287 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24292 rm -f conftest.$ac_objext conftest$ac_exeext
24293 if { (ac_try="$ac_link"
24294 case "(($ac_try" in
24295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24296 *) ac_try_echo=$ac_try;;
24298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24299 (eval "$ac_link") 2>conftest.er1
24301 grep -v '^
*+' conftest.er1 >conftest.err
24303 cat conftest.err >&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); } && {
24306 test -z "$ac_cxx_werror_flag" ||
24307 test ! -s conftest.err
24308 } && test -s conftest$ac_exeext &&
24309 $as_test_x conftest$ac_exeext; then
24310 ac_cv_sys_largefile_source=no; break
24312 echo "$as_me: failed program was:" >&5
24313 sed 's
/^
/| /' conftest.$ac_ext >&5
24318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24319 conftest$ac_exeext conftest.$ac_ext
24320 cat >conftest.$ac_ext <<_ACEOF
24323 cat confdefs.h >>conftest.$ac_ext
24324 cat >>conftest.$ac_ext <<_ACEOF
24325 /* end confdefs.h. */
24326 #define _LARGEFILE_SOURCE 1
24327 #include <sys/types.h> /* for off_t */
24332 int (*fp) (FILE *, off_t, int) = fseeko;
24333 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24338 rm -f conftest.$ac_objext conftest$ac_exeext
24339 if { (ac_try="$ac_link"
24340 case "(($ac_try" in
24341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24342 *) ac_try_echo=$ac_try;;
24344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24345 (eval "$ac_link") 2>conftest.er1
24347 grep -v '^
*+' conftest.er1 >conftest.err
24349 cat conftest.err >&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } && {
24352 test -z "$ac_cxx_werror_flag" ||
24353 test ! -s conftest.err
24354 } && test -s conftest$ac_exeext &&
24355 $as_test_x conftest$ac_exeext; then
24356 ac_cv_sys_largefile_source=1; break
24358 echo "$as_me: failed program was:" >&5
24359 sed 's
/^
/| /' conftest.$ac_ext >&5
24364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24365 conftest$ac_exeext conftest.$ac_ext
24366 ac_cv_sys_largefile_source=unknown
24370 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24371 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24372 case $ac_cv_sys_largefile_source in #(
24375 cat >>confdefs.h <<_ACEOF
24376 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24382 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24383 # in glibc 2.1.3, but that breaks too many other things.
24384 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24385 if test $ac_cv_sys_largefile_source != unknown; then
24387 cat >>confdefs.h <<\_ACEOF
24388 #define HAVE_FSEEKO 1
24393 CPPFLAGS="$old_CPPFLAGS"
24395 ac_cpp='$CPP $CPPFLAGS'
24396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24397 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24400 if test "$ac_cv_sys_largefile_source" != no; then
24401 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24404 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24405 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24406 if test "${ac_cv_c_bigendian+set}" = set; then
24407 echo $ECHO_N "(cached) $ECHO_C" >&6
24409 ac_cv_c_bigendian=unknown
24410 # See if sys/param.h defines the BYTE_ORDER macro.
24411 cat >conftest.$ac_ext <<_ACEOF
24414 cat confdefs.h >>conftest.$ac_ext
24415 cat >>conftest.$ac_ext <<_ACEOF
24416 /* end confdefs.h. */
24417 #include <sys/types.h>
24418 #include <sys/param.h>
24423 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24424 bogus endian macros
24430 rm -f conftest.$ac_objext
24431 if { (ac_try="$ac_compile"
24432 case "(($ac_try" in
24433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24434 *) ac_try_echo=$ac_try;;
24436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24437 (eval "$ac_compile") 2>conftest.er1
24439 grep -v '^
*+' conftest.er1 >conftest.err
24441 cat conftest.err >&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } && {
24444 test -z "$ac_c_werror_flag" ||
24445 test ! -s conftest.err
24446 } && test -s conftest.$ac_objext; then
24447 # It does; now see whether it defined to BIG_ENDIAN or not.
24448 cat >conftest.$ac_ext <<_ACEOF
24451 cat confdefs.h >>conftest.$ac_ext
24452 cat >>conftest.$ac_ext <<_ACEOF
24453 /* end confdefs.h. */
24454 #include <sys/types.h>
24455 #include <sys/param.h>
24460 #if BYTE_ORDER != BIG_ENDIAN
24467 rm -f conftest.$ac_objext
24468 if { (ac_try="$ac_compile"
24469 case "(($ac_try" in
24470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24471 *) ac_try_echo=$ac_try;;
24473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24474 (eval "$ac_compile") 2>conftest.er1
24476 grep -v '^
*+' conftest.er1 >conftest.err
24478 cat conftest.err >&5
24479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24480 (exit $ac_status); } && {
24481 test -z "$ac_c_werror_flag" ||
24482 test ! -s conftest.err
24483 } && test -s conftest.$ac_objext; then
24484 ac_cv_c_bigendian=yes
24486 echo "$as_me: failed program was:" >&5
24487 sed 's
/^
/| /' conftest.$ac_ext >&5
24489 ac_cv_c_bigendian=no
24492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24494 echo "$as_me: failed program was:" >&5
24495 sed 's
/^
/| /' conftest.$ac_ext >&5
24500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24501 if test $ac_cv_c_bigendian = unknown; then
24502 if test "$cross_compiling" = yes; then
24503 ac_cv_c_bigendian=unknown
24505 cat >conftest.$ac_ext <<_ACEOF
24508 cat confdefs.h >>conftest.$ac_ext
24509 cat >>conftest.$ac_ext <<_ACEOF
24510 /* end confdefs.h. */
24512 /* Are we little or big endian? From Harbison&Steele. */
24516 char c[sizeof (long)];
24519 exit (u.c[sizeof (long) - 1] == 1);
24522 rm -f conftest$ac_exeext
24523 if { (ac_try="$ac_link"
24524 case "(($ac_try" in
24525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24526 *) ac_try_echo=$ac_try;;
24528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24529 (eval "$ac_link") 2>&5
24531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24533 { (case "(($ac_try" in
24534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24535 *) ac_try_echo=$ac_try;;
24537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24538 (eval "$ac_try") 2>&5
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); }; }; then
24542 ac_cv_c_bigendian=no
24544 echo "$as_me: program exited with status $ac_status" >&5
24545 echo "$as_me: failed program was:" >&5
24546 sed 's
/^
/| /' conftest.$ac_ext >&5
24548 ( exit $ac_status )
24549 ac_cv_c_bigendian=yes
24551 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24557 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24558 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24559 if test $ac_cv_c_bigendian = unknown; then
24560 { 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
24561 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;}
24563 if test $ac_cv_c_bigendian = yes; then
24564 cat >>confdefs.h <<\_ACEOF
24565 #define WORDS_BIGENDIAN 1
24574 ac_cpp='$CXXCPP $CPPFLAGS'
24575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24576 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24581 for ac_header in iostream
24583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24584 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24586 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24587 echo $ECHO_N "(cached) $ECHO_C" >&6
24589 cat >conftest.$ac_ext <<_ACEOF
24592 cat confdefs.h >>conftest.$ac_ext
24593 cat >>conftest.$ac_ext <<_ACEOF
24594 /* end confdefs.h. */
24597 #include <$ac_header>
24599 rm -f conftest.$ac_objext
24600 if { (ac_try="$ac_compile"
24601 case "(($ac_try" in
24602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24603 *) ac_try_echo=$ac_try;;
24605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24606 (eval "$ac_compile") 2>conftest.er1
24608 grep -v '^
*+' conftest.er1 >conftest.err
24610 cat conftest.err >&5
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); } && {
24613 test -z "$ac_cxx_werror_flag" ||
24614 test ! -s conftest.err
24615 } && test -s conftest.$ac_objext; then
24616 eval "$as_ac_Header=yes"
24618 echo "$as_me: failed program was:" >&5
24619 sed 's
/^
/| /' conftest.$ac_ext >&5
24621 eval "$as_ac_Header=no"
24624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24626 ac_res=`eval echo '${'$as_ac_Header'}'`
24627 { echo "$as_me:$LINENO: result: $ac_res" >&5
24628 echo "${ECHO_T}$ac_res" >&6; }
24629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24630 cat >>confdefs.h <<_ACEOF
24631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24639 if test "$ac_cv_header_iostream" = "yes" ; then
24642 cat >>confdefs.h <<\_ACEOF
24643 #define wxUSE_IOSTREAMH 1
24649 ac_cpp='$CPP $CPPFLAGS'
24650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24651 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24657 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24658 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24659 if test "${wx_cv_explicit+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24665 ac_cpp='$CXXCPP $CPPFLAGS'
24666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24667 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24671 cat >conftest.$ac_ext <<_ACEOF
24674 cat confdefs.h >>conftest.$ac_ext
24675 cat >>conftest.$ac_ext <<_ACEOF
24676 /* end confdefs.h. */
24678 class Foo { public: explicit Foo(int) {} };
24690 rm -f conftest.$ac_objext
24691 if { (ac_try="$ac_compile"
24692 case "(($ac_try" in
24693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24694 *) ac_try_echo=$ac_try;;
24696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24697 (eval "$ac_compile") 2>conftest.er1
24699 grep -v '^
*+' conftest.er1 >conftest.err
24701 cat conftest.err >&5
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); } && {
24704 test -z "$ac_cxx_werror_flag" ||
24705 test ! -s conftest.err
24706 } && test -s conftest.$ac_objext; then
24708 cat >conftest.$ac_ext <<_ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24715 class Foo { public: explicit Foo(int) {} };
24716 static void TakeFoo(const Foo& foo) { }
24729 rm -f conftest.$ac_objext
24730 if { (ac_try="$ac_compile"
24731 case "(($ac_try" in
24732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24733 *) ac_try_echo=$ac_try;;
24735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24736 (eval "$ac_compile") 2>conftest.er1
24738 grep -v '^
*+' conftest.er1 >conftest.err
24740 cat conftest.err >&5
24741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742 (exit $ac_status); } && {
24743 test -z "$ac_cxx_werror_flag" ||
24744 test ! -s conftest.err
24745 } && test -s conftest.$ac_objext; then
24748 echo "$as_me: failed program was:" >&5
24749 sed 's
/^
/| /' conftest.$ac_ext >&5
24755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24758 echo "$as_me: failed program was:" >&5
24759 sed 's
/^
/| /' conftest.$ac_ext >&5
24765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24768 ac_cpp='$CPP $CPPFLAGS'
24769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24770 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24775 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24776 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24778 if test "$wx_cv_explicit" = "yes"; then
24779 cat >>confdefs.h <<\_ACEOF
24780 #define HAVE_EXPLICIT 1
24786 if test "x$SUNCXX" = xyes; then
24787 CXXFLAGS="-features=tmplife $CXXFLAGS"
24790 if test "x$SUNCC" = xyes; then
24791 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24794 if test "x$SGICC" = "xyes"; then
24795 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24796 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24797 if test "${wx_cv_prog_sgicc744+set}" = set; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24801 cat >conftest.$ac_ext <<_ACEOF
24804 cat confdefs.h >>conftest.$ac_ext
24805 cat >>conftest.$ac_ext <<_ACEOF
24806 /* end confdefs.h. */
24812 #if _SGI_COMPILER_VERSION >= 744
24813 chock me: mipsPro is 7.4.4 or later
24820 rm -f conftest.$ac_objext
24821 if { (ac_try="$ac_compile"
24822 case "(($ac_try" in
24823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24824 *) ac_try_echo=$ac_try;;
24826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24827 (eval "$ac_compile") 2>conftest.er1
24829 grep -v '^
*+' conftest.er1 >conftest.err
24831 cat conftest.err >&5
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); } && {
24834 test -z "$ac_c_werror_flag" ||
24835 test ! -s conftest.err
24836 } && test -s conftest.$ac_objext; then
24837 wx_cv_prog_sgicc744=no
24839 echo "$as_me: failed program was:" >&5
24840 sed 's
/^
/| /' conftest.$ac_ext >&5
24842 wx_cv_prog_sgicc744=yes
24846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24850 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24851 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24853 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24854 CFLAGS="-woff 3970 $CFLAGS"
24857 if test "x$SGICXX" = "xyes"; then
24858 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24859 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24860 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24861 echo $ECHO_N "(cached) $ECHO_C" >&6
24865 ac_cpp='$CXXCPP $CPPFLAGS'
24866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24867 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24870 cat >conftest.$ac_ext <<_ACEOF
24873 cat confdefs.h >>conftest.$ac_ext
24874 cat >>conftest.$ac_ext <<_ACEOF
24875 /* end confdefs.h. */
24881 #if _SGI_COMPILER_VERSION >= 744
24882 chock me: mipsPro is 7.4.4 or later
24889 rm -f conftest.$ac_objext
24890 if { (ac_try="$ac_compile"
24891 case "(($ac_try" in
24892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24893 *) ac_try_echo=$ac_try;;
24895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24896 (eval "$ac_compile") 2>conftest.er1
24898 grep -v '^
*+' conftest.er1 >conftest.err
24900 cat conftest.err >&5
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); } && {
24903 test -z "$ac_cxx_werror_flag" ||
24904 test ! -s conftest.err
24905 } && test -s conftest.$ac_objext; then
24906 wx_cv_prog_sgicxx744=no
24908 echo "$as_me: failed program was:" >&5
24909 sed 's
/^
/| /' conftest.$ac_ext >&5
24911 wx_cv_prog_sgicxx744=yes
24915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24917 ac_cpp='$CPP $CPPFLAGS'
24918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24919 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24925 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24926 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24928 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24929 CXXFLAGS="-woff 3970 $CXXFLAGS"
24933 if test "x$HPCC" = "xyes"; then
24934 CFLAGS="+W 2011,2450 $CFLAGS"
24936 if test "x$HPCXX" = "xyes"; then
24937 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24940 if test "x$COMPAQCXX" = "xyes"; then
24941 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24945 ac_cpp='$CXXCPP $CPPFLAGS'
24946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24947 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24951 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24952 if test "$wxUSE_UNICODE" = "yes"; then
24953 std_string="std::wstring"
24954 char_type="wchar_t"
24956 std_string="std::string"
24960 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24961 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24962 if test "${wx_cv_class_stdstring+set}" = set; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24966 cat >conftest.$ac_ext <<_ACEOF
24969 cat confdefs.h >>conftest.$ac_ext
24970 cat >>conftest.$ac_ext <<_ACEOF
24971 /* end confdefs.h. */
24981 rm -f conftest.$ac_objext
24982 if { (ac_try="$ac_compile"
24983 case "(($ac_try" in
24984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24985 *) ac_try_echo=$ac_try;;
24987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24988 (eval "$ac_compile") 2>conftest.er1
24990 grep -v '^
*+' conftest.er1 >conftest.err
24992 cat conftest.err >&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); } && {
24995 test -z "$ac_cxx_werror_flag" ||
24996 test ! -s conftest.err
24997 } && test -s conftest.$ac_objext; then
24998 wx_cv_class_stdstring=yes
25000 echo "$as_me: failed program was:" >&5
25001 sed 's
/^
/| /' conftest.$ac_ext >&5
25003 wx_cv_class_stdstring=no
25007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25011 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25012 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25014 if test "$wx_cv_class_stdstring" = yes; then
25015 if test "$wxUSE_UNICODE" = "yes"; then
25016 cat >>confdefs.h <<\_ACEOF
25017 #define HAVE_STD_WSTRING 1
25022 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25023 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25024 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25025 echo $ECHO_N "(cached) $ECHO_C" >&6
25028 cat >conftest.$ac_ext <<_ACEOF
25031 cat confdefs.h >>conftest.$ac_ext
25032 cat >>conftest.$ac_ext <<_ACEOF
25033 /* end confdefs.h. */
25035 #ifdef HAVE_WCHAR_H
25037 # include <stddef.h>
25039 # include <wchar.h>
25041 #ifdef HAVE_STDLIB_H
25042 # include <stdlib.h>
25050 std::basic_string<$char_type> foo;
25051 const $char_type* dummy = foo.c_str();
25056 rm -f conftest.$ac_objext
25057 if { (ac_try="$ac_compile"
25058 case "(($ac_try" in
25059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25060 *) ac_try_echo=$ac_try;;
25062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25063 (eval "$ac_compile") 2>conftest.er1
25065 grep -v '^
*+' conftest.er1 >conftest.err
25067 cat conftest.err >&5
25068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25069 (exit $ac_status); } && {
25070 test -z "$ac_cxx_werror_flag" ||
25071 test ! -s conftest.err
25072 } && test -s conftest.$ac_objext; then
25073 wx_cv_class_stdbasicstring=yes
25075 echo "$as_me: failed program was:" >&5
25076 sed 's
/^
/| /' conftest.$ac_ext >&5
25078 wx_cv_class_stdbasicstring=no
25082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25086 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25087 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25089 if test "$wx_cv_class_stdbasicstring" != yes; then
25090 if test "$wxUSE_STL" = "yes"; then
25091 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25092 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25093 { (exit 1); exit 1; }; }
25094 elif test "$wxUSE_STD_STRING" = "yes"; then
25095 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25096 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25097 { (exit 1); exit 1; }; }
25099 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25100 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25101 wxUSE_STD_STRING=no
25107 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25108 { echo "$as_me:$LINENO: checking for std::istream" >&5
25109 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25110 if test "${ac_cv_type_std__istream+set}" = set; then
25111 echo $ECHO_N "(cached) $ECHO_C" >&6
25113 cat >conftest.$ac_ext <<_ACEOF
25116 cat confdefs.h >>conftest.$ac_ext
25117 cat >>conftest.$ac_ext <<_ACEOF
25118 /* end confdefs.h. */
25119 #include <iostream>
25121 typedef std::istream ac__type_new_;
25125 if ((ac__type_new_ *) 0)
25127 if (sizeof (ac__type_new_))
25133 rm -f conftest.$ac_objext
25134 if { (ac_try="$ac_compile"
25135 case "(($ac_try" in
25136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25137 *) ac_try_echo=$ac_try;;
25139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25140 (eval "$ac_compile") 2>conftest.er1
25142 grep -v '^
*+' conftest.er1 >conftest.err
25144 cat conftest.err >&5
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); } && {
25147 test -z "$ac_cxx_werror_flag" ||
25148 test ! -s conftest.err
25149 } && test -s conftest.$ac_objext; then
25150 ac_cv_type_std__istream=yes
25152 echo "$as_me: failed program was:" >&5
25153 sed 's
/^
/| /' conftest.$ac_ext >&5
25155 ac_cv_type_std__istream=no
25158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25160 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25161 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25162 if test $ac_cv_type_std__istream = yes; then
25164 cat >>confdefs.h <<_ACEOF
25165 #define HAVE_STD__ISTREAM 1
25170 wxUSE_STD_IOSTREAM=no
25172 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25173 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25174 if test "${ac_cv_type_std__ostream+set}" = set; then
25175 echo $ECHO_N "(cached) $ECHO_C" >&6
25177 cat >conftest.$ac_ext <<_ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25183 #include <iostream>
25185 typedef std::ostream ac__type_new_;
25189 if ((ac__type_new_ *) 0)
25191 if (sizeof (ac__type_new_))
25197 rm -f conftest.$ac_objext
25198 if { (ac_try="$ac_compile"
25199 case "(($ac_try" in
25200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25201 *) ac_try_echo=$ac_try;;
25203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25204 (eval "$ac_compile") 2>conftest.er1
25206 grep -v '^
*+' conftest.er1 >conftest.err
25208 cat conftest.err >&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } && {
25211 test -z "$ac_cxx_werror_flag" ||
25212 test ! -s conftest.err
25213 } && test -s conftest.$ac_objext; then
25214 ac_cv_type_std__ostream=yes
25216 echo "$as_me: failed program was:" >&5
25217 sed 's
/^
/| /' conftest.$ac_ext >&5
25219 ac_cv_type_std__ostream=no
25222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25225 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25226 if test $ac_cv_type_std__ostream = yes; then
25228 cat >>confdefs.h <<_ACEOF
25229 #define HAVE_STD__OSTREAM 1
25234 wxUSE_STD_IOSTREAM=no
25238 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25239 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25240 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25241 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25242 { (exit 1); exit 1; }; }
25244 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25245 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25250 if test "$wxUSE_STL" = "yes"; then
25251 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25252 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25253 if test "${wx_cv_lib_stl+set}" = set; then
25254 echo $ECHO_N "(cached) $ECHO_C" >&6
25256 cat >conftest.$ac_ext <<_ACEOF
25259 cat confdefs.h >>conftest.$ac_ext
25260 cat >>conftest.$ac_ext <<_ACEOF
25261 /* end confdefs.h. */
25263 #include <functional>
25264 #include <algorithm>
25270 std::vector<int> moo;
25271 std::list<int> foo;
25272 std::vector<int>::iterator it =
25273 std::find_if(moo.begin(), moo.end(),
25274 std::bind2nd(std::less<int>(), 3));
25279 rm -f conftest.$ac_objext
25280 if { (ac_try="$ac_compile"
25281 case "(($ac_try" in
25282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25283 *) ac_try_echo=$ac_try;;
25285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25286 (eval "$ac_compile") 2>conftest.er1
25288 grep -v '^
*+' conftest.er1 >conftest.err
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } && {
25293 test -z "$ac_cxx_werror_flag" ||
25294 test ! -s conftest.err
25295 } && test -s conftest.$ac_objext; then
25298 echo "$as_me: failed program was:" >&5
25299 sed 's
/^
/| /' conftest.$ac_ext >&5
25305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25308 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25309 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25311 if test "$wx_cv_lib_stl" != yes; then
25312 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25313 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25314 { (exit 1); exit 1; }; }
25317 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25318 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25319 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25320 echo $ECHO_N "(cached) $ECHO_C" >&6
25322 cat >conftest.$ac_ext <<_ACEOF
25325 cat confdefs.h >>conftest.$ac_ext
25326 cat >>conftest.$ac_ext <<_ACEOF
25327 /* end confdefs.h. */
25332 std::string foo, bar;
25334 foo.compare(1, 1, bar);
25335 foo.compare(1, 1, bar, 1, 1);
25337 foo.compare(1, 1, "");
25338 foo.compare(1, 1, "", 2);
25343 rm -f conftest.$ac_objext
25344 if { (ac_try="$ac_compile"
25345 case "(($ac_try" in
25346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25347 *) ac_try_echo=$ac_try;;
25349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25350 (eval "$ac_compile") 2>conftest.er1
25352 grep -v '^
*+' conftest.er1 >conftest.err
25354 cat conftest.err >&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); } && {
25357 test -z "$ac_cxx_werror_flag" ||
25358 test ! -s conftest.err
25359 } && test -s conftest.$ac_objext; then
25360 wx_cv_func_stdstring_compare=yes
25362 echo "$as_me: failed program was:" >&5
25363 sed 's
/^
/| /' conftest.$ac_ext >&5
25365 wx_cv_func_stdstring_compare=no
25369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25372 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25373 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25375 if test "$wx_cv_func_stdstring_compare" = yes; then
25376 cat >>confdefs.h <<\_ACEOF
25377 #define HAVE_STD_STRING_COMPARE 1
25382 if test "$wx_cv_class_gnuhashmapset" = yes; then
25383 cat >>confdefs.h <<\_ACEOF
25384 #define HAVE_EXT_HASH_MAP 1
25387 cat >>confdefs.h <<\_ACEOF
25388 #define HAVE_GNU_CXX_HASH_MAP 1
25393 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25394 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25395 if test "${ac_cv_header_unordered_map+set}" = set; then
25396 echo $ECHO_N "(cached) $ECHO_C" >&6
25398 cat >conftest.$ac_ext <<_ACEOF
25401 cat confdefs.h >>conftest.$ac_ext
25402 cat >>conftest.$ac_ext <<_ACEOF
25403 /* end confdefs.h. */
25407 #include <unordered_map>
25409 rm -f conftest.$ac_objext
25410 if { (ac_try="$ac_compile"
25411 case "(($ac_try" in
25412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25413 *) ac_try_echo=$ac_try;;
25415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25416 (eval "$ac_compile") 2>conftest.er1
25418 grep -v '^
*+' conftest.er1 >conftest.err
25420 cat conftest.err >&5
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); } && {
25423 test -z "$ac_cxx_werror_flag" ||
25424 test ! -s conftest.err
25425 } && test -s conftest.$ac_objext; then
25426 ac_cv_header_unordered_map=yes
25428 echo "$as_me: failed program was:" >&5
25429 sed 's
/^
/| /' conftest.$ac_ext >&5
25431 ac_cv_header_unordered_map=no
25434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25436 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25437 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25438 if test $ac_cv_header_unordered_map = yes; then
25439 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25440 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25441 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25442 echo $ECHO_N "(cached) $ECHO_C" >&6
25444 cat >conftest.$ac_ext <<_ACEOF
25447 cat confdefs.h >>conftest.$ac_ext
25448 cat >>conftest.$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25450 #include <unordered_map>
25451 #include <unordered_set>
25455 std::unordered_map<double*, char*> test1;
25456 std::unordered_set<char*> test2;
25461 rm -f conftest.$ac_objext
25462 if { (ac_try="$ac_compile"
25463 case "(($ac_try" in
25464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25465 *) ac_try_echo=$ac_try;;
25467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25468 (eval "$ac_compile") 2>conftest.er1
25470 grep -v '^
*+' conftest.er1 >conftest.err
25472 cat conftest.err >&5
25473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474 (exit $ac_status); } && {
25475 test -z "$ac_cxx_werror_flag" ||
25476 test ! -s conftest.err
25477 } && test -s conftest.$ac_objext; then
25478 wx_cv_class_stdunorderedmapset=yes
25480 echo "$as_me: failed program was:" >&5
25481 sed 's
/^
/| /' conftest.$ac_ext >&5
25483 wx_cv_class_stdunorderedmapset=no
25486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25490 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25491 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25496 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25497 cat >>confdefs.h <<\_ACEOF
25498 #define HAVE_STD_UNORDERED_MAP 1
25501 cat >>confdefs.h <<\_ACEOF
25502 #define HAVE_STD_UNORDERED_SET 1
25506 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25507 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25508 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25511 cat >conftest.$ac_ext <<_ACEOF
25514 cat confdefs.h >>conftest.$ac_ext
25515 cat >>conftest.$ac_ext <<_ACEOF
25516 /* end confdefs.h. */
25520 #include <tr1/unordered_map>
25522 rm -f conftest.$ac_objext
25523 if { (ac_try="$ac_compile"
25524 case "(($ac_try" in
25525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25526 *) ac_try_echo=$ac_try;;
25528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25529 (eval "$ac_compile") 2>conftest.er1
25531 grep -v '^
*+' conftest.er1 >conftest.err
25533 cat conftest.err >&5
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); } && {
25536 test -z "$ac_cxx_werror_flag" ||
25537 test ! -s conftest.err
25538 } && test -s conftest.$ac_objext; then
25539 ac_cv_header_tr1_unordered_map=yes
25541 echo "$as_me: failed program was:" >&5
25542 sed 's
/^
/| /' conftest.$ac_ext >&5
25544 ac_cv_header_tr1_unordered_map=no
25547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25549 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25550 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25551 if test $ac_cv_header_tr1_unordered_map = yes; then
25552 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25553 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25554 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25555 echo $ECHO_N "(cached) $ECHO_C" >&6
25557 cat >conftest.$ac_ext <<_ACEOF
25560 cat confdefs.h >>conftest.$ac_ext
25561 cat >>conftest.$ac_ext <<_ACEOF
25562 /* end confdefs.h. */
25563 #include <tr1/unordered_map>
25564 #include <tr1/unordered_set>
25568 std::tr1::unordered_map<double*, char*> test1;
25569 std::tr1::unordered_set<char*> test2;
25570 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25571 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25577 rm -f conftest.
$ac_objext
25578 if { (ac_try
="$ac_compile"
25579 case "(($ac_try" in
25580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25581 *) ac_try_echo=$ac_try;;
25583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25584 (eval "$ac_compile") 2>conftest.er1
25586 grep -v '^ *+' conftest.er1 >conftest.err
25588 cat conftest.err >&5
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); } && {
25591 test -z "$ac_cxx_werror_flag" ||
25592 test ! -s conftest.err
25593 } && test -s conftest.$ac_objext; then
25594 wx_cv_class_tr1unorderedmapset=yes
25596 echo "$as_me: failed program was:" >&5
25597 sed 's/^/| /' conftest.$ac_ext >&5
25599 wx_cv_class_tr1unorderedmapset=no
25602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25606 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25607 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25612 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25613 cat >>confdefs.h <<\_ACEOF
25614 #define HAVE_TR1_UNORDERED_MAP 1
25617 cat >>confdefs.h <<\_ACEOF
25618 #define HAVE_TR1_UNORDERED_SET 1
25622 { echo "$as_me:$LINENO: checking for hash_map" >&5
25623 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25624 if test "${ac_cv_header_hash_map+set}" = set; then
25625 echo $ECHO_N "(cached) $ECHO_C" >&6
25627 cat >conftest.$ac_ext <<_ACEOF
25630 cat confdefs.h >>conftest.$ac_ext
25631 cat >>conftest.$ac_ext <<_ACEOF
25632 /* end confdefs.h. */
25636 #include <hash_map>
25638 rm -f conftest.$ac_objext
25639 if { (ac_try="$ac_compile"
25640 case "(($ac_try" in
25641 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25642 *) ac_try_echo
=$ac_try;;
25644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25645 (eval "$ac_compile") 2>conftest.er1
25647 grep -v '^ *+' conftest.er1
>conftest.err
25649 cat conftest.err
>&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } && {
25652 test -z "$ac_cxx_werror_flag" ||
25653 test ! -s conftest.err
25654 } && test -s conftest.
$ac_objext; then
25655 ac_cv_header_hash_map
=yes
25657 echo "$as_me: failed program was:" >&5
25658 sed 's/^/| /' conftest.
$ac_ext >&5
25660 ac_cv_header_hash_map
=no
25663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25665 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25666 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25667 if test $ac_cv_header_hash_map = yes; then
25668 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25669 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25670 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25673 cat >conftest.
$ac_ext <<_ACEOF
25676 cat confdefs.h
>>conftest.
$ac_ext
25677 cat >>conftest.
$ac_ext <<_ACEOF
25678 /* end confdefs.h. */
25679 #include <hash_map>
25680 #include <hash_set>
25684 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25685 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25690 rm -f conftest.
$ac_objext
25691 if { (ac_try
="$ac_compile"
25692 case "(($ac_try" in
25693 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25694 *) ac_try_echo=$ac_try;;
25696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25697 (eval "$ac_compile") 2>conftest.er1
25699 grep -v '^ *+' conftest.er1 >conftest.err
25701 cat conftest.err >&5
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); } && {
25704 test -z "$ac_cxx_werror_flag" ||
25705 test ! -s conftest.err
25706 } && test -s conftest.$ac_objext; then
25707 wx_cv_class_stdhashmapset=yes
25709 echo "$as_me: failed program was:" >&5
25710 sed 's/^/| /' conftest.$ac_ext >&5
25712 wx_cv_class_stdhashmapset=no
25715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25719 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25720 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25725 if test "$wx_cv_class_stdhashmapset" = yes; then
25726 cat >>confdefs.h <<\_ACEOF
25727 #define HAVE_HASH_MAP 1
25730 cat >>confdefs.h <<\_ACEOF
25731 #define HAVE_STD_HASH_MAP 1
25736 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25737 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25738 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25739 echo $ECHO_N "(cached) $ECHO_C" >&6
25741 cat >conftest.$ac_ext <<_ACEOF
25744 cat confdefs.h >>conftest.$ac_ext
25745 cat >>conftest.$ac_ext <<_ACEOF
25746 /* end confdefs.h. */
25750 #include <ext/hash_map>
25752 rm -f conftest.$ac_objext
25753 if { (ac_try="$ac_compile"
25754 case "(($ac_try" in
25755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25756 *) ac_try_echo
=$ac_try;;
25758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25759 (eval "$ac_compile") 2>conftest.er1
25761 grep -v '^ *+' conftest.er1
>conftest.err
25763 cat conftest.err
>&5
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); } && {
25766 test -z "$ac_cxx_werror_flag" ||
25767 test ! -s conftest.err
25768 } && test -s conftest.
$ac_objext; then
25769 ac_cv_header_ext_hash_map
=yes
25771 echo "$as_me: failed program was:" >&5
25772 sed 's/^/| /' conftest.
$ac_ext >&5
25774 ac_cv_header_ext_hash_map
=no
25777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25779 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25780 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25781 if test $ac_cv_header_ext_hash_map = yes; then
25782 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25783 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25784 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25785 echo $ECHO_N "(cached) $ECHO_C" >&6
25787 cat >conftest.
$ac_ext <<_ACEOF
25790 cat confdefs.h
>>conftest.
$ac_ext
25791 cat >>conftest.
$ac_ext <<_ACEOF
25792 /* end confdefs.h. */
25793 #include <ext/hash_map>
25794 #include <ext/hash_set>
25798 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25799 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25804 rm -f conftest.
$ac_objext
25805 if { (ac_try
="$ac_compile"
25806 case "(($ac_try" in
25807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25808 *) ac_try_echo=$ac_try;;
25810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25811 (eval "$ac_compile") 2>conftest.er1
25813 grep -v '^ *+' conftest.er1 >conftest.err
25815 cat conftest.err >&5
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); } && {
25818 test -z "$ac_cxx_werror_flag" ||
25819 test ! -s conftest.err
25820 } && test -s conftest.$ac_objext; then
25821 wx_cv_class_gnuhashmapset=yes
25823 echo "$as_me: failed program was:" >&5
25824 sed 's/^/| /' conftest.$ac_ext >&5
25826 wx_cv_class_gnuhashmapset=no
25829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25833 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25834 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25845 if test -n "$GCC"; then
25846 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25847 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25848 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25849 echo $ECHO_N "(cached) $ECHO_C" >&6
25852 cat >conftest.$ac_ext <<_ACEOF
25855 cat confdefs.h >>conftest.$ac_ext
25856 cat >>conftest.$ac_ext <<_ACEOF
25857 /* end confdefs.h. */
25863 unsigned int value=0;
25864 /* wxAtomicInc doesn't use return value here */
25865 __sync_fetch_and_add(&value, 2);
25866 __sync_sub_and_fetch(&value, 1);
25867 /* but wxAtomicDec does, so mimic that: */
25868 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25874 rm -f conftest.$ac_objext conftest$ac_exeext
25875 if { (ac_try="$ac_link"
25876 case "(($ac_try" in
25877 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25878 *) ac_try_echo
=$ac_try;;
25880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25881 (eval "$ac_link") 2>conftest.er1
25883 grep -v '^ *+' conftest.er1
>conftest.err
25885 cat conftest.err
>&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } && {
25888 test -z "$ac_cxx_werror_flag" ||
25889 test ! -s conftest.err
25890 } && test -s conftest
$ac_exeext &&
25891 $as_test_x conftest
$ac_exeext; then
25892 wx_cv_cc_gcc_atomic_builtins
=yes
25894 echo "$as_me: failed program was:" >&5
25895 sed 's/^/| /' conftest.
$ac_ext >&5
25897 wx_cv_cc_gcc_atomic_builtins
=no
25900 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25901 conftest
$ac_exeext conftest.
$ac_ext
25905 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25906 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25907 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25908 cat >>confdefs.h
<<\_ACEOF
25909 #define HAVE_GCC_ATOMIC_BUILTINS 1
25917 ac_cpp
='$CPP $CPPFLAGS'
25918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25925 /usr/local/include \
25926 /usr/local/X11/include \
25927 /usr/local/include/X11 \
25928 /usr/local/X11R7/include \
25929 /usr/local/X11R6/include \
25930 /usr/local/include/X11R7 \
25931 /usr/local/include/X11R6 \
25933 /usr/Motif-2.1/include \
25934 /usr/Motif-1.2/include \
25935 /usr/include/Motif1.2 \
25938 /usr/openwin/include \
25942 /usr/X11R7/include \
25943 /usr/X11R6/include \
25944 /usr/X11R6.4/include \
25946 /usr/include/X11R7 \
25947 /usr/include/X11R6 \
25952 /usr/XFree86/include/X11 \
25955 /usr/local/X1R5/include \
25956 /usr/local/include/X11R5 \
25957 /usr/X11R5/include \
25958 /usr/include/X11R5 \
25960 /usr/local/X11R4/include \
25961 /usr/local/include/X11R4 \
25962 /usr/X11R4/include \
25963 /usr/include/X11R4 \
25965 /usr/openwin/share/include"
25967 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25968 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25972 if test "${wx_cv_std_libpath+set}" = set; then
25973 echo $ECHO_N "(cached) $ECHO_C" >&6
25976 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25977 for e
in a so sl dylib dll.a
; do
25979 if test -f $libc; then
25982 cat >conftest.
$ac_ext <<_ACEOF
25983 int main() { return 0; }
25985 rm -f conftest.
$ac_objext conftest
$ac_exeext
25986 if { (ac_try
="$ac_link"
25987 case "(($ac_try" in
25988 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25989 *) ac_try_echo=$ac_try;;
25991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25992 (eval "$ac_link") 2>conftest.er1
25994 grep -v '^ *+' conftest.er1 >conftest.err
25996 cat conftest.err >&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } && {
25999 test -z "$ac_c_werror_flag" ||
26000 test ! -s conftest.err
26001 } && test -s conftest$ac_exeext &&
26002 $as_test_x conftest$ac_exeext; then
26003 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
26005 echo "$as_me: failed program was:" >&5
26006 sed 's/^/| /' conftest.$ac_ext >&5
26011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26012 conftest$ac_exeext conftest.$ac_ext
26014 if test "x$wx_cv_std_libpath" != "x"; then
26020 if test "x$wx_cv_std_libpath" = "x"; then
26021 wx_cv_std_libpath="lib"
26030 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26031 wx_cv_std_libpath="lib/64"
26033 wx_cv_std_libpath="lib"
26038 if test "$ac_cv_sizeof_void_p" = 8 -a \
26039 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26040 wx_cv_std_libpath="lib64"
26042 wx_cv_std_libpath="lib"
26047 wx_cv_std_libpath="lib";
26051 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26052 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26054 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
26056 if test "$build" != "$host" -a "$GCC" = yes; then
26057 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
26058 cross_root=`dirname $cross_root`
26059 cross_root=`dirname $cross_root`
26061 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26062 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26063 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26065 if test -z "$PKG_CONFIG_PATH"; then
26066 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26067 export PKG_CONFIG_PATH
26070 if test -z "$x_includes" -o "$x_includes" = NONE; then
26073 for ac_dir in $SEARCH_INCLUDE /usr/include;
26075 if test -f "$ac_dir/X11/Intrinsic.h"; then
26076 ac_find_includes=$ac_dir
26081 x_includes=$ac_find_includes
26083 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26086 for ac_dir in $SEARCH_LIB;
26088 for ac_extension in a so sl dylib dll.a; do
26089 if test -f "$ac_dir/libXt.$ac_extension"; then
26090 ac_find_libraries=$ac_dir
26096 x_libraries=$ac_find_libraries
26102 cat >confcache <<\_ACEOF
26103 # This file is a shell script that caches the results of configure
26104 # tests run on this system so they can be shared between configure
26105 # scripts and configure runs, see configure's option --config-cache.
26106 # It is not useful on other systems. If it contains results you don't
26107 # want to keep, you may remove or edit it.
26109 # config.status only pays attention to the cache file if you give it
26110 # the --recheck option to rerun configure.
26112 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
26113 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26114 # following values.
26118 # The following way of writing the cache mishandles newlines in values,
26119 # but we know of no workaround that is simple, portable, and efficient.
26120 # So, we kill variables containing newlines.
26121 # Ultrix sh set writes to stderr and can't be redirected directly,
26122 # and sets the high bit in the cache file unless we assign to the vars.
26124 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26125 eval ac_val
=\$
$ac_var
26129 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26130 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26133 _
| IFS
| as_nl
) ;; #(
26134 *) $as_unset $ac_var ;;
26140 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26141 *${as_nl}ac_space
=\
*)
26142 # `set' does not quote correctly, so add quotes (double-quote
26143 # substitution turns \\\\ into \\, and sed turns \\ into \).
26146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26149 # `set' quotes correctly as required by POSIX, so do not add quotes.
26150 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26159 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26161 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26163 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26164 if test -w "$cache_file"; then
26165 test "x$cache_file" != "x/dev/null" &&
26166 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26167 echo "$as_me: updating cache $cache_file" >&6;}
26168 cat confcache
>$cache_file
26170 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26171 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26176 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26177 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26178 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26179 if test "${wx_cv_lib_glibc21+set}" = set; then
26180 echo $ECHO_N "(cached) $ECHO_C" >&6
26183 cat >conftest.
$ac_ext <<_ACEOF
26186 cat confdefs.h
>>conftest.
$ac_ext
26187 cat >>conftest.
$ac_ext <<_ACEOF
26188 /* end confdefs.h. */
26189 #include <features.h>
26194 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26202 rm -f conftest.
$ac_objext
26203 if { (ac_try
="$ac_compile"
26204 case "(($ac_try" in
26205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26206 *) ac_try_echo=$ac_try;;
26208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26209 (eval "$ac_compile") 2>conftest.er1
26211 grep -v '^ *+' conftest.er1 >conftest.err
26213 cat conftest.err >&5
26214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215 (exit $ac_status); } && {
26216 test -z "$ac_c_werror_flag" ||
26217 test ! -s conftest.err
26218 } && test -s conftest.$ac_objext; then
26220 wx_cv_lib_glibc21=yes
26223 echo "$as_me: failed program was:" >&5
26224 sed 's/^/| /' conftest.$ac_ext >&5
26227 wx_cv_lib_glibc21=no
26232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26235 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26236 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26237 if test "$wx_cv_lib_glibc21" = "yes"; then
26238 cat >>confdefs.h <<\_ACEOF
26239 #define wxHAVE_GLIBC2 1
26245 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26246 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26247 cat >>confdefs.h <<\_ACEOF
26248 #define _GNU_SOURCE 1
26259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26260 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26262 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26263 echo $ECHO_N "(cached) $ECHO_C" >&6
26265 cat >conftest.$ac_ext <<_ACEOF
26268 cat confdefs.h >>conftest.$ac_ext
26269 cat >>conftest.$ac_ext <<_ACEOF
26270 /* end confdefs.h. */
26271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26273 #define $ac_func innocuous_$ac_func
26275 /* System header to define __stub macros and hopefully few prototypes,
26276 which can conflict with char $ac_func (); below.
26277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26278 <limits.h> exists even on freestanding compilers. */
26281 # include <limits.h>
26283 # include <assert.h>
26288 /* Override any GCC internal prototype to avoid an error.
26289 Use char because int might match the return type of a GCC
26290 builtin and then its argument prototype would still apply. */
26295 /* The GNU C library defines this for functions which it implements
26296 to always fail with ENOSYS. Some functions are actually named
26297 something starting with __ and the normal name is an alias. */
26298 #if defined __stub_$ac_func || defined __stub___$ac_func
26305 return $ac_func ();
26310 rm -f conftest.$ac_objext conftest$ac_exeext
26311 if { (ac_try="$ac_link"
26312 case "(($ac_try" in
26313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26314 *) ac_try_echo
=$ac_try;;
26316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26317 (eval "$ac_link") 2>conftest.er1
26319 grep -v '^ *+' conftest.er1
>conftest.err
26321 cat conftest.err
>&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); } && {
26324 test -z "$ac_c_werror_flag" ||
26325 test ! -s conftest.err
26326 } && test -s conftest
$ac_exeext &&
26327 $as_test_x conftest
$ac_exeext; then
26328 eval "$as_ac_var=yes"
26330 echo "$as_me: failed program was:" >&5
26331 sed 's/^/| /' conftest.
$ac_ext >&5
26333 eval "$as_ac_var=no"
26336 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26337 conftest
$ac_exeext conftest.
$ac_ext
26339 ac_res
=`eval echo '${'$as_ac_var'}'`
26340 { echo "$as_me:$LINENO: result: $ac_res" >&5
26341 echo "${ECHO_T}$ac_res" >&6; }
26342 if test `eval echo '${'$as_ac_var'}'` = yes; then
26343 cat >>confdefs.h
<<_ACEOF
26344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26351 for ac_func
in floor
26353 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26354 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26356 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26357 echo $ECHO_N "(cached) $ECHO_C" >&6
26359 cat >conftest.
$ac_ext <<_ACEOF
26362 cat confdefs.h
>>conftest.
$ac_ext
26363 cat >>conftest.
$ac_ext <<_ACEOF
26364 /* end confdefs.h. */
26365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26367 #define $ac_func innocuous_$ac_func
26369 /* System header to define __stub macros and hopefully few prototypes,
26370 which can conflict with char $ac_func (); below.
26371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26372 <limits.h> exists even on freestanding compilers. */
26375 # include <limits.h>
26377 # include <assert.h>
26382 /* Override any GCC internal prototype to avoid an error.
26383 Use char because int might match the return type of a GCC
26384 builtin and then its argument prototype would still apply. */
26389 /* The GNU C library defines this for functions which it implements
26390 to always fail with ENOSYS. Some functions are actually named
26391 something starting with __ and the normal name is an alias. */
26392 #if defined __stub_$ac_func || defined __stub___$ac_func
26399 return $ac_func ();
26404 rm -f conftest.
$ac_objext conftest
$ac_exeext
26405 if { (ac_try
="$ac_link"
26406 case "(($ac_try" in
26407 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26408 *) ac_try_echo=$ac_try;;
26410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26411 (eval "$ac_link") 2>conftest.er1
26413 grep -v '^ *+' conftest.er1 >conftest.err
26415 cat conftest.err >&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); } && {
26418 test -z "$ac_c_werror_flag" ||
26419 test ! -s conftest.err
26420 } && test -s conftest$ac_exeext &&
26421 $as_test_x conftest$ac_exeext; then
26422 eval "$as_ac_var=yes"
26424 echo "$as_me: failed program was:" >&5
26425 sed 's/^/| /' conftest.$ac_ext >&5
26427 eval "$as_ac_var=no"
26430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26431 conftest$ac_exeext conftest.$ac_ext
26433 ac_res=`eval echo '${'$as_ac_var'}'`
26434 { echo "$as_me:$LINENO: result: $ac_res" >&5
26435 echo "${ECHO_T}$ac_res" >&6; }
26436 if test `eval echo '${'$as_ac_var'}'` = yes; then
26437 cat >>confdefs.h <<_ACEOF
26438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26444 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26445 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26446 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26447 { echo "$as_me:$LINENO: result: yes" >&5
26448 echo "${ECHO_T}yes" >&6; }
26450 { echo "$as_me:$LINENO: result: no" >&5
26451 echo "${ECHO_T}no" >&6; }
26453 # use different functions to avoid configure caching
26459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26460 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26462 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26463 echo $ECHO_N "(cached) $ECHO_C" >&6
26465 cat >conftest.$ac_ext <<_ACEOF
26468 cat confdefs.h >>conftest.$ac_ext
26469 cat >>conftest.$ac_ext <<_ACEOF
26470 /* end confdefs.h. */
26471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26473 #define $ac_func innocuous_$ac_func
26475 /* System header to define __stub macros and hopefully few prototypes,
26476 which can conflict with char $ac_func (); below.
26477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26478 <limits.h> exists even on freestanding compilers. */
26481 # include <limits.h>
26483 # include <assert.h>
26488 /* Override any GCC internal prototype to avoid an error.
26489 Use char because int might match the return type of a GCC
26490 builtin and then its argument prototype would still apply. */
26495 /* The GNU C library defines this for functions which it implements
26496 to always fail with ENOSYS. Some functions are actually named
26497 something starting with __ and the normal name is an alias. */
26498 #if defined __stub_$ac_func || defined __stub___$ac_func
26505 return $ac_func ();
26510 rm -f conftest.$ac_objext conftest$ac_exeext
26511 if { (ac_try="$ac_link"
26512 case "(($ac_try" in
26513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26514 *) ac_try_echo
=$ac_try;;
26516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26517 (eval "$ac_link") 2>conftest.er1
26519 grep -v '^ *+' conftest.er1
>conftest.err
26521 cat conftest.err
>&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } && {
26524 test -z "$ac_c_werror_flag" ||
26525 test ! -s conftest.err
26526 } && test -s conftest
$ac_exeext &&
26527 $as_test_x conftest
$ac_exeext; then
26528 eval "$as_ac_var=yes"
26530 echo "$as_me: failed program was:" >&5
26531 sed 's/^/| /' conftest.
$ac_ext >&5
26533 eval "$as_ac_var=no"
26536 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26537 conftest
$ac_exeext conftest.
$ac_ext
26539 ac_res
=`eval echo '${'$as_ac_var'}'`
26540 { echo "$as_me:$LINENO: result: $ac_res" >&5
26541 echo "${ECHO_T}$ac_res" >&6; }
26542 if test `eval echo '${'$as_ac_var'}'` = yes; then
26543 cat >>confdefs.h
<<_ACEOF
26544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26551 for ac_func
in ceil
26553 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26554 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26556 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26557 echo $ECHO_N "(cached) $ECHO_C" >&6
26559 cat >conftest.
$ac_ext <<_ACEOF
26562 cat confdefs.h
>>conftest.
$ac_ext
26563 cat >>conftest.
$ac_ext <<_ACEOF
26564 /* end confdefs.h. */
26565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26567 #define $ac_func innocuous_$ac_func
26569 /* System header to define __stub macros and hopefully few prototypes,
26570 which can conflict with char $ac_func (); below.
26571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26572 <limits.h> exists even on freestanding compilers. */
26575 # include <limits.h>
26577 # include <assert.h>
26582 /* Override any GCC internal prototype to avoid an error.
26583 Use char because int might match the return type of a GCC
26584 builtin and then its argument prototype would still apply. */
26589 /* The GNU C library defines this for functions which it implements
26590 to always fail with ENOSYS. Some functions are actually named
26591 something starting with __ and the normal name is an alias. */
26592 #if defined __stub_$ac_func || defined __stub___$ac_func
26599 return $ac_func ();
26604 rm -f conftest.
$ac_objext conftest
$ac_exeext
26605 if { (ac_try
="$ac_link"
26606 case "(($ac_try" in
26607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26608 *) ac_try_echo=$ac_try;;
26610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26611 (eval "$ac_link") 2>conftest.er1
26613 grep -v '^ *+' conftest.er1 >conftest.err
26615 cat conftest.err >&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); } && {
26618 test -z "$ac_c_werror_flag" ||
26619 test ! -s conftest.err
26620 } && test -s conftest$ac_exeext &&
26621 $as_test_x conftest$ac_exeext; then
26622 eval "$as_ac_var=yes"
26624 echo "$as_me: failed program was:" >&5
26625 sed 's/^/| /' conftest.$ac_ext >&5
26627 eval "$as_ac_var=no"
26630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26631 conftest$ac_exeext conftest.$ac_ext
26633 ac_res=`eval echo '${'$as_ac_var'}'`
26634 { echo "$as_me:$LINENO: result: $ac_res" >&5
26635 echo "${ECHO_T}$ac_res" >&6; }
26636 if test `eval echo '${'$as_ac_var'}'` = yes; then
26637 cat >>confdefs.h <<_ACEOF
26638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26644 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26645 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26646 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26647 { echo "$as_me:$LINENO: result: yes" >&5
26648 echo "${ECHO_T}yes" >&6; }
26650 { echo "$as_me:$LINENO: result: no" >&5
26651 echo "${ECHO_T}no" >&6; }
26652 # not sure we should warn the user, crash, etc.
26657 ac_cpp='$CXXCPP $CPPFLAGS'
26658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26662 if test "wxUSE_UNICODE" = "yes"; then
26664 for wx_func in wcstoull
26666 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26667 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26668 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26669 echo $ECHO_N "(cached) $ECHO_C" >&6
26672 cat >conftest.$ac_ext <<_ACEOF
26676 cat confdefs.h >>conftest.$ac_ext
26677 cat >>conftest.$ac_ext <<_ACEOF
26678 /* end confdefs.h. */
26681 $ac_includes_default
26697 rm -f conftest.$ac_objext conftest$ac_exeext
26698 if { (ac_try="$ac_link"
26699 case "(($ac_try" in
26700 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26701 *) ac_try_echo
=$ac_try;;
26703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26704 (eval "$ac_link") 2>conftest.er1
26706 grep -v '^ *+' conftest.er1
>conftest.err
26708 cat conftest.err
>&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); } && {
26711 test -z "$ac_cxx_werror_flag" ||
26712 test ! -s conftest.err
26713 } && test -s conftest
$ac_exeext &&
26714 $as_test_x conftest
$ac_exeext; then
26715 eval wx_cv_func_
$wx_func=yes
26717 echo "$as_me: failed program was:" >&5
26718 sed 's/^/| /' conftest.
$ac_ext >&5
26720 eval wx_cv_func_
$wx_func=no
26723 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26724 conftest
$ac_exeext conftest.
$ac_ext
26727 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26728 { echo "$as_me:$LINENO: result: $ac_res" >&5
26729 echo "${ECHO_T}$ac_res" >&6; }
26731 if eval test \
$wx_cv_func_$wx_func = yes
26733 cat >>confdefs.h
<<_ACEOF
26734 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26746 for wx_func
in strtoull
26748 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26749 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26750 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26751 echo $ECHO_N "(cached) $ECHO_C" >&6
26754 cat >conftest.
$ac_ext <<_ACEOF
26758 cat confdefs.h
>>conftest.
$ac_ext
26759 cat >>conftest.
$ac_ext <<_ACEOF
26760 /* end confdefs.h. */
26763 $ac_includes_default
26779 rm -f conftest.
$ac_objext conftest
$ac_exeext
26780 if { (ac_try
="$ac_link"
26781 case "(($ac_try" in
26782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26783 *) ac_try_echo=$ac_try;;
26785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26786 (eval "$ac_link") 2>conftest.er1
26788 grep -v '^ *+' conftest.er1 >conftest.err
26790 cat conftest.err >&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } && {
26793 test -z "$ac_cxx_werror_flag" ||
26794 test ! -s conftest.err
26795 } && test -s conftest$ac_exeext &&
26796 $as_test_x conftest$ac_exeext; then
26797 eval wx_cv_func_$wx_func=yes
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.$ac_ext >&5
26802 eval wx_cv_func_$wx_func=no
26805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26806 conftest$ac_exeext conftest.$ac_ext
26809 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26810 { echo "$as_me:$LINENO: result: $ac_res" >&5
26811 echo "${ECHO_T}$ac_res" >&6; }
26813 if eval test \$wx_cv_func_$wx_func = yes
26815 cat >>confdefs.h <<_ACEOF
26816 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26828 ac_cpp='$CPP $CPPFLAGS'
26829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26836 if test "$wxUSE_REGEX" != "no"; then
26837 cat >>confdefs.h <<\_ACEOF
26838 #define wxUSE_REGEX 1
26842 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26843 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26844 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26845 wxUSE_REGEX=builtin
26848 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26849 { echo "$as_me:$LINENO: checking for regex.h" >&5
26850 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26851 if test "${ac_cv_header_regex_h+set}" = set; then
26852 echo $ECHO_N "(cached) $ECHO_C" >&6
26854 cat >conftest.$ac_ext <<_ACEOF
26857 cat confdefs.h >>conftest.$ac_ext
26858 cat >>conftest.$ac_ext <<_ACEOF
26859 /* end confdefs.h. */
26864 rm -f conftest.$ac_objext
26865 if { (ac_try="$ac_compile"
26866 case "(($ac_try" in
26867 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26868 *) ac_try_echo
=$ac_try;;
26870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26871 (eval "$ac_compile") 2>conftest.er1
26873 grep -v '^ *+' conftest.er1
>conftest.err
26875 cat conftest.err
>&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); } && {
26878 test -z "$ac_c_werror_flag" ||
26879 test ! -s conftest.err
26880 } && test -s conftest.
$ac_objext; then
26881 ac_cv_header_regex_h
=yes
26883 echo "$as_me: failed program was:" >&5
26884 sed 's/^/| /' conftest.
$ac_ext >&5
26886 ac_cv_header_regex_h
=no
26889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26891 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26892 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26893 if test $ac_cv_header_regex_h = yes; then
26896 for ac_func
in regcomp re_search
26898 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26899 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26901 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26902 echo $ECHO_N "(cached) $ECHO_C" >&6
26904 cat >conftest.
$ac_ext <<_ACEOF
26907 cat confdefs.h
>>conftest.
$ac_ext
26908 cat >>conftest.
$ac_ext <<_ACEOF
26909 /* end confdefs.h. */
26910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26912 #define $ac_func innocuous_$ac_func
26914 /* System header to define __stub macros and hopefully few prototypes,
26915 which can conflict with char $ac_func (); below.
26916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26917 <limits.h> exists even on freestanding compilers. */
26920 # include <limits.h>
26922 # include <assert.h>
26927 /* Override any GCC internal prototype to avoid an error.
26928 Use char because int might match the return type of a GCC
26929 builtin and then its argument prototype would still apply. */
26934 /* The GNU C library defines this for functions which it implements
26935 to always fail with ENOSYS. Some functions are actually named
26936 something starting with __ and the normal name is an alias. */
26937 #if defined __stub_$ac_func || defined __stub___$ac_func
26944 return $ac_func ();
26949 rm -f conftest.
$ac_objext conftest
$ac_exeext
26950 if { (ac_try
="$ac_link"
26951 case "(($ac_try" in
26952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26953 *) ac_try_echo=$ac_try;;
26955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26956 (eval "$ac_link") 2>conftest.er1
26958 grep -v '^ *+' conftest.er1 >conftest.err
26960 cat conftest.err >&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } && {
26963 test -z "$ac_c_werror_flag" ||
26964 test ! -s conftest.err
26965 } && test -s conftest$ac_exeext &&
26966 $as_test_x conftest$ac_exeext; then
26967 eval "$as_ac_var=yes"
26969 echo "$as_me: failed program was:" >&5
26970 sed 's/^/| /' conftest.$ac_ext >&5
26972 eval "$as_ac_var=no"
26975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26976 conftest$ac_exeext conftest.$ac_ext
26978 ac_res=`eval echo '${'$as_ac_var'}'`
26979 { echo "$as_me:$LINENO: result: $ac_res" >&5
26980 echo "${ECHO_T}$ac_res" >&6; }
26981 if test `eval echo '${'$as_ac_var'}'` = yes; then
26982 cat >>confdefs.h <<_ACEOF
26983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26993 if test "x$ac_cv_func_regcomp" != "xyes"; then
26994 if test "$wxUSE_REGEX" = "sys" ; then
26995 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26996 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26997 { (exit 1); exit 1; }; }
26999 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27000 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27001 wxUSE_REGEX=builtin
27005 cat >>confdefs.h <<\_ACEOF
27006 #define WX_NO_REGEX_ADVANCED 1
27015 if test "$wxUSE_ZLIB" != "no" ; then
27016 cat >>confdefs.h <<\_ACEOF
27017 #define wxUSE_ZLIB 1
27021 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27022 if test "$USE_DARWIN" = 1; then
27023 system_zlib_h_ok="yes"
27025 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27026 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27027 if test "${ac_cv_header_zlib_h+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 if test "$cross_compiling" = yes; then
27031 unset ac_cv_header_zlib_h
27034 cat >conftest.$ac_ext <<_ACEOF
27037 cat confdefs.h >>conftest.$ac_ext
27038 cat >>conftest.$ac_ext <<_ACEOF
27039 /* end confdefs.h. */
27046 FILE *f=fopen("conftestval", "w");
27049 ZLIB_VERSION[0] == '1' &&
27050 (ZLIB_VERSION[2] > '1' ||
27051 (ZLIB_VERSION[2] == '1' &&
27052 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27057 rm -f conftest$ac_exeext
27058 if { (ac_try="$ac_link"
27059 case "(($ac_try" in
27060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27061 *) ac_try_echo
=$ac_try;;
27063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27064 (eval "$ac_link") 2>&5
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27068 { (case "(($ac_try" in
27069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27070 *) ac_try_echo=$ac_try;;
27072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27073 (eval "$ac_try") 2>&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); }; }; then
27077 ac_cv_header_zlib_h=`cat conftestval
`
27079 echo "$as_me: program exited with status $ac_status" >&5
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.$ac_ext >&5
27083 ( exit $ac_status )
27084 ac_cv_header_zlib_h=no
27086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27092 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27093 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27094 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27095 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27096 if test "${ac_cv_header_zlib_h+set}" = set; then
27097 echo $ECHO_N "(cached) $ECHO_C" >&6
27099 cat >conftest.$ac_ext <<_ACEOF
27102 cat confdefs.h >>conftest.$ac_ext
27103 cat >>conftest.$ac_ext <<_ACEOF
27104 /* end confdefs.h. */
27109 rm -f conftest.$ac_objext
27110 if { (ac_try="$ac_compile"
27111 case "(($ac_try" in
27112 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27113 *) ac_try_echo
=$ac_try;;
27115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27116 (eval "$ac_compile") 2>conftest.er1
27118 grep -v '^ *+' conftest.er1
>conftest.err
27120 cat conftest.err
>&5
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); } && {
27123 test -z "$ac_c_werror_flag" ||
27124 test ! -s conftest.err
27125 } && test -s conftest.
$ac_objext; then
27126 ac_cv_header_zlib_h
=yes
27128 echo "$as_me: failed program was:" >&5
27129 sed 's/^/| /' conftest.
$ac_ext >&5
27131 ac_cv_header_zlib_h
=no
27134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27136 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27137 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27141 system_zlib_h_ok
=$ac_cv_header_zlib_h
27144 if test "$system_zlib_h_ok" = "yes"; then
27145 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27146 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27147 if test "${ac_cv_lib_z_deflate+set}" = set; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27150 ac_check_lib_save_LIBS
=$LIBS
27152 cat >conftest.
$ac_ext <<_ACEOF
27155 cat confdefs.h
>>conftest.
$ac_ext
27156 cat >>conftest.
$ac_ext <<_ACEOF
27157 /* end confdefs.h. */
27159 /* Override any GCC internal prototype to avoid an error.
27160 Use char because int might match the return type of a GCC
27161 builtin and then its argument prototype would still apply. */
27174 rm -f conftest.
$ac_objext conftest
$ac_exeext
27175 if { (ac_try
="$ac_link"
27176 case "(($ac_try" in
27177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27178 *) ac_try_echo=$ac_try;;
27180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27181 (eval "$ac_link") 2>conftest.er1
27183 grep -v '^ *+' conftest.er1 >conftest.err
27185 cat conftest.err >&5
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); } && {
27188 test -z "$ac_c_werror_flag" ||
27189 test ! -s conftest.err
27190 } && test -s conftest$ac_exeext &&
27191 $as_test_x conftest$ac_exeext; then
27192 ac_cv_lib_z_deflate=yes
27194 echo "$as_me: failed program was:" >&5
27195 sed 's/^/| /' conftest.$ac_ext >&5
27197 ac_cv_lib_z_deflate=no
27200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27201 conftest$ac_exeext conftest.$ac_ext
27202 LIBS=$ac_check_lib_save_LIBS
27204 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27205 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27206 if test $ac_cv_lib_z_deflate = yes; then
27212 if test "x$ZLIB_LINK" = "x" ; then
27213 if test "$wxUSE_ZLIB" = "sys" ; then
27214 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27215 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27216 { (exit 1); exit 1; }; }
27218 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27219 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27230 if test "$wxUSE_LIBPNG" != "no" ; then
27231 cat >>confdefs.h <<\_ACEOF
27232 #define wxUSE_LIBPNG 1
27236 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27237 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27238 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27242 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27243 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27244 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27245 wxUSE_LIBPNG=builtin
27248 if test "$wxUSE_MGL" != 1 ; then
27249 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27250 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27251 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27252 if test "${ac_cv_header_png_h+set}" = set; then
27253 echo $ECHO_N "(cached) $ECHO_C" >&6
27255 if test "$cross_compiling" = yes; then
27256 unset ac_cv_header_png_h
27259 cat >conftest.$ac_ext <<_ACEOF
27262 cat confdefs.h >>conftest.$ac_ext
27263 cat >>conftest.$ac_ext <<_ACEOF
27264 /* end confdefs.h. */
27271 FILE *f=fopen("conftestval", "w");
27274 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27279 rm -f conftest$ac_exeext
27280 if { (ac_try="$ac_link"
27281 case "(($ac_try" in
27282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27283 *) ac_try_echo
=$ac_try;;
27285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27286 (eval "$ac_link") 2>&5
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27290 { (case "(($ac_try" in
27291 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27292 *) ac_try_echo=$ac_try;;
27294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27295 (eval "$ac_try") 2>&5
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); }; }; then
27299 ac_cv_header_png_h=`cat conftestval
`
27301 echo "$as_me: program exited with status $ac_status" >&5
27302 echo "$as_me: failed program was:" >&5
27303 sed 's/^/| /' conftest.$ac_ext >&5
27305 ( exit $ac_status )
27306 ac_cv_header_png_h=no
27308 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27314 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27315 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27316 { echo "$as_me:$LINENO: checking for png.h" >&5
27317 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27318 if test "${ac_cv_header_png_h+set}" = set; then
27319 echo $ECHO_N "(cached) $ECHO_C" >&6
27321 cat >conftest.$ac_ext <<_ACEOF
27324 cat confdefs.h >>conftest.$ac_ext
27325 cat >>conftest.$ac_ext <<_ACEOF
27326 /* end confdefs.h. */
27331 rm -f conftest.$ac_objext
27332 if { (ac_try="$ac_compile"
27333 case "(($ac_try" in
27334 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27335 *) ac_try_echo
=$ac_try;;
27337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27338 (eval "$ac_compile") 2>conftest.er1
27340 grep -v '^ *+' conftest.er1
>conftest.err
27342 cat conftest.err
>&5
27343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27344 (exit $ac_status); } && {
27345 test -z "$ac_c_werror_flag" ||
27346 test ! -s conftest.err
27347 } && test -s conftest.
$ac_objext; then
27348 ac_cv_header_png_h
=yes
27350 echo "$as_me: failed program was:" >&5
27351 sed 's/^/| /' conftest.
$ac_ext >&5
27353 ac_cv_header_png_h
=no
27356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27358 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27359 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27363 if test "$ac_cv_header_png_h" = "yes"; then
27364 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27365 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27366 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27367 echo $ECHO_N "(cached) $ECHO_C" >&6
27369 ac_check_lib_save_LIBS
=$LIBS
27370 LIBS
="-lpng -lz -lm $LIBS"
27371 cat >conftest.
$ac_ext <<_ACEOF
27374 cat confdefs.h
>>conftest.
$ac_ext
27375 cat >>conftest.
$ac_ext <<_ACEOF
27376 /* end confdefs.h. */
27378 /* Override any GCC internal prototype to avoid an error.
27379 Use char because int might match the return type of a GCC
27380 builtin and then its argument prototype would still apply. */
27384 char png_sig_cmp ();
27388 return png_sig_cmp ();
27393 rm -f conftest.
$ac_objext conftest
$ac_exeext
27394 if { (ac_try
="$ac_link"
27395 case "(($ac_try" in
27396 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27397 *) ac_try_echo=$ac_try;;
27399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27400 (eval "$ac_link") 2>conftest.er1
27402 grep -v '^ *+' conftest.er1 >conftest.err
27404 cat conftest.err >&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); } && {
27407 test -z "$ac_c_werror_flag" ||
27408 test ! -s conftest.err
27409 } && test -s conftest$ac_exeext &&
27410 $as_test_x conftest$ac_exeext; then
27411 ac_cv_lib_png_png_sig_cmp=yes
27413 echo "$as_me: failed program was:" >&5
27414 sed 's/^/| /' conftest.$ac_ext >&5
27416 ac_cv_lib_png_png_sig_cmp=no
27419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27420 conftest$ac_exeext conftest.$ac_ext
27421 LIBS=$ac_check_lib_save_LIBS
27423 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27424 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27425 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27426 PNG_LINK=" -lpng -lz"
27431 if test "x$PNG_LINK" = "x" ; then
27432 if test "$wxUSE_LIBPNG" = "sys" ; then
27433 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27434 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27435 { (exit 1); exit 1; }; }
27437 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27438 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27439 wxUSE_LIBPNG=builtin
27450 if test "$wxUSE_LIBJPEG" != "no" ; then
27451 cat >>confdefs.h <<\_ACEOF
27452 #define wxUSE_LIBJPEG 1
27456 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27457 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27458 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27462 if test "$wxUSE_MGL" != 1 ; then
27463 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27464 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27465 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27466 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27467 echo $ECHO_N "(cached) $ECHO_C" >&6
27469 cat >conftest.$ac_ext <<_ACEOF
27472 cat confdefs.h >>conftest.$ac_ext
27473 cat >>conftest.$ac_ext <<_ACEOF
27474 /* end confdefs.h. */
27476 #undef HAVE_STDLIB_H
27478 #include <jpeglib.h>
27489 rm -f conftest.$ac_objext
27490 if { (ac_try="$ac_compile"
27491 case "(($ac_try" in
27492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27493 *) ac_try_echo
=$ac_try;;
27495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27496 (eval "$ac_compile") 2>conftest.er1
27498 grep -v '^ *+' conftest.er1
>conftest.err
27500 cat conftest.err
>&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } && {
27503 test -z "$ac_c_werror_flag" ||
27504 test ! -s conftest.err
27505 } && test -s conftest.
$ac_objext; then
27506 ac_cv_header_jpeglib_h
=yes
27508 echo "$as_me: failed program was:" >&5
27509 sed 's/^/| /' conftest.
$ac_ext >&5
27511 ac_cv_header_jpeglib_h
=no
27515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27519 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27520 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27522 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27523 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27524 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27525 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27526 echo $ECHO_N "(cached) $ECHO_C" >&6
27528 ac_check_lib_save_LIBS
=$LIBS
27529 LIBS
="-ljpeg $LIBS"
27530 cat >conftest.
$ac_ext <<_ACEOF
27533 cat confdefs.h
>>conftest.
$ac_ext
27534 cat >>conftest.
$ac_ext <<_ACEOF
27535 /* end confdefs.h. */
27537 /* Override any GCC internal prototype to avoid an error.
27538 Use char because int might match the return type of a GCC
27539 builtin and then its argument prototype would still apply. */
27543 char jpeg_read_header ();
27547 return jpeg_read_header ();
27552 rm -f conftest.
$ac_objext conftest
$ac_exeext
27553 if { (ac_try
="$ac_link"
27554 case "(($ac_try" in
27555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27556 *) ac_try_echo=$ac_try;;
27558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27559 (eval "$ac_link") 2>conftest.er1
27561 grep -v '^ *+' conftest.er1 >conftest.err
27563 cat conftest.err >&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); } && {
27566 test -z "$ac_c_werror_flag" ||
27567 test ! -s conftest.err
27568 } && test -s conftest$ac_exeext &&
27569 $as_test_x conftest$ac_exeext; then
27570 ac_cv_lib_jpeg_jpeg_read_header=yes
27572 echo "$as_me: failed program was:" >&5
27573 sed 's/^/| /' conftest.$ac_ext >&5
27575 ac_cv_lib_jpeg_jpeg_read_header=no
27578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27579 conftest$ac_exeext conftest.$ac_ext
27580 LIBS=$ac_check_lib_save_LIBS
27582 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27583 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27584 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27585 JPEG_LINK=" -ljpeg"
27590 if test "x$JPEG_LINK" = "x" ; then
27591 if test "$wxUSE_LIBJPEG" = "sys" ; then
27592 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27593 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27594 { (exit 1); exit 1; }; }
27596 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27597 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27598 wxUSE_LIBJPEG=builtin
27603 if test "$wxUSE_MSW" = 1; then
27604 { echo "$as_me:$LINENO: checking for boolean" >&5
27605 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27606 if test "${ac_cv_type_boolean+set}" = set; then
27607 echo $ECHO_N "(cached) $ECHO_C" >&6
27609 cat >conftest.$ac_ext <<_ACEOF
27612 cat confdefs.h >>conftest.$ac_ext
27613 cat >>conftest.$ac_ext <<_ACEOF
27614 /* end confdefs.h. */
27615 #include <windows.h>
27617 typedef boolean ac__type_new_;
27621 if ((ac__type_new_ *) 0)
27623 if (sizeof (ac__type_new_))
27629 rm -f conftest.$ac_objext
27630 if { (ac_try="$ac_compile"
27631 case "(($ac_try" in
27632 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27633 *) ac_try_echo
=$ac_try;;
27635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27636 (eval "$ac_compile") 2>conftest.er1
27638 grep -v '^ *+' conftest.er1
>conftest.err
27640 cat conftest.err
>&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); } && {
27643 test -z "$ac_c_werror_flag" ||
27644 test ! -s conftest.err
27645 } && test -s conftest.
$ac_objext; then
27646 ac_cv_type_boolean
=yes
27648 echo "$as_me: failed program was:" >&5
27649 sed 's/^/| /' conftest.
$ac_ext >&5
27651 ac_cv_type_boolean
=no
27654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27656 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27657 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27658 if test $ac_cv_type_boolean = yes; then
27660 cat >>confdefs.h
<<_ACEOF
27661 #define HAVE_BOOLEAN 1
27665 { echo "$as_me:$LINENO: checking for boolean" >&5
27666 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27667 if test "${ac_cv_type_boolean+set}" = set; then
27668 echo $ECHO_N "(cached) $ECHO_C" >&6
27670 cat >conftest.
$ac_ext <<_ACEOF
27673 cat confdefs.h
>>conftest.
$ac_ext
27674 cat >>conftest.
$ac_ext <<_ACEOF
27675 /* end confdefs.h. */
27677 #undef HAVE_BOOLEAN
27679 #include <jpeglib.h>
27682 typedef boolean ac__type_new_;
27686 if ((ac__type_new_ *) 0)
27688 if (sizeof (ac__type_new_))
27694 rm -f conftest.
$ac_objext
27695 if { (ac_try
="$ac_compile"
27696 case "(($ac_try" in
27697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27698 *) ac_try_echo=$ac_try;;
27700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27701 (eval "$ac_compile") 2>conftest.er1
27703 grep -v '^ *+' conftest.er1 >conftest.err
27705 cat conftest.err >&5
27706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27707 (exit $ac_status); } && {
27708 test -z "$ac_c_werror_flag" ||
27709 test ! -s conftest.err
27710 } && test -s conftest.$ac_objext; then
27711 ac_cv_type_boolean=yes
27713 echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.$ac_ext >&5
27716 ac_cv_type_boolean=no
27719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27721 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27722 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27724 # The cast to long int works around a bug in the HP C Compiler
27725 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27726 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27727 # This bug is HP SR number 8606223364.
27728 { echo "$as_me:$LINENO: checking size of boolean" >&5
27729 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27730 if test "${ac_cv_sizeof_boolean+set}" = set; then
27731 echo $ECHO_N "(cached) $ECHO_C" >&6
27733 if test "$cross_compiling" = yes; then
27734 # Depending upon the size, compute the lo and hi bounds.
27735 cat >conftest.$ac_ext <<_ACEOF
27738 cat confdefs.h >>conftest.$ac_ext
27739 cat >>conftest.$ac_ext <<_ACEOF
27740 /* end confdefs.h. */
27742 #undef HAVE_BOOLEAN
27744 #include <jpeglib.h>
27747 typedef boolean ac__type_sizeof_;
27751 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27758 rm -f conftest.$ac_objext
27759 if { (ac_try="$ac_compile"
27760 case "(($ac_try" in
27761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27762 *) ac_try_echo=$ac_try;;
27764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27765 (eval "$ac_compile") 2>conftest.er1
27767 grep -v '^
*+' conftest.er1 >conftest.err
27769 cat conftest.err >&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } && {
27772 test -z "$ac_c_werror_flag" ||
27773 test ! -s conftest.err
27774 } && test -s conftest.$ac_objext; then
27777 cat >conftest.$ac_ext <<_ACEOF
27780 cat confdefs.h >>conftest.$ac_ext
27781 cat >>conftest.$ac_ext <<_ACEOF
27782 /* end confdefs.h. */
27784 #undef HAVE_BOOLEAN
27786 #include <jpeglib.h>
27789 typedef boolean ac__type_sizeof_;
27793 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27800 rm -f conftest.$ac_objext
27801 if { (ac_try="$ac_compile"
27802 case "(($ac_try" in
27803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27804 *) ac_try_echo=$ac_try;;
27806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27807 (eval "$ac_compile") 2>conftest.er1
27809 grep -v '^
*+' conftest.er1 >conftest.err
27811 cat conftest.err >&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } && {
27814 test -z "$ac_c_werror_flag" ||
27815 test ! -s conftest.err
27816 } && test -s conftest.$ac_objext; then
27817 ac_hi=$ac_mid; break
27819 echo "$as_me: failed program was:" >&5
27820 sed 's
/^
/| /' conftest.$ac_ext >&5
27822 ac_lo=`expr $ac_mid + 1`
27823 if test $ac_lo -le $ac_mid; then
27827 ac_mid=`expr 2 '*' $ac_mid + 1`
27830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27833 echo "$as_me: failed program was:" >&5
27834 sed 's
/^
/| /' conftest.$ac_ext >&5
27836 cat >conftest.$ac_ext <<_ACEOF
27839 cat confdefs.h >>conftest.$ac_ext
27840 cat >>conftest.$ac_ext <<_ACEOF
27841 /* end confdefs.h. */
27843 #undef HAVE_BOOLEAN
27845 #include <jpeglib.h>
27848 typedef boolean ac__type_sizeof_;
27852 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27859 rm -f conftest.$ac_objext
27860 if { (ac_try="$ac_compile"
27861 case "(($ac_try" in
27862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27863 *) ac_try_echo=$ac_try;;
27865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27866 (eval "$ac_compile") 2>conftest.er1
27868 grep -v '^
*+' conftest.er1 >conftest.err
27870 cat conftest.err >&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); } && {
27873 test -z "$ac_c_werror_flag" ||
27874 test ! -s conftest.err
27875 } && test -s conftest.$ac_objext; then
27878 cat >conftest.$ac_ext <<_ACEOF
27881 cat confdefs.h >>conftest.$ac_ext
27882 cat >>conftest.$ac_ext <<_ACEOF
27883 /* end confdefs.h. */
27885 #undef HAVE_BOOLEAN
27887 #include <jpeglib.h>
27890 typedef boolean ac__type_sizeof_;
27894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27901 rm -f conftest.$ac_objext
27902 if { (ac_try="$ac_compile"
27903 case "(($ac_try" in
27904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27905 *) ac_try_echo=$ac_try;;
27907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27908 (eval "$ac_compile") 2>conftest.er1
27910 grep -v '^
*+' conftest.er1 >conftest.err
27912 cat conftest.err >&5
27913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27914 (exit $ac_status); } && {
27915 test -z "$ac_c_werror_flag" ||
27916 test ! -s conftest.err
27917 } && test -s conftest.$ac_objext; then
27918 ac_lo=$ac_mid; break
27920 echo "$as_me: failed program was:" >&5
27921 sed 's
/^
/| /' conftest.$ac_ext >&5
27923 ac_hi=`expr '(' $ac_mid ')' - 1`
27924 if test $ac_mid -le $ac_hi; then
27928 ac_mid=`expr 2 '*' $ac_mid`
27931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27934 echo "$as_me: failed program was:" >&5
27935 sed 's
/^
/| /' conftest.$ac_ext >&5
27940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27944 # Binary search between lo and hi bounds.
27945 while test "x$ac_lo" != "x$ac_hi"; do
27946 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27947 cat >conftest.$ac_ext <<_ACEOF
27950 cat confdefs.h >>conftest.$ac_ext
27951 cat >>conftest.$ac_ext <<_ACEOF
27952 /* end confdefs.h. */
27954 #undef HAVE_BOOLEAN
27956 #include <jpeglib.h>
27959 typedef boolean ac__type_sizeof_;
27963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27970 rm -f conftest.$ac_objext
27971 if { (ac_try="$ac_compile"
27972 case "(($ac_try" in
27973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27974 *) ac_try_echo=$ac_try;;
27976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27977 (eval "$ac_compile") 2>conftest.er1
27979 grep -v '^
*+' conftest.er1 >conftest.err
27981 cat conftest.err >&5
27982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983 (exit $ac_status); } && {
27984 test -z "$ac_c_werror_flag" ||
27985 test ! -s conftest.err
27986 } && test -s conftest.$ac_objext; then
27989 echo "$as_me: failed program was:" >&5
27990 sed 's
/^
/| /' conftest.$ac_ext >&5
27992 ac_lo=`expr '(' $ac_mid ')' + 1`
27995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27998 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27999 '') if test "$ac_cv_type_boolean" = yes; then
28000 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28001 See \`config.log' for more details.
" >&5
28002 echo "$as_me: error
: cannot compute sizeof
(boolean
)
28003 See \
`config.log' for more details." >&2;}
28004 { (exit 77); exit 77; }; }
28006 ac_cv_sizeof_boolean=0
28010 cat >conftest.$ac_ext <<_ACEOF
28013 cat confdefs.h >>conftest.$ac_ext
28014 cat >>conftest.$ac_ext <<_ACEOF
28015 /* end confdefs.h. */
28017 #undef HAVE_BOOLEAN
28019 #include <jpeglib.h>
28022 typedef boolean ac__type_sizeof_;
28023 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28024 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28026 #include <stdlib.h>
28031 FILE *f = fopen ("conftest.val", "w");
28034 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28036 long int i = longval ();
28037 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28039 fprintf (f, "%ld\n", i);
28043 unsigned long int i = ulongval ();
28044 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28046 fprintf (f, "%lu\n", i);
28048 return ferror (f) || fclose (f) != 0;
28054 rm -f conftest$ac_exeext
28055 if { (ac_try="$ac_link"
28056 case "(($ac_try" in
28057 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28058 *) ac_try_echo
=$ac_try;;
28060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28061 (eval "$ac_link") 2>&5
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28065 { (case "(($ac_try" in
28066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28067 *) ac_try_echo=$ac_try;;
28069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28070 (eval "$ac_try") 2>&5
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); }; }; then
28074 ac_cv_sizeof_boolean=`cat conftest.val
`
28076 echo "$as_me: program exited with status $ac_status" >&5
28077 echo "$as_me: failed program was:" >&5
28078 sed 's/^/| /' conftest.$ac_ext >&5
28080 ( exit $ac_status )
28081 if test "$ac_cv_type_boolean" = yes; then
28082 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28083 See \`config.log
' for more details." >&5
28084 echo "$as_me: error: cannot compute sizeof (boolean)
28085 See \`config.log' for more details.
" >&2;}
28086 { (exit 77); exit 77; }; }
28088 ac_cv_sizeof_boolean=0
28091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28095 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28096 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28100 cat >>confdefs.h <<_ACEOF
28101 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28105 cat >>confdefs.h <<_ACEOF
28106 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28120 TIFF_PREREQ_LINKS=-lm
28121 if test "$wxUSE_LIBTIFF" != "no
" ; then
28122 cat >>confdefs.h <<\_ACEOF
28123 #define wxUSE_LIBTIFF 1
28127 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28128 if test "$wxUSE_LIBJPEG" = "sys
"; then
28129 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28131 if test "$wxUSE_ZLIB" = "sys
"; then
28132 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28134 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28135 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28136 if test "${ac_cv_header_tiffio_h+set}" = set; then
28137 echo $ECHO_N "(cached
) $ECHO_C" >&6
28139 cat >conftest.$ac_ext <<_ACEOF
28142 cat confdefs.h >>conftest.$ac_ext
28143 cat >>conftest.$ac_ext <<_ACEOF
28144 /* end confdefs.h. */
28148 #include <tiffio.h>
28150 rm -f conftest.$ac_objext
28151 if { (ac_try="$ac_compile"
28152 case "(($ac_try" in
28153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28154 *) ac_try_echo=$ac_try;;
28156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28157 (eval "$ac_compile") 2>conftest.er1
28159 grep -v '^ *+' conftest.er1 >conftest.err
28161 cat conftest.err >&5
28162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28163 (exit $ac_status); } && {
28164 test -z "$ac_c_werror_flag" ||
28165 test ! -s conftest.err
28166 } && test -s conftest.$ac_objext; then
28167 ac_cv_header_tiffio_h=yes
28169 echo "$as_me: failed program was
:" >&5
28170 sed 's/^/| /' conftest.$ac_ext >&5
28172 ac_cv_header_tiffio_h=no
28175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28177 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28178 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28179 if test $ac_cv_header_tiffio_h = yes; then
28181 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28182 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28183 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28184 echo $ECHO_N "(cached
) $ECHO_C" >&6
28186 ac_check_lib_save_LIBS=$LIBS
28187 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28188 cat >conftest.$ac_ext <<_ACEOF
28191 cat confdefs.h >>conftest.$ac_ext
28192 cat >>conftest.$ac_ext <<_ACEOF
28193 /* end confdefs.h. */
28195 /* Override any GCC internal prototype to avoid an error.
28196 Use char because int might match the return type of a GCC
28197 builtin and then its argument prototype would still apply. */
28205 return TIFFError ();
28210 rm -f conftest.$ac_objext conftest$ac_exeext
28211 if { (ac_try="$ac_link"
28212 case "(($ac_try" in
28213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28214 *) ac_try_echo=$ac_try;;
28216 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28217 (eval "$ac_link") 2>conftest.er1
28219 grep -v '^ *+' conftest.er1 >conftest.err
28221 cat conftest.err >&5
28222 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28223 (exit $ac_status); } && {
28224 test -z "$ac_c_werror_flag" ||
28225 test ! -s conftest.err
28226 } && test -s conftest$ac_exeext &&
28227 $as_test_x conftest$ac_exeext; then
28228 ac_cv_lib_tiff_TIFFError=yes
28230 echo "$as_me: failed program was
:" >&5
28231 sed 's/^/| /' conftest.$ac_ext >&5
28233 ac_cv_lib_tiff_TIFFError=no
28236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28237 conftest$ac_exeext conftest.$ac_ext
28238 LIBS=$ac_check_lib_save_LIBS
28240 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
28241 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28242 if test $ac_cv_lib_tiff_TIFFError = yes; then
28243 TIFF_LINK=" -ltiff"
28251 if test "x
$TIFF_LINK" = "x
" ; then
28252 if test "$wxUSE_LIBTIFF" = "sys
" ; then
28253 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
28254 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
28255 { (exit 1); exit 1; }; }
28257 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
28258 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
28259 wxUSE_LIBTIFF=builtin
28265 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28266 if test "$wxUSE_LIBJPEG" = "no
"; then
28267 ac_configure_args="$ac_configure_args --disable-jpeg"
28269 subdirs="$subdirs src
/tiff
"
28275 if test "$wxUSE_WCHAR_T" != "yes"; then
28276 if test "$wxUSE_EXPAT" != "no
"; then
28277 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
28278 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
28281 if test "$wxUSE_XML" != "no
"; then
28282 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
28283 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
28288 if test "$wxUSE_EXPAT" != "no
"; then
28290 cat >>confdefs.h <<\_ACEOF
28291 #define wxUSE_EXPAT 1
28294 cat >>confdefs.h <<\_ACEOF
28295 #define wxUSE_XML 1
28299 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
28300 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
28301 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
28302 if test "${ac_cv_header_expat_h+set}" = set; then
28303 echo $ECHO_N "(cached
) $ECHO_C" >&6
28305 cat >conftest.$ac_ext <<_ACEOF
28308 cat confdefs.h >>conftest.$ac_ext
28309 cat >>conftest.$ac_ext <<_ACEOF
28310 /* end confdefs.h. */
28315 rm -f conftest.$ac_objext
28316 if { (ac_try="$ac_compile"
28317 case "(($ac_try" in
28318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28319 *) ac_try_echo=$ac_try;;
28321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28322 (eval "$ac_compile") 2>conftest.er1
28324 grep -v '^ *+' conftest.er1 >conftest.err
28326 cat conftest.err >&5
28327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28328 (exit $ac_status); } && {
28329 test -z "$ac_c_werror_flag" ||
28330 test ! -s conftest.err
28331 } && test -s conftest.$ac_objext; then
28332 ac_cv_header_expat_h=yes
28334 echo "$as_me: failed program was
:" >&5
28335 sed 's/^/| /' conftest.$ac_ext >&5
28337 ac_cv_header_expat_h=no
28340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28342 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
28343 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28344 if test $ac_cv_header_expat_h = yes; then
28349 if test "x
$found_expat_h" = "x1
"; then
28350 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28351 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28352 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28353 echo $ECHO_N "(cached
) $ECHO_C" >&6
28357 ac_cpp='$CXXCPP $CPPFLAGS'
28358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28362 cat >conftest.$ac_ext <<_ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28377 rm -f conftest.$ac_objext
28378 if { (ac_try="$ac_compile"
28379 case "(($ac_try" in
28380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28381 *) ac_try_echo=$ac_try;;
28383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28384 (eval "$ac_compile") 2>conftest.er1
28386 grep -v '^ *+' conftest.er1 >conftest.err
28388 cat conftest.err >&5
28389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28390 (exit $ac_status); } && {
28391 test -z "$ac_cxx_werror_flag" ||
28392 test ! -s conftest.err
28393 } && test -s conftest.$ac_objext; then
28394 wx_cv_expat_is_not_broken=yes
28396 echo "$as_me: failed program was
:" >&5
28397 sed 's/^/| /' conftest.$ac_ext >&5
28399 wx_cv_expat_is_not_broken=no
28403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28405 ac_cpp='$CPP $CPPFLAGS'
28406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28413 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28414 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28415 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28416 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28417 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28418 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28419 echo $ECHO_N "(cached
) $ECHO_C" >&6
28421 ac_check_lib_save_LIBS=$LIBS
28422 LIBS="-lexpat $LIBS"
28423 cat >conftest.$ac_ext <<_ACEOF
28426 cat confdefs.h >>conftest.$ac_ext
28427 cat >>conftest.$ac_ext <<_ACEOF
28428 /* end confdefs.h. */
28430 /* Override any GCC internal prototype to avoid an error.
28431 Use char because int might match the return type of a GCC
28432 builtin and then its argument prototype would still apply. */
28436 char XML_ParserCreate ();
28440 return XML_ParserCreate ();
28445 rm -f conftest.$ac_objext conftest$ac_exeext
28446 if { (ac_try="$ac_link"
28447 case "(($ac_try" in
28448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28449 *) ac_try_echo=$ac_try;;
28451 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28452 (eval "$ac_link") 2>conftest.er1
28454 grep -v '^ *+' conftest.er1 >conftest.err
28456 cat conftest.err >&5
28457 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28458 (exit $ac_status); } && {
28459 test -z "$ac_c_werror_flag" ||
28460 test ! -s conftest.err
28461 } && test -s conftest$ac_exeext &&
28462 $as_test_x conftest$ac_exeext; then
28463 ac_cv_lib_expat_XML_ParserCreate=yes
28465 echo "$as_me: failed program was
:" >&5
28466 sed 's/^/| /' conftest.$ac_ext >&5
28468 ac_cv_lib_expat_XML_ParserCreate=no
28471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28472 conftest$ac_exeext conftest.$ac_ext
28473 LIBS=$ac_check_lib_save_LIBS
28475 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28476 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28477 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28478 EXPAT_LINK=" -lexpat"
28483 if test "x
$EXPAT_LINK" = "x
" ; then
28484 if test "$wxUSE_EXPAT" = "sys
" ; then
28485 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
28486 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
28487 { (exit 1); exit 1; }; }
28489 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
28490 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
28491 wxUSE_EXPAT=builtin
28497 if test "$wxUSE_EXPAT" = "builtin" ; then
28498 subdirs="$subdirs src
/expat
"
28505 if test "$wxUSE_LIBMSPACK" != "no
"; then
28506 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28507 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28508 if test "${ac_cv_header_mspack_h+set}" = set; then
28509 echo $ECHO_N "(cached
) $ECHO_C" >&6
28511 cat >conftest.$ac_ext <<_ACEOF
28514 cat confdefs.h >>conftest.$ac_ext
28515 cat >>conftest.$ac_ext <<_ACEOF
28516 /* end confdefs.h. */
28519 #include <mspack.h>
28521 rm -f conftest.$ac_objext
28522 if { (ac_try="$ac_compile"
28523 case "(($ac_try" in
28524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28525 *) ac_try_echo=$ac_try;;
28527 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28528 (eval "$ac_compile") 2>conftest.er1
28530 grep -v '^ *+' conftest.er1 >conftest.err
28532 cat conftest.err >&5
28533 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28534 (exit $ac_status); } && {
28535 test -z "$ac_c_werror_flag" ||
28536 test ! -s conftest.err
28537 } && test -s conftest.$ac_objext; then
28538 ac_cv_header_mspack_h=yes
28540 echo "$as_me: failed program was
:" >&5
28541 sed 's/^/| /' conftest.$ac_ext >&5
28543 ac_cv_header_mspack_h=no
28546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28548 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28549 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28550 if test $ac_cv_header_mspack_h = yes; then
28555 if test "x
$found_mspack_h" = "x1
"; then
28556 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28557 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28558 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28559 echo $ECHO_N "(cached
) $ECHO_C" >&6
28561 ac_check_lib_save_LIBS=$LIBS
28562 LIBS="-lmspack $LIBS"
28563 cat >conftest.$ac_ext <<_ACEOF
28566 cat confdefs.h >>conftest.$ac_ext
28567 cat >>conftest.$ac_ext <<_ACEOF
28568 /* end confdefs.h. */
28570 /* Override any GCC internal prototype to avoid an error.
28571 Use char because int might match the return type of a GCC
28572 builtin and then its argument prototype would still apply. */
28576 char mspack_create_chm_decompressor ();
28580 return mspack_create_chm_decompressor ();
28585 rm -f conftest.$ac_objext conftest$ac_exeext
28586 if { (ac_try="$ac_link"
28587 case "(($ac_try" in
28588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28589 *) ac_try_echo=$ac_try;;
28591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28592 (eval "$ac_link") 2>conftest.er1
28594 grep -v '^ *+' conftest.er1 >conftest.err
28596 cat conftest.err >&5
28597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28598 (exit $ac_status); } && {
28599 test -z "$ac_c_werror_flag" ||
28600 test ! -s conftest.err
28601 } && test -s conftest$ac_exeext &&
28602 $as_test_x conftest$ac_exeext; then
28603 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28605 echo "$as_me: failed program was
:" >&5
28606 sed 's/^/| /' conftest.$ac_ext >&5
28608 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28612 conftest$ac_exeext conftest.$ac_ext
28613 LIBS=$ac_check_lib_save_LIBS
28615 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28616 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28617 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28618 MSPACK_LINK=" -lmspack"
28622 if test "x
$MSPACK_LINK" = "x
" ; then
28627 if test "$wxUSE_LIBMSPACK" != "no
"; then
28628 cat >>confdefs.h <<\_ACEOF
28629 #define wxUSE_LIBMSPACK 1
28643 if test "$USE_WIN32" = 1 ; then
28645 for ac_header in w32api.h
28647 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28648 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28649 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28650 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28651 echo $ECHO_N "(cached
) $ECHO_C" >&6
28653 cat >conftest.$ac_ext <<_ACEOF
28656 cat confdefs.h >>conftest.$ac_ext
28657 cat >>conftest.$ac_ext <<_ACEOF
28658 /* end confdefs.h. */
28661 #include <$ac_header>
28663 rm -f conftest.$ac_objext
28664 if { (ac_try="$ac_compile"
28665 case "(($ac_try" in
28666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28667 *) ac_try_echo=$ac_try;;
28669 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28670 (eval "$ac_compile") 2>conftest.er1
28672 grep -v '^ *+' conftest.er1 >conftest.err
28674 cat conftest.err >&5
28675 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28676 (exit $ac_status); } && {
28677 test -z "$ac_c_werror_flag" ||
28678 test ! -s conftest.err
28679 } && test -s conftest.$ac_objext; then
28680 eval "$as_ac_Header=yes"
28682 echo "$as_me: failed program was
:" >&5
28683 sed 's/^/| /' conftest.$ac_ext >&5
28685 eval "$as_ac_Header=no
"
28688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28690 ac_res=`eval echo '${'$as_ac_Header'}'`
28691 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28692 echo "${ECHO_T}$ac_res" >&6; }
28693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28694 cat >>confdefs.h <<_ACEOF
28695 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28702 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28703 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28704 if test "${ac_cv_header_windows_h+set}" = set; then
28705 echo $ECHO_N "(cached
) $ECHO_C" >&6
28707 cat >conftest.$ac_ext <<_ACEOF
28710 cat confdefs.h >>conftest.$ac_ext
28711 cat >>conftest.$ac_ext <<_ACEOF
28712 /* end confdefs.h. */
28715 #include <windows.h>
28717 rm -f conftest.$ac_objext
28718 if { (ac_try="$ac_compile"
28719 case "(($ac_try" in
28720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28721 *) ac_try_echo=$ac_try;;
28723 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28724 (eval "$ac_compile") 2>conftest.er1
28726 grep -v '^ *+' conftest.er1 >conftest.err
28728 cat conftest.err >&5
28729 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28730 (exit $ac_status); } && {
28731 test -z "$ac_c_werror_flag" ||
28732 test ! -s conftest.err
28733 } && test -s conftest.$ac_objext; then
28734 ac_cv_header_windows_h=yes
28736 echo "$as_me: failed program was
:" >&5
28737 sed 's/^/| /' conftest.$ac_ext >&5
28739 ac_cv_header_windows_h=no
28742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28744 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28745 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28746 if test $ac_cv_header_windows_h = yes; then
28750 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28751 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28752 { (exit 1); exit 1; }; }
28759 x86_64-*-mingw32* )
28760 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28762 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
28765 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28768 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28769 LIBS="$LIBS -loleacc"
28774 LIBS="$LIBS -lkernel32 -luser32"
28777 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28778 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28780 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28782 WIN32INSTALL=win32install
28784 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28785 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28786 if test "${ac_cv_header_pbt_h+set}" = set; then
28787 echo $ECHO_N "(cached
) $ECHO_C" >&6
28789 cat >conftest.$ac_ext <<_ACEOF
28792 cat confdefs.h >>conftest.$ac_ext
28793 cat >>conftest.$ac_ext <<_ACEOF
28794 /* end confdefs.h. */
28799 rm -f conftest.$ac_objext
28800 if { (ac_try="$ac_compile"
28801 case "(($ac_try" in
28802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28803 *) ac_try_echo=$ac_try;;
28805 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28806 (eval "$ac_compile") 2>conftest.er1
28808 grep -v '^ *+' conftest.er1 >conftest.err
28810 cat conftest.err >&5
28811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28812 (exit $ac_status); } && {
28813 test -z "$ac_c_werror_flag" ||
28814 test ! -s conftest.err
28815 } && test -s conftest.$ac_objext; then
28816 ac_cv_header_pbt_h=yes
28818 echo "$as_me: failed program was
:" >&5
28819 sed 's/^/| /' conftest.$ac_ext >&5
28821 ac_cv_header_pbt_h=no
28824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28826 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28827 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28828 if test $ac_cv_header_pbt_h = yes; then
28831 cat >>confdefs.h <<\_ACEOF
28832 #define NEED_PBT_H 1
28840 if test "$wxUSE_GUI" = "yes"; then
28850 if test "$wxUSE_OLD_COCOA" = 1 ; then
28851 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28852 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28853 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28854 wxUSE_PRINTING_ARCHITECTURE=no
28856 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28857 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28858 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28859 wxUSE_DRAG_AND_DROP=no
28861 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28862 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28863 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28868 if test "$wxUSE_MSW" = 1 ; then
28874 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28878 if test "$wxUSE_GTK" = 1; then
28879 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28880 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28882 gtk_version_cached=1
28883 if test "${wx_cv_lib_gtk+set}" = set; then
28884 echo $ECHO_N "(cached
) $ECHO_C" >&6
28887 gtk_version_cached=0
28888 { echo "$as_me:$LINENO: result
: " >&5
28889 echo "${ECHO_T}" >&6; }
28892 if test "$wxUSE_THREADS" = "yes"; then
28893 GTK_MODULES=gthread
28897 if test "x
$wxGTK_VERSION" != "x1
"
28901 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28906 # Check whether --enable-gtktest was given.
28907 if test "${enable_gtktest+set}" = set; then
28908 enableval=$enable_gtktest;
28914 pkg_config_args=gtk+-2.0
28915 for module in . $GTK_MODULES
28919 pkg_config_args="$pkg_config_args gthread
-2.0
"
28926 # Extract the first word of "pkg
-config", so it can be a program name with args.
28927 set dummy pkg-config; ac_word=$2
28928 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28929 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28930 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28931 echo $ECHO_N "(cached
) $ECHO_C" >&6
28933 case $PKG_CONFIG in
28935 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28939 for as_dir in $PATH
28942 test -z "$as_dir" && as_dir=.
28943 for ac_exec_ext in '' $ac_executable_extensions; do
28944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28945 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28946 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28953 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28957 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28958 if test -n "$PKG_CONFIG"; then
28959 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28960 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28962 { echo "$as_me:$LINENO: result
: no
" >&5
28963 echo "${ECHO_T}no
" >&6; }
28968 if test x$PKG_CONFIG != xno ; then
28969 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28972 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28980 min_gtk_version=2.4.0
28981 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28982 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28984 if test x$PKG_CONFIG != xno ; then
28985 ## don't try to run the test against uninstalled libtool libs
28986 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28987 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28991 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28998 if test x"$no_gtk" = x ; then
28999 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29000 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29001 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29002 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29003 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29004 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29005 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29007 if test "x
$enable_gtktest" = "xyes
" ; then
29008 ac_save_CFLAGS="$CFLAGS"
29009 ac_save_LIBS="$LIBS"
29010 CFLAGS="$CFLAGS $GTK_CFLAGS"
29011 LIBS="$GTK_LIBS $LIBS"
29013 if test "$cross_compiling" = yes; then
29014 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29016 cat >conftest.$ac_ext <<_ACEOF
29019 cat confdefs.h >>conftest.$ac_ext
29020 cat >>conftest.$ac_ext <<_ACEOF
29021 /* end confdefs.h. */
29023 #include <gtk/gtk.h>
29025 #include <stdlib.h>
29030 int major, minor, micro;
29033 system ("touch conf.gtktest
");
29035 /* HP/UX 9 (%@#!) writes to sscanf strings */
29036 tmp_version = g_strdup("$min_gtk_version");
29037 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29038 printf("%s
, bad version string
\n", "$min_gtk_version");
29042 if ((gtk_major_version != $gtk_config_major_version) ||
29043 (gtk_minor_version != $gtk_config_minor_version) ||
29044 (gtk_micro_version != $gtk_config_micro_version))
29046 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29047 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29048 gtk_major_version, gtk_minor_version, gtk_micro_version);
29049 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29050 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29051 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29052 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29053 printf("*** required on your system.
\n");
29054 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29055 printf("*** to point to the correct configuration files
\n");
29057 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29058 (gtk_minor_version != GTK_MINOR_VERSION) ||
29059 (gtk_micro_version != GTK_MICRO_VERSION))
29061 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29062 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29063 printf("*** library
(version
%d.
%d.
%d
)\n",
29064 gtk_major_version, gtk_minor_version, gtk_micro_version);
29068 if ((gtk_major_version > major) ||
29069 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29070 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29076 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29077 gtk_major_version, gtk_minor_version, gtk_micro_version);
29078 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29079 major, minor, micro);
29080 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29082 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29083 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29084 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29085 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29086 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29087 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29088 printf("*** so that the correct libraries are found
at run
-time))\n");
29095 rm -f conftest$ac_exeext
29096 if { (ac_try="$ac_link"
29097 case "(($ac_try" in
29098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29099 *) ac_try_echo=$ac_try;;
29101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29102 (eval "$ac_link") 2>&5
29104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29106 { (case "(($ac_try" in
29107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29108 *) ac_try_echo=$ac_try;;
29110 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29111 (eval "$ac_try") 2>&5
29113 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29114 (exit $ac_status); }; }; then
29117 echo "$as_me: program exited with status
$ac_status" >&5
29118 echo "$as_me: failed program was
:" >&5
29119 sed 's/^/| /' conftest.$ac_ext >&5
29121 ( exit $ac_status )
29124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29128 CFLAGS="$ac_save_CFLAGS"
29129 LIBS="$ac_save_LIBS"
29132 if test "x
$no_gtk" = x ; then
29133 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29134 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29137 { echo "$as_me:$LINENO: result
: no
" >&5
29138 echo "${ECHO_T}no
" >&6; }
29139 if test "$PKG_CONFIG" = "no
" ; then
29140 echo "*** A new enough version of pkg
-config was not found.
"
29141 echo "*** See http
://pkgconfig.sourceforge.net
"
29143 if test -f conf.gtktest ; then
29146 echo "*** Could not run GTK
+ test program
, checking why...
"
29147 ac_save_CFLAGS="$CFLAGS"
29148 ac_save_LIBS="$LIBS"
29149 CFLAGS="$CFLAGS $GTK_CFLAGS"
29150 LIBS="$LIBS $GTK_LIBS"
29151 cat >conftest.$ac_ext <<_ACEOF
29154 cat confdefs.h >>conftest.$ac_ext
29155 cat >>conftest.$ac_ext <<_ACEOF
29156 /* end confdefs.h. */
29158 #include <gtk/gtk.h>
29164 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29169 rm -f conftest.$ac_objext conftest$ac_exeext
29170 if { (ac_try="$ac_link"
29171 case "(($ac_try" in
29172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29173 *) ac_try_echo=$ac_try;;
29175 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29176 (eval "$ac_link") 2>conftest.er1
29178 grep -v '^ *+' conftest.er1 >conftest.err
29180 cat conftest.err >&5
29181 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29182 (exit $ac_status); } && {
29183 test -z "$ac_c_werror_flag" ||
29184 test ! -s conftest.err
29185 } && test -s conftest$ac_exeext &&
29186 $as_test_x conftest$ac_exeext; then
29187 echo "*** The
test program compiled
, but did not run. This usually means
"
29188 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29189 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29190 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29191 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29192 echo "*** is required on your system"
29194 echo "*** If you have an old version installed, it is best to remove it, although"
29195 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29197 echo "$as_me: failed program was:" >&5
29198 sed 's
/^
/| /' conftest.$ac_ext >&5
29200 echo "*** The test program failed to compile or link. See the file config.log for the"
29201 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29205 conftest$ac_exeext conftest.$ac_ext
29206 CFLAGS="$ac_save_CFLAGS"
29207 LIBS="$ac_save_LIBS"
29221 if test "$wxUSE_SHARED" != "yes"; then
29222 GTK_LIBS="$GTK_LIBS -lX11"
29227 if test -z "$wx_cv_lib_gtk"; then
29228 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29230 # Check whether --with-gtk-prefix was given.
29231 if test "${with_gtk_prefix+set}" = set; then
29232 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29234 gtk_config_prefix=""
29238 # Check whether --with-gtk-exec-prefix was given.
29239 if test "${with_gtk_exec_prefix+set}" = set; then
29240 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29242 gtk_config_exec_prefix=""
29245 # Check whether --enable-gtktest was given.
29246 if test "${enable_gtktest+set}" = set; then
29247 enableval=$enable_gtktest;
29253 for module in . $GTK_MODULES
29257 gtk_config_args="$gtk_config_args gthread"
29262 if test x$gtk_config_exec_prefix != x ; then
29263 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29264 if test x${GTK_CONFIG+set} != xset ; then
29265 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29268 if test x$gtk_config_prefix != x ; then
29269 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29270 if test x${GTK_CONFIG+set} != xset ; then
29271 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29275 # Extract the first word of "gtk-config", so it can be a program name with args.
29276 set dummy gtk-config; ac_word=$2
29277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29279 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29280 echo $ECHO_N "(cached) $ECHO_C" >&6
29282 case $GTK_CONFIG in
29284 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29288 for as_dir in $PATH
29291 test -z "$as_dir" && as_dir=.
29292 for ac_exec_ext in '' $ac_executable_extensions; do
29293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29294 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29302 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29306 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29307 if test -n "$GTK_CONFIG"; then
29308 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29309 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29311 { echo "$as_me:$LINENO: result: no" >&5
29312 echo "${ECHO_T}no" >&6; }
29316 min_gtk_version=1.2.7
29317 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29318 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29320 if test "$GTK_CONFIG" = "no" ; then
29323 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29324 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29325 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29326 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
29327 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29328 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
29329 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29330 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
29331 if test "x$enable_gtktest" = "xyes" ; then
29332 ac_save_CFLAGS="$CFLAGS"
29333 ac_save_LIBS="$LIBS"
29334 CFLAGS="$CFLAGS $GTK_CFLAGS"
29335 LIBS="$GTK_LIBS $LIBS"
29337 if test "$cross_compiling" = yes; then
29338 echo $ac_n "cross compiling; assumed OK... $ac_c"
29340 cat >conftest.$ac_ext <<_ACEOF
29343 cat confdefs.h >>conftest.$ac_ext
29344 cat >>conftest.$ac_ext <<_ACEOF
29345 /* end confdefs.h. */
29347 #include <gtk/gtk.h>
29349 #include <stdlib.h>
29354 int major, minor, micro;
29357 system ("touch conf.gtktest");
29359 /* HP/UX 9 (%@#!) writes to sscanf strings */
29360 tmp_version = g_strdup("$min_gtk_version");
29361 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29362 printf("%s, bad version string\n", "$min_gtk_version");
29366 if ((gtk_major_version != $gtk_config_major_version) ||
29367 (gtk_minor_version != $gtk_config_minor_version) ||
29368 (gtk_micro_version != $gtk_config_micro_version))
29370 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29371 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29372 gtk_major_version, gtk_minor_version, gtk_micro_version);
29373 printf ("*** was found! If gtk-config was correct, then it is best\n");
29374 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29375 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29376 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29377 printf("*** required on your system.\n");
29378 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29379 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29380 printf("*** before re-running configure\n");
29382 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29383 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29384 (gtk_minor_version != GTK_MINOR_VERSION) ||
29385 (gtk_micro_version != GTK_MICRO_VERSION))
29387 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29388 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29389 printf("*** library (version %d.%d.%d)\n",
29390 gtk_major_version, gtk_minor_version, gtk_micro_version);
29392 #endif /* defined (GTK_MAJOR_VERSION) ... */
29395 if ((gtk_major_version > major) ||
29396 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29397 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29403 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29404 gtk_major_version, gtk_minor_version, gtk_micro_version);
29405 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29406 major, minor, micro);
29407 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29409 printf("*** If you have already installed a sufficiently new version, this error\n");
29410 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29411 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29412 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29413 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29414 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29415 printf("*** so that the correct libraries are found at run-time))\n");
29422 rm -f conftest$ac_exeext
29423 if { (ac_try="$ac_link"
29424 case "(($ac_try" in
29425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29426 *) ac_try_echo=$ac_try;;
29428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29429 (eval "$ac_link") 2>&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29433 { (case "(($ac_try" in
29434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29435 *) ac_try_echo=$ac_try;;
29437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29438 (eval "$ac_try") 2>&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; }; then
29444 echo "$as_me: program exited with status $ac_status" >&5
29445 echo "$as_me: failed program was:" >&5
29446 sed 's
/^
/| /' conftest.$ac_ext >&5
29448 ( exit $ac_status )
29451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29455 CFLAGS="$ac_save_CFLAGS"
29456 LIBS="$ac_save_LIBS"
29459 if test "x$no_gtk" = x ; then
29460 { echo "$as_me:$LINENO: result: yes" >&5
29461 echo "${ECHO_T}yes" >&6; }
29462 wx_cv_lib_gtk=1.2.7
29464 { echo "$as_me:$LINENO: result: no" >&5
29465 echo "${ECHO_T}no" >&6; }
29466 if test "$GTK_CONFIG" = "no" ; then
29467 echo "*** The gtk-config script installed by GTK could not be found"
29468 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29469 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29470 echo "*** full path to gtk-config."
29472 if test -f conf.gtktest ; then
29475 echo "*** Could not run GTK test program, checking why..."
29476 CFLAGS="$CFLAGS $GTK_CFLAGS"
29477 LIBS="$LIBS $GTK_LIBS"
29478 cat >conftest.$ac_ext <<_ACEOF
29481 cat confdefs.h >>conftest.$ac_ext
29482 cat >>conftest.$ac_ext <<_ACEOF
29483 /* end confdefs.h. */
29485 #include <gtk/gtk.h>
29491 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29496 rm -f conftest.$ac_objext conftest$ac_exeext
29497 if { (ac_try="$ac_link"
29498 case "(($ac_try" in
29499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29500 *) ac_try_echo=$ac_try;;
29502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29503 (eval "$ac_link") 2>conftest.er1
29505 grep -v '^
*+' conftest.er1 >conftest.err
29507 cat conftest.err >&5
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); } && {
29510 test -z "$ac_c_werror_flag" ||
29511 test ! -s conftest.err
29512 } && test -s conftest$ac_exeext &&
29513 $as_test_x conftest$ac_exeext; then
29514 echo "*** The test program compiled, but did not run. This usually means"
29515 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29516 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29517 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29518 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29519 echo "*** is required on your system
"
29521 echo "*** If you have an old version installed
, it is best to remove it
, although
"
29522 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
29524 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
29525 echo "*** came with the system with the
command"
29527 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29529 echo "$as_me: failed program was
:" >&5
29530 sed 's/^/| /' conftest.$ac_ext >&5
29532 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29533 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29534 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29535 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29539 conftest$ac_exeext conftest.$ac_ext
29540 CFLAGS="$ac_save_CFLAGS"
29541 LIBS="$ac_save_LIBS"
29553 if test -z "$wx_cv_lib_gtk"; then
29555 # Check whether --with-gtk-prefix was given.
29556 if test "${with_gtk_prefix+set}" = set; then
29557 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29559 gtk_config_prefix=""
29563 # Check whether --with-gtk-exec-prefix was given.
29564 if test "${with_gtk_exec_prefix+set}" = set; then
29565 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29567 gtk_config_exec_prefix=""
29570 # Check whether --enable-gtktest was given.
29571 if test "${enable_gtktest+set}" = set; then
29572 enableval=$enable_gtktest;
29578 for module in . $GTK_MODULES
29582 gtk_config_args="$gtk_config_args gthread
"
29587 if test x$gtk_config_exec_prefix != x ; then
29588 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29589 if test x${GTK_CONFIG+set} != xset ; then
29590 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29593 if test x$gtk_config_prefix != x ; then
29594 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29595 if test x${GTK_CONFIG+set} != xset ; then
29596 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29600 # Extract the first word of "gtk
-config", so it can be a program name with args.
29601 set dummy gtk-config; ac_word=$2
29602 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29603 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29604 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29605 echo $ECHO_N "(cached
) $ECHO_C" >&6
29607 case $GTK_CONFIG in
29609 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29613 for as_dir in $PATH
29616 test -z "$as_dir" && as_dir=.
29617 for ac_exec_ext in '' $ac_executable_extensions; do
29618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29619 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29620 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29627 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29631 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29632 if test -n "$GTK_CONFIG"; then
29633 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29634 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29636 { echo "$as_me:$LINENO: result
: no
" >&5
29637 echo "${ECHO_T}no
" >&6; }
29641 min_gtk_version=1.2.3
29642 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29643 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29645 if test "$GTK_CONFIG" = "no
" ; then
29648 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29649 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29650 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29651 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29652 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29653 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29654 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29655 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29656 if test "x
$enable_gtktest" = "xyes
" ; then
29657 ac_save_CFLAGS="$CFLAGS"
29658 ac_save_LIBS="$LIBS"
29659 CFLAGS="$CFLAGS $GTK_CFLAGS"
29660 LIBS="$GTK_LIBS $LIBS"
29662 if test "$cross_compiling" = yes; then
29663 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29665 cat >conftest.$ac_ext <<_ACEOF
29668 cat confdefs.h >>conftest.$ac_ext
29669 cat >>conftest.$ac_ext <<_ACEOF
29670 /* end confdefs.h. */
29672 #include <gtk/gtk.h>
29674 #include <stdlib.h>
29679 int major, minor, micro;
29682 system ("touch conf.gtktest
");
29684 /* HP/UX 9 (%@#!) writes to sscanf strings */
29685 tmp_version = g_strdup("$min_gtk_version");
29686 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29687 printf("%s
, bad version string
\n", "$min_gtk_version");
29691 if ((gtk_major_version != $gtk_config_major_version) ||
29692 (gtk_minor_version != $gtk_config_minor_version) ||
29693 (gtk_micro_version != $gtk_config_micro_version))
29695 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29696 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29697 gtk_major_version, gtk_minor_version, gtk_micro_version);
29698 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29699 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29700 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29701 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29702 printf("*** required on your system.
\n");
29703 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29704 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29705 printf("*** before re
-running configure
\n");
29707 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29708 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29709 (gtk_minor_version != GTK_MINOR_VERSION) ||
29710 (gtk_micro_version != GTK_MICRO_VERSION))
29712 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29713 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29714 printf("*** library
(version
%d.
%d.
%d
)\n",
29715 gtk_major_version, gtk_minor_version, gtk_micro_version);
29717 #endif /* defined (GTK_MAJOR_VERSION) ... */
29720 if ((gtk_major_version > major) ||
29721 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29722 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29728 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29729 gtk_major_version, gtk_minor_version, gtk_micro_version);
29730 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29731 major, minor, micro);
29732 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29734 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29735 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29736 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29737 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29738 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29739 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29740 printf("*** so that the correct libraries are found
at run
-time))\n");
29747 rm -f conftest$ac_exeext
29748 if { (ac_try="$ac_link"
29749 case "(($ac_try" in
29750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29751 *) ac_try_echo=$ac_try;;
29753 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29754 (eval "$ac_link") 2>&5
29756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29757 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29758 { (case "(($ac_try" in
29759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29760 *) ac_try_echo=$ac_try;;
29762 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29763 (eval "$ac_try") 2>&5
29765 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29766 (exit $ac_status); }; }; then
29769 echo "$as_me: program exited with status
$ac_status" >&5
29770 echo "$as_me: failed program was
:" >&5
29771 sed 's/^/| /' conftest.$ac_ext >&5
29773 ( exit $ac_status )
29776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29780 CFLAGS="$ac_save_CFLAGS"
29781 LIBS="$ac_save_LIBS"
29784 if test "x
$no_gtk" = x ; then
29785 { echo "$as_me:$LINENO: result
: yes" >&5
29786 echo "${ECHO_T}yes" >&6; }
29787 wx_cv_lib_gtk=1.2.3
29789 { echo "$as_me:$LINENO: result
: no
" >&5
29790 echo "${ECHO_T}no
" >&6; }
29791 if test "$GTK_CONFIG" = "no
" ; then
29792 echo "*** The gtk
-config script installed by GTK could not be found
"
29793 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29794 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29795 echo "*** full path to gtk
-config.
"
29797 if test -f conf.gtktest ; then
29800 echo "*** Could not run GTK
test program
, checking why...
"
29801 CFLAGS="$CFLAGS $GTK_CFLAGS"
29802 LIBS="$LIBS $GTK_LIBS"
29803 cat >conftest.$ac_ext <<_ACEOF
29806 cat confdefs.h >>conftest.$ac_ext
29807 cat >>conftest.$ac_ext <<_ACEOF
29808 /* end confdefs.h. */
29810 #include <gtk/gtk.h>
29816 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29821 rm -f conftest.$ac_objext conftest$ac_exeext
29822 if { (ac_try="$ac_link"
29823 case "(($ac_try" in
29824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29825 *) ac_try_echo=$ac_try;;
29827 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29828 (eval "$ac_link") 2>conftest.er1
29830 grep -v '^ *+' conftest.er1 >conftest.err
29832 cat conftest.err >&5
29833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29834 (exit $ac_status); } && {
29835 test -z "$ac_c_werror_flag" ||
29836 test ! -s conftest.err
29837 } && test -s conftest$ac_exeext &&
29838 $as_test_x conftest$ac_exeext; then
29839 echo "*** The
test program compiled
, but did not run. This usually means
"
29840 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29841 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29842 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29843 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29844 echo "*** is required on your system"
29846 echo "*** If you have an old version installed, it is best to remove it, although"
29847 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29849 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29850 echo "*** came with the system with the command"
29852 echo "*** rpm --erase --nodeps gtk gtk-devel"
29854 echo "$as_me: failed program was:" >&5
29855 sed 's
/^
/| /' conftest.$ac_ext >&5
29857 echo "*** The test program failed to compile or link. See the file config.log for the"
29858 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29859 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29860 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29864 conftest$ac_exeext conftest.$ac_ext
29865 CFLAGS="$ac_save_CFLAGS"
29866 LIBS="$ac_save_LIBS"
29881 if test -z "$wx_cv_lib_gtk"; then
29884 wx_cv_cflags_gtk=$GTK_CFLAGS
29885 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29892 if test "$gtk_version_cached" = 1; then
29893 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29894 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29897 case "$wx_cv_lib_gtk" in
29906 *) { { echo "$as_me:$LINENO: error:
29907 The development files for GTK+ were not found. For GTK+ 2, please
29908 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29909 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29910 and that the version is 1.2.3 or above. Also check that the
29911 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29912 --libs' are in the LD_LIBRARY_PATH or equivalent.
29914 echo "$as_me: error:
29915 The development files for GTK+ were not found. For GTK+ 2, please
29916 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29917 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29918 and that the version is 1.2.3 or above. Also check that the
29919 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29920 --libs' are in the LD_LIBRARY_PATH or equivalent.
29922 { (exit 1); exit 1; }; }
29926 if test "$WXGTK2" = 1; then
29927 save_CFLAGS="$CFLAGS"
29929 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29930 LIBS="$LIBS $wx_cv_libs_gtk"
29932 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29933 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29934 cat >conftest.$ac_ext <<_ACEOF
29937 cat confdefs.h >>conftest.$ac_ext
29938 cat >>conftest.$ac_ext <<_ACEOF
29939 /* end confdefs.h. */
29941 #include <gtk/gtk.h>
29947 #if !GTK_CHECK_VERSION(2,18,0)
29955 rm -f conftest.$ac_objext
29956 if { (ac_try="$ac_compile"
29957 case "(($ac_try" in
29958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29959 *) ac_try_echo=$ac_try;;
29961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29962 (eval "$ac_compile") 2>conftest.er1
29964 grep -v '^
*+' conftest.er1 >conftest.err
29966 cat conftest.err >&5
29967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29968 (exit $ac_status); } && {
29969 test -z "$ac_c_werror_flag" ||
29970 test ! -s conftest.err
29971 } && test -s conftest.$ac_objext; then
29973 cat >>confdefs.h <<\_ACEOF
29974 #define __WXGTK218__ 1
29977 cat >>confdefs.h <<\_ACEOF
29978 #define __WXGTK210__ 1
29981 cat >>confdefs.h <<\_ACEOF
29982 #define __WXGTK26__ 1
29985 { echo "$as_me:$LINENO: result: yes" >&5
29986 echo "${ECHO_T}yes" >&6; }
29990 echo "$as_me: failed program was:" >&5
29991 sed 's
/^
/| /' conftest.$ac_ext >&5
29994 { echo "$as_me:$LINENO: result: no" >&5
29995 echo "${ECHO_T}no" >&6; }
30000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30002 if test "$ac_wxgtk218" = 0; then
30003 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30004 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30005 cat >conftest.$ac_ext <<_ACEOF
30008 cat confdefs.h >>conftest.$ac_ext
30009 cat >>conftest.$ac_ext <<_ACEOF
30010 /* end confdefs.h. */
30012 #include <gtk/gtk.h>
30018 #if !GTK_CHECK_VERSION(2,10,0)
30026 rm -f conftest.$ac_objext
30027 if { (ac_try="$ac_compile"
30028 case "(($ac_try" in
30029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30030 *) ac_try_echo=$ac_try;;
30032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30033 (eval "$ac_compile") 2>conftest.er1
30035 grep -v '^
*+' conftest.er1 >conftest.err
30037 cat conftest.err >&5
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); } && {
30040 test -z "$ac_c_werror_flag" ||
30041 test ! -s conftest.err
30042 } && test -s conftest.$ac_objext; then
30044 cat >>confdefs.h <<\_ACEOF
30045 #define __WXGTK210__ 1
30048 cat >>confdefs.h <<\_ACEOF
30049 #define __WXGTK26__ 1
30052 { echo "$as_me:$LINENO: result: yes" >&5
30053 echo "${ECHO_T}yes" >&6; }
30057 echo "$as_me: failed program was:" >&5
30058 sed 's
/^
/| /' conftest.$ac_ext >&5
30061 { echo "$as_me:$LINENO: result: no" >&5
30062 echo "${ECHO_T}no" >&6; }
30067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30069 if test "$ac_wxgtk210" = 0; then
30070 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30071 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30072 cat >conftest.$ac_ext <<_ACEOF
30075 cat confdefs.h >>conftest.$ac_ext
30076 cat >>conftest.$ac_ext <<_ACEOF
30077 /* end confdefs.h. */
30079 #include <gtk/gtk.h>
30085 #if !GTK_CHECK_VERSION(2,6,0)
30093 rm -f conftest.$ac_objext
30094 if { (ac_try="$ac_compile"
30095 case "(($ac_try" in
30096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30097 *) ac_try_echo=$ac_try;;
30099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30100 (eval "$ac_compile") 2>conftest.er1
30102 grep -v '^
*+' conftest.er1 >conftest.err
30104 cat conftest.err >&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } && {
30107 test -z "$ac_c_werror_flag" ||
30108 test ! -s conftest.err
30109 } && test -s conftest.$ac_objext; then
30111 cat >>confdefs.h <<\_ACEOF
30112 #define __WXGTK26__ 1
30115 { echo "$as_me:$LINENO: result: yes" >&5
30116 echo "${ECHO_T}yes" >&6; }
30120 echo "$as_me: failed program was:" >&5
30121 sed 's
/^
/| /' conftest.$ac_ext >&5
30124 { echo "$as_me:$LINENO: result: no" >&5
30125 echo "${ECHO_T}no" >&6; }
30130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30134 CFLAGS="$save_CFLAGS"
30137 if test "$wxUSE_UNICODE" = "yes"; then
30138 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30139 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30143 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30144 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30145 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30146 echo $ECHO_N "(cached) $ECHO_C" >&6
30148 ac_check_lib_save_LIBS=$LIBS
30150 cat >conftest.$ac_ext <<_ACEOF
30153 cat confdefs.h >>conftest.$ac_ext
30154 cat >>conftest.$ac_ext <<_ACEOF
30155 /* end confdefs.h. */
30157 /* Override any GCC internal prototype to avoid an error.
30158 Use char because int might match the return type of a GCC
30159 builtin and then its argument prototype would still apply. */
30163 char gdk_im_open ();
30167 return gdk_im_open ();
30172 rm -f conftest.$ac_objext conftest$ac_exeext
30173 if { (ac_try="$ac_link"
30174 case "(($ac_try" in
30175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30176 *) ac_try_echo=$ac_try;;
30178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30179 (eval "$ac_link") 2>conftest.er1
30181 grep -v '^
*+' conftest.er1 >conftest.err
30183 cat conftest.err >&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); } && {
30186 test -z "$ac_c_werror_flag" ||
30187 test ! -s conftest.err
30188 } && test -s conftest$ac_exeext &&
30189 $as_test_x conftest$ac_exeext; then
30190 ac_cv_lib_gdk_gdk_im_open=yes
30192 echo "$as_me: failed program was:" >&5
30193 sed 's
/^
/| /' conftest.$ac_ext >&5
30195 ac_cv_lib_gdk_gdk_im_open=no
30198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30199 conftest$ac_exeext conftest.$ac_ext
30200 LIBS=$ac_check_lib_save_LIBS
30202 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30203 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30204 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30205 cat >>confdefs.h <<\_ACEOF
30212 if test "$USE_DARWIN" != 1; then
30214 for ac_func in poll
30216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30217 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30220 echo $ECHO_N "(cached) $ECHO_C" >&6
30222 cat >conftest.$ac_ext <<_ACEOF
30225 cat confdefs.h >>conftest.$ac_ext
30226 cat >>conftest.$ac_ext <<_ACEOF
30227 /* end confdefs.h. */
30228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30230 #define $ac_func innocuous_$ac_func
30232 /* System header to define __stub macros and hopefully few prototypes,
30233 which can conflict with char $ac_func (); below.
30234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30235 <limits.h> exists even on freestanding compilers. */
30238 # include <limits.h>
30240 # include <assert.h>
30245 /* Override any GCC internal prototype to avoid an error.
30246 Use char because int might match the return type of a GCC
30247 builtin and then its argument prototype would still apply. */
30252 /* The GNU C library defines this for functions which it implements
30253 to always fail with ENOSYS. Some functions are actually named
30254 something starting with __ and the normal name is an alias. */
30255 #if defined __stub_$ac_func || defined __stub___$ac_func
30262 return $ac_func ();
30267 rm -f conftest.$ac_objext conftest$ac_exeext
30268 if { (ac_try="$ac_link"
30269 case "(($ac_try" in
30270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30271 *) ac_try_echo=$ac_try;;
30273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30274 (eval "$ac_link") 2>conftest.er1
30276 grep -v '^
*+' conftest.er1 >conftest.err
30278 cat conftest.err >&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } && {
30281 test -z "$ac_c_werror_flag" ||
30282 test ! -s conftest.err
30283 } && test -s conftest$ac_exeext &&
30284 $as_test_x conftest$ac_exeext; then
30285 eval "$as_ac_var=yes"
30287 echo "$as_me: failed program was:" >&5
30288 sed 's
/^
/| /' conftest.$ac_ext >&5
30290 eval "$as_ac_var=no"
30293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30294 conftest$ac_exeext conftest.$ac_ext
30296 ac_res=`eval echo '${'$as_ac_var'}'`
30297 { echo "$as_me:$LINENO: result: $ac_res" >&5
30298 echo "${ECHO_T}$ac_res" >&6; }
30299 if test `eval echo '${'$as_ac_var'}'` = yes; then
30300 cat >>confdefs.h <<_ACEOF
30301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30310 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30311 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30313 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30315 AFMINSTALL=afminstall
30319 if test "$wxUSE_GPE" = "yes"; then
30320 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30321 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30324 for ac_dir in $SEARCH_LIB;
30326 for ac_extension in a so sl dylib dll.a; do
30327 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30328 ac_find_libraries=$ac_dir
30334 if test "$ac_find_libraries" != "" ; then
30336 if test "$ac_find_libraries" = "default location"; then
30339 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30341 if test $result = 0; then
30344 ac_path_to_link=" -L$ac_find_libraries"
30348 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30350 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30351 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30353 { echo "$as_me:$LINENO: result: not found" >&5
30354 echo "${ECHO_T}not found" >&6; }
30360 if test "$wxUSE_MGL" = 1; then
30361 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30362 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30363 if test "x$MGL_ROOT" = x ; then
30364 { echo "$as_me:$LINENO: result: not found" >&5
30365 echo "${ECHO_T}not found" >&6; }
30366 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30367 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30368 { (exit 1); exit 1; }; }
30370 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30371 echo "${ECHO_T}$MGL_ROOT" >&6; }
30374 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30375 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30378 if test "x$wxUSE_SHARED" = xyes ; then
30379 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30381 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30385 mgl_os_candidates="dos32/dj2"
30388 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30389 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30390 { (exit 1); exit 1; }; }
30396 for mgl_os_i in $mgl_os_candidates ; do
30397 if test "x$mgl_os" = x ; then
30398 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30399 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30400 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30405 if test "x$mgl_lib_type" = x ; then
30406 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30407 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30408 mgl_lib_type=release
30415 if test "x$mgl_os" = x ; then
30416 { echo "$as_me:$LINENO: result: not found" >&5
30417 echo "${ECHO_T}not found" >&6; }
30418 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30419 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30420 { (exit 1); exit 1; }; }
30422 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30423 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30425 wxUSE_UNIVERSAL="yes"
30427 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30428 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30430 AFMINSTALL=afminstall
30435 if test "$wxUSE_DFB" = 1; then
30438 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30439 if test -n "$ac_tool_prefix"; then
30440 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30441 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30444 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30445 echo $ECHO_N "(cached) $ECHO_C" >&6
30447 case $PKG_CONFIG in
30449 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30453 for as_dir in $PATH
30456 test -z "$as_dir" && as_dir=.
30457 for ac_exec_ext in '' $ac_executable_extensions; do
30458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30459 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30470 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30471 if test -n "$PKG_CONFIG"; then
30472 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30473 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30475 { echo "$as_me:$LINENO: result: no" >&5
30476 echo "${ECHO_T}no" >&6; }
30481 if test -z "$ac_cv_path_PKG_CONFIG"; then
30482 ac_pt_PKG_CONFIG=$PKG_CONFIG
30483 # Extract the first word of "pkg-config", so it can be a program name with args.
30484 set dummy pkg-config; ac_word=$2
30485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30487 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30488 echo $ECHO_N "(cached) $ECHO_C" >&6
30490 case $ac_pt_PKG_CONFIG in
30492 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30496 for as_dir in $PATH
30499 test -z "$as_dir" && as_dir=.
30500 for ac_exec_ext in '' $ac_executable_extensions; do
30501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30502 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30513 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30514 if test -n "$ac_pt_PKG_CONFIG"; then
30515 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30516 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30518 { echo "$as_me:$LINENO: result: no" >&5
30519 echo "${ECHO_T}no" >&6; }
30522 if test "x$ac_pt_PKG_CONFIG" = x; then
30525 case $cross_compiling:$ac_tool_warned in
30527 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30528 whose name does not start with the host triplet. If you think this
30529 configuration is useful to you, please write to autoconf@gnu.org." >&5
30530 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30531 whose name does not start with the host triplet. If you think this
30532 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30533 ac_tool_warned=yes ;;
30535 PKG_CONFIG=$ac_pt_PKG_CONFIG
30538 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30542 if test -n "$PKG_CONFIG"; then
30543 _pkg_min_version=0.9.0
30544 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30545 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30546 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30547 { echo "$as_me:$LINENO: result: yes" >&5
30548 echo "${ECHO_T}yes" >&6; }
30550 { echo "$as_me:$LINENO: result: no" >&5
30551 echo "${ECHO_T}no" >&6; }
30559 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30560 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30562 if test -n "$PKG_CONFIG"; then
30563 if test -n "$DIRECTFB_CFLAGS"; then
30564 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30566 if test -n "$PKG_CONFIG" && \
30567 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30568 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; then
30572 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30580 if test -n "$PKG_CONFIG"; then
30581 if test -n "$DIRECTFB_LIBS"; then
30582 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30584 if test -n "$PKG_CONFIG" && \
30585 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30586 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; then
30590 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30601 if test $pkg_failed = yes; then
30603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30604 _pkg_short_errors_supported=yes
30606 _pkg_short_errors_supported=no
30608 if test $_pkg_short_errors_supported = yes; then
30609 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30611 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30613 # Put the nasty error message in config.log where it belongs
30614 echo "$DIRECTFB_PKG_ERRORS" >&5
30617 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30618 echo "$as_me: error: DirectFB not found." >&2;}
30619 { (exit 1); exit 1; }; }
30622 elif test $pkg_failed = untried; then
30624 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30625 echo "$as_me: error: DirectFB not found." >&2;}
30626 { (exit 1); exit 1; }; }
30630 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30631 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30632 { echo "$as_me:$LINENO: result: yes" >&5
30633 echo "${ECHO_T}yes" >&6; }
30635 wxUSE_UNIVERSAL="yes"
30636 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30637 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30644 if test "$wxUSE_MICROWIN" = 1; then
30645 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30646 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30647 if test "x$MICROWINDOWS" = x ; then
30648 { echo "$as_me:$LINENO: result: not found" >&5
30649 echo "${ECHO_T}not found" >&6; }
30650 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30651 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30652 { (exit 1); exit 1; }; }
30654 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30655 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30658 if test -f $MICROWINDOWS/lib/libmwin.a; then
30659 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30660 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30662 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30663 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30664 { (exit 1); exit 1; }; }
30667 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30668 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30670 wxUSE_UNIVERSAL="yes"
30672 AFMINSTALL=afminstall
30674 GUIDIST=MICROWIN_DIST
30676 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30679 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30680 { echo "$as_me:$LINENO: checking for X" >&5
30681 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30684 # Check whether --with-x was given.
30685 if test "${with_x+set}" = set; then
30689 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30690 if test "x$with_x" = xno; then
30691 # The user explicitly disabled X.
30694 case $x_includes,$x_libraries in #(
30695 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30696 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30697 { (exit 1); exit 1; }; };; #(
30698 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30699 echo $ECHO_N "(cached) $ECHO_C" >&6
30701 # One or both of the vars are not set, and there is no cached value.
30702 ac_x_includes=no ac_x_libraries=no
30703 rm -f -r conftest.dir
30704 if mkdir conftest.dir; then
30706 cat >Imakefile <<'_ACEOF'
30708 @echo incroot='${INCROOT}'
30710 @echo usrlibdir='${USRLIBDIR}'
30712 @echo libdir='${LIBDIR}'
30714 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30716 for ac_var in incroot usrlibdir libdir; do
30717 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30720 for ac_extension in a so sl; do
30721 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30722 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30723 ac_im_usrlibdir=$ac_im_libdir; break
30726 # Screen out bogus values from the imake configuration. They are
30727 # bogus both because they are the default anyway, and because
30728 # using them would break gcc on systems where it needs fixed includes.
30729 case $ac_im_incroot in
30730 /usr/include) ac_x_includes= ;;
30731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30733 case $ac_im_usrlibdir in
30734 /usr/lib | /lib) ;;
30735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30739 rm -f -r conftest.dir
30742 # Standard set of common directories for X headers.
30743 # Check X11 before X11Rn because it is often a symlink to the current release.
30755 /usr
/local
/X
11/include
30756 /usr
/local
/X
11R
6/include
30757 /usr
/local
/X
11R
5/include
30758 /usr
/local
/X
11R
4/include
30760 /usr
/local
/include
/X11
30761 /usr
/local
/include
/X11R6
30762 /usr
/local
/include
/X11R5
30763 /usr
/local
/include
/X11R4
30767 /usr
/XFree
86/include
/X11
30771 /usr
/unsupported
/include
30772 /usr
/athena
/include
30773 /usr
/local
/x
11r
5/include
30774 /usr
/lpp
/Xamples
/include
30776 /usr
/openwin
/include
30777 /usr
/openwin
/share
/include
'
30779 if test "$ac_x_includes" = no; then
30780 # Guess where to find include files, by looking for Xlib.h.
30781 # First, try using that file with no special directory specified.
30782 cat >conftest.$ac_ext <<_ACEOF
30785 cat confdefs.h >>conftest.$ac_ext
30786 cat >>conftest.$ac_ext <<_ACEOF
30787 /* end confdefs.h. */
30788 #include <X11/Xlib.h>
30790 if { (ac_try="$ac_cpp conftest.$ac_ext"
30791 case "(($ac_try" in
30792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30793 *) ac_try_echo=$ac_try;;
30795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30798 grep -v '^
*+' conftest.er1 >conftest.err
30800 cat conftest.err >&5
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); } >/dev/null && {
30803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30804 test ! -s conftest.err
30806 # We can compile using X headers with no special include directory.
30809 echo "$as_me: failed program was:" >&5
30810 sed 's
/^
/| /' conftest.$ac_ext >&5
30812 for ac_dir in $ac_x_header_dirs; do
30813 if test -r "$ac_dir/X11/Xlib.h"; then
30814 ac_x_includes=$ac_dir
30820 rm -f conftest.err conftest.$ac_ext
30821 fi # $ac_x_includes = no
30823 if test "$ac_x_libraries" = no; then
30824 # Check for the libraries.
30825 # See if we find them without any special options.
30826 # Don't add to
$LIBS permanently.
30829 cat >conftest.
$ac_ext <<_ACEOF
30832 cat confdefs.h
>>conftest.
$ac_ext
30833 cat >>conftest.
$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30835 #include <X11/Xlib.h>
30844 rm -f conftest.
$ac_objext conftest
$ac_exeext
30845 if { (ac_try
="$ac_link"
30846 case "(($ac_try" in
30847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30848 *) ac_try_echo=$ac_try;;
30850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30851 (eval "$ac_link") 2>conftest.er1
30853 grep -v '^ *+' conftest.er1 >conftest.err
30855 cat conftest.err >&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); } && {
30858 test -z "$ac_c_werror_flag" ||
30859 test ! -s conftest.err
30860 } && test -s conftest$ac_exeext &&
30861 $as_test_x conftest$ac_exeext; then
30863 # We can link X programs with no special library path.
30866 echo "$as_me: failed program was:" >&5
30867 sed 's/^/| /' conftest.$ac_ext >&5
30870 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30872 # Don't even attempt the hair of trying to link an X program!
30873 for ac_extension in a so sl; do
30874 if test -r "$ac_dir/libX11.$ac_extension"; then
30875 ac_x_libraries=$ac_dir
30882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30883 conftest$ac_exeext conftest.$ac_ext
30884 fi # $ac_x_libraries = no
30886 case $ac_x_includes,$ac_x_libraries in #(
30887 no,* | *,no | *\'*)
30888 # Didn't find X, or a directory has "'" in its name.
30889 ac_cv_have_x="have_x=no";; #(
30891 # Record where we found X for the cache.
30892 ac_cv_have_x="have_x=yes\
30893 ac_x_includes='$ac_x_includes'\
30894 ac_x_libraries='$ac_x_libraries'"
30900 eval "$ac_cv_have_x"
30903 if test "$have_x" != yes; then
30904 { echo "$as_me:$LINENO: result: $have_x" >&5
30905 echo "${ECHO_T}$have_x" >&6; }
30908 # If each of the values was on the command line, it overrides each guess.
30909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30911 # Update the cache value to reflect the command line values.
30912 ac_cv_have_x="have_x=yes\
30913 ac_x_includes='$x_includes'\
30914 ac_x_libraries='$x_libraries'"
30915 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30919 if test "$no_x" = yes; then
30920 # Not all programs may use this symbol, but it does not hurt to define it.
30922 cat >>confdefs.h <<\_ACEOF
30923 #define X_DISPLAY_MISSING 1
30926 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30928 if test -n "$x_includes"; then
30929 X_CFLAGS="$X_CFLAGS -I$x_includes"
30932 # It would also be nice to do this for all -L options, not just this one.
30933 if test -n "$x_libraries"; then
30934 X_LIBS="$X_LIBS -L$x_libraries"
30935 # For Solaris; some versions of Sun CC require a space after -R and
30936 # others require no space. Words are not sufficient . . . .
30937 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30940 ac_xsave_c_werror_flag=$ac_c_werror_flag
30941 ac_c_werror_flag=yes
30942 cat >conftest.$ac_ext <<_ACEOF
30945 cat confdefs.h >>conftest.$ac_ext
30946 cat >>conftest.$ac_ext <<_ACEOF
30947 /* end confdefs.h. */
30957 rm -f conftest.$ac_objext conftest$ac_exeext
30958 if { (ac_try="$ac_link"
30959 case "(($ac_try" in
30960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30961 *) ac_try_echo
=$ac_try;;
30963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30964 (eval "$ac_link") 2>conftest.er1
30966 grep -v '^ *+' conftest.er1
>conftest.err
30968 cat conftest.err
>&5
30969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30970 (exit $ac_status); } && {
30971 test -z "$ac_c_werror_flag" ||
30972 test ! -s conftest.err
30973 } && test -s conftest
$ac_exeext &&
30974 $as_test_x conftest
$ac_exeext; then
30975 { echo "$as_me:$LINENO: result: no" >&5
30976 echo "${ECHO_T}no" >&6; }
30977 X_LIBS
="$X_LIBS -R$x_libraries"
30979 echo "$as_me: failed program was:" >&5
30980 sed 's/^/| /' conftest.
$ac_ext >&5
30982 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30983 cat >conftest.
$ac_ext <<_ACEOF
30986 cat confdefs.h
>>conftest.
$ac_ext
30987 cat >>conftest.
$ac_ext <<_ACEOF
30988 /* end confdefs.h. */
30998 rm -f conftest.
$ac_objext conftest
$ac_exeext
30999 if { (ac_try
="$ac_link"
31000 case "(($ac_try" in
31001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31002 *) ac_try_echo=$ac_try;;
31004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31005 (eval "$ac_link") 2>conftest.er1
31007 grep -v '^ *+' conftest.er1 >conftest.err
31009 cat conftest.err >&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); } && {
31012 test -z "$ac_c_werror_flag" ||
31013 test ! -s conftest.err
31014 } && test -s conftest$ac_exeext &&
31015 $as_test_x conftest$ac_exeext; then
31016 { echo "$as_me:$LINENO: result: yes" >&5
31017 echo "${ECHO_T}yes" >&6; }
31018 X_LIBS="$X_LIBS -R $x_libraries"
31020 echo "$as_me: failed program was:" >&5
31021 sed 's/^/| /' conftest.$ac_ext >&5
31023 { echo "$as_me:$LINENO: result: neither works" >&5
31024 echo "${ECHO_T}neither works" >&6; }
31027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31028 conftest$ac_exeext conftest.$ac_ext
31031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31032 conftest$ac_exeext conftest.$ac_ext
31033 ac_c_werror_flag=$ac_xsave_c_werror_flag
31034 LIBS=$ac_xsave_LIBS
31037 # Check for system-dependent libraries X programs must link with.
31038 # Do this before checking for the system-independent R6 libraries
31039 # (-lICE), since we may need -lsocket or whatever for X linking.
31041 if test "$ISC" = yes; then
31042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31044 # Martyn Johnson says this is needed for Ultrix, if the X
31045 # libraries were built with DECnet support. And Karl Berry says
31046 # the Alpha needs dnet_stub (dnet does not exist).
31047 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31048 cat >conftest.$ac_ext <<_ACEOF
31051 cat confdefs.h >>conftest.$ac_ext
31052 cat >>conftest.$ac_ext <<_ACEOF
31053 /* end confdefs.h. */
31055 /* Override any GCC internal prototype to avoid an error.
31056 Use char because int might match the return type of a GCC
31057 builtin and then its argument prototype would still apply. */
31061 char XOpenDisplay ();
31065 return XOpenDisplay ();
31070 rm -f conftest.$ac_objext conftest$ac_exeext
31071 if { (ac_try="$ac_link"
31072 case "(($ac_try" in
31073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31074 *) ac_try_echo
=$ac_try;;
31076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31077 (eval "$ac_link") 2>conftest.er1
31079 grep -v '^ *+' conftest.er1
>conftest.err
31081 cat conftest.err
>&5
31082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31083 (exit $ac_status); } && {
31084 test -z "$ac_c_werror_flag" ||
31085 test ! -s conftest.err
31086 } && test -s conftest
$ac_exeext &&
31087 $as_test_x conftest
$ac_exeext; then
31090 echo "$as_me: failed program was:" >&5
31091 sed 's/^/| /' conftest.
$ac_ext >&5
31093 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31096 echo $ECHO_N "(cached) $ECHO_C" >&6
31098 ac_check_lib_save_LIBS
=$LIBS
31099 LIBS
="-ldnet $LIBS"
31100 cat >conftest.
$ac_ext <<_ACEOF
31103 cat confdefs.h
>>conftest.
$ac_ext
31104 cat >>conftest.
$ac_ext <<_ACEOF
31105 /* end confdefs.h. */
31107 /* Override any GCC internal prototype to avoid an error.
31108 Use char because int might match the return type of a GCC
31109 builtin and then its argument prototype would still apply. */
31117 return dnet_ntoa ();
31122 rm -f conftest.
$ac_objext conftest
$ac_exeext
31123 if { (ac_try
="$ac_link"
31124 case "(($ac_try" in
31125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31126 *) ac_try_echo=$ac_try;;
31128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31129 (eval "$ac_link") 2>conftest.er1
31131 grep -v '^ *+' conftest.er1 >conftest.err
31133 cat conftest.err >&5
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); } && {
31136 test -z "$ac_c_werror_flag" ||
31137 test ! -s conftest.err
31138 } && test -s conftest$ac_exeext &&
31139 $as_test_x conftest$ac_exeext; then
31140 ac_cv_lib_dnet_dnet_ntoa=yes
31142 echo "$as_me: failed program was:" >&5
31143 sed 's/^/| /' conftest.$ac_ext >&5
31145 ac_cv_lib_dnet_dnet_ntoa=no
31148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31149 conftest$ac_exeext conftest.$ac_ext
31150 LIBS=$ac_check_lib_save_LIBS
31152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31158 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31159 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31162 echo $ECHO_N "(cached) $ECHO_C" >&6
31164 ac_check_lib_save_LIBS=$LIBS
31165 LIBS="-ldnet_stub $LIBS"
31166 cat >conftest.$ac_ext <<_ACEOF
31169 cat confdefs.h >>conftest.$ac_ext
31170 cat >>conftest.$ac_ext <<_ACEOF
31171 /* end confdefs.h. */
31173 /* Override any GCC internal prototype to avoid an error.
31174 Use char because int might match the return type of a GCC
31175 builtin and then its argument prototype would still apply. */
31183 return dnet_ntoa ();
31188 rm -f conftest.$ac_objext conftest$ac_exeext
31189 if { (ac_try="$ac_link"
31190 case "(($ac_try" in
31191 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31192 *) ac_try_echo
=$ac_try;;
31194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31195 (eval "$ac_link") 2>conftest.er1
31197 grep -v '^ *+' conftest.er1
>conftest.err
31199 cat conftest.err
>&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); } && {
31202 test -z "$ac_c_werror_flag" ||
31203 test ! -s conftest.err
31204 } && test -s conftest
$ac_exeext &&
31205 $as_test_x conftest
$ac_exeext; then
31206 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31208 echo "$as_me: failed program was:" >&5
31209 sed 's/^/| /' conftest.
$ac_ext >&5
31211 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31214 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31215 conftest
$ac_exeext conftest.
$ac_ext
31216 LIBS
=$ac_check_lib_save_LIBS
31218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31221 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31227 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31228 conftest
$ac_exeext conftest.
$ac_ext
31229 LIBS
="$ac_xsave_LIBS"
31231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31232 # to get the SysV transport functions.
31233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31235 # The nsl library prevents programs from opening the X display
31236 # on Irix 5.2, according to T.E. Dickey.
31237 # The functions gethostbyname, getservbyname, and inet_addr are
31238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31239 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31241 if test "${ac_cv_func_gethostbyname+set}" = set; then
31242 echo $ECHO_N "(cached) $ECHO_C" >&6
31244 cat >conftest.
$ac_ext <<_ACEOF
31247 cat confdefs.h
>>conftest.
$ac_ext
31248 cat >>conftest.
$ac_ext <<_ACEOF
31249 /* end confdefs.h. */
31250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31252 #define gethostbyname innocuous_gethostbyname
31254 /* System header to define __stub macros and hopefully few prototypes,
31255 which can conflict with char gethostbyname (); below.
31256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31257 <limits.h> exists even on freestanding compilers. */
31260 # include <limits.h>
31262 # include <assert.h>
31265 #undef gethostbyname
31267 /* Override any GCC internal prototype to avoid an error.
31268 Use char because int might match the return type of a GCC
31269 builtin and then its argument prototype would still apply. */
31273 char gethostbyname ();
31274 /* The GNU C library defines this for functions which it implements
31275 to always fail with ENOSYS. Some functions are actually named
31276 something starting with __ and the normal name is an alias. */
31277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31284 return gethostbyname ();
31289 rm -f conftest.
$ac_objext conftest
$ac_exeext
31290 if { (ac_try
="$ac_link"
31291 case "(($ac_try" in
31292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31293 *) ac_try_echo=$ac_try;;
31295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31296 (eval "$ac_link") 2>conftest.er1
31298 grep -v '^ *+' conftest.er1 >conftest.err
31300 cat conftest.err >&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); } && {
31303 test -z "$ac_c_werror_flag" ||
31304 test ! -s conftest.err
31305 } && test -s conftest$ac_exeext &&
31306 $as_test_x conftest$ac_exeext; then
31307 ac_cv_func_gethostbyname=yes
31309 echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.$ac_ext >&5
31312 ac_cv_func_gethostbyname=no
31315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31316 conftest$ac_exeext conftest.$ac_ext
31318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31321 if test $ac_cv_func_gethostbyname = no; then
31322 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31323 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31324 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31325 echo $ECHO_N "(cached) $ECHO_C" >&6
31327 ac_check_lib_save_LIBS=$LIBS
31329 cat >conftest.$ac_ext <<_ACEOF
31332 cat confdefs.h >>conftest.$ac_ext
31333 cat >>conftest.$ac_ext <<_ACEOF
31334 /* end confdefs.h. */
31336 /* Override any GCC internal prototype to avoid an error.
31337 Use char because int might match the return type of a GCC
31338 builtin and then its argument prototype would still apply. */
31342 char gethostbyname ();
31346 return gethostbyname ();
31351 rm -f conftest.$ac_objext conftest$ac_exeext
31352 if { (ac_try="$ac_link"
31353 case "(($ac_try" in
31354 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31355 *) ac_try_echo
=$ac_try;;
31357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31358 (eval "$ac_link") 2>conftest.er1
31360 grep -v '^ *+' conftest.er1
>conftest.err
31362 cat conftest.err
>&5
31363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364 (exit $ac_status); } && {
31365 test -z "$ac_c_werror_flag" ||
31366 test ! -s conftest.err
31367 } && test -s conftest
$ac_exeext &&
31368 $as_test_x conftest
$ac_exeext; then
31369 ac_cv_lib_nsl_gethostbyname
=yes
31371 echo "$as_me: failed program was:" >&5
31372 sed 's/^/| /' conftest.
$ac_ext >&5
31374 ac_cv_lib_nsl_gethostbyname
=no
31377 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31378 conftest
$ac_exeext conftest.
$ac_ext
31379 LIBS
=$ac_check_lib_save_LIBS
31381 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31382 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31383 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31384 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31387 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31388 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31389 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31390 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31391 echo $ECHO_N "(cached) $ECHO_C" >&6
31393 ac_check_lib_save_LIBS
=$LIBS
31395 cat >conftest.
$ac_ext <<_ACEOF
31398 cat confdefs.h
>>conftest.
$ac_ext
31399 cat >>conftest.
$ac_ext <<_ACEOF
31400 /* end confdefs.h. */
31402 /* Override any GCC internal prototype to avoid an error.
31403 Use char because int might match the return type of a GCC
31404 builtin and then its argument prototype would still apply. */
31408 char gethostbyname ();
31412 return gethostbyname ();
31417 rm -f conftest.
$ac_objext conftest
$ac_exeext
31418 if { (ac_try
="$ac_link"
31419 case "(($ac_try" in
31420 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31421 *) ac_try_echo=$ac_try;;
31423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31424 (eval "$ac_link") 2>conftest.er1
31426 grep -v '^ *+' conftest.er1 >conftest.err
31428 cat conftest.err >&5
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); } && {
31431 test -z "$ac_c_werror_flag" ||
31432 test ! -s conftest.err
31433 } && test -s conftest$ac_exeext &&
31434 $as_test_x conftest$ac_exeext; then
31435 ac_cv_lib_bsd_gethostbyname=yes
31437 echo "$as_me: failed program was:" >&5
31438 sed 's/^/| /' conftest.$ac_ext >&5
31440 ac_cv_lib_bsd_gethostbyname=no
31443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31444 conftest$ac_exeext conftest.$ac_ext
31445 LIBS=$ac_check_lib_save_LIBS
31447 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31457 # socket/setsockopt and other routines are undefined under SCO ODT
31458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31459 # on later versions), says Simon Leinen: it contains gethostby*
31460 # variants that don't use the name server (or something). -lsocket
31461 # must be given before -lnsl if both are needed. We assume that
31462 # if connect needs -lnsl, so does gethostbyname.
31463 { echo "$as_me:$LINENO: checking for connect" >&5
31464 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31465 if test "${ac_cv_func_connect+set}" = set; then
31466 echo $ECHO_N "(cached) $ECHO_C" >&6
31468 cat >conftest.$ac_ext <<_ACEOF
31471 cat confdefs.h >>conftest.$ac_ext
31472 cat >>conftest.$ac_ext <<_ACEOF
31473 /* end confdefs.h. */
31474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31476 #define connect innocuous_connect
31478 /* System header to define __stub macros and hopefully few prototypes,
31479 which can conflict with char connect (); below.
31480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31481 <limits.h> exists even on freestanding compilers. */
31484 # include <limits.h>
31486 # include <assert.h>
31491 /* Override any GCC internal prototype to avoid an error.
31492 Use char because int might match the return type of a GCC
31493 builtin and then its argument prototype would still apply. */
31498 /* The GNU C library defines this for functions which it implements
31499 to always fail with ENOSYS. Some functions are actually named
31500 something starting with __ and the normal name is an alias. */
31501 #if defined __stub_connect || defined __stub___connect
31513 rm -f conftest.$ac_objext conftest$ac_exeext
31514 if { (ac_try="$ac_link"
31515 case "(($ac_try" in
31516 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31517 *) ac_try_echo
=$ac_try;;
31519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31520 (eval "$ac_link") 2>conftest.er1
31522 grep -v '^ *+' conftest.er1
>conftest.err
31524 cat conftest.err
>&5
31525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31526 (exit $ac_status); } && {
31527 test -z "$ac_c_werror_flag" ||
31528 test ! -s conftest.err
31529 } && test -s conftest
$ac_exeext &&
31530 $as_test_x conftest
$ac_exeext; then
31531 ac_cv_func_connect
=yes
31533 echo "$as_me: failed program was:" >&5
31534 sed 's/^/| /' conftest.
$ac_ext >&5
31536 ac_cv_func_connect
=no
31539 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31540 conftest
$ac_exeext conftest.
$ac_ext
31542 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31543 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31545 if test $ac_cv_func_connect = no
; then
31546 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31547 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31548 if test "${ac_cv_lib_socket_connect+set}" = set; then
31549 echo $ECHO_N "(cached) $ECHO_C" >&6
31551 ac_check_lib_save_LIBS
=$LIBS
31552 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31553 cat >conftest.
$ac_ext <<_ACEOF
31556 cat confdefs.h
>>conftest.
$ac_ext
31557 cat >>conftest.
$ac_ext <<_ACEOF
31558 /* end confdefs.h. */
31560 /* Override any GCC internal prototype to avoid an error.
31561 Use char because int might match the return type of a GCC
31562 builtin and then its argument prototype would still apply. */
31575 rm -f conftest.
$ac_objext conftest
$ac_exeext
31576 if { (ac_try
="$ac_link"
31577 case "(($ac_try" in
31578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31579 *) ac_try_echo=$ac_try;;
31581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31582 (eval "$ac_link") 2>conftest.er1
31584 grep -v '^ *+' conftest.er1 >conftest.err
31586 cat conftest.err >&5
31587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31588 (exit $ac_status); } && {
31589 test -z "$ac_c_werror_flag" ||
31590 test ! -s conftest.err
31591 } && test -s conftest$ac_exeext &&
31592 $as_test_x conftest$ac_exeext; then
31593 ac_cv_lib_socket_connect=yes
31595 echo "$as_me: failed program was:" >&5
31596 sed 's/^/| /' conftest.$ac_ext >&5
31598 ac_cv_lib_socket_connect=no
31601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31602 conftest$ac_exeext conftest.$ac_ext
31603 LIBS=$ac_check_lib_save_LIBS
31605 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31607 if test $ac_cv_lib_socket_connect = yes; then
31608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31613 # Guillermo Gomez says -lposix is necessary on A/UX.
31614 { echo "$as_me:$LINENO: checking for remove" >&5
31615 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31616 if test "${ac_cv_func_remove+set}" = set; then
31617 echo $ECHO_N "(cached) $ECHO_C" >&6
31619 cat >conftest.$ac_ext <<_ACEOF
31622 cat confdefs.h >>conftest.$ac_ext
31623 cat >>conftest.$ac_ext <<_ACEOF
31624 /* end confdefs.h. */
31625 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31627 #define remove innocuous_remove
31629 /* System header to define __stub macros and hopefully few prototypes,
31630 which can conflict with char remove (); below.
31631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31632 <limits.h> exists even on freestanding compilers. */
31635 # include <limits.h>
31637 # include <assert.h>
31642 /* Override any GCC internal prototype to avoid an error.
31643 Use char because int might match the return type of a GCC
31644 builtin and then its argument prototype would still apply. */
31649 /* The GNU C library defines this for functions which it implements
31650 to always fail with ENOSYS. Some functions are actually named
31651 something starting with __ and the normal name is an alias. */
31652 #if defined __stub_remove || defined __stub___remove
31664 rm -f conftest.$ac_objext conftest$ac_exeext
31665 if { (ac_try="$ac_link"
31666 case "(($ac_try" in
31667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31668 *) ac_try_echo
=$ac_try;;
31670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31671 (eval "$ac_link") 2>conftest.er1
31673 grep -v '^ *+' conftest.er1
>conftest.err
31675 cat conftest.err
>&5
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); } && {
31678 test -z "$ac_c_werror_flag" ||
31679 test ! -s conftest.err
31680 } && test -s conftest
$ac_exeext &&
31681 $as_test_x conftest
$ac_exeext; then
31682 ac_cv_func_remove
=yes
31684 echo "$as_me: failed program was:" >&5
31685 sed 's/^/| /' conftest.
$ac_ext >&5
31687 ac_cv_func_remove
=no
31690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31691 conftest
$ac_exeext conftest.
$ac_ext
31693 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31694 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31696 if test $ac_cv_func_remove = no
; then
31697 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31698 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31699 if test "${ac_cv_lib_posix_remove+set}" = set; then
31700 echo $ECHO_N "(cached) $ECHO_C" >&6
31702 ac_check_lib_save_LIBS
=$LIBS
31703 LIBS
="-lposix $LIBS"
31704 cat >conftest.
$ac_ext <<_ACEOF
31707 cat confdefs.h
>>conftest.
$ac_ext
31708 cat >>conftest.
$ac_ext <<_ACEOF
31709 /* end confdefs.h. */
31711 /* Override any GCC internal prototype to avoid an error.
31712 Use char because int might match the return type of a GCC
31713 builtin and then its argument prototype would still apply. */
31726 rm -f conftest.
$ac_objext conftest
$ac_exeext
31727 if { (ac_try
="$ac_link"
31728 case "(($ac_try" in
31729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31730 *) ac_try_echo=$ac_try;;
31732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31733 (eval "$ac_link") 2>conftest.er1
31735 grep -v '^ *+' conftest.er1 >conftest.err
31737 cat conftest.err >&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); } && {
31740 test -z "$ac_c_werror_flag" ||
31741 test ! -s conftest.err
31742 } && test -s conftest$ac_exeext &&
31743 $as_test_x conftest$ac_exeext; then
31744 ac_cv_lib_posix_remove=yes
31746 echo "$as_me: failed program was:" >&5
31747 sed 's/^/| /' conftest.$ac_ext >&5
31749 ac_cv_lib_posix_remove=no
31752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31753 conftest$ac_exeext conftest.$ac_ext
31754 LIBS=$ac_check_lib_save_LIBS
31756 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31757 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31758 if test $ac_cv_lib_posix_remove = yes; then
31759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31764 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31765 { echo "$as_me:$LINENO: checking for shmat" >&5
31766 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31767 if test "${ac_cv_func_shmat+set}" = set; then
31768 echo $ECHO_N "(cached) $ECHO_C" >&6
31770 cat >conftest.$ac_ext <<_ACEOF
31773 cat confdefs.h >>conftest.$ac_ext
31774 cat >>conftest.$ac_ext <<_ACEOF
31775 /* end confdefs.h. */
31776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31778 #define shmat innocuous_shmat
31780 /* System header to define __stub macros and hopefully few prototypes,
31781 which can conflict with char shmat (); below.
31782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31783 <limits.h> exists even on freestanding compilers. */
31786 # include <limits.h>
31788 # include <assert.h>
31793 /* Override any GCC internal prototype to avoid an error.
31794 Use char because int might match the return type of a GCC
31795 builtin and then its argument prototype would still apply. */
31800 /* The GNU C library defines this for functions which it implements
31801 to always fail with ENOSYS. Some functions are actually named
31802 something starting with __ and the normal name is an alias. */
31803 #if defined __stub_shmat || defined __stub___shmat
31815 rm -f conftest.$ac_objext conftest$ac_exeext
31816 if { (ac_try="$ac_link"
31817 case "(($ac_try" in
31818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31819 *) ac_try_echo
=$ac_try;;
31821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31822 (eval "$ac_link") 2>conftest.er1
31824 grep -v '^ *+' conftest.er1
>conftest.err
31826 cat conftest.err
>&5
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); } && {
31829 test -z "$ac_c_werror_flag" ||
31830 test ! -s conftest.err
31831 } && test -s conftest
$ac_exeext &&
31832 $as_test_x conftest
$ac_exeext; then
31833 ac_cv_func_shmat
=yes
31835 echo "$as_me: failed program was:" >&5
31836 sed 's/^/| /' conftest.
$ac_ext >&5
31838 ac_cv_func_shmat
=no
31841 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31842 conftest
$ac_exeext conftest.
$ac_ext
31844 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31845 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31847 if test $ac_cv_func_shmat = no
; then
31848 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31851 echo $ECHO_N "(cached) $ECHO_C" >&6
31853 ac_check_lib_save_LIBS
=$LIBS
31855 cat >conftest.
$ac_ext <<_ACEOF
31858 cat confdefs.h
>>conftest.
$ac_ext
31859 cat >>conftest.
$ac_ext <<_ACEOF
31860 /* end confdefs.h. */
31862 /* Override any GCC internal prototype to avoid an error.
31863 Use char because int might match the return type of a GCC
31864 builtin and then its argument prototype would still apply. */
31877 rm -f conftest.
$ac_objext conftest
$ac_exeext
31878 if { (ac_try
="$ac_link"
31879 case "(($ac_try" in
31880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31881 *) ac_try_echo=$ac_try;;
31883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31884 (eval "$ac_link") 2>conftest.er1
31886 grep -v '^ *+' conftest.er1 >conftest.err
31888 cat conftest.err >&5
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); } && {
31891 test -z "$ac_c_werror_flag" ||
31892 test ! -s conftest.err
31893 } && test -s conftest$ac_exeext &&
31894 $as_test_x conftest$ac_exeext; then
31895 ac_cv_lib_ipc_shmat=yes
31897 echo "$as_me: failed program was:" >&5
31898 sed 's/^/| /' conftest.$ac_ext >&5
31900 ac_cv_lib_ipc_shmat=no
31903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31904 conftest$ac_exeext conftest.$ac_ext
31905 LIBS=$ac_check_lib_save_LIBS
31907 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31908 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31909 if test $ac_cv_lib_ipc_shmat = yes; then
31910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31916 # Check for libraries that X11R6 Xt/Xaw programs need.
31917 ac_save_LDFLAGS=$LDFLAGS
31918 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31919 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31920 # check for ICE first), but we must link in the order -lSM -lICE or
31921 # we get undefined symbols. So assume we have SM if we have ICE.
31922 # These have to be linked with before -lX11, unlike the other
31923 # libraries we check for below, so use a different variable.
31924 # John Interrante, Karl Berry
31925 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31926 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31927 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31928 echo $ECHO_N "(cached) $ECHO_C" >&6
31930 ac_check_lib_save_LIBS=$LIBS
31931 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31932 cat >conftest.$ac_ext <<_ACEOF
31935 cat confdefs.h >>conftest.$ac_ext
31936 cat >>conftest.$ac_ext <<_ACEOF
31937 /* end confdefs.h. */
31939 /* Override any GCC internal prototype to avoid an error.
31940 Use char because int might match the return type of a GCC
31941 builtin and then its argument prototype would still apply. */
31945 char IceConnectionNumber ();
31949 return IceConnectionNumber ();
31954 rm -f conftest.$ac_objext conftest$ac_exeext
31955 if { (ac_try="$ac_link"
31956 case "(($ac_try" in
31957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31958 *) ac_try_echo
=$ac_try;;
31960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31961 (eval "$ac_link") 2>conftest.er1
31963 grep -v '^ *+' conftest.er1
>conftest.err
31965 cat conftest.err
>&5
31966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31967 (exit $ac_status); } && {
31968 test -z "$ac_c_werror_flag" ||
31969 test ! -s conftest.err
31970 } && test -s conftest
$ac_exeext &&
31971 $as_test_x conftest
$ac_exeext; then
31972 ac_cv_lib_ICE_IceConnectionNumber
=yes
31974 echo "$as_me: failed program was:" >&5
31975 sed 's/^/| /' conftest.
$ac_ext >&5
31977 ac_cv_lib_ICE_IceConnectionNumber
=no
31980 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31981 conftest
$ac_exeext conftest.
$ac_ext
31982 LIBS
=$ac_check_lib_save_LIBS
31984 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31987 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31990 LDFLAGS
=$ac_save_LDFLAGS
31995 if test "$no_x" = "yes"; then
31996 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31997 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31998 { (exit 1); exit 1; }; }
32001 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32002 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32003 AFMINSTALL
=afminstall
32004 COMPILED_X_PROGRAM
=0
32008 if test "$wxUSE_X11" = 1; then
32009 if test "$wxUSE_NANOX" = "yes"; then
32010 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32011 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32012 if test "x$MICROWIN" = x
; then
32013 { echo "$as_me:$LINENO: result: not found" >&5
32014 echo "${ECHO_T}not found" >&6; }
32015 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32016 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32017 { (exit 1); exit 1; }; }
32019 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32020 echo "${ECHO_T}$MICROWIN" >&6; }
32021 cat >>confdefs.h
<<\_ACEOF
32022 #define wxUSE_NANOX 1
32028 if test "$wxUSE_UNICODE" = "yes"; then
32031 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32032 if test -n "$ac_tool_prefix"; then
32033 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32034 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32037 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32038 echo $ECHO_N "(cached) $ECHO_C" >&6
32040 case $PKG_CONFIG in
32042 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32046 for as_dir
in $PATH
32049 test -z "$as_dir" && as_dir
=.
32050 for ac_exec_ext
in '' $ac_executable_extensions; do
32051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32052 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32063 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32064 if test -n "$PKG_CONFIG"; then
32065 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32066 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32068 { echo "$as_me:$LINENO: result: no" >&5
32069 echo "${ECHO_T}no" >&6; }
32074 if test -z "$ac_cv_path_PKG_CONFIG"; then
32075 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32076 # Extract the first word of "pkg-config", so it can be a program name with args.
32077 set dummy pkg
-config; ac_word
=$2
32078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32080 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32083 case $ac_pt_PKG_CONFIG in
32085 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32089 for as_dir
in $PATH
32092 test -z "$as_dir" && as_dir
=.
32093 for ac_exec_ext
in '' $ac_executable_extensions; do
32094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32095 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32106 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32107 if test -n "$ac_pt_PKG_CONFIG"; then
32108 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32109 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32111 { echo "$as_me:$LINENO: result: no" >&5
32112 echo "${ECHO_T}no" >&6; }
32115 if test "x$ac_pt_PKG_CONFIG" = x
; then
32118 case $cross_compiling:$ac_tool_warned in
32120 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32121 whose name does not start with the host triplet. If you think this
32122 configuration is useful to you, please write to autoconf@gnu.org." >&5
32123 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32124 whose name does not start with the host triplet. If you think this
32125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32126 ac_tool_warned
=yes ;;
32128 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32131 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32135 if test -n "$PKG_CONFIG"; then
32136 _pkg_min_version
=0.9.0
32137 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32138 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32139 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32140 { echo "$as_me:$LINENO: result: yes" >&5
32141 echo "${ECHO_T}yes" >&6; }
32143 { echo "$as_me:$LINENO: result: no" >&5
32144 echo "${ECHO_T}no" >&6; }
32152 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32153 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32155 if test -n "$PKG_CONFIG"; then
32156 if test -n "$PANGOX_CFLAGS"; then
32157 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32159 if test -n "$PKG_CONFIG" && \
32160 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32161 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32164 (exit $ac_status); }; then
32165 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32173 if test -n "$PKG_CONFIG"; then
32174 if test -n "$PANGOX_LIBS"; then
32175 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32177 if test -n "$PKG_CONFIG" && \
32178 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32179 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182 (exit $ac_status); }; then
32183 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32194 if test $pkg_failed = yes; then
32196 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32197 _pkg_short_errors_supported
=yes
32199 _pkg_short_errors_supported
=no
32201 if test $_pkg_short_errors_supported = yes; then
32202 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32204 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32206 # Put the nasty error message in config.log where it belongs
32207 echo "$PANGOX_PKG_ERRORS" >&5
32210 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32211 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32212 { (exit 1); exit 1; }; }
32215 elif test $pkg_failed = untried
; then
32217 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32218 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32219 { (exit 1); exit 1; }; }
32223 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32224 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32225 { echo "$as_me:$LINENO: result: yes" >&5
32226 echo "${ECHO_T}yes" >&6; }
32228 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
32229 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32230 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32235 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32236 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32238 if test -n "$PKG_CONFIG"; then
32239 if test -n "$PANGOFT2_CFLAGS"; then
32240 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32242 if test -n "$PKG_CONFIG" && \
32243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32244 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); }; then
32248 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32256 if test -n "$PKG_CONFIG"; then
32257 if test -n "$PANGOFT2_LIBS"; then
32258 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32260 if test -n "$PKG_CONFIG" && \
32261 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32262 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32265 (exit $ac_status); }; then
32266 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32277 if test $pkg_failed = yes; then
32279 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32280 _pkg_short_errors_supported
=yes
32282 _pkg_short_errors_supported
=no
32284 if test $_pkg_short_errors_supported = yes; then
32285 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32287 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32289 # Put the nasty error message in config.log where it belongs
32290 echo "$PANGOFT2_PKG_ERRORS" >&5
32293 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32294 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32295 wxUSE_PRINTING_ARCHITECTURE
="no"
32298 elif test $pkg_failed = untried
; then
32300 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32301 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32302 wxUSE_PRINTING_ARCHITECTURE
="no"
32306 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32307 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32308 { echo "$as_me:$LINENO: result: yes" >&5
32309 echo "${ECHO_T}yes" >&6; }
32311 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32312 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32313 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32318 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32319 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32321 if test -n "$PKG_CONFIG"; then
32322 if test -n "$PANGOXFT_CFLAGS"; then
32323 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32325 if test -n "$PKG_CONFIG" && \
32326 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32327 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32330 (exit $ac_status); }; then
32331 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32339 if test -n "$PKG_CONFIG"; then
32340 if test -n "$PANGOXFT_LIBS"; then
32341 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32343 if test -n "$PKG_CONFIG" && \
32344 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32345 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32348 (exit $ac_status); }; then
32349 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32360 if test $pkg_failed = yes; then
32362 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32363 _pkg_short_errors_supported
=yes
32365 _pkg_short_errors_supported
=no
32367 if test $_pkg_short_errors_supported = yes; then
32368 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32370 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32372 # Put the nasty error message in config.log where it belongs
32373 echo "$PANGOXFT_PKG_ERRORS" >&5
32376 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32377 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32380 elif test $pkg_failed = untried
; then
32382 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32383 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32387 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32388 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32389 { echo "$as_me:$LINENO: result: yes" >&5
32390 echo "${ECHO_T}yes" >&6; }
32392 cat >>confdefs.h
<<\_ACEOF
32393 #define HAVE_PANGO_XFT 1
32396 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32397 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32398 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32402 LIBS
="$LIBS $PANGOX_LIBS"
32404 for ac_func
in pango_font_family_is_monospace
32406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32407 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32409 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32410 echo $ECHO_N "(cached) $ECHO_C" >&6
32412 cat >conftest.
$ac_ext <<_ACEOF
32415 cat confdefs.h
>>conftest.
$ac_ext
32416 cat >>conftest.
$ac_ext <<_ACEOF
32417 /* end confdefs.h. */
32418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32420 #define $ac_func innocuous_$ac_func
32422 /* System header to define __stub macros and hopefully few prototypes,
32423 which can conflict with char $ac_func (); below.
32424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32425 <limits.h> exists even on freestanding compilers. */
32428 # include <limits.h>
32430 # include <assert.h>
32435 /* Override any GCC internal prototype to avoid an error.
32436 Use char because int might match the return type of a GCC
32437 builtin and then its argument prototype would still apply. */
32442 /* The GNU C library defines this for functions which it implements
32443 to always fail with ENOSYS. Some functions are actually named
32444 something starting with __ and the normal name is an alias. */
32445 #if defined __stub_$ac_func || defined __stub___$ac_func
32452 return $ac_func ();
32457 rm -f conftest.
$ac_objext conftest
$ac_exeext
32458 if { (ac_try
="$ac_link"
32459 case "(($ac_try" in
32460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32461 *) ac_try_echo=$ac_try;;
32463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32464 (eval "$ac_link") 2>conftest.er1
32466 grep -v '^ *+' conftest.er1 >conftest.err
32468 cat conftest.err >&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); } && {
32471 test -z "$ac_c_werror_flag" ||
32472 test ! -s conftest.err
32473 } && test -s conftest$ac_exeext &&
32474 $as_test_x conftest$ac_exeext; then
32475 eval "$as_ac_var=yes"
32477 echo "$as_me: failed program was:" >&5
32478 sed 's/^/| /' conftest.$ac_ext >&5
32480 eval "$as_ac_var=no"
32483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32484 conftest$ac_exeext conftest.$ac_ext
32486 ac_res=`eval echo '${'$as_ac_var'}'`
32487 { echo "$as_me:$LINENO: result: $ac_res" >&5
32488 echo "${ECHO_T}$ac_res" >&6; }
32489 if test `eval echo '${'$as_ac_var'}'` = yes; then
32490 cat >>confdefs.h <<_ACEOF
32491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32500 wxUSE_UNIVERSAL="yes"
32502 if test "$wxUSE_NANOX" = "yes"; then
32503 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32504 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"
32505 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32507 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32514 if test "$wxUSE_MOTIF" = 1; then
32515 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32516 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32519 for ac_dir in $SEARCH_INCLUDE /usr/include;
32521 if test -f "$ac_dir/Xm/Xm.h"; then
32522 ac_find_includes=$ac_dir
32527 if test "$ac_find_includes" != "" ; then
32528 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32529 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32531 if test "x$ac_find_includes" = "x/usr/include"; then
32532 ac_path_to_include=""
32534 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32536 if test $result = 0; then
32537 ac_path_to_include=""
32539 ac_path_to_include=" -I$ac_find_includes"
32543 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32545 save_CFLAGS=$CFLAGS
32546 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32548 cat >conftest.$ac_ext <<_ACEOF
32551 cat confdefs.h >>conftest.$ac_ext
32552 cat >>conftest.$ac_ext <<_ACEOF
32553 /* end confdefs.h. */
32562 version = xmUseVersion;
32568 rm -f conftest.$ac_objext
32569 if { (ac_try="$ac_compile"
32570 case "(($ac_try" in
32571 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32572 *) ac_try_echo
=$ac_try;;
32574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32575 (eval "$ac_compile") 2>conftest.er1
32577 grep -v '^ *+' conftest.er1
>conftest.err
32579 cat conftest.err
>&5
32580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32581 (exit $ac_status); } && {
32582 test -z "$ac_c_werror_flag" ||
32583 test ! -s conftest.err
32584 } && test -s conftest.
$ac_objext; then
32586 { echo "$as_me:$LINENO: result: found in default search path" >&5
32587 echo "${ECHO_T}found in default search path" >&6; }
32588 COMPILED_X_PROGRAM
=1
32591 echo "$as_me: failed program was:" >&5
32592 sed 's/^/| /' conftest.
$ac_ext >&5
32595 { echo "$as_me:$LINENO: result: no" >&5
32596 echo "${ECHO_T}no" >&6; }
32597 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32598 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32599 { (exit 1); exit 1; }; }
32604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32606 CFLAGS
=$save_CFLAGS
32610 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32611 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32614 for ac_dir
in $SEARCH_LIB;
32616 for ac_extension
in a so sl dylib dll.a
; do
32617 if test -f "$ac_dir/libXm.$ac_extension"; then
32618 ac_find_libraries
=$ac_dir
32625 if test "x$ac_find_libraries" != "x" ; then
32626 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32627 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32630 if test "$ac_find_libraries" = "default location"; then
32633 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32635 if test $result = 0; then
32638 ac_path_to_link
=" -L$ac_find_libraries"
32642 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32644 save_CFLAGS
=$CFLAGS
32645 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32647 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32649 cat >conftest.
$ac_ext <<_ACEOF
32652 cat confdefs.h
>>conftest.
$ac_ext
32653 cat >>conftest.
$ac_ext <<_ACEOF
32654 /* end confdefs.h. */
32663 version = xmUseVersion;
32669 rm -f conftest.
$ac_objext conftest
$ac_exeext
32670 if { (ac_try
="$ac_link"
32671 case "(($ac_try" in
32672 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32673 *) ac_try_echo=$ac_try;;
32675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32676 (eval "$ac_link") 2>conftest.er1
32678 grep -v '^ *+' conftest.er1 >conftest.err
32680 cat conftest.err >&5
32681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); } && {
32683 test -z "$ac_c_werror_flag" ||
32684 test ! -s conftest.err
32685 } && test -s conftest$ac_exeext &&
32686 $as_test_x conftest$ac_exeext; then
32688 { echo "$as_me:$LINENO: result: found in default search path" >&5
32689 echo "${ECHO_T}found in default search path" >&6; }
32690 COMPILED_X_PROGRAM=1
32693 echo "$as_me: failed program was:" >&5
32694 sed 's/^/| /' conftest.$ac_ext >&5
32697 { echo "$as_me:$LINENO: result: no" >&5
32698 echo "${ECHO_T}no" >&6; }
32699 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32700 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32701 { (exit 1); exit 1; }; }
32706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32707 conftest$ac_exeext conftest.$ac_ext
32709 CFLAGS=$save_CFLAGS
32713 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32714 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32718 for libp in "" " -lXp"; do
32719 if test "$libs_found" = 0; then
32720 for libsm_ice in "" " -lSM -lICE"; do
32721 if test "$libs_found" = 0; then
32723 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32724 save_CFLAGS=$CFLAGS
32725 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32727 cat >conftest.$ac_ext <<_ACEOF
32730 cat confdefs.h >>conftest.$ac_ext
32731 cat >>conftest.$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32735 #include <Xm/List.h>
32741 XmString string = NULL;
32744 XmListAddItem(w, string, position);
32750 rm -f conftest.$ac_objext conftest$ac_exeext
32751 if { (ac_try="$ac_link"
32752 case "(($ac_try" in
32753 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32754 *) ac_try_echo
=$ac_try;;
32756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32757 (eval "$ac_link") 2>conftest.er1
32759 grep -v '^ *+' conftest.er1
>conftest.err
32761 cat conftest.err
>&5
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); } && {
32764 test -z "$ac_c_werror_flag" ||
32765 test ! -s conftest.err
32766 } && test -s conftest
$ac_exeext &&
32767 $as_test_x conftest
$ac_exeext; then
32770 libsm_ice_link
="$libsm_ice"
32771 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32772 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.
$ac_ext >&5
32783 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32784 conftest
$ac_exeext conftest.
$ac_ext
32787 CFLAGS
=$save_CFLAGS
32793 if test "$libs_found" = 0; then
32794 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32795 echo "${ECHO_T}can't find the right libraries" >&6; }
32796 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32797 echo "$as_me: error: can't link a simple motif program" >&2;}
32798 { (exit 1); exit 1; }; }
32801 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32802 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32803 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32804 echo $ECHO_N "(cached) $ECHO_C" >&6
32806 ac_check_lib_save_LIBS
=$LIBS
32808 cat >conftest.
$ac_ext <<_ACEOF
32811 cat confdefs.h
>>conftest.
$ac_ext
32812 cat >>conftest.
$ac_ext <<_ACEOF
32813 /* end confdefs.h. */
32815 /* Override any GCC internal prototype to avoid an error.
32816 Use char because int might match the return type of a GCC
32817 builtin and then its argument prototype would still apply. */
32821 char SgCreateList ();
32825 return SgCreateList ();
32830 rm -f conftest.
$ac_objext conftest
$ac_exeext
32831 if { (ac_try
="$ac_link"
32832 case "(($ac_try" in
32833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32834 *) ac_try_echo=$ac_try;;
32836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32837 (eval "$ac_link") 2>conftest.er1
32839 grep -v '^ *+' conftest.er1 >conftest.err
32841 cat conftest.err >&5
32842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32843 (exit $ac_status); } && {
32844 test -z "$ac_c_werror_flag" ||
32845 test ! -s conftest.err
32846 } && test -s conftest$ac_exeext &&
32847 $as_test_x conftest$ac_exeext; then
32848 ac_cv_lib_Sgm_SgCreateList=yes
32850 echo "$as_me: failed program was:" >&5
32851 sed 's/^/| /' conftest.$ac_ext >&5
32853 ac_cv_lib_Sgm_SgCreateList=no
32856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32857 conftest$ac_exeext conftest.$ac_ext
32858 LIBS=$ac_check_lib_save_LIBS
32860 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32861 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32862 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32863 libsgm_link=" -lSgm"
32867 save_CFLAGS=$CFLAGS
32868 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32870 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32871 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32872 if test "${wx_cv_lib_motif2+set}" = set; then
32873 echo $ECHO_N "(cached) $ECHO_C" >&6
32875 cat >conftest.$ac_ext <<_ACEOF
32878 cat confdefs.h >>conftest.$ac_ext
32879 cat >>conftest.$ac_ext <<_ACEOF
32880 /* end confdefs.h. */
32888 #if XmVersion < 2000
32896 rm -f conftest.$ac_objext
32897 if { (ac_try="$ac_compile"
32898 case "(($ac_try" in
32899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32900 *) ac_try_echo
=$ac_try;;
32902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32903 (eval "$ac_compile") 2>conftest.er1
32905 grep -v '^ *+' conftest.er1
>conftest.err
32907 cat conftest.err
>&5
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); } && {
32910 test -z "$ac_c_werror_flag" ||
32911 test ! -s conftest.err
32912 } && test -s conftest.
$ac_objext; then
32913 wx_cv_lib_motif2
="yes"
32915 echo "$as_me: failed program was:" >&5
32916 sed 's/^/| /' conftest.
$ac_ext >&5
32918 wx_cv_lib_motif2
="no"
32921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32923 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32924 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32925 if test "$wx_cv_lib_motif2" = "yes"; then
32926 cat >>confdefs.h
<<\_ACEOF
32927 #define __WXMOTIF20__ 1
32931 cat >>confdefs.h
<<\_ACEOF
32932 #define __WXMOTIF20__ 0
32937 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32938 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32939 if test "${wx_cv_lib_lesstif+set}" = set; then
32940 echo $ECHO_N "(cached) $ECHO_C" >&6
32942 cat >conftest.
$ac_ext <<_ACEOF
32945 cat confdefs.h
>>conftest.
$ac_ext
32946 cat >>conftest.
$ac_ext <<_ACEOF
32947 /* end confdefs.h. */
32955 #if !defined(LesstifVersion) || LesstifVersion <= 0
32963 rm -f conftest.
$ac_objext
32964 if { (ac_try
="$ac_compile"
32965 case "(($ac_try" in
32966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32967 *) ac_try_echo=$ac_try;;
32969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32970 (eval "$ac_compile") 2>conftest.er1
32972 grep -v '^ *+' conftest.er1 >conftest.err
32974 cat conftest.err >&5
32975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976 (exit $ac_status); } && {
32977 test -z "$ac_c_werror_flag" ||
32978 test ! -s conftest.err
32979 } && test -s conftest.$ac_objext; then
32980 wx_cv_lib_lesstif="yes"
32982 echo "$as_me: failed program was:" >&5
32983 sed 's/^/| /' conftest.$ac_ext >&5
32985 wx_cv_lib_lesstif="no"
32988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32991 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32992 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32993 if test "$wx_cv_lib_lesstif" = "yes"; then
32994 cat >>confdefs.h <<\_ACEOF
32995 #define __WXLESSTIF__ 1
32999 cat >>confdefs.h <<\_ACEOF
33000 #define __WXLESSTIF__ 0
33005 CFLAGS=$save_CFLAGS
33007 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33012 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33013 if test "$wxUSE_LIBXPM" = "sys"; then
33014 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33015 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33018 for ac_dir in $SEARCH_LIB;
33020 for ac_extension in a so sl dylib dll.a; do
33021 if test -f "$ac_dir/libXpm.$ac_extension"; then
33022 ac_find_libraries=$ac_dir
33028 if test "$ac_find_libraries" != "" ; then
33030 if test "$ac_find_libraries" = "default location"; then
33033 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33035 if test $result = 0; then
33038 ac_path_to_link=" -L$ac_find_libraries"
33042 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33043 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33044 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33046 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33047 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33048 if test "${wx_cv_x11_xpm_h+set}" = set; then
33049 echo $ECHO_N "(cached) $ECHO_C" >&6
33052 save_CFLAGS=$CFLAGS
33053 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33055 cat >conftest.$ac_ext <<_ACEOF
33058 cat confdefs.h >>conftest.$ac_ext
33059 cat >>conftest.$ac_ext <<_ACEOF
33060 /* end confdefs.h. */
33062 #include <X11/xpm.h>
33069 version = XpmLibraryVersion();
33075 rm -f conftest.$ac_objext
33076 if { (ac_try="$ac_compile"
33077 case "(($ac_try" in
33078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33079 *) ac_try_echo
=$ac_try;;
33081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33082 (eval "$ac_compile") 2>conftest.er1
33084 grep -v '^ *+' conftest.er1
>conftest.err
33086 cat conftest.err
>&5
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); } && {
33089 test -z "$ac_c_werror_flag" ||
33090 test ! -s conftest.err
33091 } && test -s conftest.
$ac_objext; then
33092 wx_cv_x11_xpm_h
=yes
33094 echo "$as_me: failed program was:" >&5
33095 sed 's/^/| /' conftest.
$ac_ext >&5
33101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33103 CFLAGS
=$save_CFLAGS
33107 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33108 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33110 if test $wx_cv_x11_xpm_h = "yes"; then
33111 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33112 cat >>confdefs.h
<<\_ACEOF
33113 #define wxHAVE_LIB_XPM 1
33117 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33118 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33124 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33125 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33126 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33127 echo $ECHO_N "(cached) $ECHO_C" >&6
33129 ac_check_lib_save_LIBS
=$LIBS
33130 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33131 cat >conftest.
$ac_ext <<_ACEOF
33134 cat confdefs.h
>>conftest.
$ac_ext
33135 cat >>conftest.
$ac_ext <<_ACEOF
33136 /* end confdefs.h. */
33138 /* Override any GCC internal prototype to avoid an error.
33139 Use char because int might match the return type of a GCC
33140 builtin and then its argument prototype would still apply. */
33144 char XShapeQueryExtension ();
33148 return XShapeQueryExtension ();
33153 rm -f conftest.
$ac_objext conftest
$ac_exeext
33154 if { (ac_try
="$ac_link"
33155 case "(($ac_try" in
33156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33157 *) ac_try_echo=$ac_try;;
33159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33160 (eval "$ac_link") 2>conftest.er1
33162 grep -v '^ *+' conftest.er1 >conftest.err
33164 cat conftest.err >&5
33165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33166 (exit $ac_status); } && {
33167 test -z "$ac_c_werror_flag" ||
33168 test ! -s conftest.err
33169 } && test -s conftest$ac_exeext &&
33170 $as_test_x conftest$ac_exeext; then
33171 ac_cv_lib_Xext_XShapeQueryExtension=yes
33173 echo "$as_me: failed program was:" >&5
33174 sed 's/^/| /' conftest.$ac_ext >&5
33176 ac_cv_lib_Xext_XShapeQueryExtension=no
33179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33180 conftest$ac_exeext conftest.$ac_ext
33181 LIBS=$ac_check_lib_save_LIBS
33183 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33184 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33185 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33187 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33193 if test "$wxHAVE_XEXT_LIB" = 1; then
33194 save_CFLAGS="$CFLAGS"
33195 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33197 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33198 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33199 cat >conftest.$ac_ext <<_ACEOF
33202 cat confdefs.h >>conftest.$ac_ext
33203 cat >>conftest.$ac_ext <<_ACEOF
33204 /* end confdefs.h. */
33206 #include <X11/Xlib.h>
33207 #include <X11/extensions/shape.h>
33213 int dummy1, dummy2;
33214 XShapeQueryExtension((Display*)NULL,
33215 (int*)NULL, (int*)NULL);
33221 rm -f conftest.$ac_objext
33222 if { (ac_try="$ac_compile"
33223 case "(($ac_try" in
33224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33225 *) ac_try_echo
=$ac_try;;
33227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33228 (eval "$ac_compile") 2>conftest.er1
33230 grep -v '^ *+' conftest.er1
>conftest.err
33232 cat conftest.err
>&5
33233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 (exit $ac_status); } && {
33235 test -z "$ac_c_werror_flag" ||
33236 test ! -s conftest.err
33237 } && test -s conftest.
$ac_objext; then
33239 cat >>confdefs.h
<<\_ACEOF
33240 #define HAVE_XSHAPE 1
33243 { echo "$as_me:$LINENO: result: found" >&5
33244 echo "${ECHO_T}found" >&6; }
33247 echo "$as_me: failed program was:" >&5
33248 sed 's/^/| /' conftest.
$ac_ext >&5
33251 { echo "$as_me:$LINENO: result: not found" >&5
33252 echo "${ECHO_T}not found" >&6; }
33256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33257 CFLAGS
="$save_CFLAGS"
33262 if test "$wxUSE_OSX_CARBON" = 1; then
33263 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33264 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33265 if test "$GCC" = yes; then
33266 { echo "$as_me:$LINENO: result: gcc" >&5
33267 echo "${ECHO_T}gcc" >&6; }
33268 CPPFLAGS_PASCAL
="-fpascal-strings"
33269 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33270 { echo "$as_me:$LINENO: result: xlc" >&5
33271 echo "${ECHO_T}xlc" >&6; }
33272 CPPFLAGS_PASCAL
="-qmacpstr"
33274 { echo "$as_me:$LINENO: result: none" >&5
33275 echo "${ECHO_T}none" >&6; }
33278 if test "x$wxUSE_UNIX" = "xyes"; then
33279 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33281 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33285 GUIDIST
=OSX_CARBON_DIST
33286 WXBASEPORT
="_carbon"
33288 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33291 if test "$wxUSE_OSX_COCOA" = 1; then
33293 GUIDIST
=OSX_COCOA_DIST
33295 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33298 if test "$wxUSE_OSX_IPHONE" = 1; then
33302 if test "$wxUSE_OLD_COCOA" = 1; then
33307 if test "$wxUSE_PM" = 1; then
33310 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33311 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33312 if test "${wx_cv_spbcdata+set}" = set; then
33313 echo $ECHO_N "(cached) $ECHO_C" >&6
33316 cat >conftest.
$ac_ext <<_ACEOF
33319 cat confdefs.h
>>conftest.
$ac_ext
33320 cat >>conftest.
$ac_ext <<_ACEOF
33321 /* end confdefs.h. */
33336 rm -f conftest.
$ac_objext
33337 if { (ac_try
="$ac_compile"
33338 case "(($ac_try" in
33339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33340 *) ac_try_echo=$ac_try;;
33342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33343 (eval "$ac_compile") 2>conftest.er1
33345 grep -v '^ *+' conftest.er1 >conftest.err
33347 cat conftest.err >&5
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); } && {
33350 test -z "$ac_c_werror_flag" ||
33351 test ! -s conftest.err
33352 } && test -s conftest.$ac_objext; then
33355 echo "$as_me: failed program was:" >&5
33356 sed 's/^/| /' conftest.$ac_ext >&5
33362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33366 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33367 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33369 if test $wx_cv_spbcdata = "yes"; then
33370 cat >>confdefs.h <<\_ACEOF
33371 #define HAVE_SPBCDATA 1
33377 if test "$TOOLKIT" = "PM" ; then
33380 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33383 if test "$wxUSE_UNIVERSAL" = "yes"; then
33384 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33388 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33389 DISTDIR="wx\$(TOOLKIT)"
33395 if test "$USE_WIN32" = 1 ; then
33399 GUIDIST="BASE_DIST"
33405 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33406 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33407 wxUSE_UNICODE_UTF8=yes
33408 elif test "$USE_OS2" = 1 ; then
33409 wxUSE_UNICODE_UTF8=yes
33411 wxUSE_UNICODE_UTF8=no
33416 if test "$wxUSE_GUI" = "yes"; then
33417 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33419 for ac_header in X11/Xlib.h
33421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33424 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33425 echo $ECHO_N "(cached) $ECHO_C" >&6
33427 cat >conftest.$ac_ext <<_ACEOF
33430 cat confdefs.h >>conftest.$ac_ext
33431 cat >>conftest.$ac_ext <<_ACEOF
33432 /* end confdefs.h. */
33435 #include <$ac_header>
33437 rm -f conftest.$ac_objext
33438 if { (ac_try="$ac_compile"
33439 case "(($ac_try" in
33440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33441 *) ac_try_echo
=$ac_try;;
33443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33444 (eval "$ac_compile") 2>conftest.er1
33446 grep -v '^ *+' conftest.er1
>conftest.err
33448 cat conftest.err
>&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); } && {
33451 test -z "$ac_c_werror_flag" ||
33452 test ! -s conftest.err
33453 } && test -s conftest.
$ac_objext; then
33454 eval "$as_ac_Header=yes"
33456 echo "$as_me: failed program was:" >&5
33457 sed 's/^/| /' conftest.
$ac_ext >&5
33459 eval "$as_ac_Header=no"
33462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33464 ac_res
=`eval echo '${'$as_ac_Header'}'`
33465 { echo "$as_me:$LINENO: result: $ac_res" >&5
33466 echo "${ECHO_T}$ac_res" >&6; }
33467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33468 cat >>confdefs.h
<<_ACEOF
33469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33477 for ac_header
in X
11/XKBlib.h
33479 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33480 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33482 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33483 echo $ECHO_N "(cached) $ECHO_C" >&6
33485 cat >conftest.
$ac_ext <<_ACEOF
33488 cat confdefs.h
>>conftest.
$ac_ext
33489 cat >>conftest.
$ac_ext <<_ACEOF
33490 /* end confdefs.h. */
33492 #if HAVE_X11_XLIB_H
33493 #include <X11/Xlib.h>
33497 #include <$ac_header>
33499 rm -f conftest.
$ac_objext
33500 if { (ac_try
="$ac_compile"
33501 case "(($ac_try" in
33502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33503 *) ac_try_echo=$ac_try;;
33505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33506 (eval "$ac_compile") 2>conftest.er1
33508 grep -v '^ *+' conftest.er1 >conftest.err
33510 cat conftest.err >&5
33511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33512 (exit $ac_status); } && {
33513 test -z "$ac_c_werror_flag" ||
33514 test ! -s conftest.err
33515 } && test -s conftest.$ac_objext; then
33516 eval "$as_ac_Header=yes"
33518 echo "$as_me: failed program was:" >&5
33519 sed 's/^/| /' conftest.$ac_ext >&5
33521 eval "$as_ac_Header=no"
33524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33526 ac_res=`eval echo '${'$as_ac_Header'}'`
33527 { echo "$as_me:$LINENO: result: $ac_res" >&5
33528 echo "${ECHO_T}$ac_res" >&6; }
33529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33530 cat >>confdefs.h <<_ACEOF
33531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33544 if test "$wxUSE_DISPLAY" = "yes"; then
33545 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
33546 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33547 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33550 for ac_dir in $SEARCH_LIB;
33552 for ac_extension in a so sl dylib dll.a; do
33553 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33554 ac_find_libraries=$ac_dir
33560 if test "$ac_find_libraries" != "" ; then
33562 if test "$ac_find_libraries" = "default location"; then
33565 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33567 if test $result = 0; then
33570 ac_path_to_link=" -L$ac_find_libraries"
33574 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33575 LDFLAGS="$LDFLAGS $ac_path_to_link"
33578 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33579 { echo "$as_me:$LINENO: result: yes" >&5
33580 echo "${ECHO_T}yes" >&6; }
33582 { echo "$as_me:$LINENO: result: no" >&5
33583 echo "${ECHO_T}no" >&6; }
33584 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33585 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33588 elif test "$wxUSE_MSW" = 1; then
33589 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33590 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33591 if test "${ac_cv_header_ddraw_h+set}" = set; then
33592 echo $ECHO_N "(cached) $ECHO_C" >&6
33594 cat >conftest.$ac_ext <<_ACEOF
33597 cat confdefs.h >>conftest.$ac_ext
33598 cat >>conftest.$ac_ext <<_ACEOF
33599 /* end confdefs.h. */
33600 #include <windows.h>
33604 rm -f conftest.$ac_objext
33605 if { (ac_try="$ac_compile"
33606 case "(($ac_try" in
33607 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33608 *) ac_try_echo
=$ac_try;;
33610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33611 (eval "$ac_compile") 2>conftest.er1
33613 grep -v '^ *+' conftest.er1
>conftest.err
33615 cat conftest.err
>&5
33616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33617 (exit $ac_status); } && {
33618 test -z "$ac_c_werror_flag" ||
33619 test ! -s conftest.err
33620 } && test -s conftest.
$ac_objext; then
33621 ac_cv_header_ddraw_h
=yes
33623 echo "$as_me: failed program was:" >&5
33624 sed 's/^/| /' conftest.
$ac_ext >&5
33626 ac_cv_header_ddraw_h
=no
33629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33631 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33632 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33638 if test "$wxUSE_DISPLAY" = "yes"; then
33639 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
33640 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33641 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33644 for ac_dir
in $SEARCH_LIB;
33646 for ac_extension
in a so sl dylib dll.a
; do
33647 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33648 ac_find_libraries
=$ac_dir
33654 if test "$ac_find_libraries" != "" ; then
33655 { echo "$as_me:$LINENO: result: yes" >&5
33656 echo "${ECHO_T}yes" >&6; }
33658 for ac_header
in X
11/extensions
/xf86vmode.h
33660 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33663 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33664 echo $ECHO_N "(cached) $ECHO_C" >&6
33666 cat >conftest.
$ac_ext <<_ACEOF
33669 cat confdefs.h
>>conftest.
$ac_ext
33670 cat >>conftest.
$ac_ext <<_ACEOF
33671 /* end confdefs.h. */
33673 #if HAVE_X11_XLIB_H
33674 #include <X11/Xlib.h>
33678 #include <$ac_header>
33680 rm -f conftest.
$ac_objext
33681 if { (ac_try
="$ac_compile"
33682 case "(($ac_try" in
33683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33684 *) ac_try_echo=$ac_try;;
33686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33687 (eval "$ac_compile") 2>conftest.er1
33689 grep -v '^ *+' conftest.er1 >conftest.err
33691 cat conftest.err >&5
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); } && {
33694 test -z "$ac_c_werror_flag" ||
33695 test ! -s conftest.err
33696 } && test -s conftest.$ac_objext; then
33697 eval "$as_ac_Header=yes"
33699 echo "$as_me: failed program was:" >&5
33700 sed 's/^/| /' conftest.$ac_ext >&5
33702 eval "$as_ac_Header=no"
33705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33707 ac_res=`eval echo '${'$as_ac_Header'}'`
33708 { echo "$as_me:$LINENO: result: $ac_res" >&5
33709 echo "${ECHO_T}$ac_res" >&6; }
33710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33711 cat >>confdefs.h <<_ACEOF
33712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33715 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33722 { echo "$as_me:$LINENO: result: no" >&5
33723 echo "${ECHO_T}no" >&6; }
33728 if test "$wxUSE_DETECT_SM" = "yes"; then
33729 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33730 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33731 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33734 for ac_dir in $SEARCH_LIB;
33736 for ac_extension in a so sl dylib dll.a; do
33737 if test -f "$ac_dir/libSM.$ac_extension"; then
33738 ac_find_libraries=$ac_dir
33744 if test "$ac_find_libraries" != "" ; then
33746 if test "$ac_find_libraries" = "default location"; then
33749 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33751 if test $result = 0; then
33754 ac_path_to_link=" -L$ac_find_libraries"
33758 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33759 LDFLAGS="$LDFLAGS $ac_path_to_link"
33761 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33762 { echo "$as_me:$LINENO: result: yes" >&5
33763 echo "${ECHO_T}yes" >&6; }
33765 { echo "$as_me:$LINENO: result: no" >&5
33766 echo "${ECHO_T}no" >&6; }
33767 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33768 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33769 wxUSE_DETECT_SM="no"
33772 wxUSE_DETECT_SM="no"
33779 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33782 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
33783 OPENGL_LIBS="-framework OpenGL -framework AGL"
33784 elif test "$wxUSE_MSW" = 1; then
33785 OPENGL_LIBS="-lopengl32 -lglu32"
33786 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33788 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33789 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33792 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33794 if test -f "$ac_dir/GL/gl.h"; then
33795 ac_find_includes=$ac_dir
33800 if test "$ac_find_includes" != "" ; then
33801 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33802 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33804 if test "x$ac_find_includes" = "x/usr/include"; then
33805 ac_path_to_include=""
33807 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33809 if test $result = 0; then
33810 ac_path_to_include=""
33812 ac_path_to_include=" -I$ac_find_includes"
33816 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33818 { echo "$as_me:$LINENO: result: not found" >&5
33819 echo "${ECHO_T}not found" >&6; }
33822 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33823 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33824 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33825 echo $ECHO_N "(cached) $ECHO_C" >&6
33827 cat >conftest.$ac_ext <<_ACEOF
33830 cat confdefs.h >>conftest.$ac_ext
33831 cat >>conftest.$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33837 rm -f conftest.$ac_objext
33838 if { (ac_try="$ac_compile"
33839 case "(($ac_try" in
33840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33841 *) ac_try_echo
=$ac_try;;
33843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33844 (eval "$ac_compile") 2>conftest.er1
33846 grep -v '^ *+' conftest.er1
>conftest.err
33848 cat conftest.err
>&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } && {
33851 test -z "$ac_c_werror_flag" ||
33852 test ! -s conftest.err
33853 } && test -s conftest.
$ac_objext; then
33854 ac_cv_header_GL_gl_h
=yes
33856 echo "$as_me: failed program was:" >&5
33857 sed 's/^/| /' conftest.
$ac_ext >&5
33859 ac_cv_header_GL_gl_h
=no
33862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33864 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33865 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33866 if test $ac_cv_header_GL_gl_h = yes; then
33868 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33869 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33870 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33871 echo $ECHO_N "(cached) $ECHO_C" >&6
33873 cat >conftest.
$ac_ext <<_ACEOF
33876 cat confdefs.h
>>conftest.
$ac_ext
33877 cat >>conftest.
$ac_ext <<_ACEOF
33878 /* end confdefs.h. */
33881 #include <GL/glu.h>
33883 rm -f conftest.
$ac_objext
33884 if { (ac_try
="$ac_compile"
33885 case "(($ac_try" in
33886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33887 *) ac_try_echo=$ac_try;;
33889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33890 (eval "$ac_compile") 2>conftest.er1
33892 grep -v '^ *+' conftest.er1 >conftest.err
33894 cat conftest.err >&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); } && {
33897 test -z "$ac_c_werror_flag" ||
33898 test ! -s conftest.err
33899 } && test -s conftest.$ac_objext; then
33900 ac_cv_header_GL_glu_h=yes
33902 echo "$as_me: failed program was:" >&5
33903 sed 's/^/| /' conftest.$ac_ext >&5
33905 ac_cv_header_GL_glu_h=no
33908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33910 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33911 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33912 if test $ac_cv_header_GL_glu_h = yes; then
33916 { echo "$as_me:$LINENO: checking for -lGL" >&5
33917 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33920 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33922 for ac_extension in a so sl dylib dll.a; do
33923 if test -f "$ac_dir/libGL.$ac_extension"; then
33924 ac_find_libraries=$ac_dir
33930 if test "$ac_find_libraries" != "" ; then
33931 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33932 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33935 if test "$ac_find_libraries" = "default location"; then
33938 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33940 if test $result = 0; then
33943 ac_path_to_link=" -L$ac_find_libraries"
33947 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33948 LDFLAGS_GL="$ac_path_to_link"
33951 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33952 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33955 for ac_dir in $SEARCH_LIB;
33957 for ac_extension in a so sl dylib dll.a; do
33958 if test -f "$ac_dir/libGLU.$ac_extension"; then
33959 ac_find_libraries=$ac_dir
33965 if test "$ac_find_libraries" != "" ; then
33967 if test "$ac_find_libraries" = "default location"; then
33970 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33972 if test $result = 0; then
33975 ac_path_to_link=" -L$ac_find_libraries"
33979 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33980 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33981 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33985 OPENGL_LIBS="-lGL -lGLU"
33986 { echo "$as_me:$LINENO: result: yes" >&5
33987 echo "${ECHO_T}yes" >&6; }
33989 { echo "$as_me:$LINENO: result: no" >&5
33990 echo "${ECHO_T}no" >&6; }
33993 { echo "$as_me:$LINENO: result: no" >&5
33994 echo "${ECHO_T}no" >&6; }
33997 if test "$found_gl" != 1; then
33998 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33999 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34002 for ac_dir in $SEARCH_LIB;
34004 for ac_extension in a so sl dylib dll.a; do
34005 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34006 ac_find_libraries=$ac_dir
34012 if test "$ac_find_libraries" != "" ; then
34014 if test "$ac_find_libraries" = "default location"; then
34017 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34019 if test $result = 0; then
34022 ac_path_to_link=" -L$ac_find_libraries"
34026 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34027 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34028 { echo "$as_me:$LINENO: result: yes" >&5
34029 echo "${ECHO_T}yes" >&6; }
34031 { echo "$as_me:$LINENO: result: no" >&5
34032 echo "${ECHO_T}no" >&6; }
34044 if test "x$OPENGL_LIBS" = "x"; then
34045 if test "$wxUSE_OPENGL" = "yes"; then
34046 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34047 echo "$as_me: error: OpenGL libraries not available" >&2;}
34048 { (exit 1); exit 1; }; }
34050 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34051 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34057 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34058 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34062 if test "$wxUSE_OPENGL" = "auto"; then
34066 if test "$wxUSE_OPENGL" = "yes"; then
34068 cat >>confdefs.h <<\_ACEOF
34069 #define wxUSE_OPENGL 1
34072 cat >>confdefs.h <<\_ACEOF
34073 #define wxUSE_GLCANVAS 1
34076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34081 if test -n "$TOOLKIT" ; then
34082 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34087 if test "$wxUSE_SHARED" = "yes"; then
34091 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34092 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34097 if test "$wxUSE_SHARED" = "yes"; then
34101 *-*-cygwin* | *-*-mingw* )
34102 wx_cv_version_script=no
34106 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34107 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34108 if test "${wx_cv_version_script+set}" = set; then
34109 echo $ECHO_N "(cached) $ECHO_C" >&6
34112 echo "VER_1 { *; };" >conftest.sym
34113 echo "int main() { return 0; }" >conftest.cpp
34116 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34117 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34119 (eval $ac_try) 2>&5
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); }; } ; then
34123 if test -s conftest.stderr ; then
34124 wx_cv_version_script=no
34126 wx_cv_version_script=yes
34129 wx_cv_version_script=no
34132 if test $wx_cv_version_script = yes
34134 echo "struct B { virtual ~B() { } }; \
34135 struct D : public B { }; \
34136 void F() { D d; }" > conftest.cpp
34139 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34140 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34142 (eval $ac_try) 2>&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); }; } &&
34147 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34148 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34150 (eval $ac_try) 2>&5
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); }; }
34156 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34157 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34159 (eval $ac_try) 2>&5
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); }; }
34164 wx_cv_version_script=yes
34166 wx_cv_version_script=no
34171 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34172 rm -f conftest1.output conftest2.output conftest3.output
34175 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34176 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34178 if test $wx_cv_version_script = yes ; then
34179 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34185 if test "$wxUSE_VISIBILITY" != "no"; then
34188 if test -n "$GCC"; then
34189 CFLAGS_VISIBILITY="-fvisibility=hidden"
34190 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34191 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34192 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34193 if test "${wx_cv_cc_visibility+set}" = set; then
34194 echo $ECHO_N "(cached) $ECHO_C" >&6
34197 wx_save_CXXFLAGS="$CXXFLAGS"
34198 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34200 ac_cpp='$CXXCPP $CPPFLAGS'
34201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34205 cat >conftest.$ac_ext <<_ACEOF
34208 cat confdefs.h >>conftest.$ac_ext
34209 cat >>conftest.$ac_ext <<_ACEOF
34210 /* end confdefs.h. */
34212 /* we need gcc >= 4.0, older versions with visibility support
34213 didn't have class visibility: */
34214 #if defined(__GNUC__) && __GNUC__ < 4
34215 error this gcc is too old;
34218 /* visibility only makes sense for ELF shared libs: */
34219 #if !defined(__ELF__) && !defined(__APPLE__)
34220 error this platform has no visibility;
34223 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34224 extern __attribute__((__visibility__("default"))) int exportedvar;
34225 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34226 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34227 class __attribute__((__visibility__("default"))) Foo {
34239 rm -f conftest.$ac_objext
34240 if { (ac_try="$ac_compile"
34241 case "(($ac_try" in
34242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34243 *) ac_try_echo
=$ac_try;;
34245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34246 (eval "$ac_compile") 2>conftest.er1
34248 grep -v '^ *+' conftest.er1
>conftest.err
34250 cat conftest.err
>&5
34251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252 (exit $ac_status); } && {
34253 test -z "$ac_cxx_werror_flag" ||
34254 test ! -s conftest.err
34255 } && test -s conftest.
$ac_objext; then
34256 wx_cv_cc_visibility
=yes
34258 echo "$as_me: failed program was:" >&5
34259 sed 's/^/| /' conftest.
$ac_ext >&5
34261 wx_cv_cc_visibility
=no
34264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34266 ac_cpp
='$CPP $CPPFLAGS'
34267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34271 CXXFLAGS
="$wx_save_CXXFLAGS"
34274 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34275 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34276 if test $wx_cv_cc_visibility = yes; then
34277 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34278 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34279 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34280 echo $ECHO_N "(cached) $ECHO_C" >&6
34283 wx_save_CXXFLAGS
="$CXXFLAGS"
34284 wx_save_LDFLAGS
="$LDFLAGS"
34285 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34286 LDFLAGS
="$LDFLAGS -shared -fPIC"
34288 ac_cpp
='$CXXCPP $CPPFLAGS'
34289 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34293 cat >conftest.
$ac_ext <<_ACEOF
34296 cat confdefs.h
>>conftest.
$ac_ext
34297 cat >>conftest.
$ac_ext <<_ACEOF
34298 /* end confdefs.h. */
34306 std::string s("hello");
34313 rm -f conftest.
$ac_objext conftest
$ac_exeext
34314 if { (ac_try
="$ac_link"
34315 case "(($ac_try" in
34316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34317 *) ac_try_echo=$ac_try;;
34319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34320 (eval "$ac_link") 2>conftest.er1
34322 grep -v '^ *+' conftest.er1 >conftest.err
34324 cat conftest.err >&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); } && {
34327 test -z "$ac_cxx_werror_flag" ||
34328 test ! -s conftest.err
34329 } && test -s conftest$ac_exeext &&
34330 $as_test_x conftest$ac_exeext; then
34331 wx_cv_cc_broken_libstdcxx_visibility=no
34333 echo "$as_me: failed program was:" >&5
34334 sed 's/^/| /' conftest.$ac_ext >&5
34336 wx_cv_cc_broken_libstdcxx_visibility=yes
34339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34340 conftest$ac_exeext conftest.$ac_ext
34342 ac_cpp='$CPP $CPPFLAGS'
34343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34347 CXXFLAGS="$wx_save_CXXFLAGS"
34348 LDFLAGS="$wx_save_LDFLAGS"
34351 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34352 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34354 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34355 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34356 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34357 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34358 echo $ECHO_N "(cached) $ECHO_C" >&6
34362 ac_cpp='$CXXCPP $CPPFLAGS'
34363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34367 cat >conftest.$ac_ext <<_ACEOF
34370 cat confdefs.h >>conftest.$ac_ext
34371 cat >>conftest.$ac_ext <<_ACEOF
34372 /* end confdefs.h. */
34374 #pragma GCC visibility push(default)
34376 #pragma GCC visibility pop
34382 std::string s("hello");
34389 rm -f conftest.$ac_objext conftest$ac_exeext
34390 if { (ac_try="$ac_link"
34391 case "(($ac_try" in
34392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34393 *) ac_try_echo
=$ac_try;;
34395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34396 (eval "$ac_link") 2>conftest.er1
34398 grep -v '^ *+' conftest.er1
>conftest.err
34400 cat conftest.err
>&5
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); } && {
34403 test -z "$ac_cxx_werror_flag" ||
34404 test ! -s conftest.err
34405 } && test -s conftest
$ac_exeext &&
34406 $as_test_x conftest
$ac_exeext; then
34407 wx_cv_cc_visibility_workaround
=no
34409 echo "$as_me: failed program was:" >&5
34410 sed 's/^/| /' conftest.
$ac_ext >&5
34412 wx_cv_cc_visibility_workaround
=yes
34415 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34416 conftest
$ac_exeext conftest.
$ac_ext
34418 ac_cpp
='$CPP $CPPFLAGS'
34419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34426 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34427 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34429 if test $wx_cv_cc_visibility_workaround = no
; then
34430 wx_cv_cc_visibility
=no
34435 if test $wx_cv_cc_visibility = yes; then
34436 cat >>confdefs.h
<<\_ACEOF
34437 #define HAVE_VISIBILITY 1
34440 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34441 cat >>confdefs.h
<<\_ACEOF
34442 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34447 CFLAGS_VISIBILITY
=""
34448 CXXFLAGS_VISIBILITY
=""
34456 if test "x$SUNCXX" = xyes
; then
34457 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34458 WXCONFIG_RPATH
="-R\$libdir"
34461 *-*-linux* | *-*-gnu* )
34462 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34463 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34468 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34470 saveLdflags
="$LDFLAGS"
34471 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34472 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34473 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34474 cat >conftest.
$ac_ext <<_ACEOF
34477 cat confdefs.h
>>conftest.
$ac_ext
34478 cat >>conftest.
$ac_ext <<_ACEOF
34479 /* end confdefs.h. */
34489 rm -f conftest.
$ac_objext conftest
$ac_exeext
34490 if { (ac_try
="$ac_link"
34491 case "(($ac_try" in
34492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34493 *) ac_try_echo=$ac_try;;
34495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34496 (eval "$ac_link") 2>conftest.er1
34498 grep -v '^ *+' conftest.er1 >conftest.err
34500 cat conftest.err >&5
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); } && {
34503 test -z "$ac_c_werror_flag" ||
34504 test ! -s conftest.err
34505 } && test -s conftest$ac_exeext &&
34506 $as_test_x conftest$ac_exeext; then
34508 { echo "$as_me:$LINENO: result: yes" >&5
34509 echo "${ECHO_T}yes" >&6; }
34510 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34511 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34514 echo "$as_me: failed program was:" >&5
34515 sed 's/^/| /' conftest.$ac_ext >&5
34518 { echo "$as_me:$LINENO: result: no" >&5
34519 echo "${ECHO_T}no" >&6; }
34520 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34521 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34522 LDFLAGS="$saveLdflags -Wl,-R,/"
34523 cat >conftest.$ac_ext <<_ACEOF
34526 cat confdefs.h >>conftest.$ac_ext
34527 cat >>conftest.$ac_ext <<_ACEOF
34528 /* end confdefs.h. */
34538 rm -f conftest.$ac_objext conftest$ac_exeext
34539 if { (ac_try="$ac_link"
34540 case "(($ac_try" in
34541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34542 *) ac_try_echo
=$ac_try;;
34544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34545 (eval "$ac_link") 2>conftest.er1
34547 grep -v '^ *+' conftest.er1
>conftest.err
34549 cat conftest.err
>&5
34550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34551 (exit $ac_status); } && {
34552 test -z "$ac_c_werror_flag" ||
34553 test ! -s conftest.err
34554 } && test -s conftest
$ac_exeext &&
34555 $as_test_x conftest
$ac_exeext; then
34557 { echo "$as_me:$LINENO: result: yes" >&5
34558 echo "${ECHO_T}yes" >&6; }
34559 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34560 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.
$ac_ext >&5
34567 { echo "$as_me:$LINENO: result: no" >&5
34568 echo "${ECHO_T}no" >&6; }
34572 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34573 conftest
$ac_exeext conftest.
$ac_ext
34577 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34578 conftest
$ac_exeext conftest.
$ac_ext
34579 LDFLAGS
="$saveLdflags"
34583 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
34584 if test "$install_name_tool" -a -x "$install_name_tool"; then
34585 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34586 cat <<EOF >change-install-names
34588 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34589 for i in \${libnames} ; do
34590 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34591 for dep in \${libnames} ; do
34592 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34596 chmod +x change
-install-names
34597 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34600 HEADER_PAD_OPTION
="-headerpad_max_install_names"
34603 *-*-cygwin* | *-*-mingw32* )
34607 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34608 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34614 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34616 if test $wxUSE_RPATH = "no"; then
34617 SAMPLES_RPATH_FLAG
=''
34618 DYLIB_PATH_POSTLINK
=''
34626 config_linkage_component
="-static"
34633 lib_unicode_suffix
=
34635 if test "$wxUSE_UNICODE" = "yes"; then
34636 lib_unicode_suffix
=u
34637 WX_CHARTYPE
="unicode"
34641 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34642 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34645 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34649 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34651 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34653 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34656 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34657 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34659 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34661 if test "${TOOLKIT_DIR}" = "os2"; then
34662 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34664 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34669 if test "$wxUSE_OLD_COCOA" = 1; then
34672 ac_cpp
='$CPP $CPPFLAGS'
34673 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34674 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34675 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34679 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34680 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34681 cat >conftest.
$ac_ext <<_ACEOF
34684 cat confdefs.h
>>conftest.
$ac_ext
34685 cat >>conftest.
$ac_ext <<_ACEOF
34686 /* end confdefs.h. */
34687 #include <AppKit/NSEvent.h>
34688 #include <CoreFoundation/CoreFoundation.h>
34698 rm -f conftest.
$ac_objext
34699 if { (ac_try
="$ac_compile"
34700 case "(($ac_try" in
34701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34702 *) ac_try_echo=$ac_try;;
34704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34705 (eval "$ac_compile") 2>conftest.er1
34707 grep -v '^ *+' conftest.er1 >conftest.err
34709 cat conftest.err >&5
34710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34711 (exit $ac_status); } && {
34712 test -z "$ac_c_werror_flag" ||
34713 test ! -s conftest.err
34714 } && test -s conftest.$ac_objext; then
34715 { echo "$as_me:$LINENO: result: no" >&5
34716 echo "${ECHO_T}no" >&6; }
34718 echo "$as_me: failed program was:" >&5
34719 sed 's/^/| /' conftest.$ac_ext >&5
34721 { echo "$as_me:$LINENO: result: yes" >&5
34722 echo "${ECHO_T}yes" >&6; }
34723 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34724 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34725 cat >conftest.$ac_ext <<_ACEOF
34728 cat confdefs.h >>conftest.$ac_ext
34729 cat >>conftest.$ac_ext <<_ACEOF
34730 /* end confdefs.h. */
34731 #define __Point__ 1
34732 #include <AppKit/NSEvent.h>
34733 #include <CoreFoundation/CoreFoundation.h>
34743 rm -f conftest.$ac_objext
34744 if { (ac_try="$ac_compile"
34745 case "(($ac_try" in
34746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34747 *) ac_try_echo
=$ac_try;;
34749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34750 (eval "$ac_compile") 2>conftest.er1
34752 grep -v '^ *+' conftest.er1
>conftest.err
34754 cat conftest.err
>&5
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); } && {
34757 test -z "$ac_c_werror_flag" ||
34758 test ! -s conftest.err
34759 } && test -s conftest.
$ac_objext; then
34760 { echo "$as_me:$LINENO: result: yes" >&5
34761 echo "${ECHO_T}yes" >&6; }
34762 cat >>confdefs.h
<<\_ACEOF
34763 #define __Point__ 1
34768 echo "$as_me: failed program was:" >&5
34769 sed 's/^/| /' conftest.
$ac_ext >&5
34771 { { echo "$as_me:$LINENO: error: no
34772 See \`config.log' for more details." >&5
34773 echo "$as_me: error: no
34774 See \`config.log' for more details." >&2;}
34775 { (exit 1); exit 1; }; }
34779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34785 ac_cpp
='$CPP $CPPFLAGS'
34786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34793 { echo "$as_me:$LINENO: checking for mode_t" >&5
34794 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34795 if test "${ac_cv_type_mode_t+set}" = set; then
34796 echo $ECHO_N "(cached) $ECHO_C" >&6
34798 cat >conftest.
$ac_ext <<_ACEOF
34801 cat confdefs.h
>>conftest.
$ac_ext
34802 cat >>conftest.
$ac_ext <<_ACEOF
34803 /* end confdefs.h. */
34804 $ac_includes_default
34805 typedef mode_t ac__type_new_;
34809 if ((ac__type_new_ *) 0)
34811 if (sizeof (ac__type_new_))
34817 rm -f conftest.
$ac_objext
34818 if { (ac_try
="$ac_compile"
34819 case "(($ac_try" in
34820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34821 *) ac_try_echo=$ac_try;;
34823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34824 (eval "$ac_compile") 2>conftest.er1
34826 grep -v '^ *+' conftest.er1 >conftest.err
34828 cat conftest.err >&5
34829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34830 (exit $ac_status); } && {
34831 test -z "$ac_c_werror_flag" ||
34832 test ! -s conftest.err
34833 } && test -s conftest.$ac_objext; then
34834 ac_cv_type_mode_t=yes
34836 echo "$as_me: failed program was:" >&5
34837 sed 's/^/| /' conftest.$ac_ext >&5
34839 ac_cv_type_mode_t=no
34842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34844 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34845 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34846 if test $ac_cv_type_mode_t = yes; then
34850 cat >>confdefs.h <<_ACEOF
34856 { echo "$as_me:$LINENO: checking for off_t" >&5
34857 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34858 if test "${ac_cv_type_off_t+set}" = set; then
34859 echo $ECHO_N "(cached) $ECHO_C" >&6
34861 cat >conftest.$ac_ext <<_ACEOF
34864 cat confdefs.h >>conftest.$ac_ext
34865 cat >>conftest.$ac_ext <<_ACEOF
34866 /* end confdefs.h. */
34867 $ac_includes_default
34868 typedef off_t ac__type_new_;
34872 if ((ac__type_new_ *) 0)
34874 if (sizeof (ac__type_new_))
34880 rm -f conftest.$ac_objext
34881 if { (ac_try="$ac_compile"
34882 case "(($ac_try" in
34883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34884 *) ac_try_echo
=$ac_try;;
34886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34887 (eval "$ac_compile") 2>conftest.er1
34889 grep -v '^ *+' conftest.er1
>conftest.err
34891 cat conftest.err
>&5
34892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34893 (exit $ac_status); } && {
34894 test -z "$ac_c_werror_flag" ||
34895 test ! -s conftest.err
34896 } && test -s conftest.
$ac_objext; then
34897 ac_cv_type_off_t
=yes
34899 echo "$as_me: failed program was:" >&5
34900 sed 's/^/| /' conftest.
$ac_ext >&5
34902 ac_cv_type_off_t
=no
34905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34907 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34908 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34909 if test $ac_cv_type_off_t = yes; then
34913 cat >>confdefs.h
<<_ACEOF
34914 #define off_t long int
34919 { echo "$as_me:$LINENO: checking for pid_t" >&5
34920 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34921 if test "${ac_cv_type_pid_t+set}" = set; then
34922 echo $ECHO_N "(cached) $ECHO_C" >&6
34924 cat >conftest.
$ac_ext <<_ACEOF
34927 cat confdefs.h
>>conftest.
$ac_ext
34928 cat >>conftest.
$ac_ext <<_ACEOF
34929 /* end confdefs.h. */
34930 $ac_includes_default
34931 typedef pid_t ac__type_new_;
34935 if ((ac__type_new_ *) 0)
34937 if (sizeof (ac__type_new_))
34943 rm -f conftest.
$ac_objext
34944 if { (ac_try
="$ac_compile"
34945 case "(($ac_try" in
34946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34947 *) ac_try_echo=$ac_try;;
34949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34950 (eval "$ac_compile") 2>conftest.er1
34952 grep -v '^ *+' conftest.er1 >conftest.err
34954 cat conftest.err >&5
34955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34956 (exit $ac_status); } && {
34957 test -z "$ac_c_werror_flag" ||
34958 test ! -s conftest.err
34959 } && test -s conftest.$ac_objext; then
34960 ac_cv_type_pid_t=yes
34962 echo "$as_me: failed program was:" >&5
34963 sed 's/^/| /' conftest.$ac_ext >&5
34965 ac_cv_type_pid_t=no
34968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34970 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34971 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34972 if test $ac_cv_type_pid_t = yes; then
34976 cat >>confdefs.h <<_ACEOF
34982 { echo "$as_me:$LINENO: checking for size_t" >&5
34983 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34984 if test "${ac_cv_type_size_t+set}" = set; then
34985 echo $ECHO_N "(cached) $ECHO_C" >&6
34987 cat >conftest.$ac_ext <<_ACEOF
34990 cat confdefs.h >>conftest.$ac_ext
34991 cat >>conftest.$ac_ext <<_ACEOF
34992 /* end confdefs.h. */
34993 $ac_includes_default
34994 typedef size_t ac__type_new_;
34998 if ((ac__type_new_ *) 0)
35000 if (sizeof (ac__type_new_))
35006 rm -f conftest.$ac_objext
35007 if { (ac_try="$ac_compile"
35008 case "(($ac_try" in
35009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35010 *) ac_try_echo
=$ac_try;;
35012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35013 (eval "$ac_compile") 2>conftest.er1
35015 grep -v '^ *+' conftest.er1
>conftest.err
35017 cat conftest.err
>&5
35018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35019 (exit $ac_status); } && {
35020 test -z "$ac_c_werror_flag" ||
35021 test ! -s conftest.err
35022 } && test -s conftest.
$ac_objext; then
35023 ac_cv_type_size_t
=yes
35025 echo "$as_me: failed program was:" >&5
35026 sed 's/^/| /' conftest.
$ac_ext >&5
35028 ac_cv_type_size_t
=no
35031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35033 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35034 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35035 if test $ac_cv_type_size_t = yes; then
35039 cat >>confdefs.h
<<_ACEOF
35040 #define size_t unsigned int
35046 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35047 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35048 if test "${ac_cv_type_ssize_t+set}" = set; then
35049 echo $ECHO_N "(cached) $ECHO_C" >&6
35051 cat >conftest.
$ac_ext <<_ACEOF
35054 cat confdefs.h
>>conftest.
$ac_ext
35055 cat >>conftest.
$ac_ext <<_ACEOF
35056 /* end confdefs.h. */
35057 $ac_includes_default
35058 typedef ssize_t ac__type_new_;
35062 if ((ac__type_new_ *) 0)
35064 if (sizeof (ac__type_new_))
35070 rm -f conftest.
$ac_objext
35071 if { (ac_try
="$ac_compile"
35072 case "(($ac_try" in
35073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35074 *) ac_try_echo=$ac_try;;
35076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35077 (eval "$ac_compile") 2>conftest.er1
35079 grep -v '^ *+' conftest.er1 >conftest.err
35081 cat conftest.err >&5
35082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35083 (exit $ac_status); } && {
35084 test -z "$ac_c_werror_flag" ||
35085 test ! -s conftest.err
35086 } && test -s conftest.$ac_objext; then
35087 ac_cv_type_ssize_t=yes
35089 echo "$as_me: failed program was:" >&5
35090 sed 's/^/| /' conftest.$ac_ext >&5
35092 ac_cv_type_ssize_t=no
35095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35097 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35098 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35099 if test $ac_cv_type_ssize_t = yes; then
35101 cat >>confdefs.h <<_ACEOF
35102 #define HAVE_SSIZE_T 1
35110 ac_cpp='$CXXCPP $CPPFLAGS'
35111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35114 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35115 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35116 if test "${wx_cv_size_t_is_uint+set}" = set; then
35117 echo $ECHO_N "(cached) $ECHO_C" >&6
35120 cat >conftest.$ac_ext <<_ACEOF
35123 cat confdefs.h >>conftest.$ac_ext
35124 cat >>conftest.$ac_ext <<_ACEOF
35125 /* end confdefs.h. */
35126 #include <stddef.h>
35133 struct Foo { void foo(size_t); void foo(unsigned int); };
35141 rm -f conftest.$ac_objext
35142 if { (ac_try="$ac_compile"
35143 case "(($ac_try" in
35144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35145 *) ac_try_echo
=$ac_try;;
35147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35148 (eval "$ac_compile") 2>conftest.er1
35150 grep -v '^ *+' conftest.er1
>conftest.err
35152 cat conftest.err
>&5
35153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35154 (exit $ac_status); } && {
35155 test -z "$ac_cxx_werror_flag" ||
35156 test ! -s conftest.err
35157 } && test -s conftest.
$ac_objext; then
35158 wx_cv_size_t_is_uint
=no
35160 echo "$as_me: failed program was:" >&5
35161 sed 's/^/| /' conftest.
$ac_ext >&5
35163 wx_cv_size_t_is_uint
=yes
35167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35171 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35172 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35174 if test "$wx_cv_size_t_is_uint" = "yes"; then
35175 cat >>confdefs.h
<<\_ACEOF
35176 #define wxSIZE_T_IS_UINT 1
35180 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35181 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35182 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35183 echo $ECHO_N "(cached) $ECHO_C" >&6
35185 cat >conftest.
$ac_ext <<_ACEOF
35188 cat confdefs.h
>>conftest.
$ac_ext
35189 cat >>conftest.
$ac_ext <<_ACEOF
35190 /* end confdefs.h. */
35191 #include <stddef.h>
35198 struct Foo { void foo(size_t); void foo(unsigned long); };
35206 rm -f conftest.
$ac_objext
35207 if { (ac_try
="$ac_compile"
35208 case "(($ac_try" in
35209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35210 *) ac_try_echo=$ac_try;;
35212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35213 (eval "$ac_compile") 2>conftest.er1
35215 grep -v '^ *+' conftest.er1 >conftest.err
35217 cat conftest.err >&5
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); } && {
35220 test -z "$ac_cxx_werror_flag" ||
35221 test ! -s conftest.err
35222 } && test -s conftest.$ac_objext; then
35223 wx_cv_size_t_is_ulong=no
35225 echo "$as_me: failed program was:" >&5
35226 sed 's/^/| /' conftest.$ac_ext >&5
35228 wx_cv_size_t_is_ulong=yes
35232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35235 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35236 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35238 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35239 cat >>confdefs.h <<\_ACEOF
35240 #define wxSIZE_T_IS_ULONG 1
35246 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35247 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35248 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35249 echo $ECHO_N "(cached) $ECHO_C" >&6
35251 cat >conftest.$ac_ext <<_ACEOF
35254 cat confdefs.h >>conftest.$ac_ext
35255 cat >>conftest.$ac_ext <<_ACEOF
35256 /* end confdefs.h. */
35264 struct Foo { void foo(wchar_t);
35265 void foo(unsigned short);
35266 void foo(unsigned int);
35267 void foo(unsigned long); };
35275 rm -f conftest.$ac_objext
35276 if { (ac_try="$ac_compile"
35277 case "(($ac_try" in
35278 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35279 *) ac_try_echo
=$ac_try;;
35281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35282 (eval "$ac_compile") 2>conftest.er1
35284 grep -v '^ *+' conftest.er1
>conftest.err
35286 cat conftest.err
>&5
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); } && {
35289 test -z "$ac_cxx_werror_flag" ||
35290 test ! -s conftest.err
35291 } && test -s conftest.
$ac_objext; then
35292 wx_cv_wchar_t_is_separate_type
=yes
35294 echo "$as_me: failed program was:" >&5
35295 sed 's/^/| /' conftest.
$ac_ext >&5
35297 wx_cv_wchar_t_is_separate_type
=no
35301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35304 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35305 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35307 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35308 cat >>confdefs.h
<<\_ACEOF
35309 #define wxWCHAR_T_IS_REAL_TYPE 1
35313 cat >>confdefs.h
<<\_ACEOF
35314 #define wxWCHAR_T_IS_REAL_TYPE 0
35320 ac_cpp
='$CPP $CPPFLAGS'
35321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35326 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35327 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35328 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35329 echo $ECHO_N "(cached) $ECHO_C" >&6
35332 cat >conftest.
$ac_ext <<_ACEOF
35335 cat confdefs.h
>>conftest.
$ac_ext
35336 cat >>conftest.
$ac_ext <<_ACEOF
35337 /* end confdefs.h. */
35351 rm -f conftest.
$ac_objext
35352 if { (ac_try
="$ac_compile"
35353 case "(($ac_try" in
35354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35355 *) ac_try_echo=$ac_try;;
35357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35358 (eval "$ac_compile") 2>conftest.er1
35360 grep -v '^ *+' conftest.er1 >conftest.err
35362 cat conftest.err >&5
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); } && {
35365 test -z "$ac_c_werror_flag" ||
35366 test ! -s conftest.err
35367 } && test -s conftest.$ac_objext; then
35369 wx_cv_struct_pw_gecos=yes
35372 echo "$as_me: failed program was:" >&5
35373 sed 's/^/| /' conftest.$ac_ext >&5
35376 wx_cv_struct_pw_gecos=no
35381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35385 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35386 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35388 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35389 cat >>confdefs.h <<\_ACEOF
35390 #define HAVE_PW_GECOS 1
35396 if test "$wxUSE_WCHAR_T" = "yes"; then
35397 cat >>confdefs.h <<\_ACEOF
35398 #define wxUSE_WCHAR_T 1
35405 for ac_func in wcslen
35407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35408 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35411 echo $ECHO_N "(cached) $ECHO_C" >&6
35413 cat >conftest.$ac_ext <<_ACEOF
35416 cat confdefs.h >>conftest.$ac_ext
35417 cat >>conftest.$ac_ext <<_ACEOF
35418 /* end confdefs.h. */
35419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35421 #define $ac_func innocuous_$ac_func
35423 /* System header to define __stub macros and hopefully few prototypes,
35424 which can conflict with char $ac_func (); below.
35425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35426 <limits.h> exists even on freestanding compilers. */
35429 # include <limits.h>
35431 # include <assert.h>
35436 /* Override any GCC internal prototype to avoid an error.
35437 Use char because int might match the return type of a GCC
35438 builtin and then its argument prototype would still apply. */
35443 /* The GNU C library defines this for functions which it implements
35444 to always fail with ENOSYS. Some functions are actually named
35445 something starting with __ and the normal name is an alias. */
35446 #if defined __stub_$ac_func || defined __stub___$ac_func
35453 return $ac_func ();
35458 rm -f conftest.$ac_objext conftest$ac_exeext
35459 if { (ac_try="$ac_link"
35460 case "(($ac_try" in
35461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35462 *) ac_try_echo
=$ac_try;;
35464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35465 (eval "$ac_link") 2>conftest.er1
35467 grep -v '^ *+' conftest.er1
>conftest.err
35469 cat conftest.err
>&5
35470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35471 (exit $ac_status); } && {
35472 test -z "$ac_c_werror_flag" ||
35473 test ! -s conftest.err
35474 } && test -s conftest
$ac_exeext &&
35475 $as_test_x conftest
$ac_exeext; then
35476 eval "$as_ac_var=yes"
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.
$ac_ext >&5
35481 eval "$as_ac_var=no"
35484 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35485 conftest
$ac_exeext conftest.
$ac_ext
35487 ac_res
=`eval echo '${'$as_ac_var'}'`
35488 { echo "$as_me:$LINENO: result: $ac_res" >&5
35489 echo "${ECHO_T}$ac_res" >&6; }
35490 if test `eval echo '${'$as_ac_var'}'` = yes; then
35491 cat >>confdefs.h
<<_ACEOF
35492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35499 if test "$WCSLEN_FOUND" = 0; then
35500 if test "$TOOLKIT" = "MSW"; then
35501 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35502 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35503 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35504 echo $ECHO_N "(cached) $ECHO_C" >&6
35506 ac_check_lib_save_LIBS
=$LIBS
35507 LIBS
="-lmsvcrt $LIBS"
35508 cat >conftest.
$ac_ext <<_ACEOF
35511 cat confdefs.h
>>conftest.
$ac_ext
35512 cat >>conftest.
$ac_ext <<_ACEOF
35513 /* end confdefs.h. */
35515 /* Override any GCC internal prototype to avoid an error.
35516 Use char because int might match the return type of a GCC
35517 builtin and then its argument prototype would still apply. */
35530 rm -f conftest.
$ac_objext conftest
$ac_exeext
35531 if { (ac_try
="$ac_link"
35532 case "(($ac_try" in
35533 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35534 *) ac_try_echo=$ac_try;;
35536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35537 (eval "$ac_link") 2>conftest.er1
35539 grep -v '^ *+' conftest.er1 >conftest.err
35541 cat conftest.err >&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } && {
35544 test -z "$ac_c_werror_flag" ||
35545 test ! -s conftest.err
35546 } && test -s conftest$ac_exeext &&
35547 $as_test_x conftest$ac_exeext; then
35548 ac_cv_lib_msvcrt_wcslen=yes
35550 echo "$as_me: failed program was:" >&5
35551 sed 's/^/| /' conftest.$ac_ext >&5
35553 ac_cv_lib_msvcrt_wcslen=no
35556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35557 conftest$ac_exeext conftest.$ac_ext
35558 LIBS=$ac_check_lib_save_LIBS
35560 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35561 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35562 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35567 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35568 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35569 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35570 echo $ECHO_N "(cached) $ECHO_C" >&6
35572 ac_check_lib_save_LIBS=$LIBS
35574 cat >conftest.$ac_ext <<_ACEOF
35577 cat confdefs.h >>conftest.$ac_ext
35578 cat >>conftest.$ac_ext <<_ACEOF
35579 /* end confdefs.h. */
35581 /* Override any GCC internal prototype to avoid an error.
35582 Use char because int might match the return type of a GCC
35583 builtin and then its argument prototype would still apply. */
35596 rm -f conftest.$ac_objext conftest$ac_exeext
35597 if { (ac_try="$ac_link"
35598 case "(($ac_try" in
35599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35600 *) ac_try_echo
=$ac_try;;
35602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35603 (eval "$ac_link") 2>conftest.er1
35605 grep -v '^ *+' conftest.er1
>conftest.err
35607 cat conftest.err
>&5
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); } && {
35610 test -z "$ac_c_werror_flag" ||
35611 test ! -s conftest.err
35612 } && test -s conftest
$ac_exeext &&
35613 $as_test_x conftest
$ac_exeext; then
35614 ac_cv_lib_w_wcslen
=yes
35616 echo "$as_me: failed program was:" >&5
35617 sed 's/^/| /' conftest.
$ac_ext >&5
35619 ac_cv_lib_w_wcslen
=no
35622 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35623 conftest
$ac_exeext conftest.
$ac_ext
35624 LIBS
=$ac_check_lib_save_LIBS
35626 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35627 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35628 if test $ac_cv_lib_w_wcslen = yes; then
35638 if test "$WCSLEN_FOUND" = 1; then
35639 cat >>confdefs.h
<<\_ACEOF
35640 #define HAVE_WCSLEN 1
35650 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35652 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35653 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35655 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35656 echo $ECHO_N "(cached) $ECHO_C" >&6
35658 cat >conftest.
$ac_ext <<_ACEOF
35661 cat confdefs.h
>>conftest.
$ac_ext
35662 cat >>conftest.
$ac_ext <<_ACEOF
35663 /* end confdefs.h. */
35664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35666 #define $ac_func innocuous_$ac_func
35668 /* System header to define __stub macros and hopefully few prototypes,
35669 which can conflict with char $ac_func (); below.
35670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35671 <limits.h> exists even on freestanding compilers. */
35674 # include <limits.h>
35676 # include <assert.h>
35681 /* Override any GCC internal prototype to avoid an error.
35682 Use char because int might match the return type of a GCC
35683 builtin and then its argument prototype would still apply. */
35688 /* The GNU C library defines this for functions which it implements
35689 to always fail with ENOSYS. Some functions are actually named
35690 something starting with __ and the normal name is an alias. */
35691 #if defined __stub_$ac_func || defined __stub___$ac_func
35698 return $ac_func ();
35703 rm -f conftest.
$ac_objext conftest
$ac_exeext
35704 if { (ac_try
="$ac_link"
35705 case "(($ac_try" in
35706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35707 *) ac_try_echo=$ac_try;;
35709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35710 (eval "$ac_link") 2>conftest.er1
35712 grep -v '^ *+' conftest.er1 >conftest.err
35714 cat conftest.err >&5
35715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35716 (exit $ac_status); } && {
35717 test -z "$ac_c_werror_flag" ||
35718 test ! -s conftest.err
35719 } && test -s conftest$ac_exeext &&
35720 $as_test_x conftest$ac_exeext; then
35721 eval "$as_ac_var=yes"
35723 echo "$as_me: failed program was:" >&5
35724 sed 's/^/| /' conftest.$ac_ext >&5
35726 eval "$as_ac_var=no"
35729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35730 conftest$ac_exeext conftest.$ac_ext
35732 ac_res=`eval echo '${'$as_ac_var'}'`
35733 { echo "$as_me:$LINENO: result: $ac_res" >&5
35734 echo "${ECHO_T}$ac_res" >&6; }
35735 if test `eval echo '${'$as_ac_var'}'` = yes; then
35736 cat >>confdefs.h <<_ACEOF
35737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35744 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35745 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35748 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35749 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35750 if test "${ac_cv_type_mbstate_t+set}" = set; then
35751 echo $ECHO_N "(cached) $ECHO_C" >&6
35753 cat >conftest.$ac_ext <<_ACEOF
35756 cat confdefs.h >>conftest.$ac_ext
35757 cat >>conftest.$ac_ext <<_ACEOF
35758 /* end confdefs.h. */
35761 typedef mbstate_t ac__type_new_;
35765 if ((ac__type_new_ *) 0)
35767 if (sizeof (ac__type_new_))
35773 rm -f conftest.$ac_objext
35774 if { (ac_try="$ac_compile"
35775 case "(($ac_try" in
35776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35777 *) ac_try_echo
=$ac_try;;
35779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35780 (eval "$ac_compile") 2>conftest.er1
35782 grep -v '^ *+' conftest.er1
>conftest.err
35784 cat conftest.err
>&5
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); } && {
35787 test -z "$ac_c_werror_flag" ||
35788 test ! -s conftest.err
35789 } && test -s conftest.
$ac_objext; then
35790 ac_cv_type_mbstate_t
=yes
35792 echo "$as_me: failed program was:" >&5
35793 sed 's/^/| /' conftest.
$ac_ext >&5
35795 ac_cv_type_mbstate_t
=no
35798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35800 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35801 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35802 if test $ac_cv_type_mbstate_t = yes; then
35804 cat >>confdefs.h
<<_ACEOF
35805 #define HAVE_MBSTATE_T 1
35809 for ac_func
in wcsrtombs
35811 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35812 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35814 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35815 echo $ECHO_N "(cached) $ECHO_C" >&6
35817 cat >conftest.
$ac_ext <<_ACEOF
35820 cat confdefs.h
>>conftest.
$ac_ext
35821 cat >>conftest.
$ac_ext <<_ACEOF
35822 /* end confdefs.h. */
35823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35825 #define $ac_func innocuous_$ac_func
35827 /* System header to define __stub macros and hopefully few prototypes,
35828 which can conflict with char $ac_func (); below.
35829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35830 <limits.h> exists even on freestanding compilers. */
35833 # include <limits.h>
35835 # include <assert.h>
35840 /* Override any GCC internal prototype to avoid an error.
35841 Use char because int might match the return type of a GCC
35842 builtin and then its argument prototype would still apply. */
35847 /* The GNU C library defines this for functions which it implements
35848 to always fail with ENOSYS. Some functions are actually named
35849 something starting with __ and the normal name is an alias. */
35850 #if defined __stub_$ac_func || defined __stub___$ac_func
35857 return $ac_func ();
35862 rm -f conftest.
$ac_objext conftest
$ac_exeext
35863 if { (ac_try
="$ac_link"
35864 case "(($ac_try" in
35865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35866 *) ac_try_echo=$ac_try;;
35868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35869 (eval "$ac_link") 2>conftest.er1
35871 grep -v '^ *+' conftest.er1 >conftest.err
35873 cat conftest.err >&5
35874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35875 (exit $ac_status); } && {
35876 test -z "$ac_c_werror_flag" ||
35877 test ! -s conftest.err
35878 } && test -s conftest$ac_exeext &&
35879 $as_test_x conftest$ac_exeext; then
35880 eval "$as_ac_var=yes"
35882 echo "$as_me: failed program was:" >&5
35883 sed 's/^/| /' conftest.$ac_ext >&5
35885 eval "$as_ac_var=no"
35888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35889 conftest$ac_exeext conftest.$ac_ext
35891 ac_res=`eval echo '${'$as_ac_var'}'`
35892 { echo "$as_me:$LINENO: result: $ac_res" >&5
35893 echo "${ECHO_T}$ac_res" >&6; }
35894 if test `eval echo '${'$as_ac_var'}'` = yes; then
35895 cat >>confdefs.h <<_ACEOF
35896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35905 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35906 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35912 for ac_func in snprintf vsnprintf vsscanf
35914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35915 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35917 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35918 echo $ECHO_N "(cached) $ECHO_C" >&6
35920 cat >conftest.$ac_ext <<_ACEOF
35923 cat confdefs.h >>conftest.$ac_ext
35924 cat >>conftest.$ac_ext <<_ACEOF
35925 /* end confdefs.h. */
35926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35928 #define $ac_func innocuous_$ac_func
35930 /* System header to define __stub macros and hopefully few prototypes,
35931 which can conflict with char $ac_func (); below.
35932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35933 <limits.h> exists even on freestanding compilers. */
35936 # include <limits.h>
35938 # include <assert.h>
35943 /* Override any GCC internal prototype to avoid an error.
35944 Use char because int might match the return type of a GCC
35945 builtin and then its argument prototype would still apply. */
35950 /* The GNU C library defines this for functions which it implements
35951 to always fail with ENOSYS. Some functions are actually named
35952 something starting with __ and the normal name is an alias. */
35953 #if defined __stub_$ac_func || defined __stub___$ac_func
35960 return $ac_func ();
35965 rm -f conftest.$ac_objext conftest$ac_exeext
35966 if { (ac_try="$ac_link"
35967 case "(($ac_try" in
35968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35969 *) ac_try_echo
=$ac_try;;
35971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35972 (eval "$ac_link") 2>conftest.er1
35974 grep -v '^ *+' conftest.er1
>conftest.err
35976 cat conftest.err
>&5
35977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978 (exit $ac_status); } && {
35979 test -z "$ac_c_werror_flag" ||
35980 test ! -s conftest.err
35981 } && test -s conftest
$ac_exeext &&
35982 $as_test_x conftest
$ac_exeext; then
35983 eval "$as_ac_var=yes"
35985 echo "$as_me: failed program was:" >&5
35986 sed 's/^/| /' conftest.
$ac_ext >&5
35988 eval "$as_ac_var=no"
35991 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35992 conftest
$ac_exeext conftest.
$ac_ext
35994 ac_res
=`eval echo '${'$as_ac_var'}'`
35995 { echo "$as_me:$LINENO: result: $ac_res" >&5
35996 echo "${ECHO_T}$ac_res" >&6; }
35997 if test `eval echo '${'$as_ac_var'}'` = yes; then
35998 cat >>confdefs.h
<<_ACEOF
35999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36007 ac_cpp
='$CXXCPP $CPPFLAGS'
36008 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36009 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36010 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36012 if test "$ac_cv_func_vsnprintf" = "yes"; then
36013 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36014 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36015 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36016 echo $ECHO_N "(cached) $ECHO_C" >&6
36019 cat >conftest.
$ac_ext <<_ACEOF
36022 cat confdefs.h
>>conftest.
$ac_ext
36023 cat >>conftest.
$ac_ext <<_ACEOF
36024 /* end confdefs.h. */
36027 #include <stdarg.h>
36029 #if __MSL__ >= 0x6000
36031 using namespace std;
36041 vsnprintf(buf, 10u, "%s", ap);
36047 rm -f conftest.
$ac_objext
36048 if { (ac_try
="$ac_compile"
36049 case "(($ac_try" in
36050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36051 *) ac_try_echo=$ac_try;;
36053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36054 (eval "$ac_compile") 2>conftest.er1
36056 grep -v '^ *+' conftest.er1 >conftest.err
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } && {
36061 test -z "$ac_cxx_werror_flag" ||
36062 test ! -s conftest.err
36063 } && test -s conftest.$ac_objext; then
36064 wx_cv_func_vsnprintf_decl=yes
36066 echo "$as_me: failed program was:" >&5
36067 sed 's/^/| /' conftest.$ac_ext >&5
36069 wx_cv_func_vsnprintf_decl=no
36073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36077 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36078 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36080 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36081 cat >>confdefs.h <<\_ACEOF
36082 #define HAVE_VSNPRINTF_DECL 1
36086 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36087 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36088 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36089 echo $ECHO_N "(cached) $ECHO_C" >&6
36092 cat >conftest.$ac_ext <<_ACEOF
36095 cat confdefs.h >>conftest.$ac_ext
36096 cat >>conftest.$ac_ext <<_ACEOF
36097 /* end confdefs.h. */
36100 #include <stdarg.h>
36102 #if __MSL__ >= 0x6000
36104 using namespace std;
36114 const char *fmt = "%s";
36115 vsnprintf(buf, 10u, fmt, ap);
36121 rm -f conftest.$ac_objext
36122 if { (ac_try="$ac_compile"
36123 case "(($ac_try" in
36124 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36125 *) ac_try_echo
=$ac_try;;
36127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36128 (eval "$ac_compile") 2>conftest.er1
36130 grep -v '^ *+' conftest.er1
>conftest.err
36132 cat conftest.err
>&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); } && {
36135 test -z "$ac_cxx_werror_flag" ||
36136 test ! -s conftest.err
36137 } && test -s conftest.
$ac_objext; then
36138 wx_cv_func_broken_vsnprintf_decl
=no
36140 echo "$as_me: failed program was:" >&5
36141 sed 's/^/| /' conftest.
$ac_ext >&5
36143 wx_cv_func_broken_vsnprintf_decl
=yes
36147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36151 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36152 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36154 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36155 cat >>confdefs.h
<<\_ACEOF
36156 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36163 if test "$ac_cv_func_snprintf" = "yes"; then
36164 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36165 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36166 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36167 echo $ECHO_N "(cached) $ECHO_C" >&6
36170 cat >conftest.
$ac_ext <<_ACEOF
36173 cat confdefs.h
>>conftest.
$ac_ext
36174 cat >>conftest.
$ac_ext <<_ACEOF
36175 /* end confdefs.h. */
36178 #include <stdarg.h>
36180 #if __MSL__ >= 0x6000
36182 using namespace std;
36191 snprintf(buf, 10u, "%s", "wx");
36197 rm -f conftest.
$ac_objext
36198 if { (ac_try
="$ac_compile"
36199 case "(($ac_try" in
36200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36201 *) ac_try_echo=$ac_try;;
36203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36204 (eval "$ac_compile") 2>conftest.er1
36206 grep -v '^ *+' conftest.er1 >conftest.err
36208 cat conftest.err >&5
36209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36210 (exit $ac_status); } && {
36211 test -z "$ac_cxx_werror_flag" ||
36212 test ! -s conftest.err
36213 } && test -s conftest.$ac_objext; then
36214 wx_cv_func_snprintf_decl=yes
36216 echo "$as_me: failed program was:" >&5
36217 sed 's/^/| /' conftest.$ac_ext >&5
36219 wx_cv_func_snprintf_decl=no
36223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36227 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36228 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36230 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36231 cat >>confdefs.h <<\_ACEOF
36232 #define HAVE_SNPRINTF_DECL 1
36237 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36239 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36240 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36241 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36242 echo $ECHO_N "(cached) $ECHO_C" >&6
36245 if test "$cross_compiling" = yes; then
36247 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36248 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36249 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36250 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36251 wx_cv_func_snprintf_pos_params=no
36255 cat >conftest.$ac_ext <<_ACEOF
36258 cat confdefs.h >>conftest.$ac_ext
36259 cat >>conftest.$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36267 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36268 if (strcmp ("2 3 1", buffer) == 0)
36274 rm -f conftest$ac_exeext
36275 if { (ac_try="$ac_link"
36276 case "(($ac_try" in
36277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36278 *) ac_try_echo
=$ac_try;;
36280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36281 (eval "$ac_link") 2>&5
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36285 { (case "(($ac_try" in
36286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36287 *) ac_try_echo=$ac_try;;
36289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36290 (eval "$ac_try") 2>&5
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); }; }; then
36294 wx_cv_func_snprintf_pos_params=no
36296 echo "$as_me: program exited with status $ac_status" >&5
36297 echo "$as_me: failed program was:" >&5
36298 sed 's/^/| /' conftest.$ac_ext >&5
36300 ( exit $ac_status )
36301 wx_cv_func_snprintf_pos_params=yes
36303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36310 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36311 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36313 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36314 cat >>confdefs.h <<\_ACEOF
36315 #define HAVE_UNIX98_PRINTF 1
36322 if test "$ac_cv_func_vsscanf" = "yes"; then
36323 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36324 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36325 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36326 echo $ECHO_N "(cached) $ECHO_C" >&6
36329 cat >conftest.$ac_ext <<_ACEOF
36332 cat confdefs.h >>conftest.$ac_ext
36333 cat >>conftest.$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36337 #include <stdarg.h>
36339 #if __MSL__ >= 0x6000
36341 using namespace std;
36351 vsscanf(buf, "%s", args);
36357 rm -f conftest.$ac_objext
36358 if { (ac_try="$ac_compile"
36359 case "(($ac_try" in
36360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36361 *) ac_try_echo
=$ac_try;;
36363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36364 (eval "$ac_compile") 2>conftest.er1
36366 grep -v '^ *+' conftest.er1
>conftest.err
36368 cat conftest.err
>&5
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); } && {
36371 test -z "$ac_cxx_werror_flag" ||
36372 test ! -s conftest.err
36373 } && test -s conftest.
$ac_objext; then
36374 wx_cv_func_vsscanf_decl
=yes
36376 echo "$as_me: failed program was:" >&5
36377 sed 's/^/| /' conftest.
$ac_ext >&5
36379 wx_cv_func_vsscanf_decl
=no
36383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36387 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36388 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36390 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36391 cat >>confdefs.h
<<\_ACEOF
36392 #define HAVE_VSSCANF_DECL 1
36398 ac_cpp
='$CPP $CPPFLAGS'
36399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36404 if test "$wxUSE_UNICODE" = yes; then
36406 wchar_headers
="#include <stdio.h>
36407 #include <wchar.h>"
36411 for ac_header
in widec.h
36413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36414 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36416 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36417 echo $ECHO_N "(cached) $ECHO_C" >&6
36419 cat >conftest.
$ac_ext <<_ACEOF
36422 cat confdefs.h
>>conftest.
$ac_ext
36423 cat >>conftest.
$ac_ext <<_ACEOF
36424 /* end confdefs.h. */
36425 $ac_includes_default
36427 #include <$ac_header>
36429 rm -f conftest.
$ac_objext
36430 if { (ac_try
="$ac_compile"
36431 case "(($ac_try" in
36432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36433 *) ac_try_echo=$ac_try;;
36435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36436 (eval "$ac_compile") 2>conftest.er1
36438 grep -v '^ *+' conftest.er1 >conftest.err
36440 cat conftest.err >&5
36441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36442 (exit $ac_status); } && {
36443 test -z "$ac_c_werror_flag" ||
36444 test ! -s conftest.err
36445 } && test -s conftest.$ac_objext; then
36446 eval "$as_ac_Header=yes"
36448 echo "$as_me: failed program was:" >&5
36449 sed 's/^/| /' conftest.$ac_ext >&5
36451 eval "$as_ac_Header=no"
36454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36456 ac_res=`eval echo '${'$as_ac_Header'}'`
36457 { echo "$as_me:$LINENO: result: $ac_res" >&5
36458 echo "${ECHO_T}$ac_res" >&6; }
36459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36460 cat >>confdefs.h <<_ACEOF
36461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36468 if test "$ac_cv_header_widec_h" = "yes"; then
36469 wchar_headers="$wchar_headers
36470 #include <widec.h>"
36475 for wx_func in putws fputws wprintf vswprintf vswscanf
36477 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36478 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36479 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36480 echo $ECHO_N "(cached) $ECHO_C" >&6
36483 cat >conftest.$ac_ext <<_ACEOF
36487 cat confdefs.h >>conftest.$ac_ext
36488 cat >>conftest.$ac_ext <<_ACEOF
36489 /* end confdefs.h. */
36492 $ac_includes_default
36508 rm -f conftest.$ac_objext conftest$ac_exeext
36509 if { (ac_try="$ac_link"
36510 case "(($ac_try" in
36511 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36512 *) ac_try_echo
=$ac_try;;
36514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36515 (eval "$ac_link") 2>conftest.er1
36517 grep -v '^ *+' conftest.er1
>conftest.err
36519 cat conftest.err
>&5
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); } && {
36522 test -z "$ac_c_werror_flag" ||
36523 test ! -s conftest.err
36524 } && test -s conftest
$ac_exeext &&
36525 $as_test_x conftest
$ac_exeext; then
36526 eval wx_cv_func_
$wx_func=yes
36528 echo "$as_me: failed program was:" >&5
36529 sed 's/^/| /' conftest.
$ac_ext >&5
36531 eval wx_cv_func_
$wx_func=no
36534 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36535 conftest
$ac_exeext conftest.
$ac_ext
36538 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36539 { echo "$as_me:$LINENO: result: $ac_res" >&5
36540 echo "${ECHO_T}$ac_res" >&6; }
36542 if eval test \
$wx_cv_func_$wx_func = yes
36544 cat >>confdefs.h
<<_ACEOF
36545 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36556 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36557 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36558 cat >conftest.
$ac_ext <<_ACEOF
36561 cat confdefs.h
>>conftest.
$ac_ext
36562 cat >>conftest.
$ac_ext <<_ACEOF
36563 /* end confdefs.h. */
36573 rm -f conftest.
$ac_objext
36574 if { (ac_try
="$ac_compile"
36575 case "(($ac_try" in
36576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36577 *) ac_try_echo=$ac_try;;
36579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36580 (eval "$ac_compile") 2>conftest.er1
36582 grep -v '^ *+' conftest.er1 >conftest.err
36584 cat conftest.err >&5
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); } && {
36587 test -z "$ac_c_werror_flag" ||
36588 test ! -s conftest.err
36589 } && test -s conftest.$ac_objext; then
36590 { echo "$as_me:$LINENO: result: yes" >&5
36591 echo "${ECHO_T}yes" >&6; }
36592 cat >>confdefs.h <<\_ACEOF
36593 #define HAVE__VSNWPRINTF 1
36597 echo "$as_me: failed program was:" >&5
36598 sed 's/^/| /' conftest.$ac_ext >&5
36600 { echo "$as_me:$LINENO: result: no" >&5
36601 echo "${ECHO_T}no" >&6; }
36604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36607 if test "$wxUSE_FILE" = "yes"; then
36609 for wx_func in fsync
36611 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36612 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36613 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36614 echo $ECHO_N "(cached) $ECHO_C" >&6
36617 cat >conftest.$ac_ext <<_ACEOF
36621 cat confdefs.h >>conftest.$ac_ext
36622 cat >>conftest.$ac_ext <<_ACEOF
36623 /* end confdefs.h. */
36626 $ac_includes_default
36642 rm -f conftest.$ac_objext conftest$ac_exeext
36643 if { (ac_try="$ac_link"
36644 case "(($ac_try" in
36645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36646 *) ac_try_echo
=$ac_try;;
36648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36649 (eval "$ac_link") 2>conftest.er1
36651 grep -v '^ *+' conftest.er1
>conftest.err
36653 cat conftest.err
>&5
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); } && {
36656 test -z "$ac_c_werror_flag" ||
36657 test ! -s conftest.err
36658 } && test -s conftest
$ac_exeext &&
36659 $as_test_x conftest
$ac_exeext; then
36660 eval wx_cv_func_
$wx_func=yes
36662 echo "$as_me: failed program was:" >&5
36663 sed 's/^/| /' conftest.
$ac_ext >&5
36665 eval wx_cv_func_
$wx_func=no
36668 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36669 conftest
$ac_exeext conftest.
$ac_ext
36672 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36673 { echo "$as_me:$LINENO: result: $ac_res" >&5
36674 echo "${ECHO_T}$ac_res" >&6; }
36676 if eval test \
$wx_cv_func_$wx_func = yes
36678 cat >>confdefs.h
<<_ACEOF
36679 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36692 ac_cpp
='$CXXCPP $CPPFLAGS'
36693 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36694 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36695 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36698 for wx_func
in round
36700 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36701 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36702 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36703 echo $ECHO_N "(cached) $ECHO_C" >&6
36706 cat >conftest.
$ac_ext <<_ACEOF
36710 cat confdefs.h
>>conftest.
$ac_ext
36711 cat >>conftest.
$ac_ext <<_ACEOF
36712 /* end confdefs.h. */
36715 $ac_includes_default
36731 rm -f conftest.
$ac_objext conftest
$ac_exeext
36732 if { (ac_try
="$ac_link"
36733 case "(($ac_try" in
36734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36735 *) ac_try_echo=$ac_try;;
36737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36738 (eval "$ac_link") 2>conftest.er1
36740 grep -v '^ *+' conftest.er1 >conftest.err
36742 cat conftest.err >&5
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); } && {
36745 test -z "$ac_cxx_werror_flag" ||
36746 test ! -s conftest.err
36747 } && test -s conftest$ac_exeext &&
36748 $as_test_x conftest$ac_exeext; then
36749 eval wx_cv_func_$wx_func=yes
36751 echo "$as_me: failed program was:" >&5
36752 sed 's/^/| /' conftest.$ac_ext >&5
36754 eval wx_cv_func_$wx_func=no
36757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36758 conftest$ac_exeext conftest.$ac_ext
36761 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36762 { echo "$as_me:$LINENO: result: $ac_res" >&5
36763 echo "${ECHO_T}$ac_res" >&6; }
36765 if eval test \$wx_cv_func_$wx_func = yes
36767 cat >>confdefs.h <<_ACEOF
36768 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36779 ac_cpp='$CPP $CPPFLAGS'
36780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36785 if test "$TOOLKIT" != "MSW"; then
36787 if test "$wxUSE_LIBICONV" != "no" ; then
36791 # Check whether --with-libiconv-prefix was given.
36792 if test "${with_libiconv_prefix+set}" = set; then
36793 withval=$with_libiconv_prefix;
36794 for dir in `echo "$withval" | tr : ' '`; do
36795 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36796 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36802 { echo "$as_me:$LINENO: checking for iconv" >&5
36803 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36804 if test "${am_cv_func_iconv+set}" = set; then
36805 echo $ECHO_N "(cached) $ECHO_C" >&6
36808 am_cv_func_iconv="no, consider installing GNU libiconv"
36810 cat >conftest.$ac_ext <<_ACEOF
36813 cat confdefs.h >>conftest.$ac_ext
36814 cat >>conftest.$ac_ext <<_ACEOF
36815 /* end confdefs.h. */
36816 #include <stdlib.h>
36821 iconv_t cd = iconv_open("","");
36822 iconv(cd,NULL,NULL,NULL,NULL);
36828 rm -f conftest.$ac_objext conftest$ac_exeext
36829 if { (ac_try="$ac_link"
36830 case "(($ac_try" in
36831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36832 *) ac_try_echo
=$ac_try;;
36834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36835 (eval "$ac_link") 2>conftest.er1
36837 grep -v '^ *+' conftest.er1
>conftest.err
36839 cat conftest.err
>&5
36840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36841 (exit $ac_status); } && {
36842 test -z "$ac_c_werror_flag" ||
36843 test ! -s conftest.err
36844 } && test -s conftest
$ac_exeext &&
36845 $as_test_x conftest
$ac_exeext; then
36846 am_cv_func_iconv
=yes
36848 echo "$as_me: failed program was:" >&5
36849 sed 's/^/| /' conftest.
$ac_ext >&5
36854 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36855 conftest
$ac_exeext conftest.
$ac_ext
36856 if test "$am_cv_func_iconv" != yes; then
36857 am_save_LIBS
="$LIBS"
36858 LIBS
="$LIBS -liconv"
36859 cat >conftest.
$ac_ext <<_ACEOF
36862 cat confdefs.h
>>conftest.
$ac_ext
36863 cat >>conftest.
$ac_ext <<_ACEOF
36864 /* end confdefs.h. */
36865 #include <stdlib.h>
36870 iconv_t cd = iconv_open("","");
36871 iconv(cd,NULL,NULL,NULL,NULL);
36877 rm -f conftest.
$ac_objext conftest
$ac_exeext
36878 if { (ac_try
="$ac_link"
36879 case "(($ac_try" in
36880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36881 *) ac_try_echo=$ac_try;;
36883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36884 (eval "$ac_link") 2>conftest.er1
36886 grep -v '^ *+' conftest.er1 >conftest.err
36888 cat conftest.err >&5
36889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36890 (exit $ac_status); } && {
36891 test -z "$ac_c_werror_flag" ||
36892 test ! -s conftest.err
36893 } && test -s conftest$ac_exeext &&
36894 $as_test_x conftest$ac_exeext; then
36895 am_cv_lib_iconv=yes
36896 am_cv_func_iconv=yes
36898 echo "$as_me: failed program was:" >&5
36899 sed 's/^/| /' conftest.$ac_ext >&5
36904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36905 conftest$ac_exeext conftest.$ac_ext
36906 LIBS="$am_save_LIBS"
36910 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36911 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36912 if test "$am_cv_func_iconv" = yes; then
36914 cat >>confdefs.h <<\_ACEOF
36915 #define HAVE_ICONV 1
36918 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36919 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36920 if test "${wx_cv_func_iconv_const+set}" = set; then
36921 echo $ECHO_N "(cached) $ECHO_C" >&6
36923 cat >conftest.$ac_ext <<_ACEOF
36926 cat confdefs.h >>conftest.$ac_ext
36927 cat >>conftest.$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36930 #include <stdlib.h>
36936 #if defined(__STDC__) || defined(__cplusplus)
36937 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36950 rm -f conftest.$ac_objext
36951 if { (ac_try="$ac_compile"
36952 case "(($ac_try" in
36953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36954 *) ac_try_echo
=$ac_try;;
36956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36957 (eval "$ac_compile") 2>conftest.er1
36959 grep -v '^ *+' conftest.er1
>conftest.err
36961 cat conftest.err
>&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); } && {
36964 test -z "$ac_c_werror_flag" ||
36965 test ! -s conftest.err
36966 } && test -s conftest.
$ac_objext; then
36967 wx_cv_func_iconv_const
="no"
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.
$ac_ext >&5
36972 wx_cv_func_iconv_const
="yes"
36976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36979 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36980 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36983 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36984 iconv_const
="const"
36988 cat >>confdefs.h
<<_ACEOF
36989 #define ICONV_CONST $iconv_const
36994 if test "$am_cv_lib_iconv" = yes; then
36999 LIBS
="$LIBICONV $LIBS"
37002 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37004 for ac_func
in sigaction
37006 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37007 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37009 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37010 echo $ECHO_N "(cached) $ECHO_C" >&6
37012 cat >conftest.
$ac_ext <<_ACEOF
37015 cat confdefs.h
>>conftest.
$ac_ext
37016 cat >>conftest.
$ac_ext <<_ACEOF
37017 /* end confdefs.h. */
37018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37020 #define $ac_func innocuous_$ac_func
37022 /* System header to define __stub macros and hopefully few prototypes,
37023 which can conflict with char $ac_func (); below.
37024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37025 <limits.h> exists even on freestanding compilers. */
37028 # include <limits.h>
37030 # include <assert.h>
37035 /* Override any GCC internal prototype to avoid an error.
37036 Use char because int might match the return type of a GCC
37037 builtin and then its argument prototype would still apply. */
37042 /* The GNU C library defines this for functions which it implements
37043 to always fail with ENOSYS. Some functions are actually named
37044 something starting with __ and the normal name is an alias. */
37045 #if defined __stub_$ac_func || defined __stub___$ac_func
37052 return $ac_func ();
37057 rm -f conftest.
$ac_objext conftest
$ac_exeext
37058 if { (ac_try
="$ac_link"
37059 case "(($ac_try" in
37060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37061 *) ac_try_echo=$ac_try;;
37063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37064 (eval "$ac_link") 2>conftest.er1
37066 grep -v '^ *+' conftest.er1 >conftest.err
37068 cat conftest.err >&5
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); } && {
37071 test -z "$ac_c_werror_flag" ||
37072 test ! -s conftest.err
37073 } && test -s conftest$ac_exeext &&
37074 $as_test_x conftest$ac_exeext; then
37075 eval "$as_ac_var=yes"
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.$ac_ext >&5
37080 eval "$as_ac_var=no"
37083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37084 conftest$ac_exeext conftest.$ac_ext
37086 ac_res=`eval echo '${'$as_ac_var'}'`
37087 { echo "$as_me:$LINENO: result: $ac_res" >&5
37088 echo "${ECHO_T}$ac_res" >&6; }
37089 if test `eval echo '${'$as_ac_var'}'` = yes; then
37090 cat >>confdefs.h <<_ACEOF
37091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37098 if test "$ac_cv_func_sigaction" = "no"; then
37099 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37100 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37101 wxUSE_ON_FATAL_EXCEPTION=no
37104 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37105 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37106 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37107 if test "${wx_cv_type_sa_handler+set}" = set; then
37108 echo $ECHO_N "(cached) $ECHO_C" >&6
37112 ac_cpp='$CXXCPP $CPPFLAGS'
37113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37117 cat >conftest.$ac_ext <<_ACEOF
37120 cat confdefs.h >>conftest.$ac_ext
37121 cat >>conftest.$ac_ext <<_ACEOF
37122 /* end confdefs.h. */
37123 #include <signal.h>
37128 extern void testSigHandler(int);
37130 struct sigaction sa;
37131 sa.sa_handler = testSigHandler;
37137 rm -f conftest.$ac_objext
37138 if { (ac_try="$ac_compile"
37139 case "(($ac_try" in
37140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37141 *) ac_try_echo
=$ac_try;;
37143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37144 (eval "$ac_compile") 2>conftest.er1
37146 grep -v '^ *+' conftest.er1
>conftest.err
37148 cat conftest.err
>&5
37149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37150 (exit $ac_status); } && {
37151 test -z "$ac_cxx_werror_flag" ||
37152 test ! -s conftest.err
37153 } && test -s conftest.
$ac_objext; then
37155 wx_cv_type_sa_handler
=int
37158 echo "$as_me: failed program was:" >&5
37159 sed 's/^/| /' conftest.
$ac_ext >&5
37162 wx_cv_type_sa_handler
=void
37166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37168 ac_cpp
='$CPP $CPPFLAGS'
37169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37175 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37176 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37178 cat >>confdefs.h
<<_ACEOF
37179 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37185 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37186 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37187 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37188 if test "${wx_cv_func_backtrace+set}" = set; then
37189 echo $ECHO_N "(cached) $ECHO_C" >&6
37193 ac_cpp
='$CXXCPP $CPPFLAGS'
37194 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37195 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37196 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37198 cat >conftest.
$ac_ext <<_ACEOF
37201 cat confdefs.h
>>conftest.
$ac_ext
37202 cat >>conftest.
$ac_ext <<_ACEOF
37203 /* end confdefs.h. */
37204 #include <execinfo.h>
37212 backtrace(trace, 1);
37213 messages = backtrace_symbols(trace, 1);
37219 rm -f conftest.
$ac_objext
37220 if { (ac_try
="$ac_compile"
37221 case "(($ac_try" in
37222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37223 *) ac_try_echo=$ac_try;;
37225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37226 (eval "$ac_compile") 2>conftest.er1
37228 grep -v '^ *+' conftest.er1 >conftest.err
37230 cat conftest.err >&5
37231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37232 (exit $ac_status); } && {
37233 test -z "$ac_cxx_werror_flag" ||
37234 test ! -s conftest.err
37235 } && test -s conftest.$ac_objext; then
37236 wx_cv_func_backtrace=yes
37238 echo "$as_me: failed program was:" >&5
37239 sed 's/^/| /' conftest.$ac_ext >&5
37241 wx_cv_func_backtrace=no
37245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37247 ac_cpp='$CPP $CPPFLAGS'
37248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37255 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37256 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37259 if test "$wx_cv_func_backtrace" = "no"; then
37260 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37261 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37262 wxUSE_STACKWALKER=no
37264 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37265 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37266 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37267 echo $ECHO_N "(cached) $ECHO_C" >&6
37271 ac_cpp='$CXXCPP $CPPFLAGS'
37272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37276 cat >conftest.$ac_ext <<_ACEOF
37279 cat confdefs.h >>conftest.$ac_ext
37280 cat >>conftest.$ac_ext <<_ACEOF
37281 /* end confdefs.h. */
37282 #include <cxxabi.h>
37288 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37294 rm -f conftest.$ac_objext conftest$ac_exeext
37295 if { (ac_try="$ac_link"
37296 case "(($ac_try" in
37297 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37298 *) ac_try_echo
=$ac_try;;
37300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37301 (eval "$ac_link") 2>conftest.er1
37303 grep -v '^ *+' conftest.er1
>conftest.err
37305 cat conftest.err
>&5
37306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37307 (exit $ac_status); } && {
37308 test -z "$ac_cxx_werror_flag" ||
37309 test ! -s conftest.err
37310 } && test -s conftest
$ac_exeext &&
37311 $as_test_x conftest
$ac_exeext; then
37312 wx_cv_func_cxa_demangle
=yes
37314 echo "$as_me: failed program was:" >&5
37315 sed 's/^/| /' conftest.
$ac_ext >&5
37317 wx_cv_func_cxa_demangle
=no
37321 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37322 conftest
$ac_exeext conftest.
$ac_ext
37324 ac_cpp
='$CPP $CPPFLAGS'
37325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37332 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37333 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37335 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37336 cat >>confdefs.h
<<\_ACEOF
37337 #define HAVE_CXA_DEMANGLE 1
37344 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37345 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37346 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37347 wxUSE_STACKWALKER
=no
37353 for ac_func
in mkstemp mktemp
37355 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37358 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37359 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 cat >conftest.
$ac_ext <<_ACEOF
37364 cat confdefs.h
>>conftest.
$ac_ext
37365 cat >>conftest.
$ac_ext <<_ACEOF
37366 /* end confdefs.h. */
37367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37369 #define $ac_func innocuous_$ac_func
37371 /* System header to define __stub macros and hopefully few prototypes,
37372 which can conflict with char $ac_func (); below.
37373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37374 <limits.h> exists even on freestanding compilers. */
37377 # include <limits.h>
37379 # include <assert.h>
37384 /* Override any GCC internal prototype to avoid an error.
37385 Use char because int might match the return type of a GCC
37386 builtin and then its argument prototype would still apply. */
37391 /* The GNU C library defines this for functions which it implements
37392 to always fail with ENOSYS. Some functions are actually named
37393 something starting with __ and the normal name is an alias. */
37394 #if defined __stub_$ac_func || defined __stub___$ac_func
37401 return $ac_func ();
37406 rm -f conftest.
$ac_objext conftest
$ac_exeext
37407 if { (ac_try
="$ac_link"
37408 case "(($ac_try" in
37409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37410 *) ac_try_echo=$ac_try;;
37412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37413 (eval "$ac_link") 2>conftest.er1
37415 grep -v '^ *+' conftest.er1 >conftest.err
37417 cat conftest.err >&5
37418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37419 (exit $ac_status); } && {
37420 test -z "$ac_c_werror_flag" ||
37421 test ! -s conftest.err
37422 } && test -s conftest$ac_exeext &&
37423 $as_test_x conftest$ac_exeext; then
37424 eval "$as_ac_var=yes"
37426 echo "$as_me: failed program was:" >&5
37427 sed 's/^/| /' conftest.$ac_ext >&5
37429 eval "$as_ac_var=no"
37432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37433 conftest$ac_exeext conftest.$ac_ext
37435 ac_res=`eval echo '${'$as_ac_var'}'`
37436 { echo "$as_me:$LINENO: result: $ac_res" >&5
37437 echo "${ECHO_T}$ac_res" >&6; }
37438 if test `eval echo '${'$as_ac_var'}'` = yes; then
37439 cat >>confdefs.h <<_ACEOF
37440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37447 { echo "$as_me:$LINENO: checking for statfs" >&5
37448 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37449 if test "${wx_cv_func_statfs+set}" = set; then
37450 echo $ECHO_N "(cached) $ECHO_C" >&6
37452 cat >conftest.$ac_ext <<_ACEOF
37455 cat confdefs.h >>conftest.$ac_ext
37456 cat >>conftest.$ac_ext <<_ACEOF
37457 /* end confdefs.h. */
37459 #if defined(__BSD__)
37460 #include <sys/param.h>
37461 #include <sys/mount.h>
37463 #include <sys/vfs.h>
37481 rm -f conftest.$ac_objext
37482 if { (ac_try="$ac_compile"
37483 case "(($ac_try" in
37484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37485 *) ac_try_echo
=$ac_try;;
37487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37488 (eval "$ac_compile") 2>conftest.er1
37490 grep -v '^ *+' conftest.er1
>conftest.err
37492 cat conftest.err
>&5
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); } && {
37495 test -z "$ac_c_werror_flag" ||
37496 test ! -s conftest.err
37497 } && test -s conftest.
$ac_objext; then
37498 wx_cv_func_statfs
=yes
37500 echo "$as_me: failed program was:" >&5
37501 sed 's/^/| /' conftest.
$ac_ext >&5
37503 wx_cv_func_statfs
=no
37507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37510 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37511 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37513 if test "$wx_cv_func_statfs" = "yes"; then
37514 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37515 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37516 if test "${wx_cv_func_statfs_decl+set}" = set; then
37517 echo $ECHO_N "(cached) $ECHO_C" >&6
37520 ac_cpp
='$CXXCPP $CPPFLAGS'
37521 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37522 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37523 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37525 cat >conftest.
$ac_ext <<_ACEOF
37528 cat confdefs.h
>>conftest.
$ac_ext
37529 cat >>conftest.
$ac_ext <<_ACEOF
37530 /* end confdefs.h. */
37532 #if defined(__BSD__)
37533 #include <sys/param.h>
37534 #include <sys/mount.h>
37536 #include <sys/vfs.h>
37550 rm -f conftest.
$ac_objext
37551 if { (ac_try
="$ac_compile"
37552 case "(($ac_try" in
37553 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37554 *) ac_try_echo=$ac_try;;
37556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37557 (eval "$ac_compile") 2>conftest.er1
37559 grep -v '^ *+' conftest.er1 >conftest.err
37561 cat conftest.err >&5
37562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37563 (exit $ac_status); } && {
37564 test -z "$ac_cxx_werror_flag" ||
37565 test ! -s conftest.err
37566 } && test -s conftest.$ac_objext; then
37567 wx_cv_func_statfs_decl=yes
37569 echo "$as_me: failed program was:" >&5
37570 sed 's/^/| /' conftest.$ac_ext >&5
37572 wx_cv_func_statfs_decl=no
37576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37578 ac_cpp='$CPP $CPPFLAGS'
37579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37585 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37586 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37588 if test "$wx_cv_func_statfs_decl" = "yes"; then
37589 cat >>confdefs.h <<\_ACEOF
37590 #define HAVE_STATFS_DECL 1
37595 wx_cv_type_statvfs_t="struct statfs"
37596 cat >>confdefs.h <<\_ACEOF
37597 #define HAVE_STATFS 1
37601 { echo "$as_me:$LINENO: checking for statvfs" >&5
37602 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37603 if test "${wx_cv_func_statvfs+set}" = set; then
37604 echo $ECHO_N "(cached) $ECHO_C" >&6
37606 cat >conftest.$ac_ext <<_ACEOF
37609 cat confdefs.h >>conftest.$ac_ext
37610 cat >>conftest.$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37613 #include <stddef.h>
37614 #include <sys/statvfs.h>
37620 statvfs("/", NULL);
37626 rm -f conftest.$ac_objext
37627 if { (ac_try="$ac_compile"
37628 case "(($ac_try" in
37629 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37630 *) ac_try_echo
=$ac_try;;
37632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37633 (eval "$ac_compile") 2>conftest.er1
37635 grep -v '^ *+' conftest.er1
>conftest.err
37637 cat conftest.err
>&5
37638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37639 (exit $ac_status); } && {
37640 test -z "$ac_c_werror_flag" ||
37641 test ! -s conftest.err
37642 } && test -s conftest.
$ac_objext; then
37643 wx_cv_func_statvfs
=yes
37645 echo "$as_me: failed program was:" >&5
37646 sed 's/^/| /' conftest.
$ac_ext >&5
37648 wx_cv_func_statvfs
=no
37652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37655 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37656 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37658 if test "$wx_cv_func_statvfs" = "yes"; then
37659 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37660 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37661 if test "${wx_cv_type_statvfs_t+set}" = set; then
37662 echo $ECHO_N "(cached) $ECHO_C" >&6
37665 ac_cpp
='$CXXCPP $CPPFLAGS'
37666 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37667 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37668 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37670 cat >conftest.
$ac_ext <<_ACEOF
37673 cat confdefs.h
>>conftest.
$ac_ext
37674 cat >>conftest.
$ac_ext <<_ACEOF
37675 /* end confdefs.h. */
37677 #include <sys/statvfs.h>
37694 rm -f conftest.
$ac_objext
37695 if { (ac_try
="$ac_compile"
37696 case "(($ac_try" in
37697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37698 *) ac_try_echo=$ac_try;;
37700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37701 (eval "$ac_compile") 2>conftest.er1
37703 grep -v '^ *+' conftest.er1 >conftest.err
37705 cat conftest.err >&5
37706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707 (exit $ac_status); } && {
37708 test -z "$ac_cxx_werror_flag" ||
37709 test ! -s conftest.err
37710 } && test -s conftest.$ac_objext; then
37711 wx_cv_type_statvfs_t=statvfs_t
37713 echo "$as_me: failed program was:" >&5
37714 sed 's/^/| /' conftest.$ac_ext >&5
37717 cat >conftest.$ac_ext <<_ACEOF
37720 cat confdefs.h >>conftest.$ac_ext
37721 cat >>conftest.$ac_ext <<_ACEOF
37722 /* end confdefs.h. */
37724 #include <sys/statvfs.h>
37741 rm -f conftest.$ac_objext
37742 if { (ac_try="$ac_compile"
37743 case "(($ac_try" in
37744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37745 *) ac_try_echo
=$ac_try;;
37747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37748 (eval "$ac_compile") 2>conftest.er1
37750 grep -v '^ *+' conftest.er1
>conftest.err
37752 cat conftest.err
>&5
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); } && {
37755 test -z "$ac_cxx_werror_flag" ||
37756 test ! -s conftest.err
37757 } && test -s conftest.
$ac_objext; then
37758 wx_cv_type_statvfs_t
="struct statvfs"
37760 echo "$as_me: failed program was:" >&5
37761 sed 's/^/| /' conftest.
$ac_ext >&5
37763 wx_cv_type_statvfs_t
="unknown"
37767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37774 ac_cpp
='$CPP $CPPFLAGS'
37775 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37776 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37777 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37781 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37782 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37784 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37785 cat >>confdefs.h
<<\_ACEOF
37786 #define HAVE_STATVFS 1
37791 wx_cv_type_statvfs_t
="unknown"
37795 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37796 cat >>confdefs.h
<<_ACEOF
37797 #define WX_STATFS_T $wx_cv_type_statvfs_t
37801 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37802 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37805 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37808 for ac_func
in fcntl flock
37810 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37811 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37813 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37814 echo $ECHO_N "(cached) $ECHO_C" >&6
37816 cat >conftest.
$ac_ext <<_ACEOF
37819 cat confdefs.h
>>conftest.
$ac_ext
37820 cat >>conftest.
$ac_ext <<_ACEOF
37821 /* end confdefs.h. */
37822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37824 #define $ac_func innocuous_$ac_func
37826 /* System header to define __stub macros and hopefully few prototypes,
37827 which can conflict with char $ac_func (); below.
37828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37829 <limits.h> exists even on freestanding compilers. */
37832 # include <limits.h>
37834 # include <assert.h>
37839 /* Override any GCC internal prototype to avoid an error.
37840 Use char because int might match the return type of a GCC
37841 builtin and then its argument prototype would still apply. */
37846 /* The GNU C library defines this for functions which it implements
37847 to always fail with ENOSYS. Some functions are actually named
37848 something starting with __ and the normal name is an alias. */
37849 #if defined __stub_$ac_func || defined __stub___$ac_func
37856 return $ac_func ();
37861 rm -f conftest.
$ac_objext conftest
$ac_exeext
37862 if { (ac_try
="$ac_link"
37863 case "(($ac_try" in
37864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37865 *) ac_try_echo=$ac_try;;
37867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37868 (eval "$ac_link") 2>conftest.er1
37870 grep -v '^ *+' conftest.er1 >conftest.err
37872 cat conftest.err >&5
37873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37874 (exit $ac_status); } && {
37875 test -z "$ac_c_werror_flag" ||
37876 test ! -s conftest.err
37877 } && test -s conftest$ac_exeext &&
37878 $as_test_x conftest$ac_exeext; then
37879 eval "$as_ac_var=yes"
37881 echo "$as_me: failed program was:" >&5
37882 sed 's/^/| /' conftest.$ac_ext >&5
37884 eval "$as_ac_var=no"
37887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37888 conftest$ac_exeext conftest.$ac_ext
37890 ac_res=`eval echo '${'$as_ac_var'}'`
37891 { echo "$as_me:$LINENO: result: $ac_res" >&5
37892 echo "${ECHO_T}$ac_res" >&6; }
37893 if test `eval echo '${'$as_ac_var'}'` = yes; then
37894 cat >>confdefs.h <<_ACEOF
37895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37902 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37903 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37904 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37905 wxUSE_SNGLINST_CHECKER=no
37911 for ac_func in setenv putenv
37913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37914 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37917 echo $ECHO_N "(cached) $ECHO_C" >&6
37919 cat >conftest.$ac_ext <<_ACEOF
37922 cat confdefs.h >>conftest.$ac_ext
37923 cat >>conftest.$ac_ext <<_ACEOF
37924 /* end confdefs.h. */
37925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37927 #define $ac_func innocuous_$ac_func
37929 /* System header to define __stub macros and hopefully few prototypes,
37930 which can conflict with char $ac_func (); below.
37931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37932 <limits.h> exists even on freestanding compilers. */
37935 # include <limits.h>
37937 # include <assert.h>
37942 /* Override any GCC internal prototype to avoid an error.
37943 Use char because int might match the return type of a GCC
37944 builtin and then its argument prototype would still apply. */
37949 /* The GNU C library defines this for functions which it implements
37950 to always fail with ENOSYS. Some functions are actually named
37951 something starting with __ and the normal name is an alias. */
37952 #if defined __stub_$ac_func || defined __stub___$ac_func
37959 return $ac_func ();
37964 rm -f conftest.$ac_objext conftest$ac_exeext
37965 if { (ac_try="$ac_link"
37966 case "(($ac_try" in
37967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37968 *) ac_try_echo
=$ac_try;;
37970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37971 (eval "$ac_link") 2>conftest.er1
37973 grep -v '^ *+' conftest.er1
>conftest.err
37975 cat conftest.err
>&5
37976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37977 (exit $ac_status); } && {
37978 test -z "$ac_c_werror_flag" ||
37979 test ! -s conftest.err
37980 } && test -s conftest
$ac_exeext &&
37981 $as_test_x conftest
$ac_exeext; then
37982 eval "$as_ac_var=yes"
37984 echo "$as_me: failed program was:" >&5
37985 sed 's/^/| /' conftest.
$ac_ext >&5
37987 eval "$as_ac_var=no"
37990 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37991 conftest
$ac_exeext conftest.
$ac_ext
37993 ac_res
=`eval echo '${'$as_ac_var'}'`
37994 { echo "$as_me:$LINENO: result: $ac_res" >&5
37995 echo "${ECHO_T}$ac_res" >&6; }
37996 if test `eval echo '${'$as_ac_var'}'` = yes; then
37997 cat >>confdefs.h
<<_ACEOF
37998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38004 if test "$ac_cv_func_setenv" = "yes"; then
38006 for ac_func
in unsetenv
38008 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38009 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38011 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38012 echo $ECHO_N "(cached) $ECHO_C" >&6
38014 cat >conftest.
$ac_ext <<_ACEOF
38017 cat confdefs.h
>>conftest.
$ac_ext
38018 cat >>conftest.
$ac_ext <<_ACEOF
38019 /* end confdefs.h. */
38020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38022 #define $ac_func innocuous_$ac_func
38024 /* System header to define __stub macros and hopefully few prototypes,
38025 which can conflict with char $ac_func (); below.
38026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38027 <limits.h> exists even on freestanding compilers. */
38030 # include <limits.h>
38032 # include <assert.h>
38037 /* Override any GCC internal prototype to avoid an error.
38038 Use char because int might match the return type of a GCC
38039 builtin and then its argument prototype would still apply. */
38044 /* The GNU C library defines this for functions which it implements
38045 to always fail with ENOSYS. Some functions are actually named
38046 something starting with __ and the normal name is an alias. */
38047 #if defined __stub_$ac_func || defined __stub___$ac_func
38054 return $ac_func ();
38059 rm -f conftest.
$ac_objext conftest
$ac_exeext
38060 if { (ac_try
="$ac_link"
38061 case "(($ac_try" in
38062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38063 *) ac_try_echo=$ac_try;;
38065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38066 (eval "$ac_link") 2>conftest.er1
38068 grep -v '^ *+' conftest.er1 >conftest.err
38070 cat conftest.err >&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); } && {
38073 test -z "$ac_c_werror_flag" ||
38074 test ! -s conftest.err
38075 } && test -s conftest$ac_exeext &&
38076 $as_test_x conftest$ac_exeext; then
38077 eval "$as_ac_var=yes"
38079 echo "$as_me: failed program was:" >&5
38080 sed 's/^/| /' conftest.$ac_ext >&5
38082 eval "$as_ac_var=no"
38085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38086 conftest$ac_exeext conftest.$ac_ext
38088 ac_res=`eval echo '${'$as_ac_var'}'`
38089 { echo "$as_me:$LINENO: result: $ac_res" >&5
38090 echo "${ECHO_T}$ac_res" >&6; }
38091 if test `eval echo '${'$as_ac_var'}'` = yes; then
38092 cat >>confdefs.h <<_ACEOF
38093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38101 HAVE_SOME_SLEEP_FUNC=0
38102 if test "$USE_BEOS" = 1; then
38103 cat >>confdefs.h <<\_ACEOF
38104 #define HAVE_SLEEP 1
38107 HAVE_SOME_SLEEP_FUNC=1
38110 if test "$USE_DARWIN" = 1; then
38111 cat >>confdefs.h <<\_ACEOF
38112 #define HAVE_USLEEP 1
38115 HAVE_SOME_SLEEP_FUNC=1
38118 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38121 for ac_func in nanosleep
38123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38127 echo $ECHO_N "(cached) $ECHO_C" >&6
38129 cat >conftest.$ac_ext <<_ACEOF
38132 cat confdefs.h >>conftest.$ac_ext
38133 cat >>conftest.$ac_ext <<_ACEOF
38134 /* end confdefs.h. */
38135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38137 #define $ac_func innocuous_$ac_func
38139 /* System header to define __stub macros and hopefully few prototypes,
38140 which can conflict with char $ac_func (); below.
38141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38142 <limits.h> exists even on freestanding compilers. */
38145 # include <limits.h>
38147 # include <assert.h>
38152 /* Override any GCC internal prototype to avoid an error.
38153 Use char because int might match the return type of a GCC
38154 builtin and then its argument prototype would still apply. */
38159 /* The GNU C library defines this for functions which it implements
38160 to always fail with ENOSYS. Some functions are actually named
38161 something starting with __ and the normal name is an alias. */
38162 #if defined __stub_$ac_func || defined __stub___$ac_func
38169 return $ac_func ();
38174 rm -f conftest.$ac_objext conftest$ac_exeext
38175 if { (ac_try="$ac_link"
38176 case "(($ac_try" in
38177 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38178 *) ac_try_echo
=$ac_try;;
38180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38181 (eval "$ac_link") 2>conftest.er1
38183 grep -v '^ *+' conftest.er1
>conftest.err
38185 cat conftest.err
>&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); } && {
38188 test -z "$ac_c_werror_flag" ||
38189 test ! -s conftest.err
38190 } && test -s conftest
$ac_exeext &&
38191 $as_test_x conftest
$ac_exeext; then
38192 eval "$as_ac_var=yes"
38194 echo "$as_me: failed program was:" >&5
38195 sed 's/^/| /' conftest.
$ac_ext >&5
38197 eval "$as_ac_var=no"
38200 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38201 conftest
$ac_exeext conftest.
$ac_ext
38203 ac_res
=`eval echo '${'$as_ac_var'}'`
38204 { echo "$as_me:$LINENO: result: $ac_res" >&5
38205 echo "${ECHO_T}$ac_res" >&6; }
38206 if test `eval echo '${'$as_ac_var'}'` = yes; then
38207 cat >>confdefs.h
<<_ACEOF
38208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38210 cat >>confdefs.h
<<\_ACEOF
38211 #define HAVE_NANOSLEEP 1
38216 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38217 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38218 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38219 echo $ECHO_N "(cached) $ECHO_C" >&6
38221 ac_check_lib_save_LIBS
=$LIBS
38222 LIBS
="-lposix4 $LIBS"
38223 cat >conftest.
$ac_ext <<_ACEOF
38226 cat confdefs.h
>>conftest.
$ac_ext
38227 cat >>conftest.
$ac_ext <<_ACEOF
38228 /* end confdefs.h. */
38230 /* Override any GCC internal prototype to avoid an error.
38231 Use char because int might match the return type of a GCC
38232 builtin and then its argument prototype would still apply. */
38240 return nanosleep ();
38245 rm -f conftest.
$ac_objext conftest
$ac_exeext
38246 if { (ac_try
="$ac_link"
38247 case "(($ac_try" in
38248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38249 *) ac_try_echo=$ac_try;;
38251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38252 (eval "$ac_link") 2>conftest.er1
38254 grep -v '^ *+' conftest.er1 >conftest.err
38256 cat conftest.err >&5
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); } && {
38259 test -z "$ac_c_werror_flag" ||
38260 test ! -s conftest.err
38261 } && test -s conftest$ac_exeext &&
38262 $as_test_x conftest$ac_exeext; then
38263 ac_cv_lib_posix4_nanosleep=yes
38265 echo "$as_me: failed program was:" >&5
38266 sed 's/^/| /' conftest.$ac_ext >&5
38268 ac_cv_lib_posix4_nanosleep=no
38271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38272 conftest$ac_exeext conftest.$ac_ext
38273 LIBS=$ac_check_lib_save_LIBS
38275 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38276 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38277 if test $ac_cv_lib_posix4_nanosleep = yes; then
38279 cat >>confdefs.h <<\_ACEOF
38280 #define HAVE_NANOSLEEP 1
38283 POSIX4_LINK=" -lposix4"
38288 for wx_func in usleep
38290 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38291 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38292 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38293 echo $ECHO_N "(cached) $ECHO_C" >&6
38296 cat >conftest.$ac_ext <<_ACEOF
38300 cat confdefs.h >>conftest.$ac_ext
38301 cat >>conftest.$ac_ext <<_ACEOF
38302 /* end confdefs.h. */
38305 $ac_includes_default
38321 rm -f conftest.$ac_objext conftest$ac_exeext
38322 if { (ac_try="$ac_link"
38323 case "(($ac_try" in
38324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38325 *) ac_try_echo
=$ac_try;;
38327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38328 (eval "$ac_link") 2>conftest.er1
38330 grep -v '^ *+' conftest.er1
>conftest.err
38332 cat conftest.err
>&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } && {
38335 test -z "$ac_c_werror_flag" ||
38336 test ! -s conftest.err
38337 } && test -s conftest
$ac_exeext &&
38338 $as_test_x conftest
$ac_exeext; then
38339 eval wx_cv_func_
$wx_func=yes
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.
$ac_ext >&5
38344 eval wx_cv_func_
$wx_func=no
38347 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38348 conftest
$ac_exeext conftest.
$ac_ext
38351 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38352 { echo "$as_me:$LINENO: result: $ac_res" >&5
38353 echo "${ECHO_T}$ac_res" >&6; }
38355 if eval test \
$wx_cv_func_$wx_func = yes
38357 cat >>confdefs.h
<<_ACEOF
38358 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38364 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38365 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38382 for wx_func
in uname
38384 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38385 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38386 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38387 echo $ECHO_N "(cached) $ECHO_C" >&6
38390 cat >conftest.
$ac_ext <<_ACEOF
38394 cat confdefs.h
>>conftest.
$ac_ext
38395 cat >>conftest.
$ac_ext <<_ACEOF
38396 /* end confdefs.h. */
38398 #include <sys/utsname.h>
38399 $ac_includes_default
38415 rm -f conftest.
$ac_objext conftest
$ac_exeext
38416 if { (ac_try
="$ac_link"
38417 case "(($ac_try" in
38418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38419 *) ac_try_echo=$ac_try;;
38421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38422 (eval "$ac_link") 2>conftest.er1
38424 grep -v '^ *+' conftest.er1 >conftest.err
38426 cat conftest.err >&5
38427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38428 (exit $ac_status); } && {
38429 test -z "$ac_c_werror_flag" ||
38430 test ! -s conftest.err
38431 } && test -s conftest$ac_exeext &&
38432 $as_test_x conftest$ac_exeext; then
38433 eval wx_cv_func_$wx_func=yes
38435 echo "$as_me: failed program was:" >&5
38436 sed 's/^/| /' conftest.$ac_ext >&5
38438 eval wx_cv_func_$wx_func=no
38441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38442 conftest$ac_exeext conftest.$ac_ext
38445 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38446 { echo "$as_me:$LINENO: result: $ac_res" >&5
38447 echo "${ECHO_T}$ac_res" >&6; }
38449 if eval test \$wx_cv_func_$wx_func = yes
38451 cat >>confdefs.h <<_ACEOF
38452 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38462 if test "$wx_cv_func_uname" != yes; then
38464 for wx_func in gethostname
38466 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38467 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38468 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38469 echo $ECHO_N "(cached) $ECHO_C" >&6
38472 cat >conftest.$ac_ext <<_ACEOF
38476 cat confdefs.h >>conftest.$ac_ext
38477 cat >>conftest.$ac_ext <<_ACEOF
38478 /* end confdefs.h. */
38481 $ac_includes_default
38497 rm -f conftest.$ac_objext conftest$ac_exeext
38498 if { (ac_try="$ac_link"
38499 case "(($ac_try" in
38500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38501 *) ac_try_echo
=$ac_try;;
38503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38504 (eval "$ac_link") 2>conftest.er1
38506 grep -v '^ *+' conftest.er1
>conftest.err
38508 cat conftest.err
>&5
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); } && {
38511 test -z "$ac_c_werror_flag" ||
38512 test ! -s conftest.err
38513 } && test -s conftest
$ac_exeext &&
38514 $as_test_x conftest
$ac_exeext; then
38515 eval wx_cv_func_
$wx_func=yes
38517 echo "$as_me: failed program was:" >&5
38518 sed 's/^/| /' conftest.
$ac_ext >&5
38520 eval wx_cv_func_
$wx_func=no
38523 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38524 conftest
$ac_exeext conftest.
$ac_ext
38527 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38528 { echo "$as_me:$LINENO: result: $ac_res" >&5
38529 echo "${ECHO_T}$ac_res" >&6; }
38531 if eval test \
$wx_cv_func_$wx_func = yes
38533 cat >>confdefs.h
<<_ACEOF
38534 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38547 for wx_func
in strtok_r
38549 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38550 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38551 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38552 echo $ECHO_N "(cached) $ECHO_C" >&6
38555 cat >conftest.
$ac_ext <<_ACEOF
38559 cat confdefs.h
>>conftest.
$ac_ext
38560 cat >>conftest.
$ac_ext <<_ACEOF
38561 /* end confdefs.h. */
38564 $ac_includes_default
38580 rm -f conftest.
$ac_objext conftest
$ac_exeext
38581 if { (ac_try
="$ac_link"
38582 case "(($ac_try" in
38583 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38584 *) ac_try_echo=$ac_try;;
38586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38587 (eval "$ac_link") 2>conftest.er1
38589 grep -v '^ *+' conftest.er1 >conftest.err
38591 cat conftest.err >&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); } && {
38594 test -z "$ac_c_werror_flag" ||
38595 test ! -s conftest.err
38596 } && test -s conftest$ac_exeext &&
38597 $as_test_x conftest$ac_exeext; then
38598 eval wx_cv_func_$wx_func=yes
38600 echo "$as_me: failed program was:" >&5
38601 sed 's/^/| /' conftest.$ac_ext >&5
38603 eval wx_cv_func_$wx_func=no
38606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38607 conftest$ac_exeext conftest.$ac_ext
38610 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38611 { echo "$as_me:$LINENO: result: $ac_res" >&5
38612 echo "${ECHO_T}$ac_res" >&6; }
38614 if eval test \$wx_cv_func_$wx_func = yes
38616 cat >>confdefs.h <<_ACEOF
38617 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38630 for ac_func in inet_addr
38632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38636 echo $ECHO_N "(cached) $ECHO_C" >&6
38638 cat >conftest.$ac_ext <<_ACEOF
38641 cat confdefs.h >>conftest.$ac_ext
38642 cat >>conftest.$ac_ext <<_ACEOF
38643 /* end confdefs.h. */
38644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38646 #define $ac_func innocuous_$ac_func
38648 /* System header to define __stub macros and hopefully few prototypes,
38649 which can conflict with char $ac_func (); below.
38650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38651 <limits.h> exists even on freestanding compilers. */
38654 # include <limits.h>
38656 # include <assert.h>
38661 /* Override any GCC internal prototype to avoid an error.
38662 Use char because int might match the return type of a GCC
38663 builtin and then its argument prototype would still apply. */
38668 /* The GNU C library defines this for functions which it implements
38669 to always fail with ENOSYS. Some functions are actually named
38670 something starting with __ and the normal name is an alias. */
38671 #if defined __stub_$ac_func || defined __stub___$ac_func
38678 return $ac_func ();
38683 rm -f conftest.$ac_objext conftest$ac_exeext
38684 if { (ac_try="$ac_link"
38685 case "(($ac_try" in
38686 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38687 *) ac_try_echo
=$ac_try;;
38689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38690 (eval "$ac_link") 2>conftest.er1
38692 grep -v '^ *+' conftest.er1
>conftest.err
38694 cat conftest.err
>&5
38695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38696 (exit $ac_status); } && {
38697 test -z "$ac_c_werror_flag" ||
38698 test ! -s conftest.err
38699 } && test -s conftest
$ac_exeext &&
38700 $as_test_x conftest
$ac_exeext; then
38701 eval "$as_ac_var=yes"
38703 echo "$as_me: failed program was:" >&5
38704 sed 's/^/| /' conftest.
$ac_ext >&5
38706 eval "$as_ac_var=no"
38709 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38710 conftest
$ac_exeext conftest.
$ac_ext
38712 ac_res
=`eval echo '${'$as_ac_var'}'`
38713 { echo "$as_me:$LINENO: result: $ac_res" >&5
38714 echo "${ECHO_T}$ac_res" >&6; }
38715 if test `eval echo '${'$as_ac_var'}'` = yes; then
38716 cat >>confdefs.h
<<_ACEOF
38717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38719 cat >>confdefs.h
<<\_ACEOF
38720 #define HAVE_INET_ADDR 1
38725 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38726 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38727 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38728 echo $ECHO_N "(cached) $ECHO_C" >&6
38730 ac_check_lib_save_LIBS
=$LIBS
38732 cat >conftest.
$ac_ext <<_ACEOF
38735 cat confdefs.h
>>conftest.
$ac_ext
38736 cat >>conftest.
$ac_ext <<_ACEOF
38737 /* end confdefs.h. */
38739 /* Override any GCC internal prototype to avoid an error.
38740 Use char because int might match the return type of a GCC
38741 builtin and then its argument prototype would still apply. */
38749 return inet_addr ();
38754 rm -f conftest.
$ac_objext conftest
$ac_exeext
38755 if { (ac_try
="$ac_link"
38756 case "(($ac_try" in
38757 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38758 *) ac_try_echo=$ac_try;;
38760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38761 (eval "$ac_link") 2>conftest.er1
38763 grep -v '^ *+' conftest.er1 >conftest.err
38765 cat conftest.err >&5
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); } && {
38768 test -z "$ac_c_werror_flag" ||
38769 test ! -s conftest.err
38770 } && test -s conftest$ac_exeext &&
38771 $as_test_x conftest$ac_exeext; then
38772 ac_cv_lib_nsl_inet_addr=yes
38774 echo "$as_me: failed program was:" >&5
38775 sed 's/^/| /' conftest.$ac_ext >&5
38777 ac_cv_lib_nsl_inet_addr=no
38780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38781 conftest$ac_exeext conftest.$ac_ext
38782 LIBS=$ac_check_lib_save_LIBS
38784 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38785 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38786 if test $ac_cv_lib_nsl_inet_addr = yes; then
38790 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38791 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38792 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38793 echo $ECHO_N "(cached) $ECHO_C" >&6
38795 ac_check_lib_save_LIBS=$LIBS
38796 LIBS="-lresolv $LIBS"
38797 cat >conftest.$ac_ext <<_ACEOF
38800 cat confdefs.h >>conftest.$ac_ext
38801 cat >>conftest.$ac_ext <<_ACEOF
38802 /* end confdefs.h. */
38804 /* Override any GCC internal prototype to avoid an error.
38805 Use char because int might match the return type of a GCC
38806 builtin and then its argument prototype would still apply. */
38814 return inet_addr ();
38819 rm -f conftest.$ac_objext conftest$ac_exeext
38820 if { (ac_try="$ac_link"
38821 case "(($ac_try" in
38822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38823 *) ac_try_echo
=$ac_try;;
38825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38826 (eval "$ac_link") 2>conftest.er1
38828 grep -v '^ *+' conftest.er1
>conftest.err
38830 cat conftest.err
>&5
38831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38832 (exit $ac_status); } && {
38833 test -z "$ac_c_werror_flag" ||
38834 test ! -s conftest.err
38835 } && test -s conftest
$ac_exeext &&
38836 $as_test_x conftest
$ac_exeext; then
38837 ac_cv_lib_resolv_inet_addr
=yes
38839 echo "$as_me: failed program was:" >&5
38840 sed 's/^/| /' conftest.
$ac_ext >&5
38842 ac_cv_lib_resolv_inet_addr
=no
38845 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38846 conftest
$ac_exeext conftest.
$ac_ext
38847 LIBS
=$ac_check_lib_save_LIBS
38849 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38850 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38851 if test $ac_cv_lib_resolv_inet_addr = yes; then
38855 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38856 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38857 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38858 echo $ECHO_N "(cached) $ECHO_C" >&6
38860 ac_check_lib_save_LIBS
=$LIBS
38861 LIBS
="-lsocket $LIBS"
38862 cat >conftest.
$ac_ext <<_ACEOF
38865 cat confdefs.h
>>conftest.
$ac_ext
38866 cat >>conftest.
$ac_ext <<_ACEOF
38867 /* end confdefs.h. */
38869 /* Override any GCC internal prototype to avoid an error.
38870 Use char because int might match the return type of a GCC
38871 builtin and then its argument prototype would still apply. */
38879 return inet_addr ();
38884 rm -f conftest.
$ac_objext conftest
$ac_exeext
38885 if { (ac_try
="$ac_link"
38886 case "(($ac_try" in
38887 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38888 *) ac_try_echo=$ac_try;;
38890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38891 (eval "$ac_link") 2>conftest.er1
38893 grep -v '^ *+' conftest.er1 >conftest.err
38895 cat conftest.err >&5
38896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38897 (exit $ac_status); } && {
38898 test -z "$ac_c_werror_flag" ||
38899 test ! -s conftest.err
38900 } && test -s conftest$ac_exeext &&
38901 $as_test_x conftest$ac_exeext; then
38902 ac_cv_lib_socket_inet_addr=yes
38904 echo "$as_me: failed program was:" >&5
38905 sed 's/^/| /' conftest.$ac_ext >&5
38907 ac_cv_lib_socket_inet_addr=no
38910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38911 conftest$ac_exeext conftest.$ac_ext
38912 LIBS=$ac_check_lib_save_LIBS
38914 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38915 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38916 if test $ac_cv_lib_socket_inet_addr = yes; then
38936 for ac_func in inet_aton
38938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38942 echo $ECHO_N "(cached) $ECHO_C" >&6
38944 cat >conftest.$ac_ext <<_ACEOF
38947 cat confdefs.h >>conftest.$ac_ext
38948 cat >>conftest.$ac_ext <<_ACEOF
38949 /* end confdefs.h. */
38950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38952 #define $ac_func innocuous_$ac_func
38954 /* System header to define __stub macros and hopefully few prototypes,
38955 which can conflict with char $ac_func (); below.
38956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38957 <limits.h> exists even on freestanding compilers. */
38960 # include <limits.h>
38962 # include <assert.h>
38967 /* Override any GCC internal prototype to avoid an error.
38968 Use char because int might match the return type of a GCC
38969 builtin and then its argument prototype would still apply. */
38974 /* The GNU C library defines this for functions which it implements
38975 to always fail with ENOSYS. Some functions are actually named
38976 something starting with __ and the normal name is an alias. */
38977 #if defined __stub_$ac_func || defined __stub___$ac_func
38984 return $ac_func ();
38989 rm -f conftest.$ac_objext conftest$ac_exeext
38990 if { (ac_try="$ac_link"
38991 case "(($ac_try" in
38992 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38993 *) ac_try_echo
=$ac_try;;
38995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38996 (eval "$ac_link") 2>conftest.er1
38998 grep -v '^ *+' conftest.er1
>conftest.err
39000 cat conftest.err
>&5
39001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002 (exit $ac_status); } && {
39003 test -z "$ac_c_werror_flag" ||
39004 test ! -s conftest.err
39005 } && test -s conftest
$ac_exeext &&
39006 $as_test_x conftest
$ac_exeext; then
39007 eval "$as_ac_var=yes"
39009 echo "$as_me: failed program was:" >&5
39010 sed 's/^/| /' conftest.
$ac_ext >&5
39012 eval "$as_ac_var=no"
39015 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39016 conftest
$ac_exeext conftest.
$ac_ext
39018 ac_res
=`eval echo '${'$as_ac_var'}'`
39019 { echo "$as_me:$LINENO: result: $ac_res" >&5
39020 echo "${ECHO_T}$ac_res" >&6; }
39021 if test `eval echo '${'$as_ac_var'}'` = yes; then
39022 cat >>confdefs.h
<<_ACEOF
39023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39025 cat >>confdefs.h
<<\_ACEOF
39026 #define HAVE_INET_ATON 1
39031 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39032 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39033 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39034 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39035 echo $ECHO_N "(cached) $ECHO_C" >&6
39037 ac_check_lib_save_LIBS
=$LIBS
39038 LIBS
="-l$INET_LINK $LIBS"
39039 cat >conftest.
$ac_ext <<_ACEOF
39042 cat confdefs.h
>>conftest.
$ac_ext
39043 cat >>conftest.
$ac_ext <<_ACEOF
39044 /* end confdefs.h. */
39046 /* Override any GCC internal prototype to avoid an error.
39047 Use char because int might match the return type of a GCC
39048 builtin and then its argument prototype would still apply. */
39056 return inet_aton ();
39061 rm -f conftest.
$ac_objext conftest
$ac_exeext
39062 if { (ac_try
="$ac_link"
39063 case "(($ac_try" in
39064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39065 *) ac_try_echo=$ac_try;;
39067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39068 (eval "$ac_link") 2>conftest.er1
39070 grep -v '^ *+' conftest.er1 >conftest.err
39072 cat conftest.err >&5
39073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39074 (exit $ac_status); } && {
39075 test -z "$ac_c_werror_flag" ||
39076 test ! -s conftest.err
39077 } && test -s conftest$ac_exeext &&
39078 $as_test_x conftest$ac_exeext; then
39079 eval "$as_ac_Lib=yes"
39081 echo "$as_me: failed program was:" >&5
39082 sed 's/^/| /' conftest.$ac_ext >&5
39084 eval "$as_ac_Lib=no"
39087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39088 conftest$ac_exeext conftest.$ac_ext
39089 LIBS=$ac_check_lib_save_LIBS
39091 ac_res=`eval echo '${'$as_ac_Lib'}'`
39092 { echo "$as_me:$LINENO: result: $ac_res" >&5
39093 echo "${ECHO_T}$ac_res" >&6; }
39094 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39095 cat >>confdefs.h <<\_ACEOF
39096 #define HAVE_INET_ATON 1
39106 if test "x$INET_LINK" != "x"; then
39107 cat >>confdefs.h <<\_ACEOF
39108 #define HAVE_INET_ADDR 1
39111 INET_LINK=" -l$INET_LINK"
39115 for wx_func in fdopen
39117 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39118 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39119 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39120 echo $ECHO_N "(cached) $ECHO_C" >&6
39123 cat >conftest.$ac_ext <<_ACEOF
39127 cat confdefs.h >>conftest.$ac_ext
39128 cat >>conftest.$ac_ext <<_ACEOF
39129 /* end confdefs.h. */
39132 $ac_includes_default
39148 rm -f conftest.$ac_objext conftest$ac_exeext
39149 if { (ac_try="$ac_link"
39150 case "(($ac_try" in
39151 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39152 *) ac_try_echo
=$ac_try;;
39154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39155 (eval "$ac_link") 2>conftest.er1
39157 grep -v '^ *+' conftest.er1
>conftest.err
39159 cat conftest.err
>&5
39160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39161 (exit $ac_status); } && {
39162 test -z "$ac_c_werror_flag" ||
39163 test ! -s conftest.err
39164 } && test -s conftest
$ac_exeext &&
39165 $as_test_x conftest
$ac_exeext; then
39166 eval wx_cv_func_
$wx_func=yes
39168 echo "$as_me: failed program was:" >&5
39169 sed 's/^/| /' conftest.
$ac_ext >&5
39171 eval wx_cv_func_
$wx_func=no
39174 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39175 conftest
$ac_exeext conftest.
$ac_ext
39178 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39179 { echo "$as_me:$LINENO: result: $ac_res" >&5
39180 echo "${ECHO_T}$ac_res" >&6; }
39182 if eval test \
$wx_cv_func_$wx_func = yes
39184 cat >>confdefs.h
<<_ACEOF
39185 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39196 if test "$wxUSE_TARSTREAM" = "yes"; then
39198 for wx_func
in sysconf
39200 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39201 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39202 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39203 echo $ECHO_N "(cached) $ECHO_C" >&6
39206 cat >conftest.
$ac_ext <<_ACEOF
39210 cat confdefs.h
>>conftest.
$ac_ext
39211 cat >>conftest.
$ac_ext <<_ACEOF
39212 /* end confdefs.h. */
39215 $ac_includes_default
39231 rm -f conftest.
$ac_objext conftest
$ac_exeext
39232 if { (ac_try
="$ac_link"
39233 case "(($ac_try" in
39234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39235 *) ac_try_echo=$ac_try;;
39237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39238 (eval "$ac_link") 2>conftest.er1
39240 grep -v '^ *+' conftest.er1 >conftest.err
39242 cat conftest.err >&5
39243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39244 (exit $ac_status); } && {
39245 test -z "$ac_c_werror_flag" ||
39246 test ! -s conftest.err
39247 } && test -s conftest$ac_exeext &&
39248 $as_test_x conftest$ac_exeext; then
39249 eval wx_cv_func_$wx_func=yes
39251 echo "$as_me: failed program was:" >&5
39252 sed 's/^/| /' conftest.$ac_ext >&5
39254 eval wx_cv_func_$wx_func=no
39257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39258 conftest$ac_exeext conftest.$ac_ext
39261 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39262 { echo "$as_me:$LINENO: result: $ac_res" >&5
39263 echo "${ECHO_T}$ac_res" >&6; }
39265 if eval test \$wx_cv_func_$wx_func = yes
39267 cat >>confdefs.h <<_ACEOF
39268 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39280 for wx_func in getpwuid_r
39282 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39283 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39284 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39285 echo $ECHO_N "(cached) $ECHO_C" >&6
39288 cat >conftest.$ac_ext <<_ACEOF
39292 cat confdefs.h >>conftest.$ac_ext
39293 cat >>conftest.$ac_ext <<_ACEOF
39294 /* end confdefs.h. */
39300 $ac_includes_default
39310 struct passwd pw, *ppw;
39312 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39320 rm -f conftest.$ac_objext conftest$ac_exeext
39321 if { (ac_try="$ac_link"
39322 case "(($ac_try" in
39323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39324 *) ac_try_echo
=$ac_try;;
39326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39327 (eval "$ac_link") 2>conftest.er1
39329 grep -v '^ *+' conftest.er1
>conftest.err
39331 cat conftest.err
>&5
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); } && {
39334 test -z "$ac_c_werror_flag" ||
39335 test ! -s conftest.err
39336 } && test -s conftest
$ac_exeext &&
39337 $as_test_x conftest
$ac_exeext; then
39338 eval wx_cv_func_
$wx_func=yes
39340 echo "$as_me: failed program was:" >&5
39341 sed 's/^/| /' conftest.
$ac_ext >&5
39343 eval wx_cv_func_
$wx_func=no
39346 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39347 conftest
$ac_exeext conftest.
$ac_ext
39350 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39351 { echo "$as_me:$LINENO: result: $ac_res" >&5
39352 echo "${ECHO_T}$ac_res" >&6; }
39354 if eval test \
$wx_cv_func_$wx_func = yes
39356 cat >>confdefs.h
<<_ACEOF
39357 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39369 for wx_func
in getgrgid_r
39371 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39372 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39373 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39374 echo $ECHO_N "(cached) $ECHO_C" >&6
39377 cat >conftest.
$ac_ext <<_ACEOF
39381 cat confdefs.h
>>conftest.
$ac_ext
39382 cat >>conftest.
$ac_ext <<_ACEOF
39383 /* end confdefs.h. */
39389 $ac_includes_default
39399 struct group grp, *pgrp;
39401 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39409 rm -f conftest.
$ac_objext conftest
$ac_exeext
39410 if { (ac_try
="$ac_link"
39411 case "(($ac_try" in
39412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39413 *) ac_try_echo=$ac_try;;
39415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39416 (eval "$ac_link") 2>conftest.er1
39418 grep -v '^ *+' conftest.er1 >conftest.err
39420 cat conftest.err >&5
39421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39422 (exit $ac_status); } && {
39423 test -z "$ac_c_werror_flag" ||
39424 test ! -s conftest.err
39425 } && test -s conftest$ac_exeext &&
39426 $as_test_x conftest$ac_exeext; then
39427 eval wx_cv_func_$wx_func=yes
39429 echo "$as_me: failed program was:" >&5
39430 sed 's/^/| /' conftest.$ac_ext >&5
39432 eval wx_cv_func_$wx_func=no
39435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39436 conftest$ac_exeext conftest.$ac_ext
39439 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39440 { echo "$as_me:$LINENO: result: $ac_res" >&5
39441 echo "${ECHO_T}$ac_res" >&6; }
39443 if eval test \$wx_cv_func_$wx_func = yes
39445 cat >>confdefs.h <<_ACEOF
39446 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39462 cat >confcache <<\_ACEOF
39463 # This file is a shell script that caches the results of configure
39464 # tests run on this system so they can be shared between configure
39465 # scripts and configure runs, see configure's option --config-cache.
39466 # It is not useful on other systems. If it contains results you don't
39467 # want to keep, you may remove or edit it.
39469 # config.status only pays attention to the cache file if you give it
39470 # the --recheck option to rerun configure.
39472 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39473 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39474 # following values.
39478 # The following way of writing the cache mishandles newlines in values,
39479 # but we know of no workaround that is simple, portable, and efficient.
39480 # So, we kill variables containing newlines.
39481 # Ultrix sh set writes to stderr and can't be redirected directly,
39482 # and sets the high bit in the cache file unless we assign to the vars.
39484 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39485 eval ac_val
=\$
$ac_var
39489 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39490 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39493 _
| IFS
| as_nl
) ;; #(
39494 *) $as_unset $ac_var ;;
39500 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39501 *${as_nl}ac_space
=\
*)
39502 # `set' does not quote correctly, so add quotes (double-quote
39503 # substitution turns \\\\ into \\, and sed turns \\ into \).
39506 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39509 # `set' quotes correctly as required by POSIX, so do not add quotes.
39510 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39519 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39521 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39523 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39524 if test -w "$cache_file"; then
39525 test "x$cache_file" != "x/dev/null" &&
39526 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39527 echo "$as_me: updating cache $cache_file" >&6;}
39528 cat confcache
>$cache_file
39530 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39531 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39537 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39543 if test "$wxUSE_THREADS" = "yes" ; then
39544 if test "$USE_BEOS" = 1; then
39545 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39546 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39551 if test "$wxUSE_THREADS" = "yes" ; then
39554 THREAD_OPTS
="-pthread"
39555 if test "x$SUNCXX" = xyes
; then
39556 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
39560 *-*-solaris2* | *-*-sunos4* )
39561 if test "x$GCC" = "xyes"; then
39562 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39566 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39568 *-*-darwin* | *-*-cygwin* )
39572 THREAD_OPTS
="pthreads"
39575 if test "x$GCC" = "xyes"; then
39576 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39584 if test "x$GCC" = "xyes"; then
39594 if test "x$GCC" != "xyes"; then
39595 THREAD_OPTS
="-Ethread"
39602 THREAD_OPTS
="none pthread"
39606 THREAD_OPTS
="$THREAD_OPTS pthread none"
39611 for flag
in $THREAD_OPTS; do
39614 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39615 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39619 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39620 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39621 THREADS_CFLAGS
="$flag"
39625 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39626 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39627 THREADS_LINK
="-l$flag"
39632 save_CFLAGS
="$CFLAGS"
39633 LIBS
="$THREADS_LINK $LIBS"
39634 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39636 cat >conftest.
$ac_ext <<_ACEOF
39639 cat confdefs.h
>>conftest.
$ac_ext
39640 cat >>conftest.
$ac_ext <<_ACEOF
39641 /* end confdefs.h. */
39642 #include <pthread.h>
39646 pthread_create(0,0,0,0);
39651 rm -f conftest.
$ac_objext conftest
$ac_exeext
39652 if { (ac_try
="$ac_link"
39653 case "(($ac_try" in
39654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39655 *) ac_try_echo=$ac_try;;
39657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39658 (eval "$ac_link") 2>conftest.er1
39660 grep -v '^ *+' conftest.er1 >conftest.err
39662 cat conftest.err >&5
39663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664 (exit $ac_status); } && {
39665 test -z "$ac_c_werror_flag" ||
39666 test ! -s conftest.err
39667 } && test -s conftest$ac_exeext &&
39668 $as_test_x conftest$ac_exeext; then
39671 echo "$as_me: failed program was:" >&5
39672 sed 's/^/| /' conftest.$ac_ext >&5
39677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39678 conftest$ac_exeext conftest.$ac_ext
39681 CFLAGS="$save_CFLAGS"
39683 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39684 echo "${ECHO_T}$THREADS_OK" >&6; }
39685 if test "x$THREADS_OK" = "xyes"; then
39693 if test "x$THREADS_OK" != "xyes"; then
39695 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39696 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39698 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39699 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39700 LIBS="$THREADS_LINK $LIBS"
39702 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39703 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39707 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39708 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39709 flag="-D_THREAD_SAFE"
39712 flag="-D_THREAD_SAFE"
39715 flag="-D_REENTRANT"
39716 if test "x$GCC" != "xyes"; then
39717 flag="$flag -D_RWSTD_MULTI_THREAD"
39720 *solaris* | alpha*-osf*)
39721 flag="-D_REENTRANT"
39724 { echo "$as_me:$LINENO: result: ${flag}" >&5
39725 echo "${ECHO_T}${flag}" >&6; }
39726 if test "x$flag" != xno; then
39727 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39730 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39734 if test "$wxUSE_THREADS" = "yes" ; then
39736 for ac_func in thr_setconcurrency
39738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39742 echo $ECHO_N "(cached) $ECHO_C" >&6
39744 cat >conftest.$ac_ext <<_ACEOF
39747 cat confdefs.h >>conftest.$ac_ext
39748 cat >>conftest.$ac_ext <<_ACEOF
39749 /* end confdefs.h. */
39750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39752 #define $ac_func innocuous_$ac_func
39754 /* System header to define __stub macros and hopefully few prototypes,
39755 which can conflict with char $ac_func (); below.
39756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39757 <limits.h> exists even on freestanding compilers. */
39760 # include <limits.h>
39762 # include <assert.h>
39767 /* Override any GCC internal prototype to avoid an error.
39768 Use char because int might match the return type of a GCC
39769 builtin and then its argument prototype would still apply. */
39774 /* The GNU C library defines this for functions which it implements
39775 to always fail with ENOSYS. Some functions are actually named
39776 something starting with __ and the normal name is an alias. */
39777 #if defined __stub_$ac_func || defined __stub___$ac_func
39784 return $ac_func ();
39789 rm -f conftest.$ac_objext conftest$ac_exeext
39790 if { (ac_try="$ac_link"
39791 case "(($ac_try" in
39792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39793 *) ac_try_echo
=$ac_try;;
39795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39796 (eval "$ac_link") 2>conftest.er1
39798 grep -v '^ *+' conftest.er1
>conftest.err
39800 cat conftest.err
>&5
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); } && {
39803 test -z "$ac_c_werror_flag" ||
39804 test ! -s conftest.err
39805 } && test -s conftest
$ac_exeext &&
39806 $as_test_x conftest
$ac_exeext; then
39807 eval "$as_ac_var=yes"
39809 echo "$as_me: failed program was:" >&5
39810 sed 's/^/| /' conftest.
$ac_ext >&5
39812 eval "$as_ac_var=no"
39815 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39816 conftest
$ac_exeext conftest.
$ac_ext
39818 ac_res
=`eval echo '${'$as_ac_var'}'`
39819 { echo "$as_me:$LINENO: result: $ac_res" >&5
39820 echo "${ECHO_T}$ac_res" >&6; }
39821 if test `eval echo '${'$as_ac_var'}'` = yes; then
39822 cat >>confdefs.h
<<_ACEOF
39823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39830 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39831 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39832 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39833 echo $ECHO_N "(cached) $ECHO_C" >&6
39837 ac_cpp
='$CXXCPP $CPPFLAGS'
39838 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39839 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39840 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39842 cat >conftest.
$ac_ext <<_ACEOF
39845 cat confdefs.h
>>conftest.
$ac_ext
39846 cat >>conftest.
$ac_ext <<_ACEOF
39847 /* end confdefs.h. */
39848 #include <pthread.h>
39849 void ThreadCleanupFunc(void *p);
39856 pthread_cleanup_push(ThreadCleanupFunc, p);
39857 pthread_cleanup_pop(0);
39863 rm -f conftest.
$ac_objext
39864 if { (ac_try
="$ac_compile"
39865 case "(($ac_try" in
39866 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39867 *) ac_try_echo=$ac_try;;
39869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39870 (eval "$ac_compile") 2>conftest.er1
39872 grep -v '^ *+' conftest.er1 >conftest.err
39874 cat conftest.err >&5
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); } && {
39877 test -z "$ac_cxx_werror_flag" ||
39878 test ! -s conftest.err
39879 } && test -s conftest.$ac_objext; then
39881 wx_cv_func_pthread_cleanup=yes
39884 echo "$as_me: failed program was:" >&5
39885 sed 's/^/| /' conftest.$ac_ext >&5
39888 wx_cv_func_pthread_cleanup=no
39893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39895 ac_cpp='$CPP $CPPFLAGS'
39896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39902 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39903 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39904 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39905 cat >>confdefs.h <<\_ACEOF
39906 #define wxHAVE_PTHREAD_CLEANUP 1
39912 for ac_header in sched.h
39914 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39915 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39917 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39918 echo $ECHO_N "(cached) $ECHO_C" >&6
39920 cat >conftest.$ac_ext <<_ACEOF
39923 cat confdefs.h >>conftest.$ac_ext
39924 cat >>conftest.$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39926 $ac_includes_default
39928 #include <$ac_header>
39930 rm -f conftest.$ac_objext
39931 if { (ac_try="$ac_compile"
39932 case "(($ac_try" in
39933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39934 *) ac_try_echo
=$ac_try;;
39936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39937 (eval "$ac_compile") 2>conftest.er1
39939 grep -v '^ *+' conftest.er1
>conftest.err
39941 cat conftest.err
>&5
39942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39943 (exit $ac_status); } && {
39944 test -z "$ac_c_werror_flag" ||
39945 test ! -s conftest.err
39946 } && test -s conftest.
$ac_objext; then
39947 eval "$as_ac_Header=yes"
39949 echo "$as_me: failed program was:" >&5
39950 sed 's/^/| /' conftest.
$ac_ext >&5
39952 eval "$as_ac_Header=no"
39955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39957 ac_res
=`eval echo '${'$as_ac_Header'}'`
39958 { echo "$as_me:$LINENO: result: $ac_res" >&5
39959 echo "${ECHO_T}$ac_res" >&6; }
39960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39961 cat >>confdefs.h
<<_ACEOF
39962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39969 if test "$ac_cv_header_sched_h" = "yes"; then
39970 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39971 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39972 if test "${ac_cv_func_sched_yield+set}" = set; then
39973 echo $ECHO_N "(cached) $ECHO_C" >&6
39975 cat >conftest.
$ac_ext <<_ACEOF
39978 cat confdefs.h
>>conftest.
$ac_ext
39979 cat >>conftest.
$ac_ext <<_ACEOF
39980 /* end confdefs.h. */
39981 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39983 #define sched_yield innocuous_sched_yield
39985 /* System header to define __stub macros and hopefully few prototypes,
39986 which can conflict with char sched_yield (); below.
39987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39988 <limits.h> exists even on freestanding compilers. */
39991 # include <limits.h>
39993 # include <assert.h>
39998 /* Override any GCC internal prototype to avoid an error.
39999 Use char because int might match the return type of a GCC
40000 builtin and then its argument prototype would still apply. */
40004 char sched_yield ();
40005 /* The GNU C library defines this for functions which it implements
40006 to always fail with ENOSYS. Some functions are actually named
40007 something starting with __ and the normal name is an alias. */
40008 #if defined __stub_sched_yield || defined __stub___sched_yield
40015 return sched_yield ();
40020 rm -f conftest.
$ac_objext conftest
$ac_exeext
40021 if { (ac_try
="$ac_link"
40022 case "(($ac_try" in
40023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40024 *) ac_try_echo=$ac_try;;
40026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40027 (eval "$ac_link") 2>conftest.er1
40029 grep -v '^ *+' conftest.er1 >conftest.err
40031 cat conftest.err >&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); } && {
40034 test -z "$ac_c_werror_flag" ||
40035 test ! -s conftest.err
40036 } && test -s conftest$ac_exeext &&
40037 $as_test_x conftest$ac_exeext; then
40038 ac_cv_func_sched_yield=yes
40040 echo "$as_me: failed program was:" >&5
40041 sed 's/^/| /' conftest.$ac_ext >&5
40043 ac_cv_func_sched_yield=no
40046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40047 conftest$ac_exeext conftest.$ac_ext
40049 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40050 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40051 if test $ac_cv_func_sched_yield = yes; then
40052 cat >>confdefs.h <<\_ACEOF
40053 #define HAVE_SCHED_YIELD 1
40058 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40059 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40060 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40061 echo $ECHO_N "(cached) $ECHO_C" >&6
40063 ac_check_lib_save_LIBS=$LIBS
40064 LIBS="-lposix4 $LIBS"
40065 cat >conftest.$ac_ext <<_ACEOF
40068 cat confdefs.h >>conftest.$ac_ext
40069 cat >>conftest.$ac_ext <<_ACEOF
40070 /* end confdefs.h. */
40072 /* Override any GCC internal prototype to avoid an error.
40073 Use char because int might match the return type of a GCC
40074 builtin and then its argument prototype would still apply. */
40078 char sched_yield ();
40082 return sched_yield ();
40087 rm -f conftest.$ac_objext conftest$ac_exeext
40088 if { (ac_try="$ac_link"
40089 case "(($ac_try" in
40090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40091 *) ac_try_echo
=$ac_try;;
40093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40094 (eval "$ac_link") 2>conftest.er1
40096 grep -v '^ *+' conftest.er1
>conftest.err
40098 cat conftest.err
>&5
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); } && {
40101 test -z "$ac_c_werror_flag" ||
40102 test ! -s conftest.err
40103 } && test -s conftest
$ac_exeext &&
40104 $as_test_x conftest
$ac_exeext; then
40105 ac_cv_lib_posix4_sched_yield
=yes
40107 echo "$as_me: failed program was:" >&5
40108 sed 's/^/| /' conftest.
$ac_ext >&5
40110 ac_cv_lib_posix4_sched_yield
=no
40113 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40114 conftest
$ac_exeext conftest.
$ac_ext
40115 LIBS
=$ac_check_lib_save_LIBS
40117 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40118 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40119 if test $ac_cv_lib_posix4_sched_yield = yes; then
40120 cat >>confdefs.h
<<\_ACEOF
40121 #define HAVE_SCHED_YIELD 1
40123 POSIX4_LINK
=" -lposix4"
40125 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40126 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40137 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40138 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40139 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40140 echo $ECHO_N "(cached) $ECHO_C" >&6
40142 cat >conftest.
$ac_ext <<_ACEOF
40145 cat confdefs.h
>>conftest.
$ac_ext
40146 cat >>conftest.
$ac_ext <<_ACEOF
40147 /* end confdefs.h. */
40148 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40150 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40152 /* System header to define __stub macros and hopefully few prototypes,
40153 which can conflict with char pthread_attr_getschedpolicy (); below.
40154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40155 <limits.h> exists even on freestanding compilers. */
40158 # include <limits.h>
40160 # include <assert.h>
40163 #undef pthread_attr_getschedpolicy
40165 /* Override any GCC internal prototype to avoid an error.
40166 Use char because int might match the return type of a GCC
40167 builtin and then its argument prototype would still apply. */
40171 char pthread_attr_getschedpolicy ();
40172 /* The GNU C library defines this for functions which it implements
40173 to always fail with ENOSYS. Some functions are actually named
40174 something starting with __ and the normal name is an alias. */
40175 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40182 return pthread_attr_getschedpolicy ();
40187 rm -f conftest.
$ac_objext conftest
$ac_exeext
40188 if { (ac_try
="$ac_link"
40189 case "(($ac_try" in
40190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40191 *) ac_try_echo=$ac_try;;
40193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40194 (eval "$ac_link") 2>conftest.er1
40196 grep -v '^ *+' conftest.er1 >conftest.err
40198 cat conftest.err >&5
40199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40200 (exit $ac_status); } && {
40201 test -z "$ac_c_werror_flag" ||
40202 test ! -s conftest.err
40203 } && test -s conftest$ac_exeext &&
40204 $as_test_x conftest$ac_exeext; then
40205 ac_cv_func_pthread_attr_getschedpolicy=yes
40207 echo "$as_me: failed program was:" >&5
40208 sed 's/^/| /' conftest.$ac_ext >&5
40210 ac_cv_func_pthread_attr_getschedpolicy=no
40213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40214 conftest$ac_exeext conftest.$ac_ext
40216 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40217 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40218 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40219 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40220 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40221 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40222 echo $ECHO_N "(cached) $ECHO_C" >&6
40224 cat >conftest.$ac_ext <<_ACEOF
40227 cat confdefs.h >>conftest.$ac_ext
40228 cat >>conftest.$ac_ext <<_ACEOF
40229 /* end confdefs.h. */
40230 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40232 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40234 /* System header to define __stub macros and hopefully few prototypes,
40235 which can conflict with char pthread_attr_setschedparam (); below.
40236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40237 <limits.h> exists even on freestanding compilers. */
40240 # include <limits.h>
40242 # include <assert.h>
40245 #undef pthread_attr_setschedparam
40247 /* Override any GCC internal prototype to avoid an error.
40248 Use char because int might match the return type of a GCC
40249 builtin and then its argument prototype would still apply. */
40253 char pthread_attr_setschedparam ();
40254 /* The GNU C library defines this for functions which it implements
40255 to always fail with ENOSYS. Some functions are actually named
40256 something starting with __ and the normal name is an alias. */
40257 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40264 return pthread_attr_setschedparam ();
40269 rm -f conftest.$ac_objext conftest$ac_exeext
40270 if { (ac_try="$ac_link"
40271 case "(($ac_try" in
40272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40273 *) ac_try_echo
=$ac_try;;
40275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40276 (eval "$ac_link") 2>conftest.er1
40278 grep -v '^ *+' conftest.er1
>conftest.err
40280 cat conftest.err
>&5
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); } && {
40283 test -z "$ac_c_werror_flag" ||
40284 test ! -s conftest.err
40285 } && test -s conftest
$ac_exeext &&
40286 $as_test_x conftest
$ac_exeext; then
40287 ac_cv_func_pthread_attr_setschedparam
=yes
40289 echo "$as_me: failed program was:" >&5
40290 sed 's/^/| /' conftest.
$ac_ext >&5
40292 ac_cv_func_pthread_attr_setschedparam
=no
40295 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40296 conftest
$ac_exeext conftest.
$ac_ext
40298 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40299 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40300 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40301 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40302 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40303 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40304 echo $ECHO_N "(cached) $ECHO_C" >&6
40306 cat >conftest.
$ac_ext <<_ACEOF
40309 cat confdefs.h
>>conftest.
$ac_ext
40310 cat >>conftest.
$ac_ext <<_ACEOF
40311 /* end confdefs.h. */
40312 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40314 #define sched_get_priority_max innocuous_sched_get_priority_max
40316 /* System header to define __stub macros and hopefully few prototypes,
40317 which can conflict with char sched_get_priority_max (); below.
40318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40319 <limits.h> exists even on freestanding compilers. */
40322 # include <limits.h>
40324 # include <assert.h>
40327 #undef sched_get_priority_max
40329 /* Override any GCC internal prototype to avoid an error.
40330 Use char because int might match the return type of a GCC
40331 builtin and then its argument prototype would still apply. */
40335 char sched_get_priority_max ();
40336 /* The GNU C library defines this for functions which it implements
40337 to always fail with ENOSYS. Some functions are actually named
40338 something starting with __ and the normal name is an alias. */
40339 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40346 return sched_get_priority_max ();
40351 rm -f conftest.
$ac_objext conftest
$ac_exeext
40352 if { (ac_try
="$ac_link"
40353 case "(($ac_try" in
40354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40355 *) ac_try_echo=$ac_try;;
40357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40358 (eval "$ac_link") 2>conftest.er1
40360 grep -v '^ *+' conftest.er1 >conftest.err
40362 cat conftest.err >&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); } && {
40365 test -z "$ac_c_werror_flag" ||
40366 test ! -s conftest.err
40367 } && test -s conftest$ac_exeext &&
40368 $as_test_x conftest$ac_exeext; then
40369 ac_cv_func_sched_get_priority_max=yes
40371 echo "$as_me: failed program was:" >&5
40372 sed 's/^/| /' conftest.$ac_ext >&5
40374 ac_cv_func_sched_get_priority_max=no
40377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40378 conftest$ac_exeext conftest.$ac_ext
40380 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40381 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40382 if test $ac_cv_func_sched_get_priority_max = yes; then
40385 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40386 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40387 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40388 echo $ECHO_N "(cached) $ECHO_C" >&6
40390 ac_check_lib_save_LIBS=$LIBS
40391 LIBS="-lposix4 $LIBS"
40392 cat >conftest.$ac_ext <<_ACEOF
40395 cat confdefs.h >>conftest.$ac_ext
40396 cat >>conftest.$ac_ext <<_ACEOF
40397 /* end confdefs.h. */
40399 /* Override any GCC internal prototype to avoid an error.
40400 Use char because int might match the return type of a GCC
40401 builtin and then its argument prototype would still apply. */
40405 char sched_get_priority_max ();
40409 return sched_get_priority_max ();
40414 rm -f conftest.$ac_objext conftest$ac_exeext
40415 if { (ac_try="$ac_link"
40416 case "(($ac_try" in
40417 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40418 *) ac_try_echo
=$ac_try;;
40420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40421 (eval "$ac_link") 2>conftest.er1
40423 grep -v '^ *+' conftest.er1
>conftest.err
40425 cat conftest.err
>&5
40426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40427 (exit $ac_status); } && {
40428 test -z "$ac_c_werror_flag" ||
40429 test ! -s conftest.err
40430 } && test -s conftest
$ac_exeext &&
40431 $as_test_x conftest
$ac_exeext; then
40432 ac_cv_lib_posix4_sched_get_priority_max
=yes
40434 echo "$as_me: failed program was:" >&5
40435 sed 's/^/| /' conftest.
$ac_ext >&5
40437 ac_cv_lib_posix4_sched_get_priority_max
=no
40440 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40441 conftest
$ac_exeext conftest.
$ac_ext
40442 LIBS
=$ac_check_lib_save_LIBS
40444 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40445 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40446 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40449 POSIX4_LINK
=" -lposix4"
40463 if test "$HAVE_PRIOR_FUNCS" = 1; then
40464 cat >>confdefs.h
<<\_ACEOF
40465 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40469 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40470 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40473 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40474 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40475 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40476 echo $ECHO_N "(cached) $ECHO_C" >&6
40478 cat >conftest.
$ac_ext <<_ACEOF
40481 cat confdefs.h
>>conftest.
$ac_ext
40482 cat >>conftest.
$ac_ext <<_ACEOF
40483 /* end confdefs.h. */
40484 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40486 #define pthread_cancel innocuous_pthread_cancel
40488 /* System header to define __stub macros and hopefully few prototypes,
40489 which can conflict with char pthread_cancel (); below.
40490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40491 <limits.h> exists even on freestanding compilers. */
40494 # include <limits.h>
40496 # include <assert.h>
40499 #undef pthread_cancel
40501 /* Override any GCC internal prototype to avoid an error.
40502 Use char because int might match the return type of a GCC
40503 builtin and then its argument prototype would still apply. */
40507 char pthread_cancel ();
40508 /* The GNU C library defines this for functions which it implements
40509 to always fail with ENOSYS. Some functions are actually named
40510 something starting with __ and the normal name is an alias. */
40511 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40518 return pthread_cancel ();
40523 rm -f conftest.
$ac_objext conftest
$ac_exeext
40524 if { (ac_try
="$ac_link"
40525 case "(($ac_try" in
40526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40527 *) ac_try_echo=$ac_try;;
40529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40530 (eval "$ac_link") 2>conftest.er1
40532 grep -v '^ *+' conftest.er1 >conftest.err
40534 cat conftest.err >&5
40535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40536 (exit $ac_status); } && {
40537 test -z "$ac_c_werror_flag" ||
40538 test ! -s conftest.err
40539 } && test -s conftest$ac_exeext &&
40540 $as_test_x conftest$ac_exeext; then
40541 ac_cv_func_pthread_cancel=yes
40543 echo "$as_me: failed program was:" >&5
40544 sed 's/^/| /' conftest.$ac_ext >&5
40546 ac_cv_func_pthread_cancel=no
40549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40550 conftest$ac_exeext conftest.$ac_ext
40552 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40553 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40554 if test $ac_cv_func_pthread_cancel = yes; then
40555 cat >>confdefs.h <<\_ACEOF
40556 #define HAVE_PTHREAD_CANCEL 1
40560 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40561 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40565 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40566 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40567 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40568 echo $ECHO_N "(cached) $ECHO_C" >&6
40570 cat >conftest.$ac_ext <<_ACEOF
40573 cat confdefs.h >>conftest.$ac_ext
40574 cat >>conftest.$ac_ext <<_ACEOF
40575 /* end confdefs.h. */
40576 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40578 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40580 /* System header to define __stub macros and hopefully few prototypes,
40581 which can conflict with char pthread_mutex_timedlock (); below.
40582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40583 <limits.h> exists even on freestanding compilers. */
40586 # include <limits.h>
40588 # include <assert.h>
40591 #undef pthread_mutex_timedlock
40593 /* Override any GCC internal prototype to avoid an error.
40594 Use char because int might match the return type of a GCC
40595 builtin and then its argument prototype would still apply. */
40599 char pthread_mutex_timedlock ();
40600 /* The GNU C library defines this for functions which it implements
40601 to always fail with ENOSYS. Some functions are actually named
40602 something starting with __ and the normal name is an alias. */
40603 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40610 return pthread_mutex_timedlock ();
40615 rm -f conftest.$ac_objext conftest$ac_exeext
40616 if { (ac_try="$ac_link"
40617 case "(($ac_try" in
40618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40619 *) ac_try_echo
=$ac_try;;
40621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40622 (eval "$ac_link") 2>conftest.er1
40624 grep -v '^ *+' conftest.er1
>conftest.err
40626 cat conftest.err
>&5
40627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40628 (exit $ac_status); } && {
40629 test -z "$ac_c_werror_flag" ||
40630 test ! -s conftest.err
40631 } && test -s conftest
$ac_exeext &&
40632 $as_test_x conftest
$ac_exeext; then
40633 ac_cv_func_pthread_mutex_timedlock
=yes
40635 echo "$as_me: failed program was:" >&5
40636 sed 's/^/| /' conftest.
$ac_ext >&5
40638 ac_cv_func_pthread_mutex_timedlock
=no
40641 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40642 conftest
$ac_exeext conftest.
$ac_ext
40644 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40645 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40646 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40647 cat >>confdefs.h
<<\_ACEOF
40648 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40652 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40653 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40657 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40658 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40659 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40660 echo $ECHO_N "(cached) $ECHO_C" >&6
40662 cat >conftest.
$ac_ext <<_ACEOF
40665 cat confdefs.h
>>conftest.
$ac_ext
40666 cat >>conftest.
$ac_ext <<_ACEOF
40667 /* end confdefs.h. */
40668 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40670 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40672 /* System header to define __stub macros and hopefully few prototypes,
40673 which can conflict with char pthread_attr_setstacksize (); below.
40674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40675 <limits.h> exists even on freestanding compilers. */
40678 # include <limits.h>
40680 # include <assert.h>
40683 #undef pthread_attr_setstacksize
40685 /* Override any GCC internal prototype to avoid an error.
40686 Use char because int might match the return type of a GCC
40687 builtin and then its argument prototype would still apply. */
40691 char pthread_attr_setstacksize ();
40692 /* The GNU C library defines this for functions which it implements
40693 to always fail with ENOSYS. Some functions are actually named
40694 something starting with __ and the normal name is an alias. */
40695 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40702 return pthread_attr_setstacksize ();
40707 rm -f conftest.
$ac_objext conftest
$ac_exeext
40708 if { (ac_try
="$ac_link"
40709 case "(($ac_try" in
40710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40711 *) ac_try_echo=$ac_try;;
40713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40714 (eval "$ac_link") 2>conftest.er1
40716 grep -v '^ *+' conftest.er1 >conftest.err
40718 cat conftest.err >&5
40719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40720 (exit $ac_status); } && {
40721 test -z "$ac_c_werror_flag" ||
40722 test ! -s conftest.err
40723 } && test -s conftest$ac_exeext &&
40724 $as_test_x conftest$ac_exeext; then
40725 ac_cv_func_pthread_attr_setstacksize=yes
40727 echo "$as_me: failed program was:" >&5
40728 sed 's/^/| /' conftest.$ac_ext >&5
40730 ac_cv_func_pthread_attr_setstacksize=no
40733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40734 conftest$ac_exeext conftest.$ac_ext
40736 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40737 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40738 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40739 cat >>confdefs.h <<\_ACEOF
40740 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40747 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40748 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40749 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40750 echo $ECHO_N "(cached) $ECHO_C" >&6
40753 cat >conftest.$ac_ext <<_ACEOF
40756 cat confdefs.h >>conftest.$ac_ext
40757 cat >>conftest.$ac_ext <<_ACEOF
40758 /* end confdefs.h. */
40759 #include <pthread.h>
40764 pthread_mutexattr_t attr;
40765 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40771 rm -f conftest.$ac_objext
40772 if { (ac_try="$ac_compile"
40773 case "(($ac_try" in
40774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40775 *) ac_try_echo
=$ac_try;;
40777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40778 (eval "$ac_compile") 2>conftest.er1
40780 grep -v '^ *+' conftest.er1
>conftest.err
40782 cat conftest.err
>&5
40783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40784 (exit $ac_status); } && {
40785 test -z "$ac_c_werror_flag" ||
40786 test ! -s conftest.err
40787 } && test -s conftest.
$ac_objext; then
40788 wx_cv_type_pthread_mutexattr_t
=yes
40790 echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.
$ac_ext >&5
40793 wx_cv_type_pthread_mutexattr_t
=no
40797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40800 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40801 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40803 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40804 cat >>confdefs.h
<<\_ACEOF
40805 #define HAVE_PTHREAD_MUTEXATTR_T 1
40809 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40810 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40811 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40812 echo $ECHO_N "(cached) $ECHO_C" >&6
40815 cat >conftest.
$ac_ext <<_ACEOF
40818 cat confdefs.h
>>conftest.
$ac_ext
40819 cat >>conftest.
$ac_ext <<_ACEOF
40820 /* end confdefs.h. */
40821 #include <pthread.h>
40826 pthread_mutexattr_t attr;
40827 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40833 rm -f conftest.
$ac_objext
40834 if { (ac_try
="$ac_compile"
40835 case "(($ac_try" in
40836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40837 *) ac_try_echo=$ac_try;;
40839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40840 (eval "$ac_compile") 2>conftest.er1
40842 grep -v '^ *+' conftest.er1 >conftest.err
40844 cat conftest.err >&5
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); } && {
40847 test -z "$ac_c_werror_flag" ||
40848 test ! -s conftest.err
40849 } && test -s conftest.$ac_objext; then
40850 wx_cv_func_pthread_mutexattr_settype_decl=yes
40852 echo "$as_me: failed program was:" >&5
40853 sed 's/^/| /' conftest.$ac_ext >&5
40855 wx_cv_func_pthread_mutexattr_settype_decl=no
40859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40862 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40863 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40864 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40865 cat >>confdefs.h <<\_ACEOF
40866 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40871 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40872 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40873 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40874 echo $ECHO_N "(cached) $ECHO_C" >&6
40877 cat >conftest.$ac_ext <<_ACEOF
40880 cat confdefs.h >>conftest.$ac_ext
40881 cat >>conftest.$ac_ext <<_ACEOF
40882 /* end confdefs.h. */
40883 #include <pthread.h>
40888 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40894 rm -f conftest.$ac_objext
40895 if { (ac_try="$ac_compile"
40896 case "(($ac_try" in
40897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40898 *) ac_try_echo
=$ac_try;;
40900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40901 (eval "$ac_compile") 2>conftest.er1
40903 grep -v '^ *+' conftest.er1
>conftest.err
40905 cat conftest.err
>&5
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); } && {
40908 test -z "$ac_c_werror_flag" ||
40909 test ! -s conftest.err
40910 } && test -s conftest.
$ac_objext; then
40912 wx_cv_type_pthread_rec_mutex_init
=yes
40915 echo "$as_me: failed program was:" >&5
40916 sed 's/^/| /' conftest.
$ac_ext >&5
40919 wx_cv_type_pthread_rec_mutex_init
=no
40924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40927 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40928 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40929 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40930 cat >>confdefs.h
<<\_ACEOF
40931 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40935 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40936 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40940 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40941 if test "$USE_NETBSD" = 1; then
40942 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40943 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40944 wxUSE_COMPILER_TLS
=no
40946 wxUSE_COMPILER_TLS
=yes
40950 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40951 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40952 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40953 if test "${wx_cv_cc___thread+set}" = set; then
40954 echo $ECHO_N "(cached) $ECHO_C" >&6
40957 cat >conftest.
$ac_ext <<_ACEOF
40960 cat confdefs.h
>>conftest.
$ac_ext
40961 cat >>conftest.
$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40963 #include <pthread.h>
40968 static __thread int n = 0;
40969 static __thread int *p = 0;
40975 rm -f conftest.
$ac_objext
40976 if { (ac_try
="$ac_compile"
40977 case "(($ac_try" in
40978 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40979 *) ac_try_echo=$ac_try;;
40981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40982 (eval "$ac_compile") 2>conftest.er1
40984 grep -v '^ *+' conftest.er1 >conftest.err
40986 cat conftest.err >&5
40987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40988 (exit $ac_status); } && {
40989 test -z "$ac_c_werror_flag" ||
40990 test ! -s conftest.err
40991 } && test -s conftest.$ac_objext; then
40992 wx_cv_cc___thread=yes
40994 echo "$as_me: failed program was:" >&5
40995 sed 's/^/| /' conftest.$ac_ext >&5
40997 wx_cv_cc___thread=no
41001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41005 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41006 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41008 if test "$wx_cv_cc___thread" = "yes"; then
41014 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41015 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41017 if test "x$GCC" = "xyes" ; then
41019 if test -z "" ; then
41021 ax_gcc_option_test="int main()
41028 ax_gcc_option_test=""
41033 # Dump the test program to file
41034 cat <<EOF > conftest.c
41035 $ax_gcc_option_test
41038 # Dump back the file to the log, useful for debugging purposes
41039 { ac_try='cat 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); }; }
41046 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41048 (eval $ac_try) 2>&5
41050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41051 (exit $ac_status); }; } ; then
41053 { echo "$as_me:$LINENO: result: yes" >&5
41054 echo "${ECHO_T}yes" >&6; }
41056 ax_gcc_version_option=yes
41061 { echo "$as_me:$LINENO: result: no" >&5
41062 echo "${ECHO_T}no" >&6; }
41064 ax_gcc_version_option=no
41072 { echo "$as_me:$LINENO: result: no gcc available" >&5
41073 echo "${ECHO_T}no gcc available" >&6; }
41078 if test "x$GXX" = "xyes"; then
41080 if test "x$ax_gxx_version_option" != "no"; then
41082 { echo "$as_me:$LINENO: checking gxx version" >&5
41083 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41084 if test "${ax_cv_gxx_version+set}" = set; then
41085 echo $ECHO_N "(cached) $ECHO_C" >&6
41088 ax_cv_gxx_version="`$CXX -dumpversion`"
41089 if test "x$ax_cv_gxx_version" = "x"; then
41091 ax_cv_gxx_version=""
41097 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41098 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41099 GXX_VERSION=$ax_cv_gxx_version
41108 if test -n "$ax_cv_gxx_version"; then
41109 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41110 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41111 case "$ax_cv_gxx_version" in
41113 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41114 echo "${ECHO_T}no, it's broken" >&6; }
41115 wx_cv_cc___thread=no
41118 { echo "$as_me:$LINENO: result: yes, it works" >&5
41119 echo "${ECHO_T}yes, it works" >&6; }
41125 if test "$wx_cv_cc___thread" = "yes"; then
41126 cat >>confdefs.h <<\_ACEOF
41127 #define HAVE___THREAD_KEYWORD 1
41135 if test "$wxUSE_THREADS" = "yes" ; then
41137 x86_64-*-mingw32* )
41140 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41141 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41142 if test "${wx_cv_cflags_mthread+set}" = set; then
41143 echo $ECHO_N "(cached) $ECHO_C" >&6
41146 CFLAGS_OLD="$CFLAGS"
41147 CFLAGS="-mthreads $CFLAGS"
41148 cat >conftest.$ac_ext <<_ACEOF
41151 cat confdefs.h >>conftest.$ac_ext
41152 cat >>conftest.$ac_ext <<_ACEOF
41153 /* end confdefs.h. */
41163 rm -f conftest.$ac_objext
41164 if { (ac_try="$ac_compile"
41165 case "(($ac_try" in
41166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41167 *) ac_try_echo
=$ac_try;;
41169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41170 (eval "$ac_compile") 2>conftest.er1
41172 grep -v '^ *+' conftest.er1
>conftest.err
41174 cat conftest.err
>&5
41175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41176 (exit $ac_status); } && {
41177 test -z "$ac_c_werror_flag" ||
41178 test ! -s conftest.err
41179 } && test -s conftest.
$ac_objext; then
41180 wx_cv_cflags_mthread
=yes
41182 echo "$as_me: failed program was:" >&5
41183 sed 's/^/| /' conftest.
$ac_ext >&5
41185 wx_cv_cflags_mthread
=no
41189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41193 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41194 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41196 if test "$wx_cv_cflags_mthread" = "yes"; then
41197 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41198 LDFLAGS
="$LDFLAGS -mthreads"
41200 CFLAGS
="$CFLAGS_OLD"
41204 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41205 LDFLAGS
="$LDFLAGS -Zmt"
41211 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41212 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41213 if test "${ac_cv_func_localtime_r+set}" = set; then
41214 echo $ECHO_N "(cached) $ECHO_C" >&6
41216 cat >conftest.
$ac_ext <<_ACEOF
41219 cat confdefs.h
>>conftest.
$ac_ext
41220 cat >>conftest.
$ac_ext <<_ACEOF
41221 /* end confdefs.h. */
41222 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41224 #define localtime_r innocuous_localtime_r
41226 /* System header to define __stub macros and hopefully few prototypes,
41227 which can conflict with char localtime_r (); below.
41228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41229 <limits.h> exists even on freestanding compilers. */
41232 # include <limits.h>
41234 # include <assert.h>
41239 /* Override any GCC internal prototype to avoid an error.
41240 Use char because int might match the return type of a GCC
41241 builtin and then its argument prototype would still apply. */
41245 char localtime_r ();
41246 /* The GNU C library defines this for functions which it implements
41247 to always fail with ENOSYS. Some functions are actually named
41248 something starting with __ and the normal name is an alias. */
41249 #if defined __stub_localtime_r || defined __stub___localtime_r
41256 return localtime_r ();
41261 rm -f conftest.
$ac_objext conftest
$ac_exeext
41262 if { (ac_try
="$ac_link"
41263 case "(($ac_try" in
41264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41265 *) ac_try_echo=$ac_try;;
41267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41268 (eval "$ac_link") 2>conftest.er1
41270 grep -v '^ *+' conftest.er1 >conftest.err
41272 cat conftest.err >&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); } && {
41275 test -z "$ac_c_werror_flag" ||
41276 test ! -s conftest.err
41277 } && test -s conftest$ac_exeext &&
41278 $as_test_x conftest$ac_exeext; then
41279 ac_cv_func_localtime_r=yes
41281 echo "$as_me: failed program was:" >&5
41282 sed 's/^/| /' conftest.$ac_ext >&5
41284 ac_cv_func_localtime_r=no
41287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41288 conftest$ac_exeext conftest.$ac_ext
41290 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41291 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41292 if test $ac_cv_func_localtime_r = yes; then
41293 cat >>confdefs.h <<\_ACEOF
41294 #define HAVE_LOCALTIME_R 1
41299 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41300 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41301 if test "${ac_cv_func_gmtime_r+set}" = set; then
41302 echo $ECHO_N "(cached) $ECHO_C" >&6
41304 cat >conftest.$ac_ext <<_ACEOF
41307 cat confdefs.h >>conftest.$ac_ext
41308 cat >>conftest.$ac_ext <<_ACEOF
41309 /* end confdefs.h. */
41310 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41312 #define gmtime_r innocuous_gmtime_r
41314 /* System header to define __stub macros and hopefully few prototypes,
41315 which can conflict with char gmtime_r (); below.
41316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41317 <limits.h> exists even on freestanding compilers. */
41320 # include <limits.h>
41322 # include <assert.h>
41327 /* Override any GCC internal prototype to avoid an error.
41328 Use char because int might match the return type of a GCC
41329 builtin and then its argument prototype would still apply. */
41334 /* The GNU C library defines this for functions which it implements
41335 to always fail with ENOSYS. Some functions are actually named
41336 something starting with __ and the normal name is an alias. */
41337 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41344 return gmtime_r ();
41349 rm -f conftest.$ac_objext conftest$ac_exeext
41350 if { (ac_try="$ac_link"
41351 case "(($ac_try" in
41352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41353 *) ac_try_echo
=$ac_try;;
41355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41356 (eval "$ac_link") 2>conftest.er1
41358 grep -v '^ *+' conftest.er1
>conftest.err
41360 cat conftest.err
>&5
41361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41362 (exit $ac_status); } && {
41363 test -z "$ac_c_werror_flag" ||
41364 test ! -s conftest.err
41365 } && test -s conftest
$ac_exeext &&
41366 $as_test_x conftest
$ac_exeext; then
41367 ac_cv_func_gmtime_r
=yes
41369 echo "$as_me: failed program was:" >&5
41370 sed 's/^/| /' conftest.
$ac_ext >&5
41372 ac_cv_func_gmtime_r
=no
41375 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41376 conftest
$ac_exeext conftest.
$ac_ext
41378 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41379 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41380 if test $ac_cv_func_gmtime_r = yes; then
41381 cat >>confdefs.h
<<\_ACEOF
41382 #define HAVE_GMTIME_R 1
41391 ac_cpp
='$CPP $CPPFLAGS'
41392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41396 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41397 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41399 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41400 echo $ECHO_N "(cached) $ECHO_C" >&6
41404 ################################################################
41406 ac_cv_func_which_gethostbyname_r
=unknown
41409 # ONE ARGUMENT (sanity check)
41412 # This should fail, as there is no variant of gethostbyname_r() that takes
41413 # a single argument. If it actually compiles, then we can assume that
41414 # netdb.h is not declaring the function, and the compiler is thereby
41415 # assuming an implicit prototype. In which case, we're out of luck.
41417 cat >conftest.
$ac_ext <<_ACEOF
41420 cat confdefs.h
>>conftest.
$ac_ext
41421 cat >>conftest.
$ac_ext <<_ACEOF
41422 /* end confdefs.h. */
41428 char *name = "www.gnu.org";
41429 (void)gethostbyname_r(name) /* ; */
41435 rm -f conftest.
$ac_objext
41436 if { (ac_try
="$ac_compile"
41437 case "(($ac_try" in
41438 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41439 *) ac_try_echo=$ac_try;;
41441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41442 (eval "$ac_compile") 2>conftest.er1
41444 grep -v '^ *+' conftest.er1 >conftest.err
41446 cat conftest.err >&5
41447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41448 (exit $ac_status); } && {
41449 test -z "$ac_c_werror_flag" ||
41450 test ! -s conftest.err
41451 } && test -s conftest.$ac_objext; then
41452 ac_cv_func_which_gethostbyname_r=no
41454 echo "$as_me: failed program was:" >&5
41455 sed 's/^/| /' conftest.$ac_ext >&5
41460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41467 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41469 cat >conftest.$ac_ext <<_ACEOF
41472 cat confdefs.h >>conftest.$ac_ext
41473 cat >>conftest.$ac_ext <<_ACEOF
41474 /* end confdefs.h. */
41480 char *name = "www.gnu.org";
41481 struct hostent ret, *retp;
41485 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41491 rm -f conftest.$ac_objext
41492 if { (ac_try="$ac_compile"
41493 case "(($ac_try" in
41494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41495 *) ac_try_echo
=$ac_try;;
41497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41498 (eval "$ac_compile") 2>conftest.er1
41500 grep -v '^ *+' conftest.er1
>conftest.err
41502 cat conftest.err
>&5
41503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41504 (exit $ac_status); } && {
41505 test -z "$ac_c_werror_flag" ||
41506 test ! -s conftest.err
41507 } && test -s conftest.
$ac_objext; then
41508 ac_cv_func_which_gethostbyname_r
=six
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.
$ac_ext >&5
41516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41525 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41527 cat >conftest.
$ac_ext <<_ACEOF
41530 cat confdefs.h
>>conftest.
$ac_ext
41531 cat >>conftest.
$ac_ext <<_ACEOF
41532 /* end confdefs.h. */
41538 char *name = "www.gnu.org";
41539 struct hostent ret;
41543 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41549 rm -f conftest.
$ac_objext
41550 if { (ac_try
="$ac_compile"
41551 case "(($ac_try" in
41552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41553 *) ac_try_echo=$ac_try;;
41555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41556 (eval "$ac_compile") 2>conftest.er1
41558 grep -v '^ *+' conftest.er1 >conftest.err
41560 cat conftest.err >&5
41561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41562 (exit $ac_status); } && {
41563 test -z "$ac_c_werror_flag" ||
41564 test ! -s conftest.err
41565 } && test -s conftest.$ac_objext; then
41566 ac_cv_func_which_gethostbyname_r=five
41568 echo "$as_me: failed program was:" >&5
41569 sed 's/^/| /' conftest.$ac_ext >&5
41574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41580 # (e.g. AIX, HP-UX, Tru64)
41583 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41585 cat >conftest.$ac_ext <<_ACEOF
41588 cat confdefs.h >>conftest.$ac_ext
41589 cat >>conftest.$ac_ext <<_ACEOF
41590 /* end confdefs.h. */
41596 char *name = "www.gnu.org";
41597 struct hostent ret;
41598 struct hostent_data data;
41599 (void)gethostbyname_r(name, &ret, &data) /* ; */
41605 rm -f conftest.$ac_objext
41606 if { (ac_try="$ac_compile"
41607 case "(($ac_try" in
41608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41609 *) ac_try_echo
=$ac_try;;
41611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41612 (eval "$ac_compile") 2>conftest.er1
41614 grep -v '^ *+' conftest.er1
>conftest.err
41616 cat conftest.err
>&5
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); } && {
41619 test -z "$ac_c_werror_flag" ||
41620 test ! -s conftest.err
41621 } && test -s conftest.
$ac_objext; then
41622 ac_cv_func_which_gethostbyname_r
=three
41624 echo "$as_me: failed program was:" >&5
41625 sed 's/^/| /' conftest.
$ac_ext >&5
41630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41634 ################################################################
41639 case "$ac_cv_func_which_gethostbyname_r" in
41641 { echo "$as_me:$LINENO: result: three" >&5
41642 echo "${ECHO_T}three" >&6; }
41643 cat >>confdefs.h
<<\_ACEOF
41644 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41650 { echo "$as_me:$LINENO: result: five" >&5
41651 echo "${ECHO_T}five" >&6; }
41652 cat >>confdefs.h
<<\_ACEOF
41653 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41659 { echo "$as_me:$LINENO: result: six" >&5
41660 echo "${ECHO_T}six" >&6; }
41661 cat >>confdefs.h
<<\_ACEOF
41662 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41668 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41669 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41673 { echo "$as_me:$LINENO: result: can't tell" >&5
41674 echo "${ECHO_T}can't tell" >&6; }
41678 { { echo "$as_me:$LINENO: error: internal error" >&5
41679 echo "$as_me: error: internal error" >&2;}
41680 { (exit 1); exit 1; }; }
41685 ac_cpp
='$CPP $CPPFLAGS'
41686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41692 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41693 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41694 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41695 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41696 if test "${ac_cv_func_gethostbyname+set}" = set; then
41697 echo $ECHO_N "(cached) $ECHO_C" >&6
41699 cat >conftest.
$ac_ext <<_ACEOF
41702 cat confdefs.h
>>conftest.
$ac_ext
41703 cat >>conftest.
$ac_ext <<_ACEOF
41704 /* end confdefs.h. */
41705 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41707 #define gethostbyname innocuous_gethostbyname
41709 /* System header to define __stub macros and hopefully few prototypes,
41710 which can conflict with char gethostbyname (); below.
41711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41712 <limits.h> exists even on freestanding compilers. */
41715 # include <limits.h>
41717 # include <assert.h>
41720 #undef gethostbyname
41722 /* Override any GCC internal prototype to avoid an error.
41723 Use char because int might match the return type of a GCC
41724 builtin and then its argument prototype would still apply. */
41728 char gethostbyname ();
41729 /* The GNU C library defines this for functions which it implements
41730 to always fail with ENOSYS. Some functions are actually named
41731 something starting with __ and the normal name is an alias. */
41732 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41739 return gethostbyname ();
41744 rm -f conftest.
$ac_objext conftest
$ac_exeext
41745 if { (ac_try
="$ac_link"
41746 case "(($ac_try" in
41747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41748 *) ac_try_echo=$ac_try;;
41750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41751 (eval "$ac_link") 2>conftest.er1
41753 grep -v '^ *+' conftest.er1 >conftest.err
41755 cat conftest.err >&5
41756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41757 (exit $ac_status); } && {
41758 test -z "$ac_c_werror_flag" ||
41759 test ! -s conftest.err
41760 } && test -s conftest$ac_exeext &&
41761 $as_test_x conftest$ac_exeext; then
41762 ac_cv_func_gethostbyname=yes
41764 echo "$as_me: failed program was:" >&5
41765 sed 's/^/| /' conftest.$ac_ext >&5
41767 ac_cv_func_gethostbyname=no
41770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41771 conftest$ac_exeext conftest.$ac_ext
41773 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41774 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41775 if test $ac_cv_func_gethostbyname = yes; then
41776 cat >>confdefs.h <<\_ACEOF
41777 #define HAVE_GETHOSTBYNAME 1
41784 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41785 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41786 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41787 echo $ECHO_N "(cached) $ECHO_C" >&6
41791 ac_cpp='$CXXCPP $CPPFLAGS'
41792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41797 cat >conftest.$ac_ext <<_ACEOF
41800 cat confdefs.h >>conftest.$ac_ext
41801 cat >>conftest.$ac_ext <<_ACEOF
41802 /* end confdefs.h. */
41810 struct servent *se, *res;
41813 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41819 rm -f conftest.$ac_objext
41820 if { (ac_try="$ac_compile"
41821 case "(($ac_try" in
41822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41823 *) ac_try_echo
=$ac_try;;
41825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41826 (eval "$ac_compile") 2>conftest.er1
41828 grep -v '^ *+' conftest.er1
>conftest.err
41830 cat conftest.err
>&5
41831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41832 (exit $ac_status); } && {
41833 test -z "$ac_cxx_werror_flag" ||
41834 test ! -s conftest.err
41835 } && test -s conftest.
$ac_objext; then
41836 ac_cv_func_which_getservbyname_r
=six
41838 echo "$as_me: failed program was:" >&5
41839 sed 's/^/| /' conftest.
$ac_ext >&5
41842 cat >conftest.
$ac_ext <<_ACEOF
41845 cat confdefs.h
>>conftest.
$ac_ext
41846 cat >>conftest.
$ac_ext <<_ACEOF
41847 /* end confdefs.h. */
41855 struct servent *se;
41858 (void) getservbyname_r(name, proto, se, buffer, buflen)
41864 rm -f conftest.
$ac_objext
41865 if { (ac_try
="$ac_compile"
41866 case "(($ac_try" in
41867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41868 *) ac_try_echo=$ac_try;;
41870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41871 (eval "$ac_compile") 2>conftest.er1
41873 grep -v '^ *+' conftest.er1 >conftest.err
41875 cat conftest.err >&5
41876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41877 (exit $ac_status); } && {
41878 test -z "$ac_cxx_werror_flag" ||
41879 test ! -s conftest.err
41880 } && test -s conftest.$ac_objext; then
41881 ac_cv_func_which_getservbyname_r=five
41883 echo "$as_me: failed program was:" >&5
41884 sed 's/^/| /' conftest.$ac_ext >&5
41887 cat >conftest.$ac_ext <<_ACEOF
41890 cat confdefs.h >>conftest.$ac_ext
41891 cat >>conftest.$ac_ext <<_ACEOF
41892 /* end confdefs.h. */
41900 struct servent *se;
41901 struct servent_data data;
41902 (void) getservbyname_r(name, proto, se, &data);
41908 rm -f conftest.$ac_objext
41909 if { (ac_try="$ac_compile"
41910 case "(($ac_try" in
41911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41912 *) ac_try_echo
=$ac_try;;
41914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41915 (eval "$ac_compile") 2>conftest.er1
41917 grep -v '^ *+' conftest.er1
>conftest.err
41919 cat conftest.err
>&5
41920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41921 (exit $ac_status); } && {
41922 test -z "$ac_cxx_werror_flag" ||
41923 test ! -s conftest.err
41924 } && test -s conftest.
$ac_objext; then
41925 ac_cv_func_which_getservbyname_r
=four
41927 echo "$as_me: failed program was:" >&5
41928 sed 's/^/| /' conftest.
$ac_ext >&5
41930 ac_cv_func_which_getservbyname_r
=no
41934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41946 ac_cpp
='$CPP $CPPFLAGS'
41947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41954 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41955 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41957 if test $ac_cv_func_which_getservbyname_r = six
; then
41958 cat >>confdefs.h
<<\_ACEOF
41959 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41962 elif test $ac_cv_func_which_getservbyname_r = five
; then
41963 cat >>confdefs.h
<<\_ACEOF
41964 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41967 elif test $ac_cv_func_which_getservbyname_r = four
; then
41968 cat >>confdefs.h
<<\_ACEOF
41969 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41975 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41976 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41978 for ac_func
in getservbyname
41980 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41981 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41983 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41984 echo $ECHO_N "(cached) $ECHO_C" >&6
41986 cat >conftest.
$ac_ext <<_ACEOF
41989 cat confdefs.h
>>conftest.
$ac_ext
41990 cat >>conftest.
$ac_ext <<_ACEOF
41991 /* end confdefs.h. */
41992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41994 #define $ac_func innocuous_$ac_func
41996 /* System header to define __stub macros and hopefully few prototypes,
41997 which can conflict with char $ac_func (); below.
41998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41999 <limits.h> exists even on freestanding compilers. */
42002 # include <limits.h>
42004 # include <assert.h>
42009 /* Override any GCC internal prototype to avoid an error.
42010 Use char because int might match the return type of a GCC
42011 builtin and then its argument prototype would still apply. */
42016 /* The GNU C library defines this for functions which it implements
42017 to always fail with ENOSYS. Some functions are actually named
42018 something starting with __ and the normal name is an alias. */
42019 #if defined __stub_$ac_func || defined __stub___$ac_func
42026 return $ac_func ();
42031 rm -f conftest.
$ac_objext conftest
$ac_exeext
42032 if { (ac_try
="$ac_link"
42033 case "(($ac_try" in
42034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42035 *) ac_try_echo=$ac_try;;
42037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42038 (eval "$ac_link") 2>conftest.er1
42040 grep -v '^ *+' conftest.er1 >conftest.err
42042 cat conftest.err >&5
42043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42044 (exit $ac_status); } && {
42045 test -z "$ac_c_werror_flag" ||
42046 test ! -s conftest.err
42047 } && test -s conftest$ac_exeext &&
42048 $as_test_x conftest$ac_exeext; then
42049 eval "$as_ac_var=yes"
42051 echo "$as_me: failed program was:" >&5
42052 sed 's/^/| /' conftest.$ac_ext >&5
42054 eval "$as_ac_var=no"
42057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42058 conftest$ac_exeext conftest.$ac_ext
42060 ac_res=`eval echo '${'$as_ac_var'}'`
42061 { echo "$as_me:$LINENO: result: $ac_res" >&5
42062 echo "${ECHO_T}$ac_res" >&6; }
42063 if test `eval echo '${'$as_ac_var'}'` = yes; then
42064 cat >>confdefs.h <<_ACEOF
42065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42067 cat >>confdefs.h <<\_ACEOF
42068 #define HAVE_GETSERVBYNAME 1
42076 if test "$wxUSE_THREADS" = "yes"; then
42077 cat >>confdefs.h <<\_ACEOF
42078 #define wxUSE_THREADS 1
42082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42084 if test "$wx_cv_func_strtok_r" = "yes"; then
42085 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42086 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42087 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42088 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42089 { echo "$as_me:$LINENO: result: yes" >&5
42090 echo "${ECHO_T}yes" >&6; }
42092 { echo "$as_me:$LINENO: result: no" >&5
42093 echo "${ECHO_T}no" >&6; }
42098 if test "$WXGTK2" = 1 ; then
42099 cat >>confdefs.h <<_ACEOF
42100 #define __WXGTK20__ $WXGTK2
42106 if test "$WXGTK12" = 1 ; then
42107 cat >>confdefs.h <<_ACEOF
42108 #define __WXGTK12__ $WXGTK12
42113 if test "$WXGTK127" = 1 ; then
42114 cat >>confdefs.h <<_ACEOF
42115 #define __WXGTK127__ $WXGTK127
42120 if test "$WXGPE" = 1 ; then
42121 cat >>confdefs.h <<_ACEOF
42122 #define __WXGPE__ $WXGPE
42128 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42129 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42130 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42131 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42135 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42136 wxUSE_DEBUG_INFO=yes
42137 if test "$GCC" = yes; then
42138 DEBUG_CFLAGS="-ggdb"
42142 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42143 if test "$wxUSE_GTK" = 1 ; then
42144 if test "x$wxGTK_VERSION" = "x1" ; then
42145 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42150 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42151 cat >>confdefs.h <<\_ACEOF
42152 #define wxUSE_MEMORY_TRACING 1
42155 cat >>confdefs.h <<\_ACEOF
42156 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42159 cat >>confdefs.h <<\_ACEOF
42160 #define wxUSE_DEBUG_NEW_ALWAYS 1
42163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42166 if test "$wxUSE_DMALLOC" = "yes" ; then
42167 DMALLOC_LIBS="-ldmallocthcxx"
42171 if test "$wxUSE_PROFILE" = "yes" ; then
42172 PROFILE_FLAGS=" -pg"
42175 if test "$GCC" = "yes" ; then
42176 if test "$wxUSE_NO_RTTI" = "yes" ; then
42177 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42179 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42180 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42182 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42183 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42188 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42191 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42197 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42198 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42199 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42201 if test "$wxUSE_OPTIMISE" = "no" ; then
42202 if test "$GCC" = yes ; then
42203 OPTIMISE_CFLAGS="-O0"
42206 if test "$GCC" = yes ; then
42208 *-pc-os2_emx | *-pc-os2-emx )
42209 OPTIMISE_CFLAGS="-O2"
42212 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42216 OPTIMISE_CFLAGS="-O"
42222 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42223 cat >>confdefs.h <<\_ACEOF
42224 #define WXWIN_COMPATIBILITY_2_6 1
42228 WXWIN_COMPATIBILITY_2_8="yes"
42231 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42232 cat >>confdefs.h <<\_ACEOF
42233 #define WXWIN_COMPATIBILITY_2_8 1
42239 if test "$wxUSE_GUI" = "yes"; then
42240 cat >>confdefs.h <<\_ACEOF
42241 #define wxUSE_GUI 1
42248 if test "$wxUSE_UNIX" = "yes"; then
42249 cat >>confdefs.h <<\_ACEOF
42250 #define wxUSE_UNIX 1
42256 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42260 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42261 if test "$USE_DOS" = 1; then
42265 for ac_func in dlopen
42267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42268 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42270 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42271 echo $ECHO_N "(cached) $ECHO_C" >&6
42273 cat >conftest.$ac_ext <<_ACEOF
42276 cat confdefs.h >>conftest.$ac_ext
42277 cat >>conftest.$ac_ext <<_ACEOF
42278 /* end confdefs.h. */
42279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42281 #define $ac_func innocuous_$ac_func
42283 /* System header to define __stub macros and hopefully few prototypes,
42284 which can conflict with char $ac_func (); below.
42285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42286 <limits.h> exists even on freestanding compilers. */
42289 # include <limits.h>
42291 # include <assert.h>
42296 /* Override any GCC internal prototype to avoid an error.
42297 Use char because int might match the return type of a GCC
42298 builtin and then its argument prototype would still apply. */
42303 /* The GNU C library defines this for functions which it implements
42304 to always fail with ENOSYS. Some functions are actually named
42305 something starting with __ and the normal name is an alias. */
42306 #if defined __stub_$ac_func || defined __stub___$ac_func
42313 return $ac_func ();
42318 rm -f conftest.$ac_objext conftest$ac_exeext
42319 if { (ac_try="$ac_link"
42320 case "(($ac_try" in
42321 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42322 *) ac_try_echo
=$ac_try;;
42324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42325 (eval "$ac_link") 2>conftest.er1
42327 grep -v '^ *+' conftest.er1
>conftest.err
42329 cat conftest.err
>&5
42330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42331 (exit $ac_status); } && {
42332 test -z "$ac_c_werror_flag" ||
42333 test ! -s conftest.err
42334 } && test -s conftest
$ac_exeext &&
42335 $as_test_x conftest
$ac_exeext; then
42336 eval "$as_ac_var=yes"
42338 echo "$as_me: failed program was:" >&5
42339 sed 's/^/| /' conftest.
$ac_ext >&5
42341 eval "$as_ac_var=no"
42344 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42345 conftest
$ac_exeext conftest.
$ac_ext
42347 ac_res
=`eval echo '${'$as_ac_var'}'`
42348 { echo "$as_me:$LINENO: result: $ac_res" >&5
42349 echo "${ECHO_T}$ac_res" >&6; }
42350 if test `eval echo '${'$as_ac_var'}'` = yes; then
42351 cat >>confdefs.h
<<_ACEOF
42352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42355 cat >>confdefs.h
<<\_ACEOF
42356 #define HAVE_DLOPEN 1
42363 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42364 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42365 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42366 echo $ECHO_N "(cached) $ECHO_C" >&6
42368 ac_check_lib_save_LIBS
=$LIBS
42370 cat >conftest.
$ac_ext <<_ACEOF
42373 cat confdefs.h
>>conftest.
$ac_ext
42374 cat >>conftest.
$ac_ext <<_ACEOF
42375 /* end confdefs.h. */
42377 /* Override any GCC internal prototype to avoid an error.
42378 Use char because int might match the return type of a GCC
42379 builtin and then its argument prototype would still apply. */
42392 rm -f conftest.
$ac_objext conftest
$ac_exeext
42393 if { (ac_try
="$ac_link"
42394 case "(($ac_try" in
42395 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42396 *) ac_try_echo=$ac_try;;
42398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42399 (eval "$ac_link") 2>conftest.er1
42401 grep -v '^ *+' conftest.er1 >conftest.err
42403 cat conftest.err >&5
42404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42405 (exit $ac_status); } && {
42406 test -z "$ac_c_werror_flag" ||
42407 test ! -s conftest.err
42408 } && test -s conftest$ac_exeext &&
42409 $as_test_x conftest$ac_exeext; then
42410 ac_cv_lib_dl_dlopen=yes
42412 echo "$as_me: failed program was:" >&5
42413 sed 's/^/| /' conftest.$ac_ext >&5
42415 ac_cv_lib_dl_dlopen=no
42418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42419 conftest$ac_exeext conftest.$ac_ext
42420 LIBS=$ac_check_lib_save_LIBS
42422 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42423 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42424 if test $ac_cv_lib_dl_dlopen = yes; then
42426 cat >>confdefs.h <<\_ACEOF
42427 #define HAVE_DLOPEN 1
42431 DL_LINK=" -ldl$DL_LINK"
42436 for ac_func in shl_load
42438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42439 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42441 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42442 echo $ECHO_N "(cached) $ECHO_C" >&6
42444 cat >conftest.$ac_ext <<_ACEOF
42447 cat confdefs.h >>conftest.$ac_ext
42448 cat >>conftest.$ac_ext <<_ACEOF
42449 /* end confdefs.h. */
42450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42452 #define $ac_func innocuous_$ac_func
42454 /* System header to define __stub macros and hopefully few prototypes,
42455 which can conflict with char $ac_func (); below.
42456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42457 <limits.h> exists even on freestanding compilers. */
42460 # include <limits.h>
42462 # include <assert.h>
42467 /* Override any GCC internal prototype to avoid an error.
42468 Use char because int might match the return type of a GCC
42469 builtin and then its argument prototype would still apply. */
42474 /* The GNU C library defines this for functions which it implements
42475 to always fail with ENOSYS. Some functions are actually named
42476 something starting with __ and the normal name is an alias. */
42477 #if defined __stub_$ac_func || defined __stub___$ac_func
42484 return $ac_func ();
42489 rm -f conftest.$ac_objext conftest$ac_exeext
42490 if { (ac_try="$ac_link"
42491 case "(($ac_try" in
42492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42493 *) ac_try_echo
=$ac_try;;
42495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42496 (eval "$ac_link") 2>conftest.er1
42498 grep -v '^ *+' conftest.er1
>conftest.err
42500 cat conftest.err
>&5
42501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42502 (exit $ac_status); } && {
42503 test -z "$ac_c_werror_flag" ||
42504 test ! -s conftest.err
42505 } && test -s conftest
$ac_exeext &&
42506 $as_test_x conftest
$ac_exeext; then
42507 eval "$as_ac_var=yes"
42509 echo "$as_me: failed program was:" >&5
42510 sed 's/^/| /' conftest.
$ac_ext >&5
42512 eval "$as_ac_var=no"
42515 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42516 conftest
$ac_exeext conftest.
$ac_ext
42518 ac_res
=`eval echo '${'$as_ac_var'}'`
42519 { echo "$as_me:$LINENO: result: $ac_res" >&5
42520 echo "${ECHO_T}$ac_res" >&6; }
42521 if test `eval echo '${'$as_ac_var'}'` = yes; then
42522 cat >>confdefs.h
<<_ACEOF
42523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42526 cat >>confdefs.h
<<\_ACEOF
42527 #define HAVE_SHL_LOAD 1
42534 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42535 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42536 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42537 echo $ECHO_N "(cached) $ECHO_C" >&6
42539 ac_check_lib_save_LIBS
=$LIBS
42540 LIBS
="-lshl_load $LIBS"
42541 cat >conftest.
$ac_ext <<_ACEOF
42544 cat confdefs.h
>>conftest.
$ac_ext
42545 cat >>conftest.
$ac_ext <<_ACEOF
42546 /* end confdefs.h. */
42548 /* Override any GCC internal prototype to avoid an error.
42549 Use char because int might match the return type of a GCC
42550 builtin and then its argument prototype would still apply. */
42563 rm -f conftest.
$ac_objext conftest
$ac_exeext
42564 if { (ac_try
="$ac_link"
42565 case "(($ac_try" in
42566 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42567 *) ac_try_echo=$ac_try;;
42569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42570 (eval "$ac_link") 2>conftest.er1
42572 grep -v '^ *+' conftest.er1 >conftest.err
42574 cat conftest.err >&5
42575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42576 (exit $ac_status); } && {
42577 test -z "$ac_c_werror_flag" ||
42578 test ! -s conftest.err
42579 } && test -s conftest$ac_exeext &&
42580 $as_test_x conftest$ac_exeext; then
42581 ac_cv_lib_shl_load_dld=yes
42583 echo "$as_me: failed program was:" >&5
42584 sed 's/^/| /' conftest.$ac_ext >&5
42586 ac_cv_lib_shl_load_dld=no
42589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42590 conftest$ac_exeext conftest.$ac_ext
42591 LIBS=$ac_check_lib_save_LIBS
42593 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42594 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42595 if test $ac_cv_lib_shl_load_dld = yes; then
42598 DL_LINK=" -ldld$DL_LINK"
42614 if test "$HAVE_DL_FUNCS" = 1; then
42616 for ac_func in dlerror
42618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42619 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42621 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42622 echo $ECHO_N "(cached) $ECHO_C" >&6
42624 cat >conftest.$ac_ext <<_ACEOF
42627 cat confdefs.h >>conftest.$ac_ext
42628 cat >>conftest.$ac_ext <<_ACEOF
42629 /* end confdefs.h. */
42630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42632 #define $ac_func innocuous_$ac_func
42634 /* System header to define __stub macros and hopefully few prototypes,
42635 which can conflict with char $ac_func (); below.
42636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42637 <limits.h> exists even on freestanding compilers. */
42640 # include <limits.h>
42642 # include <assert.h>
42647 /* Override any GCC internal prototype to avoid an error.
42648 Use char because int might match the return type of a GCC
42649 builtin and then its argument prototype would still apply. */
42654 /* The GNU C library defines this for functions which it implements
42655 to always fail with ENOSYS. Some functions are actually named
42656 something starting with __ and the normal name is an alias. */
42657 #if defined __stub_$ac_func || defined __stub___$ac_func
42664 return $ac_func ();
42669 rm -f conftest.$ac_objext conftest$ac_exeext
42670 if { (ac_try="$ac_link"
42671 case "(($ac_try" in
42672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42673 *) ac_try_echo
=$ac_try;;
42675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42676 (eval "$ac_link") 2>conftest.er1
42678 grep -v '^ *+' conftest.er1
>conftest.err
42680 cat conftest.err
>&5
42681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42682 (exit $ac_status); } && {
42683 test -z "$ac_c_werror_flag" ||
42684 test ! -s conftest.err
42685 } && test -s conftest
$ac_exeext &&
42686 $as_test_x conftest
$ac_exeext; then
42687 eval "$as_ac_var=yes"
42689 echo "$as_me: failed program was:" >&5
42690 sed 's/^/| /' conftest.
$ac_ext >&5
42692 eval "$as_ac_var=no"
42695 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42696 conftest
$ac_exeext conftest.
$ac_ext
42698 ac_res
=`eval echo '${'$as_ac_var'}'`
42699 { echo "$as_me:$LINENO: result: $ac_res" >&5
42700 echo "${ECHO_T}$ac_res" >&6; }
42701 if test `eval echo '${'$as_ac_var'}'` = yes; then
42702 cat >>confdefs.h
<<_ACEOF
42703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42705 cat >>confdefs.h
<<\_ACEOF
42706 #define HAVE_DLERROR 1
42711 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42712 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42713 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42714 echo $ECHO_N "(cached) $ECHO_C" >&6
42716 ac_check_lib_save_LIBS
=$LIBS
42718 cat >conftest.
$ac_ext <<_ACEOF
42721 cat confdefs.h
>>conftest.
$ac_ext
42722 cat >>conftest.
$ac_ext <<_ACEOF
42723 /* end confdefs.h. */
42725 /* Override any GCC internal prototype to avoid an error.
42726 Use char because int might match the return type of a GCC
42727 builtin and then its argument prototype would still apply. */
42740 rm -f conftest.
$ac_objext conftest
$ac_exeext
42741 if { (ac_try
="$ac_link"
42742 case "(($ac_try" in
42743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42744 *) ac_try_echo=$ac_try;;
42746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42747 (eval "$ac_link") 2>conftest.er1
42749 grep -v '^ *+' conftest.er1 >conftest.err
42751 cat conftest.err >&5
42752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753 (exit $ac_status); } && {
42754 test -z "$ac_c_werror_flag" ||
42755 test ! -s conftest.err
42756 } && test -s conftest$ac_exeext &&
42757 $as_test_x conftest$ac_exeext; then
42758 ac_cv_lib_dl_dlerror=yes
42760 echo "$as_me: failed program was:" >&5
42761 sed 's/^/| /' conftest.$ac_ext >&5
42763 ac_cv_lib_dl_dlerror=no
42766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42767 conftest$ac_exeext conftest.$ac_ext
42768 LIBS=$ac_check_lib_save_LIBS
42770 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42771 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42772 if test $ac_cv_lib_dl_dlerror = yes; then
42773 cat >>confdefs.h <<\_ACEOF
42774 #define HAVE_DLERROR 1
42787 if test "$USE_DARWIN" = 1; then
42791 if test "$HAVE_DL_FUNCS" = 0; then
42792 if test "$HAVE_SHL_FUNCS" = 0; then
42793 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42794 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42795 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42796 wxUSE_DYNAMIC_LOADER=no
42797 wxUSE_DYNLIB_CLASS=no
42799 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42800 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42807 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42808 cat >>confdefs.h <<\_ACEOF
42809 #define wxUSE_DYNAMIC_LOADER 1
42813 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42814 cat >>confdefs.h <<\_ACEOF
42815 #define wxUSE_DYNLIB_CLASS 1
42822 if test "$wxUSE_PLUGINS" = "yes" ; then
42823 if test "$wxUSE_SHARED" = "no" ; then
42824 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42825 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42828 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42829 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42830 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42833 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42834 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42835 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42838 if test "$wxUSE_PLUGINS" = "yes" ; then
42839 cat >>confdefs.h <<\_ACEOF
42840 #define wxUSE_PLUGINS 1
42847 if test "$wxUSE_FSWATCHER" = "yes"; then
42848 if test "$wxUSE_MSW" != "1"; then
42849 if test "$wxUSE_UNIX" = "yes"; then
42851 for ac_header in sys/inotify.h
42853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42854 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42857 echo $ECHO_N "(cached) $ECHO_C" >&6
42859 cat >conftest.$ac_ext <<_ACEOF
42862 cat confdefs.h >>conftest.$ac_ext
42863 cat >>conftest.$ac_ext <<_ACEOF
42864 /* end confdefs.h. */
42865 $ac_includes_default
42867 #include <$ac_header>
42869 rm -f conftest.$ac_objext
42870 if { (ac_try="$ac_compile"
42871 case "(($ac_try" in
42872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42873 *) ac_try_echo
=$ac_try;;
42875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42876 (eval "$ac_compile") 2>conftest.er1
42878 grep -v '^ *+' conftest.er1
>conftest.err
42880 cat conftest.err
>&5
42881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42882 (exit $ac_status); } && {
42883 test -z "$ac_c_werror_flag" ||
42884 test ! -s conftest.err
42885 } && test -s conftest.
$ac_objext; then
42886 eval "$as_ac_Header=yes"
42888 echo "$as_me: failed program was:" >&5
42889 sed 's/^/| /' conftest.
$ac_ext >&5
42891 eval "$as_ac_Header=no"
42894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42896 ac_res
=`eval echo '${'$as_ac_Header'}'`
42897 { echo "$as_me:$LINENO: result: $ac_res" >&5
42898 echo "${ECHO_T}$ac_res" >&6; }
42899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42900 cat >>confdefs.h
<<_ACEOF
42901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42908 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42909 cat >>confdefs.h
<<\_ACEOF
42910 #define wxHAS_INOTIFY 1
42915 for ac_header
in sys
/event.h
42917 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42918 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42920 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42921 echo $ECHO_N "(cached) $ECHO_C" >&6
42923 cat >conftest.
$ac_ext <<_ACEOF
42926 cat confdefs.h
>>conftest.
$ac_ext
42927 cat >>conftest.
$ac_ext <<_ACEOF
42928 /* end confdefs.h. */
42929 $ac_includes_default
42931 #include <$ac_header>
42933 rm -f conftest.
$ac_objext
42934 if { (ac_try
="$ac_compile"
42935 case "(($ac_try" in
42936 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42937 *) ac_try_echo=$ac_try;;
42939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42940 (eval "$ac_compile") 2>conftest.er1
42942 grep -v '^ *+' conftest.er1 >conftest.err
42944 cat conftest.err >&5
42945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42946 (exit $ac_status); } && {
42947 test -z "$ac_c_werror_flag" ||
42948 test ! -s conftest.err
42949 } && test -s conftest.$ac_objext; then
42950 eval "$as_ac_Header=yes"
42952 echo "$as_me: failed program was:" >&5
42953 sed 's/^/| /' conftest.$ac_ext >&5
42955 eval "$as_ac_Header=no"
42958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42960 ac_res=`eval echo '${'$as_ac_Header'}'`
42961 { echo "$as_me:$LINENO: result: $ac_res" >&5
42962 echo "${ECHO_T}$ac_res" >&6; }
42963 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42964 cat >>confdefs.h <<_ACEOF
42965 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42972 if test "$ac_cv_header_sys_event_h" = "yes"; then
42973 cat >>confdefs.h <<\_ACEOF
42974 #define wxHAS_KQUEUE 1
42986 if test "$wxUSE_FSWATCHER" = "yes"; then
42987 cat >>confdefs.h <<\_ACEOF
42988 #define wxUSE_FSWATCHER 1
42991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42993 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
42994 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
42999 if test "$wxUSE_STL" = "yes"; then
43000 cat >>confdefs.h <<\_ACEOF
43001 #define wxUSE_STL 1
43006 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43007 cat >>confdefs.h <<\_ACEOF
43008 #define wxUSE_EXTENDED_RTTI 1
43013 if test "$wxUSE_ANY" = "yes"; then
43014 cat >>confdefs.h <<\_ACEOF
43015 #define wxUSE_ANY 1
43020 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43021 cat >>confdefs.h <<\_ACEOF
43022 #define wxUSE_APPLE_IEEE 1
43027 if test "$wxUSE_TIMER" = "yes"; then
43028 cat >>confdefs.h <<\_ACEOF
43029 #define wxUSE_TIMER 1
43034 if test "$USE_UNIX" = 1 ; then
43035 if test "$wxUSE_MGL" != 1; then
43036 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43037 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43038 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43039 echo $ECHO_N "(cached) $ECHO_C" >&6
43042 cat >conftest.$ac_ext <<_ACEOF
43045 cat confdefs.h >>conftest.$ac_ext
43046 cat >>conftest.$ac_ext <<_ACEOF
43047 /* end confdefs.h. */
43049 #include <sys/ioctl.h>
43050 #include <sys/soundcard.h>
43056 ioctl(0, SNDCTL_DSP_SPEED, 0);
43062 rm -f conftest.$ac_objext conftest$ac_exeext
43063 if { (ac_try="$ac_link"
43064 case "(($ac_try" in
43065 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43066 *) ac_try_echo
=$ac_try;;
43068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43069 (eval "$ac_link") 2>conftest.er1
43071 grep -v '^ *+' conftest.er1
>conftest.err
43073 cat conftest.err
>&5
43074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43075 (exit $ac_status); } && {
43076 test -z "$ac_c_werror_flag" ||
43077 test ! -s conftest.err
43078 } && test -s conftest
$ac_exeext &&
43079 $as_test_x conftest
$ac_exeext; then
43080 ac_cv_header_sys_soundcard
=yes
43082 echo "$as_me: failed program was:" >&5
43083 sed 's/^/| /' conftest.
$ac_ext >&5
43087 LIBS
="$saveLibs -lossaudio"
43088 cat >conftest.
$ac_ext <<_ACEOF
43091 cat confdefs.h
>>conftest.
$ac_ext
43092 cat >>conftest.
$ac_ext <<_ACEOF
43093 /* end confdefs.h. */
43095 #include <sys/ioctl.h>
43096 #include <sys/soundcard.h>
43102 ioctl(0, SNDCTL_DSP_SPEED, 0);
43108 rm -f conftest.
$ac_objext conftest
$ac_exeext
43109 if { (ac_try
="$ac_link"
43110 case "(($ac_try" in
43111 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43112 *) ac_try_echo=$ac_try;;
43114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43115 (eval "$ac_link") 2>conftest.er1
43117 grep -v '^ *+' conftest.er1 >conftest.err
43119 cat conftest.err >&5
43120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43121 (exit $ac_status); } && {
43122 test -z "$ac_c_werror_flag" ||
43123 test ! -s conftest.err
43124 } && test -s conftest$ac_exeext &&
43125 $as_test_x conftest$ac_exeext; then
43126 ac_cv_header_sys_soundcard=yes
43128 echo "$as_me: failed program was:" >&5
43129 sed 's/^/| /' conftest.$ac_ext >&5
43133 ac_cv_header_sys_soundcard=no
43138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43139 conftest$ac_exeext conftest.$ac_ext
43144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43145 conftest$ac_exeext conftest.$ac_ext
43148 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43149 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43152 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43153 cat >>confdefs.h <<\_ACEOF
43154 #define HAVE_SYS_SOUNDCARD_H 1
43161 if test "$wxUSE_SOUND" = "yes"; then
43162 if test "$USE_UNIX" = 1 ; then
43163 if test "$wxUSE_LIBSDL" != "no"; then
43165 # Check whether --with-sdl-prefix was given.
43166 if test "${with_sdl_prefix+set}" = set; then
43167 withval=$with_sdl_prefix; sdl_prefix="$withval"
43173 # Check whether --with-sdl-exec-prefix was given.
43174 if test "${with_sdl_exec_prefix+set}" = set; then
43175 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43180 # Check whether --enable-sdltest was given.
43181 if test "${enable_sdltest+set}" = set; then
43182 enableval=$enable_sdltest;
43188 if test x$sdl_exec_prefix != x ; then
43189 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43190 if test x${SDL_CONFIG+set} != xset ; then
43191 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43194 if test x$sdl_prefix != x ; then
43195 sdl_args="$sdl_args --prefix=$sdl_prefix"
43196 if test x${SDL_CONFIG+set} != xset ; then
43197 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43201 if test "x$prefix" != xNONE; then
43202 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43204 # Extract the first word of "sdl-config", so it can be a program name with args.
43205 set dummy sdl-config; ac_word=$2
43206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43208 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43209 echo $ECHO_N "(cached) $ECHO_C" >&6
43211 case $SDL_CONFIG in
43213 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43217 for as_dir in $PATH
43220 test -z "$as_dir" && as_dir=.
43221 for ac_exec_ext in '' $ac_executable_extensions; do
43222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43223 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43231 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43235 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43236 if test -n "$SDL_CONFIG"; then
43237 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43238 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43240 { echo "$as_me:$LINENO: result: no" >&5
43241 echo "${ECHO_T}no" >&6; }
43245 min_sdl_version=1.2.0
43246 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43247 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43249 if test "$SDL_CONFIG" = "no" ; then
43252 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43253 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43255 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43257 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43259 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43261 if test "x$enable_sdltest" = "xyes" ; then
43262 ac_save_CFLAGS="$CFLAGS"
43263 ac_save_CXXFLAGS="$CXXFLAGS"
43264 ac_save_LIBS="$LIBS"
43265 CFLAGS="$CFLAGS $SDL_CFLAGS"
43266 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43267 LIBS="$LIBS $SDL_LIBS"
43269 if test "$cross_compiling" = yes; then
43270 echo $ac_n "cross compiling; assumed OK... $ac_c"
43272 cat >conftest.$ac_ext <<_ACEOF
43275 cat confdefs.h >>conftest.$ac_ext
43276 cat >>conftest.$ac_ext <<_ACEOF
43277 /* end confdefs.h. */
43280 #include <stdlib.h>
43281 #include <string.h>
43285 my_strdup (char *str)
43291 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43292 strcpy (new_str, str);
43300 int main (int argc, char *argv[])
43302 int major, minor, micro;
43305 /* This hangs on some systems (?)
43306 system ("touch conf.sdltest");
43308 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43310 /* HP/UX 9 (%@#!) writes to sscanf strings */
43311 tmp_version = my_strdup("$min_sdl_version");
43312 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43313 printf("%s, bad version string\n", "$min_sdl_version");
43317 if (($sdl_major_version > major) ||
43318 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43319 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43325 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43326 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43327 printf("*** best to upgrade to the required version.\n");
43328 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43329 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43330 printf("*** config.cache before re-running configure\n");
43337 rm -f conftest$ac_exeext
43338 if { (ac_try="$ac_link"
43339 case "(($ac_try" in
43340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43341 *) ac_try_echo
=$ac_try;;
43343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43344 (eval "$ac_link") 2>&5
43346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43347 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43348 { (case "(($ac_try" in
43349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43350 *) ac_try_echo=$ac_try;;
43352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43353 (eval "$ac_try") 2>&5
43355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43356 (exit $ac_status); }; }; then
43359 echo "$as_me: program exited with status $ac_status" >&5
43360 echo "$as_me: failed program was:" >&5
43361 sed 's/^/| /' conftest.$ac_ext >&5
43363 ( exit $ac_status )
43366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43370 CFLAGS="$ac_save_CFLAGS"
43371 CXXFLAGS="$ac_save_CXXFLAGS"
43372 LIBS="$ac_save_LIBS"
43375 if test "x$no_sdl" = x ; then
43376 { echo "$as_me:$LINENO: result: yes" >&5
43377 echo "${ECHO_T}yes" >&6; }
43379 EXTRALIBS_SDL="$SDL_LIBS"
43380 CFLAGS="$SDL_CFLAGS $CFLAGS"
43381 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43382 cat >>confdefs.h <<\_ACEOF
43383 #define wxUSE_LIBSDL 1
43388 { echo "$as_me:$LINENO: result: no" >&5
43389 echo "${ECHO_T}no" >&6; }
43390 if test "$SDL_CONFIG" = "no" ; then
43391 echo "*** The sdl-config script installed by SDL could not be found"
43392 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43393 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43394 echo "*** full path to sdl-config."
43396 if test -f conf.sdltest ; then
43399 echo "*** Could not run SDL test program, checking why..."
43400 CFLAGS="$CFLAGS $SDL_CFLAGS"
43401 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43402 LIBS="$LIBS $SDL_LIBS"
43403 cat >conftest.$ac_ext <<_ACEOF
43406 cat confdefs.h >>conftest.$ac_ext
43407 cat >>conftest.$ac_ext <<_ACEOF
43408 /* end confdefs.h. */
43413 int main(int argc, char *argv[])
43416 #define main K_and_R_C_main
43426 rm -f conftest.$ac_objext conftest$ac_exeext
43427 if { (ac_try="$ac_link"
43428 case "(($ac_try" in
43429 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43430 *) ac_try_echo
=$ac_try;;
43432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43433 (eval "$ac_link") 2>conftest.er1
43435 grep -v '^ *+' conftest.er1
>conftest.err
43437 cat conftest.err
>&5
43438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43439 (exit $ac_status); } && {
43440 test -z "$ac_c_werror_flag" ||
43441 test ! -s conftest.err
43442 } && test -s conftest
$ac_exeext &&
43443 $as_test_x conftest
$ac_exeext; then
43444 echo "*** The test program compiled, but did not run. This usually means"
43445 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43446 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43447 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43448 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43449 echo "*** is required on your system"
43451 echo "*** If you have an old version installed, it is best to remove it, although"
43452 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43454 echo "$as_me: failed program was:" >&5
43455 sed 's/^/| /' conftest.
$ac_ext >&5
43457 echo "*** The test program failed to compile or link. See the file config.log for the"
43458 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43459 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43460 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43463 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43464 conftest
$ac_exeext conftest.
$ac_ext
43465 CFLAGS
="$ac_save_CFLAGS"
43466 CXXFLAGS
="$ac_save_CXXFLAGS"
43467 LIBS
="$ac_save_LIBS"
43478 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43483 if test "$wxUSE_MGL" = 1; then
43484 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43485 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43491 if test "$wxUSE_SOUND" = "yes"; then
43492 cat >>confdefs.h
<<\_ACEOF
43493 #define wxUSE_SOUND 1
43496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43499 if test "$WXGTK2" = 1; then
43502 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43503 if test -n "$ac_tool_prefix"; then
43504 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43505 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43508 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43509 echo $ECHO_N "(cached) $ECHO_C" >&6
43511 case $PKG_CONFIG in
43513 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43517 for as_dir
in $PATH
43520 test -z "$as_dir" && as_dir
=.
43521 for ac_exec_ext
in '' $ac_executable_extensions; do
43522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43523 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43534 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43535 if test -n "$PKG_CONFIG"; then
43536 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43537 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43539 { echo "$as_me:$LINENO: result: no" >&5
43540 echo "${ECHO_T}no" >&6; }
43545 if test -z "$ac_cv_path_PKG_CONFIG"; then
43546 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43547 # Extract the first word of "pkg-config", so it can be a program name with args.
43548 set dummy pkg
-config; ac_word
=$2
43549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43551 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43552 echo $ECHO_N "(cached) $ECHO_C" >&6
43554 case $ac_pt_PKG_CONFIG in
43556 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43560 for as_dir
in $PATH
43563 test -z "$as_dir" && as_dir
=.
43564 for ac_exec_ext
in '' $ac_executable_extensions; do
43565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43566 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43577 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43578 if test -n "$ac_pt_PKG_CONFIG"; then
43579 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43580 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43582 { echo "$as_me:$LINENO: result: no" >&5
43583 echo "${ECHO_T}no" >&6; }
43586 if test "x$ac_pt_PKG_CONFIG" = x
; then
43589 case $cross_compiling:$ac_tool_warned in
43591 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43592 whose name does not start with the host triplet. If you think this
43593 configuration is useful to you, please write to autoconf@gnu.org." >&5
43594 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43595 whose name does not start with the host triplet. If you think this
43596 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43597 ac_tool_warned
=yes ;;
43599 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43602 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43606 if test -n "$PKG_CONFIG"; then
43607 _pkg_min_version
=0.9.0
43608 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43609 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43610 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43611 { echo "$as_me:$LINENO: result: yes" >&5
43612 echo "${ECHO_T}yes" >&6; }
43614 { echo "$as_me:$LINENO: result: no" >&5
43615 echo "${ECHO_T}no" >&6; }
43621 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43623 if test "$wxUSE_GTKPRINT" = "yes" ; then
43627 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43628 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43630 if test -n "$PKG_CONFIG"; then
43631 if test -n "$GTKPRINT_CFLAGS"; then
43632 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
43634 if test -n "$PKG_CONFIG" && \
43635 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43636 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); }; then
43640 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43648 if test -n "$PKG_CONFIG"; then
43649 if test -n "$GTKPRINT_LIBS"; then
43650 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
43652 if test -n "$PKG_CONFIG" && \
43653 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43654 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43657 (exit $ac_status); }; then
43658 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43669 if test $pkg_failed = yes; then
43671 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43672 _pkg_short_errors_supported
=yes
43674 _pkg_short_errors_supported
=no
43676 if test $_pkg_short_errors_supported = yes; then
43677 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43679 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43681 # Put the nasty error message in config.log where it belongs
43682 echo "$GTKPRINT_PKG_ERRORS" >&5
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"
43690 elif test $pkg_failed = untried
; then
43692 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43693 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43694 wxUSE_GTKPRINT
="no"
43698 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
43699 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
43700 { echo "$as_me:$LINENO: result: yes" >&5
43701 echo "${ECHO_T}yes" >&6; }
43703 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
43704 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
43705 cat >>confdefs.h
<<\_ACEOF
43706 #define wxUSE_GTKPRINT 1
43713 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43717 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43718 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43720 if test -n "$PKG_CONFIG"; then
43721 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43722 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43724 if test -n "$PKG_CONFIG" && \
43725 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43726 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43729 (exit $ac_status); }; then
43730 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43738 if test -n "$PKG_CONFIG"; then
43739 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43740 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43742 if test -n "$PKG_CONFIG" && \
43743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43744 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43747 (exit $ac_status); }; then
43748 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43759 if test $pkg_failed = yes; then
43761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43762 _pkg_short_errors_supported
=yes
43764 _pkg_short_errors_supported
=no
43766 if test $_pkg_short_errors_supported = yes; then
43767 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43769 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43771 # Put the nasty error message in config.log where it belongs
43772 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
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"
43780 elif test $pkg_failed = untried
; then
43782 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43783 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43784 wxUSE_LIBGNOMEPRINT
="no"
43788 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43789 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43790 { echo "$as_me:$LINENO: result: yes" >&5
43791 echo "${ECHO_T}yes" >&6; }
43793 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43794 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43795 cat >>confdefs.h
<<\_ACEOF
43796 #define wxUSE_LIBGNOMEPRINT 1
43804 if test "$wxUSE_MIMETYPE" = "yes" ; then
43805 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43809 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43810 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43812 if test -n "$PKG_CONFIG"; then
43813 if test -n "$GNOMEVFS_CFLAGS"; then
43814 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43816 if test -n "$PKG_CONFIG" && \
43817 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43818 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43821 (exit $ac_status); }; then
43822 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43830 if test -n "$PKG_CONFIG"; then
43831 if test -n "$GNOMEVFS_LIBS"; then
43832 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43834 if test -n "$PKG_CONFIG" && \
43835 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43836 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43839 (exit $ac_status); }; then
43840 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43851 if test $pkg_failed = yes; then
43853 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43854 _pkg_short_errors_supported
=yes
43856 _pkg_short_errors_supported
=no
43858 if test $_pkg_short_errors_supported = yes; then
43859 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43861 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43863 # Put the nasty error message in config.log where it belongs
43864 echo "$GNOMEVFS_PKG_ERRORS" >&5
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"
43872 elif test $pkg_failed = untried
; then
43874 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43875 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43876 wxUSE_LIBGNOMEVFS
="no"
43880 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43881 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43882 { echo "$as_me:$LINENO: result: yes" >&5
43883 echo "${ECHO_T}yes" >&6; }
43885 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43886 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43887 cat >>confdefs.h
<<\_ACEOF
43888 #define wxUSE_LIBGNOMEVFS 1
43896 if test "$wxUSE_LIBHILDON" = "yes" ; then
43899 { echo "$as_me:$LINENO: checking for HILDON" >&5
43900 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43902 if test -n "$PKG_CONFIG"; then
43903 if test -n "$HILDON_CFLAGS"; then
43904 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43906 if test -n "$PKG_CONFIG" && \
43907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43908 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); }; then
43912 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43920 if test -n "$PKG_CONFIG"; then
43921 if test -n "$HILDON_LIBS"; then
43922 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43924 if test -n "$PKG_CONFIG" && \
43925 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43926 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43929 (exit $ac_status); }; then
43930 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43941 if test $pkg_failed = yes; then
43943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43944 _pkg_short_errors_supported
=yes
43946 _pkg_short_errors_supported
=no
43948 if test $_pkg_short_errors_supported = yes; then
43949 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43951 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43953 # Put the nasty error message in config.log where it belongs
43954 echo "$HILDON_PKG_ERRORS" >&5
43957 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43958 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43959 wxUSE_LIBHILDON
="no"
43963 elif test $pkg_failed = untried
; then
43965 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43966 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43967 wxUSE_LIBHILDON
="no"
43972 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43973 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43974 { echo "$as_me:$LINENO: result: yes" >&5
43975 echo "${ECHO_T}yes" >&6; }
43977 EXTRALIBS_HILDON
="$HILDON_LIBS"
43978 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43979 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43980 cat >>confdefs.h
<<\_ACEOF
43981 #define wxUSE_LIBHILDON 1
43988 if test "$ac_hildon_lgpl" = 0 ; then
43991 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43992 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43994 if test -n "$PKG_CONFIG"; then
43995 if test -n "$HILDON2_CFLAGS"; then
43996 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
43998 if test -n "$PKG_CONFIG" && \
43999 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44000 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44003 (exit $ac_status); }; then
44004 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44012 if test -n "$PKG_CONFIG"; then
44013 if test -n "$HILDON2_LIBS"; then
44014 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
44016 if test -n "$PKG_CONFIG" && \
44017 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44018 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44021 (exit $ac_status); }; then
44022 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44033 if test $pkg_failed = yes; then
44035 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44036 _pkg_short_errors_supported
=yes
44038 _pkg_short_errors_supported
=no
44040 if test $_pkg_short_errors_supported = yes; then
44041 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44043 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44045 # Put the nasty error message in config.log where it belongs
44046 echo "$HILDON2_PKG_ERRORS" >&5
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"
44054 elif test $pkg_failed = untried
; then
44056 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44057 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44058 wxUSE_LIBHILDON2
="no"
44062 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44063 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44064 { echo "$as_me:$LINENO: result: yes" >&5
44065 echo "${ECHO_T}yes" >&6; }
44067 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44068 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44069 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44070 cat >>confdefs.h
<<\_ACEOF
44071 #define wxUSE_LIBHILDON2 1
44080 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44081 cat >>confdefs.h
<<\_ACEOF
44082 #define wxUSE_CMDLINE_PARSER 1
44087 if test "$wxUSE_STOPWATCH" = "yes"; then
44088 cat >>confdefs.h
<<\_ACEOF
44089 #define wxUSE_STOPWATCH 1
44094 if test "$wxUSE_DATETIME" = "yes"; then
44095 cat >>confdefs.h
<<\_ACEOF
44096 #define wxUSE_DATETIME 1
44101 if test "$wxUSE_FILE" = "yes"; then
44102 cat >>confdefs.h
<<\_ACEOF
44103 #define wxUSE_FILE 1
44108 if test "$wxUSE_FFILE" = "yes"; then
44109 cat >>confdefs.h
<<\_ACEOF
44110 #define wxUSE_FFILE 1
44115 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44116 if test "$wxUSE_STREAMS" != yes; then
44117 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44118 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44119 wxUSE_ARCHIVE_STREAMS
=no
44121 cat >>confdefs.h
<<\_ACEOF
44122 #define wxUSE_ARCHIVE_STREAMS 1
44128 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44129 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44130 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44131 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44132 elif test "$wxUSE_ZLIB" = "no"; then
44133 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44134 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44136 cat >>confdefs.h
<<\_ACEOF
44137 #define wxUSE_ZIPSTREAM 1
44143 if test "$wxUSE_TARSTREAM" = "yes"; then
44144 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44145 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44146 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44148 cat >>confdefs.h
<<\_ACEOF
44149 #define wxUSE_TARSTREAM 1
44155 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44156 cat >>confdefs.h
<<\_ACEOF
44157 #define wxUSE_FILE_HISTORY 1
44162 if test "$wxUSE_FILESYSTEM" = "yes"; then
44163 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44164 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44165 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44166 wxUSE_FILESYSTEM
=no
44168 cat >>confdefs.h
<<\_ACEOF
44169 #define wxUSE_FILESYSTEM 1
44175 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44176 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44177 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44178 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44180 cat >>confdefs.h
<<\_ACEOF
44181 #define wxUSE_FS_ARCHIVE 1
44187 if test "$wxUSE_FS_ZIP" = "yes"; then
44188 if test "$wxUSE_FS_ARCHIVE" != yes; then
44189 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44190 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44192 cat >>confdefs.h
<<\_ACEOF
44193 #define wxUSE_FS_ZIP 1
44199 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44200 if test "$USE_UNIX" != 1; then
44201 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44202 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44203 wxUSE_ON_FATAL_EXCEPTION
=no
44205 cat >>confdefs.h
<<\_ACEOF
44206 #define wxUSE_ON_FATAL_EXCEPTION 1
44212 if test "$wxUSE_STACKWALKER" = "yes"; then
44213 cat >>confdefs.h
<<\_ACEOF
44214 #define wxUSE_STACKWALKER 1
44219 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44220 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44221 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44222 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44223 wxUSE_DEBUGREPORT
=no
44225 cat >>confdefs.h
<<\_ACEOF
44226 #define wxUSE_DEBUGREPORT 1
44229 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44235 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44236 cat >>confdefs.h
<<\_ACEOF
44237 #define wxUSE_SNGLINST_CHECKER 1
44242 if test "$wxUSE_BUSYINFO" = "yes"; then
44243 cat >>confdefs.h
<<\_ACEOF
44244 #define wxUSE_BUSYINFO 1
44249 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44250 cat >>confdefs.h
<<\_ACEOF
44251 #define wxUSE_STD_IOSTREAM 1
44256 if test "$wxUSE_STD_STRING" = "yes"; then
44257 cat >>confdefs.h
<<\_ACEOF
44258 #define wxUSE_STD_STRING 1
44263 if test "$wxUSE_STDPATHS" = "yes"; then
44264 cat >>confdefs.h
<<\_ACEOF
44265 #define wxUSE_STDPATHS 1
44270 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44271 cat >>confdefs.h
<<\_ACEOF
44272 #define wxUSE_TEXTBUFFER 1
44277 if test "$wxUSE_TEXTFILE" = "yes"; then
44278 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44279 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44280 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44282 cat >>confdefs.h
<<\_ACEOF
44283 #define wxUSE_TEXTFILE 1
44289 if test "$wxUSE_CONFIG" = "yes" ; then
44290 if test "$wxUSE_TEXTFILE" != "yes"; then
44291 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44292 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44294 cat >>confdefs.h
<<\_ACEOF
44295 #define wxUSE_CONFIG 1
44298 cat >>confdefs.h
<<\_ACEOF
44299 #define wxUSE_CONFIG_NATIVE 1
44302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44306 if test "$wxUSE_INTL" = "yes" ; then
44307 if test "$wxUSE_FILE" != "yes"; then
44308 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44309 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44311 cat >>confdefs.h
<<\_ACEOF
44312 #define wxUSE_INTL 1
44315 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44316 GUIDIST
="$GUIDIST INTL_DIST"
44320 if test "$wxUSE_XLOCALE" = "yes" ; then
44321 cat >>confdefs.h
<<\_ACEOF
44322 #define wxUSE_XLOCALE 1
44325 { echo "$as_me:$LINENO: checking for locale_t" >&5
44326 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44327 if test "${ac_cv_type_locale_t+set}" = set; then
44328 echo $ECHO_N "(cached) $ECHO_C" >&6
44330 cat >conftest.
$ac_ext <<_ACEOF
44333 cat confdefs.h
>>conftest.
$ac_ext
44334 cat >>conftest.
$ac_ext <<_ACEOF
44335 /* end confdefs.h. */
44336 #include <xlocale.h>
44337 #include <locale.h>
44339 typedef locale_t ac__type_new_;
44343 if ((ac__type_new_ *) 0)
44345 if (sizeof (ac__type_new_))
44351 rm -f conftest.
$ac_objext
44352 if { (ac_try
="$ac_compile"
44353 case "(($ac_try" in
44354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44355 *) ac_try_echo=$ac_try;;
44357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44358 (eval "$ac_compile") 2>conftest.er1
44360 grep -v '^ *+' conftest.er1 >conftest.err
44362 cat conftest.err >&5
44363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44364 (exit $ac_status); } && {
44365 test -z "$ac_c_werror_flag" ||
44366 test ! -s conftest.err
44367 } && test -s conftest.$ac_objext; then
44368 ac_cv_type_locale_t=yes
44370 echo "$as_me: failed program was:" >&5
44371 sed 's/^/| /' conftest.$ac_ext >&5
44373 ac_cv_type_locale_t=no
44376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44378 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44379 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44380 if test $ac_cv_type_locale_t = yes; then
44382 cat >>confdefs.h <<_ACEOF
44383 #define HAVE_LOCALE_T 1
44391 if test "$wxUSE_LOG" = "yes"; then
44392 cat >>confdefs.h <<\_ACEOF
44393 #define wxUSE_LOG 1
44397 if test "$wxUSE_LOGGUI" = "yes"; then
44398 cat >>confdefs.h <<\_ACEOF
44399 #define wxUSE_LOGGUI 1
44404 if test "$wxUSE_LOGWINDOW" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_LOGWINDOW 1
44411 if test "$wxUSE_LOGDIALOG" = "yes"; then
44412 cat >>confdefs.h <<\_ACEOF
44413 #define wxUSE_LOG_DIALOG 1
44418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44421 if test "$wxUSE_LONGLONG" = "yes"; then
44422 cat >>confdefs.h <<\_ACEOF
44423 #define wxUSE_LONGLONG 1
44428 if test "$wxUSE_GEOMETRY" = "yes"; then
44429 cat >>confdefs.h <<\_ACEOF
44430 #define wxUSE_GEOMETRY 1
44435 if test "$wxUSE_BASE64" = "yes"; then
44436 cat >>confdefs.h <<\_ACEOF
44437 #define wxUSE_BASE64 1
44442 if test "$wxUSE_STREAMS" = "yes" ; then
44443 cat >>confdefs.h <<\_ACEOF
44444 #define wxUSE_STREAMS 1
44449 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44450 cat >>confdefs.h <<\_ACEOF
44451 #define wxUSE_PRINTF_POS_PARAMS 1
44456 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44457 cat >>confdefs.h <<\_ACEOF
44458 #define wxUSE_OBJC_UNIQUIFYING 1
44464 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44465 cat >>confdefs.h <<\_ACEOF
44466 #define wxUSE_CONSOLE_EVENTLOOP 1
44470 if test "$wxUSE_UNIX" = "yes"; then
44471 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44472 cat >>confdefs.h <<\_ACEOF
44473 #define wxUSE_SELECT_DISPATCHER 1
44478 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44480 for ac_header in sys/epoll.h
44482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44483 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44486 echo $ECHO_N "(cached) $ECHO_C" >&6
44488 cat >conftest.$ac_ext <<_ACEOF
44491 cat confdefs.h >>conftest.$ac_ext
44492 cat >>conftest.$ac_ext <<_ACEOF
44493 /* end confdefs.h. */
44494 $ac_includes_default
44496 #include <$ac_header>
44498 rm -f conftest.$ac_objext
44499 if { (ac_try="$ac_compile"
44500 case "(($ac_try" in
44501 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44502 *) ac_try_echo
=$ac_try;;
44504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44505 (eval "$ac_compile") 2>conftest.er1
44507 grep -v '^ *+' conftest.er1
>conftest.err
44509 cat conftest.err
>&5
44510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44511 (exit $ac_status); } && {
44512 test -z "$ac_c_werror_flag" ||
44513 test ! -s conftest.err
44514 } && test -s conftest.
$ac_objext; then
44515 eval "$as_ac_Header=yes"
44517 echo "$as_me: failed program was:" >&5
44518 sed 's/^/| /' conftest.
$ac_ext >&5
44520 eval "$as_ac_Header=no"
44523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44525 ac_res
=`eval echo '${'$as_ac_Header'}'`
44526 { echo "$as_me:$LINENO: result: $ac_res" >&5
44527 echo "${ECHO_T}$ac_res" >&6; }
44528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44529 cat >>confdefs.h
<<_ACEOF
44530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44537 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44538 cat >>confdefs.h
<<\_ACEOF
44539 #define wxUSE_EPOLL_DISPATCHER 1
44543 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44544 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44553 for ac_func
in gettimeofday ftime
44555 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44556 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44558 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44559 echo $ECHO_N "(cached) $ECHO_C" >&6
44561 cat >conftest.
$ac_ext <<_ACEOF
44564 cat confdefs.h
>>conftest.
$ac_ext
44565 cat >>conftest.
$ac_ext <<_ACEOF
44566 /* end confdefs.h. */
44567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44569 #define $ac_func innocuous_$ac_func
44571 /* System header to define __stub macros and hopefully few prototypes,
44572 which can conflict with char $ac_func (); below.
44573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44574 <limits.h> exists even on freestanding compilers. */
44577 # include <limits.h>
44579 # include <assert.h>
44584 /* Override any GCC internal prototype to avoid an error.
44585 Use char because int might match the return type of a GCC
44586 builtin and then its argument prototype would still apply. */
44591 /* The GNU C library defines this for functions which it implements
44592 to always fail with ENOSYS. Some functions are actually named
44593 something starting with __ and the normal name is an alias. */
44594 #if defined __stub_$ac_func || defined __stub___$ac_func
44601 return $ac_func ();
44606 rm -f conftest.
$ac_objext conftest
$ac_exeext
44607 if { (ac_try
="$ac_link"
44608 case "(($ac_try" in
44609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44610 *) ac_try_echo=$ac_try;;
44612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44613 (eval "$ac_link") 2>conftest.er1
44615 grep -v '^ *+' conftest.er1 >conftest.err
44617 cat conftest.err >&5
44618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619 (exit $ac_status); } && {
44620 test -z "$ac_c_werror_flag" ||
44621 test ! -s conftest.err
44622 } && test -s conftest$ac_exeext &&
44623 $as_test_x conftest$ac_exeext; then
44624 eval "$as_ac_var=yes"
44626 echo "$as_me: failed program was:" >&5
44627 sed 's/^/| /' conftest.$ac_ext >&5
44629 eval "$as_ac_var=no"
44632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44633 conftest$ac_exeext conftest.$ac_ext
44635 ac_res=`eval echo '${'$as_ac_var'}'`
44636 { echo "$as_me:$LINENO: result: $ac_res" >&5
44637 echo "${ECHO_T}$ac_res" >&6; }
44638 if test `eval echo '${'$as_ac_var'}'` = yes; then
44639 cat >>confdefs.h <<_ACEOF
44640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44647 if test "$ac_cv_func_gettimeofday" = "yes"; then
44648 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44649 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44650 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44651 echo $ECHO_N "(cached) $ECHO_C" >&6
44654 cat >conftest.$ac_ext <<_ACEOF
44657 cat confdefs.h >>conftest.$ac_ext
44658 cat >>conftest.$ac_ext <<_ACEOF
44659 /* end confdefs.h. */
44661 #include <sys/time.h>
44662 #include <unistd.h>
44669 gettimeofday(&tv, NULL);
44675 rm -f conftest.$ac_objext
44676 if { (ac_try="$ac_compile"
44677 case "(($ac_try" in
44678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44679 *) ac_try_echo
=$ac_try;;
44681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44682 (eval "$ac_compile") 2>conftest.er1
44684 grep -v '^ *+' conftest.er1
>conftest.err
44686 cat conftest.err
>&5
44687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44688 (exit $ac_status); } && {
44689 test -z "$ac_c_werror_flag" ||
44690 test ! -s conftest.err
44691 } && test -s conftest.
$ac_objext; then
44692 wx_cv_func_gettimeofday_has_2_args
=yes
44694 echo "$as_me: failed program was:" >&5
44695 sed 's/^/| /' conftest.
$ac_ext >&5
44697 cat >conftest.
$ac_ext <<_ACEOF
44700 cat confdefs.h
>>conftest.
$ac_ext
44701 cat >>conftest.
$ac_ext <<_ACEOF
44702 /* end confdefs.h. */
44704 #include <sys/time.h>
44705 #include <unistd.h>
44718 rm -f conftest.
$ac_objext
44719 if { (ac_try
="$ac_compile"
44720 case "(($ac_try" in
44721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44722 *) ac_try_echo=$ac_try;;
44724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44725 (eval "$ac_compile") 2>conftest.er1
44727 grep -v '^ *+' conftest.er1 >conftest.err
44729 cat conftest.err >&5
44730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44731 (exit $ac_status); } && {
44732 test -z "$ac_c_werror_flag" ||
44733 test ! -s conftest.err
44734 } && test -s conftest.$ac_objext; then
44735 wx_cv_func_gettimeofday_has_2_args=no
44737 echo "$as_me: failed program was:" >&5
44738 sed 's/^/| /' conftest.$ac_ext >&5
44741 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44742 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44743 wx_cv_func_gettimeofday_has_2_args=unknown
44748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44755 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44756 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44758 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44759 cat >>confdefs.h <<\_ACEOF
44760 #define WX_GETTIMEOFDAY_NO_TZ 1
44766 if test "$wxUSE_DATETIME" = "yes"; then
44767 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44768 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44769 if test "${wx_cv_var_timezone+set}" = set; then
44770 echo $ECHO_N "(cached) $ECHO_C" >&6
44774 ac_cpp='$CXXCPP $CPPFLAGS'
44775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44779 cat >conftest.$ac_ext <<_ACEOF
44782 cat confdefs.h >>conftest.$ac_ext
44783 cat >>conftest.$ac_ext <<_ACEOF
44784 /* end confdefs.h. */
44799 rm -f conftest.$ac_objext
44800 if { (ac_try="$ac_compile"
44801 case "(($ac_try" in
44802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44803 *) ac_try_echo
=$ac_try;;
44805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44806 (eval "$ac_compile") 2>conftest.er1
44808 grep -v '^ *+' conftest.er1
>conftest.err
44810 cat conftest.err
>&5
44811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44812 (exit $ac_status); } && {
44813 test -z "$ac_cxx_werror_flag" ||
44814 test ! -s conftest.err
44815 } && test -s conftest.
$ac_objext; then
44817 wx_cv_var_timezone
=timezone
44820 echo "$as_me: failed program was:" >&5
44821 sed 's/^/| /' conftest.
$ac_ext >&5
44824 cat >conftest.
$ac_ext <<_ACEOF
44827 cat confdefs.h
>>conftest.
$ac_ext
44828 cat >>conftest.
$ac_ext <<_ACEOF
44829 /* end confdefs.h. */
44844 rm -f conftest.
$ac_objext
44845 if { (ac_try
="$ac_compile"
44846 case "(($ac_try" in
44847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44848 *) ac_try_echo=$ac_try;;
44850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44851 (eval "$ac_compile") 2>conftest.er1
44853 grep -v '^ *+' conftest.er1 >conftest.err
44855 cat conftest.err >&5
44856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44857 (exit $ac_status); } && {
44858 test -z "$ac_cxx_werror_flag" ||
44859 test ! -s conftest.err
44860 } && test -s conftest.$ac_objext; then
44862 wx_cv_var_timezone=_timezone
44865 echo "$as_me: failed program was:" >&5
44866 sed 's/^/| /' conftest.$ac_ext >&5
44869 cat >conftest.$ac_ext <<_ACEOF
44872 cat confdefs.h >>conftest.$ac_ext
44873 cat >>conftest.$ac_ext <<_ACEOF
44874 /* end confdefs.h. */
44889 rm -f conftest.$ac_objext
44890 if { (ac_try="$ac_compile"
44891 case "(($ac_try" in
44892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44893 *) ac_try_echo
=$ac_try;;
44895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44896 (eval "$ac_compile") 2>conftest.er1
44898 grep -v '^ *+' conftest.er1
>conftest.err
44900 cat conftest.err
>&5
44901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44902 (exit $ac_status); } && {
44903 test -z "$ac_cxx_werror_flag" ||
44904 test ! -s conftest.err
44905 } && test -s conftest.
$ac_objext; then
44907 wx_cv_var_timezone
=__timezone
44910 echo "$as_me: failed program was:" >&5
44911 sed 's/^/| /' conftest.
$ac_ext >&5
44914 if test "$USE_DOS" = 0 ; then
44915 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44916 echo "$as_me: WARNING: no timezone variable" >&2;}
44922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44934 ac_cpp
='$CPP $CPPFLAGS'
44935 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44936 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44937 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44942 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44943 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44945 if test "x$wx_cv_var_timezone" != x
; then
44946 cat >>confdefs.h
<<_ACEOF
44947 #define WX_TIMEZONE $wx_cv_var_timezone
44953 for ac_func
in localtime
44955 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44956 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44958 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44959 echo $ECHO_N "(cached) $ECHO_C" >&6
44961 cat >conftest.
$ac_ext <<_ACEOF
44964 cat confdefs.h
>>conftest.
$ac_ext
44965 cat >>conftest.
$ac_ext <<_ACEOF
44966 /* end confdefs.h. */
44967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44969 #define $ac_func innocuous_$ac_func
44971 /* System header to define __stub macros and hopefully few prototypes,
44972 which can conflict with char $ac_func (); below.
44973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44974 <limits.h> exists even on freestanding compilers. */
44977 # include <limits.h>
44979 # include <assert.h>
44984 /* Override any GCC internal prototype to avoid an error.
44985 Use char because int might match the return type of a GCC
44986 builtin and then its argument prototype would still apply. */
44991 /* The GNU C library defines this for functions which it implements
44992 to always fail with ENOSYS. Some functions are actually named
44993 something starting with __ and the normal name is an alias. */
44994 #if defined __stub_$ac_func || defined __stub___$ac_func
45001 return $ac_func ();
45006 rm -f conftest.
$ac_objext conftest
$ac_exeext
45007 if { (ac_try
="$ac_link"
45008 case "(($ac_try" in
45009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45010 *) ac_try_echo=$ac_try;;
45012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45013 (eval "$ac_link") 2>conftest.er1
45015 grep -v '^ *+' conftest.er1 >conftest.err
45017 cat conftest.err >&5
45018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45019 (exit $ac_status); } && {
45020 test -z "$ac_c_werror_flag" ||
45021 test ! -s conftest.err
45022 } && test -s conftest$ac_exeext &&
45023 $as_test_x conftest$ac_exeext; then
45024 eval "$as_ac_var=yes"
45026 echo "$as_me: failed program was:" >&5
45027 sed 's/^/| /' conftest.$ac_ext >&5
45029 eval "$as_ac_var=no"
45032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45033 conftest$ac_exeext conftest.$ac_ext
45035 ac_res=`eval echo '${'$as_ac_var'}'`
45036 { echo "$as_me:$LINENO: result: $ac_res" >&5
45037 echo "${ECHO_T}$ac_res" >&6; }
45038 if test `eval echo '${'$as_ac_var'}'` = yes; then
45039 cat >>confdefs.h <<_ACEOF
45040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45047 if test "$ac_cv_func_localtime" = "yes"; then
45048 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45049 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45050 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45051 echo $ECHO_N "(cached) $ECHO_C" >&6
45054 cat >conftest.$ac_ext <<_ACEOF
45057 cat confdefs.h >>conftest.$ac_ext
45058 cat >>conftest.$ac_ext <<_ACEOF
45059 /* end confdefs.h. */
45074 rm -f conftest.$ac_objext
45075 if { (ac_try="$ac_compile"
45076 case "(($ac_try" in
45077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45078 *) ac_try_echo
=$ac_try;;
45080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45081 (eval "$ac_compile") 2>conftest.er1
45083 grep -v '^ *+' conftest.er1
>conftest.err
45085 cat conftest.err
>&5
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); } && {
45088 test -z "$ac_c_werror_flag" ||
45089 test ! -s conftest.err
45090 } && test -s conftest.
$ac_objext; then
45092 wx_cv_struct_tm_has_gmtoff
=yes
45095 echo "$as_me: failed program was:" >&5
45096 sed 's/^/| /' conftest.
$ac_ext >&5
45098 wx_cv_struct_tm_has_gmtoff
=no
45102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45105 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45106 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45109 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45110 cat >>confdefs.h
<<\_ACEOF
45111 #define WX_GMTOFF_IN_TM 1
45116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45120 if test "$wxUSE_SOCKETS" = "yes"; then
45121 if test "$wxUSE_MGL" = 1; then
45122 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45123 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45128 if test "$wxUSE_SOCKETS" = "yes"; then
45129 if test "$TOOLKIT" != "MSW"; then
45130 { echo "$as_me:$LINENO: checking for socket" >&5
45131 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45132 if test "${ac_cv_func_socket+set}" = set; then
45133 echo $ECHO_N "(cached) $ECHO_C" >&6
45135 cat >conftest.
$ac_ext <<_ACEOF
45138 cat confdefs.h
>>conftest.
$ac_ext
45139 cat >>conftest.
$ac_ext <<_ACEOF
45140 /* end confdefs.h. */
45141 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45143 #define socket innocuous_socket
45145 /* System header to define __stub macros and hopefully few prototypes,
45146 which can conflict with char socket (); below.
45147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45148 <limits.h> exists even on freestanding compilers. */
45151 # include <limits.h>
45153 # include <assert.h>
45158 /* Override any GCC internal prototype to avoid an error.
45159 Use char because int might match the return type of a GCC
45160 builtin and then its argument prototype would still apply. */
45165 /* The GNU C library defines this for functions which it implements
45166 to always fail with ENOSYS. Some functions are actually named
45167 something starting with __ and the normal name is an alias. */
45168 #if defined __stub_socket || defined __stub___socket
45180 rm -f conftest.
$ac_objext conftest
$ac_exeext
45181 if { (ac_try
="$ac_link"
45182 case "(($ac_try" in
45183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45184 *) ac_try_echo=$ac_try;;
45186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45187 (eval "$ac_link") 2>conftest.er1
45189 grep -v '^ *+' conftest.er1 >conftest.err
45191 cat conftest.err >&5
45192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45193 (exit $ac_status); } && {
45194 test -z "$ac_c_werror_flag" ||
45195 test ! -s conftest.err
45196 } && test -s conftest$ac_exeext &&
45197 $as_test_x conftest$ac_exeext; then
45198 ac_cv_func_socket=yes
45200 echo "$as_me: failed program was:" >&5
45201 sed 's/^/| /' conftest.$ac_ext >&5
45203 ac_cv_func_socket=no
45206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45207 conftest$ac_exeext conftest.$ac_ext
45209 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45210 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45211 if test $ac_cv_func_socket = yes; then
45215 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45216 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45217 if test "${ac_cv_lib_socket_socket+set}" = set; then
45218 echo $ECHO_N "(cached) $ECHO_C" >&6
45220 ac_check_lib_save_LIBS=$LIBS
45221 LIBS="-lsocket $LIBS"
45222 cat >conftest.$ac_ext <<_ACEOF
45225 cat confdefs.h >>conftest.$ac_ext
45226 cat >>conftest.$ac_ext <<_ACEOF
45227 /* end confdefs.h. */
45229 /* Override any GCC internal prototype to avoid an error.
45230 Use char because int might match the return type of a GCC
45231 builtin and then its argument prototype would still apply. */
45244 rm -f conftest.$ac_objext conftest$ac_exeext
45245 if { (ac_try="$ac_link"
45246 case "(($ac_try" in
45247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45248 *) ac_try_echo
=$ac_try;;
45250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45251 (eval "$ac_link") 2>conftest.er1
45253 grep -v '^ *+' conftest.er1
>conftest.err
45255 cat conftest.err
>&5
45256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45257 (exit $ac_status); } && {
45258 test -z "$ac_c_werror_flag" ||
45259 test ! -s conftest.err
45260 } && test -s conftest
$ac_exeext &&
45261 $as_test_x conftest
$ac_exeext; then
45262 ac_cv_lib_socket_socket
=yes
45264 echo "$as_me: failed program was:" >&5
45265 sed 's/^/| /' conftest.
$ac_ext >&5
45267 ac_cv_lib_socket_socket
=no
45270 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45271 conftest
$ac_exeext conftest.
$ac_ext
45272 LIBS
=$ac_check_lib_save_LIBS
45274 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45275 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45276 if test $ac_cv_lib_socket_socket = yes; then
45277 if test "$INET_LINK" != " -lsocket"; then
45278 INET_LINK
="$INET_LINK -lsocket"
45282 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45283 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45296 if test "$wxUSE_SOCKETS" = "yes" ; then
45297 if test "$TOOLKIT" != "MSW"; then
45298 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45299 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45300 if test "${wx_cv_type_getsockname3+set}" = set; then
45301 echo $ECHO_N "(cached) $ECHO_C" >&6
45305 ac_cpp
='$CXXCPP $CPPFLAGS'
45306 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45307 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45308 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45310 cat >conftest.
$ac_ext <<_ACEOF
45313 cat confdefs.h
>>conftest.
$ac_ext
45314 cat >>conftest.
$ac_ext <<_ACEOF
45315 /* end confdefs.h. */
45317 #include <sys/types.h>
45318 #include <sys/socket.h>
45325 getsockname(0, 0, &len);
45331 rm -f conftest.
$ac_objext
45332 if { (ac_try
="$ac_compile"
45333 case "(($ac_try" in
45334 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45335 *) ac_try_echo=$ac_try;;
45337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45338 (eval "$ac_compile") 2>conftest.er1
45340 grep -v '^ *+' conftest.er1 >conftest.err
45342 cat conftest.err >&5
45343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45344 (exit $ac_status); } && {
45345 test -z "$ac_cxx_werror_flag" ||
45346 test ! -s conftest.err
45347 } && test -s conftest.$ac_objext; then
45348 wx_cv_type_getsockname3=socklen_t
45350 echo "$as_me: failed program was:" >&5
45351 sed 's/^/| /' conftest.$ac_ext >&5
45354 CFLAGS_OLD="$CFLAGS"
45355 if test "$GCC" = yes ; then
45356 CFLAGS="-Werror $CFLAGS"
45359 cat >conftest.$ac_ext <<_ACEOF
45362 cat confdefs.h >>conftest.$ac_ext
45363 cat >>conftest.$ac_ext <<_ACEOF
45364 /* end confdefs.h. */
45366 #include <sys/types.h>
45367 #include <sys/socket.h>
45374 getsockname(0, 0, &len);
45380 rm -f conftest.$ac_objext
45381 if { (ac_try="$ac_compile"
45382 case "(($ac_try" in
45383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45384 *) ac_try_echo
=$ac_try;;
45386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45387 (eval "$ac_compile") 2>conftest.er1
45389 grep -v '^ *+' conftest.er1
>conftest.err
45391 cat conftest.err
>&5
45392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45393 (exit $ac_status); } && {
45394 test -z "$ac_cxx_werror_flag" ||
45395 test ! -s conftest.err
45396 } && test -s conftest.
$ac_objext; then
45397 wx_cv_type_getsockname3
=size_t
45399 echo "$as_me: failed program was:" >&5
45400 sed 's/^/| /' conftest.
$ac_ext >&5
45402 cat >conftest.
$ac_ext <<_ACEOF
45405 cat confdefs.h
>>conftest.
$ac_ext
45406 cat >>conftest.
$ac_ext <<_ACEOF
45407 /* end confdefs.h. */
45409 #include <sys/types.h>
45410 #include <sys/socket.h>
45417 getsockname(0, 0, &len);
45423 rm -f conftest.
$ac_objext
45424 if { (ac_try
="$ac_compile"
45425 case "(($ac_try" in
45426 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45427 *) ac_try_echo=$ac_try;;
45429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45430 (eval "$ac_compile") 2>conftest.er1
45432 grep -v '^ *+' conftest.er1 >conftest.err
45434 cat conftest.err >&5
45435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45436 (exit $ac_status); } && {
45437 test -z "$ac_cxx_werror_flag" ||
45438 test ! -s conftest.err
45439 } && test -s conftest.$ac_objext; then
45440 wx_cv_type_getsockname3=int
45442 echo "$as_me: failed program was:" >&5
45443 sed 's/^/| /' conftest.$ac_ext >&5
45445 wx_cv_type_getsockname3=unknown
45449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45455 CFLAGS="$CFLAGS_OLD"
45460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45462 ac_cpp='$CPP $CPPFLAGS'
45463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45469 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45470 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45472 if test "$wx_cv_type_getsockname3" = "unknown"; then
45474 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45475 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45477 cat >>confdefs.h <<_ACEOF
45478 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45482 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45483 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45484 if test "${wx_cv_type_getsockopt5+set}" = set; then
45485 echo $ECHO_N "(cached) $ECHO_C" >&6
45489 ac_cpp='$CXXCPP $CPPFLAGS'
45490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45494 cat >conftest.$ac_ext <<_ACEOF
45497 cat confdefs.h >>conftest.$ac_ext
45498 cat >>conftest.$ac_ext <<_ACEOF
45499 /* end confdefs.h. */
45501 #include <sys/types.h>
45502 #include <sys/socket.h>
45509 getsockopt(0, 0, 0, 0, &len);
45515 rm -f conftest.$ac_objext
45516 if { (ac_try="$ac_compile"
45517 case "(($ac_try" in
45518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45519 *) ac_try_echo
=$ac_try;;
45521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45522 (eval "$ac_compile") 2>conftest.er1
45524 grep -v '^ *+' conftest.er1
>conftest.err
45526 cat conftest.err
>&5
45527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45528 (exit $ac_status); } && {
45529 test -z "$ac_cxx_werror_flag" ||
45530 test ! -s conftest.err
45531 } && test -s conftest.
$ac_objext; then
45532 wx_cv_type_getsockopt5
=socklen_t
45534 echo "$as_me: failed program was:" >&5
45535 sed 's/^/| /' conftest.
$ac_ext >&5
45538 cat >conftest.
$ac_ext <<_ACEOF
45541 cat confdefs.h
>>conftest.
$ac_ext
45542 cat >>conftest.
$ac_ext <<_ACEOF
45543 /* end confdefs.h. */
45545 #include <sys/types.h>
45546 #include <sys/socket.h>
45553 getsockopt(0, 0, 0, 0, &len);
45559 rm -f conftest.
$ac_objext
45560 if { (ac_try
="$ac_compile"
45561 case "(($ac_try" in
45562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45563 *) ac_try_echo=$ac_try;;
45565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45566 (eval "$ac_compile") 2>conftest.er1
45568 grep -v '^ *+' conftest.er1 >conftest.err
45570 cat conftest.err >&5
45571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45572 (exit $ac_status); } && {
45573 test -z "$ac_cxx_werror_flag" ||
45574 test ! -s conftest.err
45575 } && test -s conftest.$ac_objext; then
45576 wx_cv_type_getsockopt5=size_t
45578 echo "$as_me: failed program was:" >&5
45579 sed 's/^/| /' conftest.$ac_ext >&5
45581 cat >conftest.$ac_ext <<_ACEOF
45584 cat confdefs.h >>conftest.$ac_ext
45585 cat >>conftest.$ac_ext <<_ACEOF
45586 /* end confdefs.h. */
45588 #include <sys/types.h>
45589 #include <sys/socket.h>
45596 getsockopt(0, 0, 0, 0, &len);
45602 rm -f conftest.$ac_objext
45603 if { (ac_try="$ac_compile"
45604 case "(($ac_try" in
45605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45606 *) ac_try_echo
=$ac_try;;
45608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45609 (eval "$ac_compile") 2>conftest.er1
45611 grep -v '^ *+' conftest.er1
>conftest.err
45613 cat conftest.err
>&5
45614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45615 (exit $ac_status); } && {
45616 test -z "$ac_cxx_werror_flag" ||
45617 test ! -s conftest.err
45618 } && test -s conftest.
$ac_objext; then
45619 wx_cv_type_getsockopt5
=int
45621 echo "$as_me: failed program was:" >&5
45622 sed 's/^/| /' conftest.
$ac_ext >&5
45624 wx_cv_type_getsockopt5
=unknown
45628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45639 ac_cpp
='$CPP $CPPFLAGS'
45640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45646 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45647 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45649 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45651 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45652 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45654 cat >>confdefs.h
<<_ACEOF
45655 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45662 if test "$wxUSE_SOCKETS" = "yes" ; then
45663 if test "$wxUSE_IPV6" = "yes"; then
45664 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45665 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45666 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45667 echo $ECHO_N "(cached) $ECHO_C" >&6
45670 cat >conftest.
$ac_ext <<_ACEOF
45673 cat confdefs.h
>>conftest.
$ac_ext
45674 cat >>conftest.
$ac_ext <<_ACEOF
45675 /* end confdefs.h. */
45677 #include <sys/types.h>
45678 #include <sys/socket.h>
45679 #include <netinet/in.h>
45685 struct sockaddr_in6 sa6;
45691 rm -f conftest.
$ac_objext
45692 if { (ac_try
="$ac_compile"
45693 case "(($ac_try" in
45694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45695 *) ac_try_echo=$ac_try;;
45697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45698 (eval "$ac_compile") 2>conftest.er1
45700 grep -v '^ *+' conftest.er1 >conftest.err
45702 cat conftest.err >&5
45703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45704 (exit $ac_status); } && {
45705 test -z "$ac_c_werror_flag" ||
45706 test ! -s conftest.err
45707 } && test -s conftest.$ac_objext; then
45708 wx_cv_type_sockaddr_in6=yes
45710 echo "$as_me: failed program was:" >&5
45711 sed 's/^/| /' conftest.$ac_ext >&5
45713 wx_cv_type_sockaddr_in6=no
45717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45721 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45722 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45724 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_IPV6 1
45730 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45731 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_SOCKETS 1
45739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45742 if test "$wxUSE_PROTOCOL" = "yes"; then
45743 if test "$wxUSE_SOCKETS" != "yes"; then
45744 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45745 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45750 if test "$wxUSE_PROTOCOL" = "yes"; then
45751 cat >>confdefs.h <<\_ACEOF
45752 #define wxUSE_PROTOCOL 1
45756 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45757 cat >>confdefs.h <<\_ACEOF
45758 #define wxUSE_PROTOCOL_HTTP 1
45762 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_PROTOCOL_FTP 1
45768 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_PROTOCOL_FILE 1
45775 if test "$wxUSE_FS_INET" = "yes"; then
45776 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45777 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45782 if test "$wxUSE_URL" = "yes"; then
45783 if test "$wxUSE_PROTOCOL" != "yes"; then
45784 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45785 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45788 if test "$wxUSE_URL" = "yes"; then
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_URL 1
45796 if test "$wxUSE_VARIANT" = "yes"; then
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_VARIANT 1
45803 if test "$wxUSE_FS_INET" = "yes"; then
45804 cat >>confdefs.h <<\_ACEOF
45805 #define wxUSE_FS_INET 1
45811 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45814 if test "$TOOLKIT" = "MSW"; then
45817 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45818 if test "$USE_DARWIN" = 1; then
45819 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45820 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45822 ac_cpp='$CXXCPP $CPPFLAGS'
45823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45827 cat >conftest.$ac_ext <<_ACEOF
45830 cat confdefs.h >>conftest.$ac_ext
45831 cat >>conftest.$ac_ext <<_ACEOF
45832 /* end confdefs.h. */
45833 #include <IOKit/hid/IOHIDLib.h>
45837 IOHIDQueueInterface *qi = NULL;
45838 IOHIDCallbackFunction cb = NULL;
45839 qi->setEventCallout(NULL, cb, NULL, NULL);
45844 rm -f conftest.$ac_objext
45845 if { (ac_try="$ac_compile"
45846 case "(($ac_try" in
45847 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45848 *) ac_try_echo
=$ac_try;;
45850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45851 (eval "$ac_compile") 2>conftest.er1
45853 grep -v '^ *+' conftest.er1
>conftest.err
45855 cat conftest.err
>&5
45856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45857 (exit $ac_status); } && {
45858 test -z "$ac_cxx_werror_flag" ||
45859 test ! -s conftest.err
45860 } && test -s conftest.
$ac_objext; then
45864 echo "$as_me: failed program was:" >&5
45865 sed 's/^/| /' conftest.
$ac_ext >&5
45870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45872 ac_cpp
='$CPP $CPPFLAGS'
45873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45877 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45878 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45882 if test "$wxUSE_MGL" != 1; then
45884 for ac_header
in linux
/joystick.h
45886 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45887 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45889 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45890 echo $ECHO_N "(cached) $ECHO_C" >&6
45892 cat >conftest.
$ac_ext <<_ACEOF
45895 cat confdefs.h
>>conftest.
$ac_ext
45896 cat >>conftest.
$ac_ext <<_ACEOF
45897 /* end confdefs.h. */
45898 $ac_includes_default
45900 #include <$ac_header>
45902 rm -f conftest.
$ac_objext
45903 if { (ac_try
="$ac_compile"
45904 case "(($ac_try" in
45905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45906 *) ac_try_echo=$ac_try;;
45908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45909 (eval "$ac_compile") 2>conftest.er1
45911 grep -v '^ *+' conftest.er1 >conftest.err
45913 cat conftest.err >&5
45914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45915 (exit $ac_status); } && {
45916 test -z "$ac_c_werror_flag" ||
45917 test ! -s conftest.err
45918 } && test -s conftest.$ac_objext; then
45919 eval "$as_ac_Header=yes"
45921 echo "$as_me: failed program was:" >&5
45922 sed 's/^/| /' conftest.$ac_ext >&5
45924 eval "$as_ac_Header=no"
45927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45929 ac_res=`eval echo '${'$as_ac_Header'}'`
45930 { echo "$as_me:$LINENO: result: $ac_res" >&5
45931 echo "${ECHO_T}$ac_res" >&6; }
45932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45933 cat >>confdefs.h <<_ACEOF
45934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45944 if test "$wxUSE_JOYSTICK" = "yes"; then
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_JOYSTICK 1
45949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45951 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45952 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45958 if test "$wxUSE_FONTENUM" = "yes" ; then
45959 cat >>confdefs.h <<\_ACEOF
45960 #define wxUSE_FONTENUM 1
45965 if test "$wxUSE_FONTMAP" = "yes" ; then
45966 cat >>confdefs.h <<\_ACEOF
45967 #define wxUSE_FONTMAP 1
45972 if test "$wxUSE_UNICODE" = "yes" ; then
45973 cat >>confdefs.h <<\_ACEOF
45974 #define wxUSE_UNICODE 1
45978 if test "$USE_WIN32" != 1; then
45979 wxUSE_UNICODE_MSLU=no
45982 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45983 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45984 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45985 if test "${ac_cv_lib_unicows_main+set}" = set; then
45986 echo $ECHO_N "(cached) $ECHO_C" >&6
45988 ac_check_lib_save_LIBS=$LIBS
45989 LIBS="-lunicows $LIBS"
45990 cat >conftest.$ac_ext <<_ACEOF
45993 cat confdefs.h >>conftest.$ac_ext
45994 cat >>conftest.$ac_ext <<_ACEOF
45995 /* end confdefs.h. */
46006 rm -f conftest.$ac_objext conftest$ac_exeext
46007 if { (ac_try="$ac_link"
46008 case "(($ac_try" in
46009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46010 *) ac_try_echo
=$ac_try;;
46012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46013 (eval "$ac_link") 2>conftest.er1
46015 grep -v '^ *+' conftest.er1
>conftest.err
46017 cat conftest.err
>&5
46018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46019 (exit $ac_status); } && {
46020 test -z "$ac_c_werror_flag" ||
46021 test ! -s conftest.err
46022 } && test -s conftest
$ac_exeext &&
46023 $as_test_x conftest
$ac_exeext; then
46024 ac_cv_lib_unicows_main
=yes
46026 echo "$as_me: failed program was:" >&5
46027 sed 's/^/| /' conftest.
$ac_ext >&5
46029 ac_cv_lib_unicows_main
=no
46032 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46033 conftest
$ac_exeext conftest.
$ac_ext
46034 LIBS
=$ac_check_lib_save_LIBS
46036 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46037 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46038 if test $ac_cv_lib_unicows_main = yes; then
46040 cat >>confdefs.h
<<\_ACEOF
46041 #define wxUSE_UNICODE_MSLU 1
46047 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46048 Applications will only run on Windows NT/2000/XP!" >&5
46049 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46050 Applications will only run on Windows NT/2000/XP!" >&2;}
46051 wxUSE_UNICODE_MSLU
=no
46058 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46059 cat >>confdefs.h
<<\_ACEOF
46060 #define wxUSE_UNICODE_UTF8 1
46064 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46065 cat >>confdefs.h
<<\_ACEOF
46066 #define wxUSE_UTF8_LOCALE_ONLY 1
46073 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46074 cat >>confdefs.h
<<\_ACEOF
46075 #define wxUSE_CONSTRAINTS 1
46078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46081 if test "$wxUSE_MDI" = "yes"; then
46082 cat >>confdefs.h
<<\_ACEOF
46083 #define wxUSE_MDI 1
46087 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46088 cat >>confdefs.h
<<\_ACEOF
46089 #define wxUSE_MDI_ARCHITECTURE 1
46092 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46096 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46097 cat >>confdefs.h
<<\_ACEOF
46098 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46104 if test "$wxUSE_HELP" = "yes"; then
46105 cat >>confdefs.h
<<\_ACEOF
46106 #define wxUSE_HELP 1
46109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46111 if test "$wxUSE_MSW" = 1; then
46112 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46113 cat >>confdefs.h
<<\_ACEOF
46114 #define wxUSE_MS_HTML_HELP 1
46120 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46121 if test "$wxUSE_HTML" = "yes"; then
46122 cat >>confdefs.h
<<\_ACEOF
46123 #define wxUSE_WXHTML_HELP 1
46127 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46128 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46129 wxUSE_WXHTML_HELP
=no
46134 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46135 cat >>confdefs.h
<<\_ACEOF
46136 #define wxUSE_PRINTING_ARCHITECTURE 1
46139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46142 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46143 cat >>confdefs.h
<<\_ACEOF
46144 #define wxUSE_POSTSCRIPT 1
46149 cat >>confdefs.h
<<\_ACEOF
46150 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46154 if test "$wxUSE_SVG" = "yes"; then
46155 cat >>confdefs.h
<<\_ACEOF
46156 #define wxUSE_SVG 1
46162 if test "$wxUSE_METAFILE" = "yes"; then
46163 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46164 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46165 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46171 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46172 -o "$wxUSE_CLIPBOARD" = "yes" \
46173 -o "$wxUSE_OLE" = "yes" \
46174 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46175 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46176 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46177 if test "${ac_cv_header_ole2_h+set}" = set; then
46178 echo $ECHO_N "(cached) $ECHO_C" >&6
46180 cat >conftest.
$ac_ext <<_ACEOF
46183 cat confdefs.h
>>conftest.
$ac_ext
46184 cat >>conftest.
$ac_ext <<_ACEOF
46185 /* end confdefs.h. */
46190 rm -f conftest.
$ac_objext
46191 if { (ac_try
="$ac_compile"
46192 case "(($ac_try" in
46193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46194 *) ac_try_echo=$ac_try;;
46196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46197 (eval "$ac_compile") 2>conftest.er1
46199 grep -v '^ *+' conftest.er1 >conftest.err
46201 cat conftest.err >&5
46202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46203 (exit $ac_status); } && {
46204 test -z "$ac_c_werror_flag" ||
46205 test ! -s conftest.err
46206 } && test -s conftest.$ac_objext; then
46207 ac_cv_header_ole2_h=yes
46209 echo "$as_me: failed program was:" >&5
46210 sed 's/^/| /' conftest.$ac_ext >&5
46212 ac_cv_header_ole2_h=no
46215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46217 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46218 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46222 if test "$ac_cv_header_ole2_h" = "yes" ; then
46223 if test "$GCC" = yes ; then
46224 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46225 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46226 cat >conftest.$ac_ext <<_ACEOF
46229 cat confdefs.h >>conftest.$ac_ext
46230 cat >>conftest.$ac_ext <<_ACEOF
46231 /* end confdefs.h. */
46232 #include <windows.h>
46242 rm -f conftest.$ac_objext
46243 if { (ac_try="$ac_compile"
46244 case "(($ac_try" in
46245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46246 *) ac_try_echo
=$ac_try;;
46248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46249 (eval "$ac_compile") 2>conftest.er1
46251 grep -v '^ *+' conftest.er1
>conftest.err
46253 cat conftest.err
>&5
46254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46255 (exit $ac_status); } && {
46256 test -z "$ac_c_werror_flag" ||
46257 test ! -s conftest.err
46258 } && test -s conftest.
$ac_objext; then
46259 { echo "$as_me:$LINENO: result: no" >&5
46260 echo "${ECHO_T}no" >&6; }
46262 echo "$as_me: failed program was:" >&5
46263 sed 's/^/| /' conftest.
$ac_ext >&5
46265 { echo "$as_me:$LINENO: result: yes" >&5
46266 echo "${ECHO_T}yes" >&6; }
46267 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46271 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46272 if test "$wxUSE_OLE" = "yes" ; then
46273 cat >>confdefs.h
<<\_ACEOF
46274 #define wxUSE_OLE 1
46277 cat >>confdefs.h
<<\_ACEOF
46278 #define wxUSE_OLE_AUTOMATION 1
46281 cat >>confdefs.h
<<\_ACEOF
46282 #define wxUSE_ACTIVEX 1
46285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46289 if test "$wxUSE_DATAOBJ" = "yes" ; then
46290 cat >>confdefs.h
<<\_ACEOF
46291 #define wxUSE_DATAOBJ 1
46296 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46297 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46300 wxUSE_DRAG_AND_DROP
=no
46305 if test "$wxUSE_METAFILE" = "yes"; then
46306 cat >>confdefs.h
<<\_ACEOF
46307 #define wxUSE_METAFILE 1
46311 cat >>confdefs.h
<<\_ACEOF
46312 #define wxUSE_ENH_METAFILE 1
46318 if test "$wxUSE_IPC" = "yes"; then
46319 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46320 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46321 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46325 if test "$wxUSE_IPC" = "yes"; then
46326 cat >>confdefs.h
<<\_ACEOF
46327 #define wxUSE_IPC 1
46330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46334 if test "$wxUSE_DATAOBJ" = "yes"; then
46335 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46336 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46337 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46340 cat >>confdefs.h
<<\_ACEOF
46341 #define wxUSE_DATAOBJ 1
46346 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46347 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46349 wxUSE_DRAG_AND_DROP
=no
46352 if test "$wxUSE_CLIPBOARD" = "yes"; then
46353 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46354 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46355 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46359 if test "$wxUSE_CLIPBOARD" = "yes"; then
46360 cat >>confdefs.h
<<\_ACEOF
46361 #define wxUSE_CLIPBOARD 1
46367 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46368 if test "$wxUSE_GTK" = 1; then
46369 if test "$WXGTK12" != 1; then
46370 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46371 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46372 wxUSE_DRAG_AND_DROP
=no
46376 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46377 "$wxUSE_DFB" = 1; then
46378 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46379 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46380 wxUSE_DRAG_AND_DROP
=no
46383 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46384 cat >>confdefs.h
<<\_ACEOF
46385 #define wxUSE_DRAG_AND_DROP 1
46392 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46396 if test "$wxUSE_CLIPBOARD" = "yes"; then
46397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46400 if test "$wxUSE_SPLINES" = "yes" ; then
46401 cat >>confdefs.h
<<\_ACEOF
46402 #define wxUSE_SPLINES 1
46407 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46408 cat >>confdefs.h
<<\_ACEOF
46409 #define wxUSE_MOUSEWHEEL 1
46414 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46415 cat >>confdefs.h
<<\_ACEOF
46416 #define wxUSE_UIACTIONSIMULATOR 1
46419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
46424 if test "$wxUSE_CONTROLS" = "yes"; then
46428 if test "$wxUSE_ACCEL" = "yes"; then
46429 cat >>confdefs.h
<<\_ACEOF
46430 #define wxUSE_ACCEL 1
46436 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46437 cat >>confdefs.h
<<\_ACEOF
46438 #define wxUSE_ANIMATIONCTRL 1
46442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46445 if test "$wxUSE_BUTTON" = "yes"; then
46446 cat >>confdefs.h
<<\_ACEOF
46447 #define wxUSE_BUTTON 1
46453 if test "$wxUSE_BMPBUTTON" = "yes"; then
46454 cat >>confdefs.h
<<\_ACEOF
46455 #define wxUSE_BMPBUTTON 1
46461 if test "$wxUSE_CALCTRL" = "yes"; then
46462 cat >>confdefs.h
<<\_ACEOF
46463 #define wxUSE_CALENDARCTRL 1
46467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46470 if test "$wxUSE_CARET" = "yes"; then
46471 cat >>confdefs.h
<<\_ACEOF
46472 #define wxUSE_CARET 1
46476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46479 if test "$wxUSE_COLLPANE" = "yes"; then
46480 cat >>confdefs.h
<<\_ACEOF
46481 #define wxUSE_COLLPANE 1
46485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46488 if test "$wxUSE_COMBOBOX" = "yes"; then
46489 cat >>confdefs.h
<<\_ACEOF
46490 #define wxUSE_COMBOBOX 1
46496 if test "$wxUSE_COMBOCTRL" = "yes"; then
46497 cat >>confdefs.h
<<\_ACEOF
46498 #define wxUSE_COMBOCTRL 1
46504 if test "$wxUSE_CHOICE" = "yes"; then
46505 cat >>confdefs.h
<<\_ACEOF
46506 #define wxUSE_CHOICE 1
46512 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46513 cat >>confdefs.h
<<\_ACEOF
46514 #define wxUSE_CHOICEBOOK 1
46520 if test "$wxUSE_CHECKBOX" = "yes"; then
46521 cat >>confdefs.h
<<\_ACEOF
46522 #define wxUSE_CHECKBOX 1
46528 if test "$wxUSE_CHECKLST" = "yes"; then
46529 cat >>confdefs.h
<<\_ACEOF
46530 #define wxUSE_CHECKLISTBOX 1
46536 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46537 cat >>confdefs.h
<<\_ACEOF
46538 #define wxUSE_COLOURPICKERCTRL 1
46544 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46545 cat >>confdefs.h
<<\_ACEOF
46546 #define wxUSE_DATEPICKCTRL 1
46552 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46553 cat >>confdefs.h
<<\_ACEOF
46554 #define wxUSE_DIRPICKERCTRL 1
46560 if test "$wxUSE_FILECTRL" = "yes"; then
46561 cat >>confdefs.h
<<\_ACEOF
46562 #define wxUSE_FILECTRL 1
46568 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46569 cat >>confdefs.h
<<\_ACEOF
46570 #define wxUSE_FILEPICKERCTRL 1
46576 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46577 cat >>confdefs.h
<<\_ACEOF
46578 #define wxUSE_FONTPICKERCTRL 1
46584 if test "$wxUSE_DISPLAY" = "yes"; then
46585 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46586 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46587 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46590 cat >>confdefs.h
<<\_ACEOF
46591 #define wxUSE_DISPLAY 1
46594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
46598 if test "$wxUSE_DETECT_SM" = "yes"; then
46599 cat >>confdefs.h
<<\_ACEOF
46600 #define wxUSE_DETECT_SM 1
46605 if test "$wxUSE_GAUGE" = "yes"; then
46606 cat >>confdefs.h
<<\_ACEOF
46607 #define wxUSE_GAUGE 1
46613 if test "$wxUSE_GRID" = "yes"; then
46614 cat >>confdefs.h
<<\_ACEOF
46615 #define wxUSE_GRID 1
46619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46622 if test "$wxUSE_HEADERCTRL" = "yes"; then
46623 cat >>confdefs.h
<<\_ACEOF
46624 #define wxUSE_HEADERCTRL 1
46630 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46631 cat >>confdefs.h
<<\_ACEOF
46632 #define wxUSE_HYPERLINKCTRL 1
46638 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46639 cat >>confdefs.h
<<\_ACEOF
46640 #define wxUSE_BITMAPCOMBOBOX 1
46646 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46647 cat >>confdefs.h
<<\_ACEOF
46648 #define wxUSE_DATAVIEWCTRL 1
46652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46655 if test "$wxUSE_IMAGLIST" = "yes"; then
46656 cat >>confdefs.h
<<\_ACEOF
46657 #define wxUSE_IMAGLIST 1
46662 if test "$wxUSE_INFOBAR" = "yes"; then
46663 cat >>confdefs.h
<<\_ACEOF
46664 #define wxUSE_INFOBAR 1
46669 if test "$wxUSE_LISTBOOK" = "yes"; then
46670 cat >>confdefs.h
<<\_ACEOF
46671 #define wxUSE_LISTBOOK 1
46677 if test "$wxUSE_LISTBOX" = "yes"; then
46678 cat >>confdefs.h
<<\_ACEOF
46679 #define wxUSE_LISTBOX 1
46685 if test "$wxUSE_LISTCTRL" = "yes"; then
46686 if test "$wxUSE_IMAGLIST" = "yes"; then
46687 cat >>confdefs.h
<<\_ACEOF
46688 #define wxUSE_LISTCTRL 1
46692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46694 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46695 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46699 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46700 cat >>confdefs.h
<<\_ACEOF
46701 #define wxUSE_EDITABLELISTBOX 1
46707 if test "$wxUSE_NOTEBOOK" = "yes"; then
46708 cat >>confdefs.h
<<\_ACEOF
46709 #define wxUSE_NOTEBOOK 1
46713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46716 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46717 cat >>confdefs.h
<<\_ACEOF
46718 #define wxUSE_NOTIFICATION_MESSAGE 1
46723 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46724 cat >>confdefs.h
<<\_ACEOF
46725 #define wxUSE_ODCOMBOBOX 1
46729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46732 if test "$wxUSE_RADIOBOX" = "yes"; then
46733 cat >>confdefs.h
<<\_ACEOF
46734 #define wxUSE_RADIOBOX 1
46740 if test "$wxUSE_RADIOBTN" = "yes"; then
46741 cat >>confdefs.h
<<\_ACEOF
46742 #define wxUSE_RADIOBTN 1
46748 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46749 cat >>confdefs.h
<<\_ACEOF
46750 #define wxUSE_REARRANGECTRL 1
46755 if test "$wxUSE_SASH" = "yes"; then
46756 cat >>confdefs.h
<<\_ACEOF
46757 #define wxUSE_SASH 1
46760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46763 if test "$wxUSE_SCROLLBAR" = "yes"; then
46764 cat >>confdefs.h
<<\_ACEOF
46765 #define wxUSE_SCROLLBAR 1
46769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46772 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46773 cat >>confdefs.h
<<\_ACEOF
46774 #define wxUSE_SEARCHCTRL 1
46780 if test "$wxUSE_SLIDER" = "yes"; then
46781 cat >>confdefs.h
<<\_ACEOF
46782 #define wxUSE_SLIDER 1
46788 if test "$wxUSE_SPINBTN" = "yes"; then
46789 cat >>confdefs.h
<<\_ACEOF
46790 #define wxUSE_SPINBTN 1
46796 if test "$wxUSE_SPINCTRL" = "yes"; then
46797 cat >>confdefs.h
<<\_ACEOF
46798 #define wxUSE_SPINCTRL 1
46804 if test "$wxUSE_SPLITTER" = "yes"; then
46805 cat >>confdefs.h
<<\_ACEOF
46806 #define wxUSE_SPLITTER 1
46809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46812 if test "$wxUSE_STATBMP" = "yes"; then
46813 cat >>confdefs.h
<<\_ACEOF
46814 #define wxUSE_STATBMP 1
46820 if test "$wxUSE_STATBOX" = "yes"; then
46821 cat >>confdefs.h
<<\_ACEOF
46822 #define wxUSE_STATBOX 1
46828 if test "$wxUSE_STATTEXT" = "yes"; then
46829 cat >>confdefs.h
<<\_ACEOF
46830 #define wxUSE_STATTEXT 1
46836 if test "$wxUSE_STATLINE" = "yes"; then
46837 cat >>confdefs.h
<<\_ACEOF
46838 #define wxUSE_STATLINE 1
46844 if test "$wxUSE_STATUSBAR" = "yes"; then
46845 cat >>confdefs.h
<<\_ACEOF
46846 #define wxUSE_NATIVE_STATUSBAR 1
46849 cat >>confdefs.h
<<\_ACEOF
46850 #define wxUSE_STATUSBAR 1
46855 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46858 if test "$wxUSE_TEXTCTRL" = "yes"; then
46859 cat >>confdefs.h
<<\_ACEOF
46860 #define wxUSE_TEXTCTRL 1
46864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46866 cat >>confdefs.h
<<\_ACEOF
46867 #define wxUSE_RICHEDIT 1
46870 cat >>confdefs.h
<<\_ACEOF
46871 #define wxUSE_RICHEDIT2 1
46876 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46877 if test "$wxUSE_OLD_COCOA" = 1 ; then
46878 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46879 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46883 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46884 cat >>confdefs.h
<<\_ACEOF
46885 #define wxUSE_TOGGLEBTN 1
46892 if test "$wxUSE_TOOLBAR" = "yes"; then
46893 cat >>confdefs.h
<<\_ACEOF
46894 #define wxUSE_TOOLBAR 1
46899 if test "$wxUSE_UNIVERSAL" = "yes"; then
46900 wxUSE_TOOLBAR_NATIVE
="no"
46902 wxUSE_TOOLBAR_NATIVE
="yes"
46903 cat >>confdefs.h
<<\_ACEOF
46904 #define wxUSE_TOOLBAR_NATIVE 1
46909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46912 if test "$wxUSE_TOOLTIPS" = "yes"; then
46913 if test "$wxUSE_MOTIF" = 1; then
46914 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46915 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46917 if test "$wxUSE_UNIVERSAL" = "yes"; then
46918 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46919 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46921 cat >>confdefs.h
<<\_ACEOF
46922 #define wxUSE_TOOLTIPS 1
46929 if test "$wxUSE_TREEBOOK" = "yes"; then
46930 cat >>confdefs.h
<<\_ACEOF
46931 #define wxUSE_TREEBOOK 1
46937 if test "$wxUSE_TOOLBOOK" = "yes"; then
46938 cat >>confdefs.h
<<\_ACEOF
46939 #define wxUSE_TOOLBOOK 1
46945 if test "$wxUSE_TREECTRL" = "yes"; then
46946 if test "$wxUSE_IMAGLIST" = "yes"; then
46947 cat >>confdefs.h
<<\_ACEOF
46948 #define wxUSE_TREECTRL 1
46952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46954 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46955 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46959 if test "$wxUSE_POPUPWIN" = "yes"; then
46960 if test "$wxUSE_OLD_COCOA" = 1 ; then
46961 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46962 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46964 if test "$wxUSE_PM" = 1; then
46965 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46966 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46968 cat >>confdefs.h
<<\_ACEOF
46969 #define wxUSE_POPUPWIN 1
46972 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46979 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46980 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46981 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46982 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46984 cat >>confdefs.h
<<\_ACEOF
46985 #define wxUSE_DIALUP_MANAGER 1
46988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46992 if test "$wxUSE_TIPWINDOW" = "yes"; then
46993 if test "$wxUSE_PM" = 1; then
46994 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46995 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46997 cat >>confdefs.h
<<\_ACEOF
46998 #define wxUSE_TIPWINDOW 1
47004 if test "$USES_CONTROLS" = 1; then
47005 cat >>confdefs.h
<<\_ACEOF
47006 #define wxUSE_CONTROLS 1
47012 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47013 cat >>confdefs.h
<<\_ACEOF
47014 #define wxUSE_ACCESSIBILITY 1
47017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47020 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47021 cat >>confdefs.h
<<\_ACEOF
47022 #define wxUSE_DRAGIMAGE 1
47025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47028 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47029 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47030 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47031 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47033 cat >>confdefs.h
<<\_ACEOF
47034 #define wxUSE_EXCEPTIONS 1
47037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47042 if test "$wxUSE_HTML" = "yes"; then
47043 cat >>confdefs.h
<<\_ACEOF
47044 #define wxUSE_HTML 1
47048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47050 if test "$wxUSE_WEBKIT" = "yes"; then
47051 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47052 old_CPPFLAGS
="$CPPFLAGS"
47053 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47054 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47055 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47056 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47057 echo $ECHO_N "(cached) $ECHO_C" >&6
47059 cat >conftest.
$ac_ext <<_ACEOF
47062 cat confdefs.h
>>conftest.
$ac_ext
47063 cat >>conftest.
$ac_ext <<_ACEOF
47064 /* end confdefs.h. */
47066 #include <Carbon/Carbon.h>
47067 #include <WebKit/WebKit.h>
47070 #include <WebKit/HIWebView.h>
47072 rm -f conftest.
$ac_objext
47073 if { (ac_try
="$ac_compile"
47074 case "(($ac_try" in
47075 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47076 *) ac_try_echo=$ac_try;;
47078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47079 (eval "$ac_compile") 2>conftest.er1
47081 grep -v '^ *+' conftest.er1 >conftest.err
47083 cat conftest.err >&5
47084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47085 (exit $ac_status); } && {
47086 test -z "$ac_c_werror_flag" ||
47087 test ! -s conftest.err
47088 } && test -s conftest.$ac_objext; then
47089 ac_cv_header_WebKit_HIWebView_h=yes
47091 echo "$as_me: failed program was:" >&5
47092 sed 's/^/| /' conftest.$ac_ext >&5
47094 ac_cv_header_WebKit_HIWebView_h=no
47097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47099 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47100 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47101 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47103 cat >>confdefs.h <<\_ACEOF
47104 #define wxUSE_WEBKIT 1
47107 WEBKIT_LINK="-framework WebKit"
47111 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47112 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47118 CPPFLAGS="$old_CPPFLAGS"
47119 elif test "$wxUSE_OLD_COCOA" = 1; then
47120 cat >>confdefs.h <<\_ACEOF
47121 #define wxUSE_WEBKIT 1
47127 if test "$wxUSE_WEBKIT" = "yes"; then
47128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47133 if test "$wxUSE_XRC" = "yes"; then
47134 if test "$wxUSE_XML" != "yes"; then
47135 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47136 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47139 cat >>confdefs.h <<\_ACEOF
47140 #define wxUSE_XRC 1
47144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47149 if test "$wxUSE_AUI" = "yes"; then
47150 cat >>confdefs.h <<\_ACEOF
47151 #define wxUSE_AUI 1
47155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47159 if test "$wxUSE_PROPGRID" = "yes"; then
47160 cat >>confdefs.h <<\_ACEOF
47161 #define wxUSE_PROPGRID 1
47165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47169 if test "$wxUSE_RIBBON" = "yes"; then
47170 cat >>confdefs.h <<\_ACEOF
47171 #define wxUSE_RIBBON 1
47175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47179 if test "$wxUSE_STC" = "yes"; then
47180 cat >>confdefs.h <<\_ACEOF
47181 #define wxUSE_STC 1
47185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47187 # Extract the first word of "python", so it can be a program name with args.
47188 set dummy python; ac_word=$2
47189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47191 if test "${ac_cv_path_PYTHON+set}" = set; then
47192 echo $ECHO_N "(cached) $ECHO_C" >&6
47196 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47200 for as_dir in $PATH
47203 test -z "$as_dir" && as_dir=.
47204 for ac_exec_ext in '' $ac_executable_extensions; do
47205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47206 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47217 PYTHON=$ac_cv_path_PYTHON
47218 if test -n "$PYTHON"; then
47219 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47220 echo "${ECHO_T}$PYTHON" >&6; }
47222 { echo "$as_me:$LINENO: result: no" >&5
47223 echo "${ECHO_T}no" >&6; }
47227 if test "x$PYTHON" = "x"; then
47233 if test "$wxUSE_MENUS" = "yes"; then
47234 cat >>confdefs.h <<\_ACEOF
47235 #define wxUSE_MENUS 1
47238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47241 if test "$wxUSE_METAFILE" = "yes"; then
47242 cat >>confdefs.h <<\_ACEOF
47243 #define wxUSE_METAFILE 1
47248 if test "$wxUSE_MIMETYPE" = "yes"; then
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_MIMETYPE 1
47255 if test "$wxUSE_MINIFRAME" = "yes"; then
47256 cat >>confdefs.h <<\_ACEOF
47257 #define wxUSE_MINIFRAME 1
47262 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47263 cat >>confdefs.h <<\_ACEOF
47264 #define wxUSE_SYSTEM_OPTIONS 1
47269 if test "$wxUSE_TASKBARICON" = "yes"; then
47270 cat >>confdefs.h <<\_ACEOF
47271 #define wxUSE_TASKBARICON 1
47274 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47278 if test "$wxUSE_VALIDATORS" = "yes"; then
47279 cat >>confdefs.h <<\_ACEOF
47280 #define wxUSE_VALIDATORS 1
47283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47286 if test "$wxUSE_PALETTE" = "yes" ; then
47287 if test "$wxUSE_DFB" = 1; then
47288 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47289 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47292 cat >>confdefs.h <<\_ACEOF
47293 #define wxUSE_PALETTE 1
47299 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47300 LIBS=" -lunicows $LIBS"
47304 if test "$wxUSE_RICHTEXT" = "yes"; then
47305 cat >>confdefs.h <<\_ACEOF
47306 #define wxUSE_RICHTEXT 1
47310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47314 if test "$wxUSE_IMAGE" = "yes" ; then
47315 cat >>confdefs.h <<\_ACEOF
47316 #define wxUSE_IMAGE 1
47320 if test "$wxUSE_GIF" = "yes" ; then
47321 cat >>confdefs.h <<\_ACEOF
47322 #define wxUSE_GIF 1
47327 if test "$wxUSE_PCX" = "yes" ; then
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_PCX 1
47334 if test "$wxUSE_TGA" = "yes" ; then
47335 cat >>confdefs.h <<\_ACEOF
47336 #define wxUSE_TGA 1
47341 if test "$wxUSE_IFF" = "yes" ; then
47342 cat >>confdefs.h <<\_ACEOF
47343 #define wxUSE_IFF 1
47348 if test "$wxUSE_PNM" = "yes" ; then
47349 cat >>confdefs.h <<\_ACEOF
47350 #define wxUSE_PNM 1
47355 if test "$wxUSE_XPM" = "yes" ; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_XPM 1
47362 if test "$wxUSE_ICO_CUR" = "yes" ; then
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_ICO_CUR 1
47371 if test "$wxUSE_ABOUTDLG" = "yes"; then
47372 cat >>confdefs.h <<\_ACEOF
47373 #define wxUSE_ABOUTDLG 1
47378 if test "$wxUSE_CHOICEDLG" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_CHOICEDLG 1
47385 if test "$wxUSE_COLOURDLG" = "yes"; then
47386 cat >>confdefs.h <<\_ACEOF
47387 #define wxUSE_COLOURDLG 1
47392 if test "$wxUSE_FILEDLG" = "yes"; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_FILEDLG 1
47399 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47400 cat >>confdefs.h <<\_ACEOF
47401 #define wxUSE_FINDREPLDLG 1
47406 if test "$wxUSE_FONTDLG" = "yes"; then
47407 cat >>confdefs.h <<\_ACEOF
47408 #define wxUSE_FONTDLG 1
47413 if test "$wxUSE_DIRDLG" = "yes"; then
47414 if test "$wxUSE_TREECTRL" != "yes"; then
47415 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47416 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47418 cat >>confdefs.h <<\_ACEOF
47419 #define wxUSE_DIRDLG 1
47425 if test "$wxUSE_MSGDLG" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_MSGDLG 1
47432 if test "$wxUSE_NUMBERDLG" = "yes"; then
47433 cat >>confdefs.h <<\_ACEOF
47434 #define wxUSE_NUMBERDLG 1
47439 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_PROGRESSDLG 1
47446 if test "$wxUSE_SPLASH" = "yes"; then
47447 cat >>confdefs.h <<\_ACEOF
47448 #define wxUSE_SPLASH 1
47451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47454 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47455 cat >>confdefs.h <<\_ACEOF
47456 #define wxUSE_STARTUP_TIPS 1
47461 if test "$wxUSE_TEXTDLG" = "yes"; then
47462 cat >>confdefs.h <<\_ACEOF
47463 #define wxUSE_TEXTDLG 1
47468 if test "$wxUSE_WIZARDDLG" = "yes"; then
47469 cat >>confdefs.h <<\_ACEOF
47470 #define wxUSE_WIZARDDLG 1
47473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47477 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47478 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_OWNER_DRAWN 1
47487 if test "$wxUSE_MSW" = 1 ; then
47489 if test "$wxUSE_DC_CACHEING" = "yes"; then
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_DC_CACHEING 1
47496 if test "$wxUSE_DIB" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_WXDIB 1
47503 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47510 if test "$wxUSE_UXTHEME" = "yes"; then
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_UXTHEME 1
47519 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47520 cat >>confdefs.h <<\_ACEOF
47521 #define wxUSE_AUTOID_MANAGEMENT 1
47526 if test "$USE_WIN32" = 1 ; then
47527 if test "$wxUSE_INICONF" = "yes"; then
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_INICONF 1
47534 if test "$wxUSE_REGKEY" = "yes"; then
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_REGKEY 1
47543 if test "$wxUSE_MAC" = 1; then
47544 wxUSE_GRAPHICS_CONTEXT="yes"
47547 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47549 if test "$wxUSE_MSW" = 1; then
47550 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47551 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47552 if test "${wx_cv_lib_gdiplus+set}" = set; then
47553 echo $ECHO_N "(cached) $ECHO_C" >&6
47557 ac_cpp='$CXXCPP $CPPFLAGS'
47558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47562 cat >conftest.$ac_ext <<_ACEOF
47565 cat confdefs.h >>conftest.$ac_ext
47566 cat >>conftest.$ac_ext <<_ACEOF
47567 /* end confdefs.h. */
47568 #include <windows.h>
47569 #include <gdiplus.h>
47574 using namespace Gdiplus;
47580 rm -f conftest.$ac_objext
47581 if { (ac_try="$ac_compile"
47582 case "(($ac_try" in
47583 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47584 *) ac_try_echo
=$ac_try;;
47586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47587 (eval "$ac_compile") 2>conftest.er1
47589 grep -v '^ *+' conftest.er1
>conftest.err
47591 cat conftest.err
>&5
47592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47593 (exit $ac_status); } && {
47594 test -z "$ac_cxx_werror_flag" ||
47595 test ! -s conftest.err
47596 } && test -s conftest.
$ac_objext; then
47597 wx_cv_lib_gdiplus
=yes
47599 echo "$as_me: failed program was:" >&5
47600 sed 's/^/| /' conftest.
$ac_ext >&5
47602 wx_cv_lib_gdiplus
=no
47606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47608 ac_cpp
='$CPP $CPPFLAGS'
47609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47616 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47617 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47618 if test "$wx_cv_lib_gdiplus" = "yes"; then
47621 elif test "$wxUSE_GTK" = 1; then
47624 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47625 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47627 if test -n "$PKG_CONFIG"; then
47628 if test -n "$CAIRO_CFLAGS"; then
47629 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47631 if test -n "$PKG_CONFIG" && \
47632 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47633 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47636 (exit $ac_status); }; then
47637 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47645 if test -n "$PKG_CONFIG"; then
47646 if test -n "$CAIRO_LIBS"; then
47647 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47649 if test -n "$PKG_CONFIG" && \
47650 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47651 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47654 (exit $ac_status); }; then
47655 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47666 if test $pkg_failed = yes; then
47668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47669 _pkg_short_errors_supported
=yes
47671 _pkg_short_errors_supported
=no
47673 if test $_pkg_short_errors_supported = yes; then
47674 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47676 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47678 # Put the nasty error message in config.log where it belongs
47679 echo "$CAIRO_PKG_ERRORS" >&5
47681 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47682 echo "$as_me: WARNING: Cairo library not found" >&2;}
47684 elif test $pkg_failed = untried
; then
47685 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47686 echo "$as_me: WARNING: Cairo library not found" >&2;}
47689 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47690 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47691 { echo "$as_me:$LINENO: result: yes" >&5
47692 echo "${ECHO_T}yes" >&6; }
47699 if test "$wx_has_graphics" = 1; then
47700 cat >>confdefs.h
<<\_ACEOF
47701 #define wxUSE_GRAPHICS_CONTEXT 1
47705 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47706 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47713 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47716 if test "$wxUSE_GTK" = 1; then
47717 wxUSE_GSTREAMER
="no"
47719 GST_VERSION_MAJOR
=0
47720 GST_VERSION_MINOR
=10
47721 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47723 if test "$wxUSE_GSTREAMER8" = "no"; then
47726 { echo "$as_me:$LINENO: checking for GST" >&5
47727 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47729 if test -n "$PKG_CONFIG"; then
47730 if test -n "$GST_CFLAGS"; then
47731 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47733 if test -n "$PKG_CONFIG" && \
47734 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47735 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47738 (exit $ac_status); }; then
47739 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47747 if test -n "$PKG_CONFIG"; then
47748 if test -n "$GST_LIBS"; then
47749 pkg_cv_GST_LIBS
="$GST_LIBS"
47751 if test -n "$PKG_CONFIG" && \
47752 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47753 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47756 (exit $ac_status); }; then
47757 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47768 if test $pkg_failed = yes; then
47770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47771 _pkg_short_errors_supported
=yes
47773 _pkg_short_errors_supported
=no
47775 if test $_pkg_short_errors_supported = yes; then
47776 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47778 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47780 # Put the nasty error message in config.log where it belongs
47781 echo "$GST_PKG_ERRORS" >&5
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
47789 elif test $pkg_failed = untried
; then
47791 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47792 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47793 GST_VERSION_MINOR
=8
47797 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47798 GST_LIBS
=$pkg_cv_GST_LIBS
47799 { echo "$as_me:$LINENO: result: yes" >&5
47800 echo "${ECHO_T}yes" >&6; }
47802 wxUSE_GSTREAMER
="yes"
47803 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47807 GST_VERSION_MINOR
=8
47810 if test $GST_VERSION_MINOR = "8"; then
47811 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47814 { echo "$as_me:$LINENO: checking for GST" >&5
47815 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47817 if test -n "$PKG_CONFIG"; then
47818 if test -n "$GST_CFLAGS"; then
47819 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47821 if test -n "$PKG_CONFIG" && \
47822 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47823 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47826 (exit $ac_status); }; then
47827 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47835 if test -n "$PKG_CONFIG"; then
47836 if test -n "$GST_LIBS"; then
47837 pkg_cv_GST_LIBS
="$GST_LIBS"
47839 if test -n "$PKG_CONFIG" && \
47840 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47841 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47844 (exit $ac_status); }; then
47845 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47856 if test $pkg_failed = yes; then
47858 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47859 _pkg_short_errors_supported
=yes
47861 _pkg_short_errors_supported
=no
47863 if test $_pkg_short_errors_supported = yes; then
47864 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47866 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47868 # Put the nasty error message in config.log where it belongs
47869 echo "$GST_PKG_ERRORS" >&5
47872 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47873 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47875 elif test $pkg_failed = untried
; then
47877 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47878 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47881 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47882 GST_LIBS
=$pkg_cv_GST_LIBS
47883 { echo "$as_me:$LINENO: result: yes" >&5
47884 echo "${ECHO_T}yes" >&6; }
47885 wxUSE_GSTREAMER
="yes"
47890 if test "$wxUSE_GSTREAMER" = "yes"; then
47891 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47892 EXTRALIBS_MEDIA
="$GST_LIBS"
47894 cat >>confdefs.h
<<\_ACEOF
47895 #define wxUSE_GSTREAMER 1
47903 if test $USE_MEDIA = 1; then
47904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47905 cat >>confdefs.h
<<\_ACEOF
47906 #define wxUSE_MEDIACTRL 1
47910 if test "$wxUSE_MEDIACTRL" = "yes"; then
47911 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47912 echo "$as_me: error: GStreamer not available" >&2;}
47913 { (exit 1); exit 1; }; }
47915 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47916 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47922 if test "$cross_compiling" != "no"; then
47925 OSINFO
=`uname -s -r -m`
47926 OSINFO
="\"$OSINFO\""
47929 cat >>confdefs.h
<<_ACEOF
47930 #define WXWIN_OS_DESCRIPTION $OSINFO
47935 if test "x$prefix" != "xNONE"; then
47938 wxPREFIX
=$ac_default_prefix
47941 cat >>confdefs.h
<<_ACEOF
47942 #define wxINSTALL_PREFIX "$wxPREFIX"
47948 STD_BASE_LIBS
="base"
47950 BUILT_WX_LIBS
="base"
47951 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
47953 if test "$wxUSE_SOCKETS" = "yes" ; then
47954 STD_BASE_LIBS
="net $STD_BASE_LIBS"
47955 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
47957 if test "$wxUSE_XML" = "yes" ; then
47958 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
47959 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
47962 if test "$wxUSE_GUI" = "yes"; then
47963 STD_GUI_LIBS
="adv core"
47964 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
47966 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47967 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
47968 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
47970 if test "$wxUSE_HTML" = "yes" ; then
47971 STD_GUI_LIBS
="html $STD_GUI_LIBS"
47972 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
47974 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47975 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
47977 if test "$wxUSE_OPENGL" = "yes" ; then
47978 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
47980 if test "$wxUSE_AUI" = "yes" ; then
47981 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
47983 if test "$wxUSE_PROPGRID" = "yes" ; then
47984 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
47986 if test "$wxUSE_RIBBON" = "yes" ; then
47987 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
47989 if test "$wxUSE_RICHTEXT" = "yes" ; then
47990 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
47992 if test "$wxUSE_STC" = "yes" ; then
47993 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
47995 if test "$wxUSE_XRC" = "yes" ; then
47996 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
47997 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
48008 if test "$wxUSE_MAC" = 1 ; then
48009 if test "$USE_DARWIN" = 1; then
48010 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48013 if test "$wxUSE_OLD_COCOA" = 1 ; then
48014 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
48015 if test "$wxUSE_MEDIACTRL" = "yes"; then
48016 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
48019 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48020 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48023 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
48024 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48026 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48028 if test "$wxUSE_GUI" = "yes"; then
48031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48032 erase event exec font image minimal render \
48033 shaped svg taborder vscroll widgets wrapsizer"
48035 if test "$wxUSE_MONOLITHIC" != "yes"; then
48036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
48038 if test "$TOOLKIT" = "MSW"; then
48039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
48040 if test "$wxUSE_UNIVERSAL" != "yes"; then
48041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48044 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
48048 SAMPLES_SUBDIRS
="console"
48049 if test "$wxUSE_SOCKETS" = "yes" ; then
48050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
48052 if test "$wxUSE_IPC" = "yes" ; then
48053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
48058 if test "x$INTELCC" = "xyes" ; then
48059 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
48060 elif test "$GCC" = yes ; then
48061 CWARNINGS
="-Wall -Wundef"
48064 if test "x$INTELCXX" = "xyes" ; then
48065 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48066 elif test "$GXX" = yes ; then
48067 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48068 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48069 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48070 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48071 echo $ECHO_N "(cached) $ECHO_C" >&6
48073 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
48076 ac_cpp
='$CXXCPP $CPPFLAGS'
48077 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48078 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48079 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48081 ac_save_CXXFLAGS
="$CXXFLAGS"
48082 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48083 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48084 cat >conftest.
$ac_ext <<_ACEOF
48087 cat confdefs.h
>>conftest.
$ac_ext
48088 cat >>conftest.
$ac_ext <<_ACEOF
48089 /* end confdefs.h. */
48099 rm -f conftest.
$ac_objext
48100 if { (ac_try
="$ac_compile"
48101 case "(($ac_try" in
48102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48103 *) ac_try_echo=$ac_try;;
48105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48106 (eval "$ac_compile") 2>conftest.er1
48108 grep -v '^ *+' conftest.er1 >conftest.err
48110 cat conftest.err >&5
48111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48112 (exit $ac_status); } && {
48113 test -z "$ac_cxx_werror_flag" ||
48114 test ! -s conftest.err
48115 } && test -s conftest.$ac_objext; then
48116 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48118 echo "$as_me: failed program was:" >&5
48119 sed 's/^/| /' conftest.$ac_ext >&5
48124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48126 CXXFLAGS="$ac_save_CXXFLAGS"
48128 ac_cpp='$CPP $CPPFLAGS'
48129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48135 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48136 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48137 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48141 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48142 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48143 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48146 (exit $ac_status); }
48147 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48148 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48151 (exit $ac_status); }
48152 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48158 if test "$wxUSE_MAC" = 1 ; then
48159 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48164 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48165 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48168 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48169 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
48170 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
48173 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48174 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48175 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48176 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48177 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48179 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48182 if test "x$MWCC" = "xyes"; then
48184 CC="$CC -cwd source -I-"
48185 CXX="$CXX -cwd source -I-"
48190 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48191 EXTRALIBS_XML="$EXPAT_LINK"
48192 EXTRALIBS_HTML="$MSPACK_LINK"
48193 EXTRALIBS_MEDIA="$GST_LIBS"
48194 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48195 if test "$wxUSE_GUI" = "yes"; then
48196 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48198 if test "$wxUSE_OPENGL" = "yes"; then
48199 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48202 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48204 WXCONFIG_LIBS="$LIBS"
48206 if test "$wxUSE_REGEX" = "builtin" ; then
48207 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48209 if test "$wxUSE_EXPAT" = "builtin" ; then
48210 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48212 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48213 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48215 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48216 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48218 if test "$wxUSE_LIBPNG" = "builtin" ; then
48219 wxconfig_3rdparty="png $wxconfig_3rdparty"
48221 if test "$wxUSE_ZLIB" = "builtin" ; then
48222 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48225 for i in $wxconfig_3rdparty ; do
48226 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48230 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48233 case "$wxUNIV_THEMES" in
48235 cat >>confdefs.h <<\_ACEOF
48236 #define wxUSE_ALL_THEMES 1
48242 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48243 cat >>confdefs.h <<_ACEOF
48244 #define wxUSE_THEME_$t 1
48260 if test $wxUSE_MONOLITHIC = "yes" ; then
48266 if test $wxUSE_PLUGINS = "yes" ; then
48272 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48278 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48310 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48323 TOOLKIT_DESC="GTK+"
48324 if test "$WXGTK2" = 1; then
48325 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48326 if test "$wxUSE_GTKPRINT" = "yes" ; then
48327 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48329 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48330 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48332 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48333 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48335 if test "$wxUSE_LIBHILDON" = "yes"; then
48336 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48338 if test "$wxUSE_LIBHILDON2" = "yes"; then
48339 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48342 if test "$TOOLKIT_EXTRA" != ""; then
48343 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48349 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48353 TOOLKIT_DESC="base only"
48357 if test "$wxUSE_WINE" = "yes"; then
48358 BAKEFILE_FORCE_PLATFORM=win32
48361 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48363 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48364 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48365 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48366 echo $ECHO_N "(cached) $ECHO_C" >&6
48369 echo '#include <stdio.h>
48370 const wchar_t test_var[] = L"awidetest";' > conftest.h
48372 echo '#include "conftest.h"
48375 printf("%ls", test_var);
48379 wx_cv_gcc_pch_bug="pch not supported"
48381 if $CXX conftest.h >/dev/null 2>&1
48385 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48387 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48388 grep awidetest >/dev/null
48390 wx_cv_gcc_pch_bug=no
48392 wx_cv_gcc_pch_bug=yes
48397 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48400 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48401 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48403 if test "$wx_cv_gcc_pch_bug" = yes; then
48414 if test "x$BAKEFILE_HOST" = "x"; then
48415 if test "x${host}" = "x" ; then
48416 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48417 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48418 { (exit 1); exit 1; }; }
48421 BAKEFILE_HOST="${host}"
48424 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48426 if test -n "$ac_tool_prefix"; then
48427 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48428 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48431 if test "${ac_cv_prog_RANLIB+set}" = set; then
48432 echo $ECHO_N "(cached) $ECHO_C" >&6
48434 if test -n "$RANLIB"; then
48435 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48438 for as_dir in $PATH
48441 test -z "$as_dir" && as_dir=.
48442 for ac_exec_ext in '' $ac_executable_extensions; do
48443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48444 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48454 RANLIB=$ac_cv_prog_RANLIB
48455 if test -n "$RANLIB"; then
48456 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48457 echo "${ECHO_T}$RANLIB" >&6; }
48459 { echo "$as_me:$LINENO: result: no" >&5
48460 echo "${ECHO_T}no" >&6; }
48465 if test -z "$ac_cv_prog_RANLIB"; then
48466 ac_ct_RANLIB=$RANLIB
48467 # Extract the first word of "ranlib", so it can be a program name with args.
48468 set dummy ranlib; ac_word=$2
48469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48471 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48472 echo $ECHO_N "(cached) $ECHO_C" >&6
48474 if test -n "$ac_ct_RANLIB"; then
48475 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48478 for as_dir in $PATH
48481 test -z "$as_dir" && as_dir=.
48482 for ac_exec_ext in '' $ac_executable_extensions; do
48483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48484 ac_cv_prog_ac_ct_RANLIB="ranlib"
48485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48494 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48495 if test -n "$ac_ct_RANLIB"; then
48496 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48497 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48499 { echo "$as_me:$LINENO: result: no" >&5
48500 echo "${ECHO_T}no" >&6; }
48503 if test "x$ac_ct_RANLIB" = x; then
48506 case $cross_compiling:$ac_tool_warned in
48508 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48509 whose name does not start with the host triplet. If you think this
48510 configuration is useful to you, please write to autoconf@gnu.org." >&5
48511 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48512 whose name does not start with the host triplet. If you think this
48513 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48514 ac_tool_warned=yes ;;
48516 RANLIB=$ac_ct_RANLIB
48519 RANLIB="$ac_cv_prog_RANLIB"
48522 # Find a good install program. We prefer a C program (faster),
48523 # so one script is as good as another. But avoid the broken or
48524 # incompatible versions:
48525 # SysV /etc/install, /usr/sbin/install
48526 # SunOS /usr/etc/install
48527 # IRIX /sbin/install
48529 # AmigaOS /C/install, which installs bootblocks on floppy discs
48530 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48531 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48532 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48533 # OS/2's system install, which has a completely different semantic
48534 # ./install, which can be erroneously created by make from ./install.sh.
48535 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48536 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48537 if test -z "$INSTALL"; then
48538 if test "${ac_cv_path_install+set}" = set; then
48539 echo $ECHO_N "(cached) $ECHO_C" >&6
48541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48542 for as_dir in $PATH
48545 test -z "$as_dir" && as_dir=.
48546 # Account for people who put trailing slashes in PATH elements.
48548 ./ | .// | /cC/* | \
48549 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48550 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48553 # OSF1 and SCO ODT 3.0 have their own names for install.
48554 # Don't use installbsd from OSF since it installs stuff as root
48556 for ac_prog in ginstall scoinst install; do
48557 for ac_exec_ext in '' $ac_executable_extensions; do
48558 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48559 if test $ac_prog = install &&
48560 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48561 # AIX install. It has an incompatible calling convention.
48563 elif test $ac_prog = install &&
48564 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48565 # program-specific install script used by HP pwplus--don't use.
48568 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48581 if test "${ac_cv_path_install+set}" = set; then
48582 INSTALL=$ac_cv_path_install
48584 # As a last resort, use the slow shell script. Don't cache a
48585 # value for INSTALL within a source directory, because that will
48586 # break other packages using the cache if that directory is
48587 # removed, or if the value is a relative name.
48588 INSTALL=$ac_install_sh
48591 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48592 echo "${ECHO_T}$INSTALL" >&6; }
48594 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48595 # It thinks the first close brace ends the variable substitution.
48596 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48598 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48600 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48602 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48603 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48605 if test "$LN_S" = "ln -s"; then
48606 { echo "$as_me:$LINENO: result: yes" >&5
48607 echo "${ECHO_T}yes" >&6; }
48609 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48610 echo "${ECHO_T}no, using $LN_S" >&6; }
48614 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48615 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48616 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48617 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48618 echo $ECHO_N "(cached) $ECHO_C" >&6
48620 cat >conftest.make <<\_ACEOF
48623 @echo '@@@%%%=$(MAKE)=@@@%%%'
48625 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48626 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48627 *@@@%%%=?*=@@@%%%*)
48628 eval ac_cv_prog_make_${ac_make}_set=yes;;
48630 eval ac_cv_prog_make_${ac_make}_set=no;;
48632 rm -f conftest.make
48634 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48635 { echo "$as_me:$LINENO: result: yes" >&5
48636 echo "${ECHO_T}yes" >&6; }
48639 { echo "$as_me:$LINENO: result: no" >&5
48640 echo "${ECHO_T}no" >&6; }
48641 SET_MAKE="MAKE=${MAKE-make}"
48646 if test "x$SUNCXX" = "xyes"; then
48648 AROPTIONS="-xar -o"
48650 elif test "x$SGICC" = "xyes"; then
48655 if test -n "$ac_tool_prefix"; then
48656 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48657 set dummy ${ac_tool_prefix}ar; ac_word=$2
48658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48660 if test "${ac_cv_prog_AR+set}" = set; then
48661 echo $ECHO_N "(cached) $ECHO_C" >&6
48663 if test -n "$AR"; then
48664 ac_cv_prog_AR="$AR" # Let the user override the test.
48666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48667 for as_dir in $PATH
48670 test -z "$as_dir" && as_dir=.
48671 for ac_exec_ext in '' $ac_executable_extensions; do
48672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48673 ac_cv_prog_AR="${ac_tool_prefix}ar"
48674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48684 if test -n "$AR"; then
48685 { echo "$as_me:$LINENO: result: $AR" >&5
48686 echo "${ECHO_T}$AR" >&6; }
48688 { echo "$as_me:$LINENO: result: no" >&5
48689 echo "${ECHO_T}no" >&6; }
48694 if test -z "$ac_cv_prog_AR"; then
48696 # Extract the first word of "ar", so it can be a program name with args.
48697 set dummy ar; ac_word=$2
48698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48700 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48701 echo $ECHO_N "(cached) $ECHO_C" >&6
48703 if test -n "$ac_ct_AR"; then
48704 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48707 for as_dir in $PATH
48710 test -z "$as_dir" && as_dir=.
48711 for ac_exec_ext in '' $ac_executable_extensions; do
48712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48713 ac_cv_prog_ac_ct_AR="ar"
48714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48723 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48724 if test -n "$ac_ct_AR"; then
48725 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48726 echo "${ECHO_T}$ac_ct_AR" >&6; }
48728 { echo "$as_me:$LINENO: result: no" >&5
48729 echo "${ECHO_T}no" >&6; }
48732 if test "x$ac_ct_AR" = x; then
48735 case $cross_compiling:$ac_tool_warned in
48737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48738 whose name does not start with the host triplet. If you think this
48739 configuration is useful to you, please write to autoconf@gnu.org." >&5
48740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48741 whose name does not start with the host triplet. If you think this
48742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48743 ac_tool_warned=yes ;;
48748 AR="$ac_cv_prog_AR"
48755 if test -n "$ac_tool_prefix"; then
48756 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48757 set dummy ${ac_tool_prefix}strip; ac_word=$2
48758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48760 if test "${ac_cv_prog_STRIP+set}" = set; then
48761 echo $ECHO_N "(cached) $ECHO_C" >&6
48763 if test -n "$STRIP"; then
48764 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48767 for as_dir in $PATH
48770 test -z "$as_dir" && as_dir=.
48771 for ac_exec_ext in '' $ac_executable_extensions; do
48772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48773 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48783 STRIP=$ac_cv_prog_STRIP
48784 if test -n "$STRIP"; then
48785 { echo "$as_me:$LINENO: result: $STRIP" >&5
48786 echo "${ECHO_T}$STRIP" >&6; }
48788 { echo "$as_me:$LINENO: result: no" >&5
48789 echo "${ECHO_T}no" >&6; }
48794 if test -z "$ac_cv_prog_STRIP"; then
48796 # Extract the first word of "strip", so it can be a program name with args.
48797 set dummy strip; ac_word=$2
48798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48800 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48801 echo $ECHO_N "(cached) $ECHO_C" >&6
48803 if test -n "$ac_ct_STRIP"; then
48804 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48807 for as_dir in $PATH
48810 test -z "$as_dir" && as_dir=.
48811 for ac_exec_ext in '' $ac_executable_extensions; do
48812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48813 ac_cv_prog_ac_ct_STRIP="strip"
48814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48823 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48824 if test -n "$ac_ct_STRIP"; then
48825 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48826 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48828 { echo "$as_me:$LINENO: result: no" >&5
48829 echo "${ECHO_T}no" >&6; }
48832 if test "x$ac_ct_STRIP" = x; then
48835 case $cross_compiling:$ac_tool_warned in
48837 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48838 whose name does not start with the host triplet. If you think this
48839 configuration is useful to you, please write to autoconf@gnu.org." >&5
48840 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48841 whose name does not start with the host triplet. If you think this
48842 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48843 ac_tool_warned=yes ;;
48848 STRIP="$ac_cv_prog_STRIP"
48851 if test -n "$ac_tool_prefix"; then
48852 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48853 set dummy ${ac_tool_prefix}nm; ac_word=$2
48854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48856 if test "${ac_cv_prog_NM+set}" = set; then
48857 echo $ECHO_N "(cached) $ECHO_C" >&6
48859 if test -n "$NM"; then
48860 ac_cv_prog_NM="$NM" # Let the user override the test.
48862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48863 for as_dir in $PATH
48866 test -z "$as_dir" && as_dir=.
48867 for ac_exec_ext in '' $ac_executable_extensions; do
48868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48869 ac_cv_prog_NM="${ac_tool_prefix}nm"
48870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48880 if test -n "$NM"; then
48881 { echo "$as_me:$LINENO: result: $NM" >&5
48882 echo "${ECHO_T}$NM" >&6; }
48884 { echo "$as_me:$LINENO: result: no" >&5
48885 echo "${ECHO_T}no" >&6; }
48890 if test -z "$ac_cv_prog_NM"; then
48892 # Extract the first word of "nm", so it can be a program name with args.
48893 set dummy nm; ac_word=$2
48894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48896 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48897 echo $ECHO_N "(cached) $ECHO_C" >&6
48899 if test -n "$ac_ct_NM"; then
48900 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48903 for as_dir in $PATH
48906 test -z "$as_dir" && as_dir=.
48907 for ac_exec_ext in '' $ac_executable_extensions; do
48908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48909 ac_cv_prog_ac_ct_NM="nm"
48910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48919 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48920 if test -n "$ac_ct_NM"; then
48921 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48922 echo "${ECHO_T}$ac_ct_NM" >&6; }
48924 { echo "$as_me:$LINENO: result: no" >&5
48925 echo "${ECHO_T}no" >&6; }
48928 if test "x$ac_ct_NM" = x; then
48931 case $cross_compiling:$ac_tool_warned in
48933 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48934 whose name does not start with the host triplet. If you think this
48935 configuration is useful to you, please write to autoconf@gnu.org." >&5
48936 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48937 whose name does not start with the host triplet. If you think this
48938 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48939 ac_tool_warned=yes ;;
48944 NM="$ac_cv_prog_NM"
48948 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48949 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48950 INSTALL_TEST_DIR=acbftest$$
48951 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48952 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48953 rmdir $INSTALL_TEST_DIR
48954 INSTALL_DIR='$(INSTALL) -d'
48955 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48956 echo "${ECHO_T}$INSTALL -d" >&6; }
48958 INSTALL_DIR="mkdir -p"
48959 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48960 echo "${ECHO_T}mkdir -p" >&6; }
48965 case ${BAKEFILE_HOST} in
48966 *-*-cygwin* | *-*-mingw32* )
48967 LDFLAGS_GUI="-mwindows"
48973 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48974 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48975 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48976 echo $ECHO_N "(cached) $ECHO_C" >&6
48979 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48980 egrep -s GNU > /dev/null); then
48981 bakefile_cv_prog_makeisgnu="yes"
48983 bakefile_cv_prog_makeisgnu="no"
48987 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48988 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48990 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49007 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49008 case "${BAKEFILE_HOST}" in
49015 *-pc-os2_emx | *-pc-os2-emx )
49025 powerpc-apple-macos* )
49034 case "$BAKEFILE_FORCE_PLATFORM" in
49055 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49056 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49057 { (exit 1); exit 1; }; }
49072 # Check whether --enable-omf was given.
49073 if test "${enable_omf+set}" = set; then
49074 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49078 case "${BAKEFILE_HOST}" in
49080 if test "x$GCC" = "xyes"; then
49081 CFLAGS="$CFLAGS -fno-common"
49082 CXXFLAGS="$CXXFLAGS -fno-common"
49084 if test "x$XLCC" = "xyes"; then
49085 CFLAGS="$CFLAGS -qnocommon"
49086 CXXFLAGS="$CXXFLAGS -qnocommon"
49090 *-pc-os2_emx | *-pc-os2-emx )
49091 if test "x$bk_os2_use_omf" = "xyes" ; then
49094 LDFLAGS="-Zomf $LDFLAGS"
49095 CFLAGS="-Zomf $CFLAGS"
49096 CXXFLAGS="-Zomf $CXXFLAGS"
49104 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49110 SO_SUFFIX_MODULE="so"
49115 DLLPREFIX_MODULE=""
49119 case "${BAKEFILE_HOST}" in
49124 SO_SUFFIX_MODULE="sl"
49128 SO_SUFFIX_MODULE="a"
49132 SO_SUFFIX_MODULE="dll"
49133 DLLIMP_SUFFIX="dll.a"
49140 SO_SUFFIX_MODULE="dll"
49141 DLLIMP_SUFFIX="dll.a"
49151 *-pc-os2_emx | *-pc-os2-emx )
49153 SO_SUFFIX_MODULE="dll"
49154 DLLIMP_SUFFIX=$OS2_LIBEXT
49158 LIBEXT=".$OS2_LIBEXT"
49163 SO_SUFFIX_MODULE="bundle"
49167 if test "x$DLLIMP_SUFFIX" = "x" ; then
49168 DLLIMP_SUFFIX="$SO_SUFFIX"
49183 if test "x$GCC" = "xyes"; then
49187 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49188 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49191 case "${BAKEFILE_HOST}" in
49193 if test "x$GCC" != "xyes"; then
49194 LDFLAGS="$LDFLAGS -L/usr/lib"
49196 SHARED_LD_CC="${CC} -b -o"
49197 SHARED_LD_CXX="${CXX} -b -o"
49203 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49205 elif test "x$SUNCXX" = "xyes"; then
49206 SHARED_LD_CC="${CC} -G -o"
49207 SHARED_LD_CXX="${CXX} -G -o"
49213 if test "x$SUNCXX" = xyes ; then
49214 SHARED_LD_CC="${CC} -G -o"
49215 SHARED_LD_CXX="${CXX} -G -o"
49223 cat <<EOF >shared-ld-sh
49225 #-----------------------------------------------------------------------------
49226 #-- Name: distrib/mac/shared-ld-sh
49227 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49228 #-- Author: Gilles Depeyrot
49229 #-- Copyright: (c) 2002 Gilles Depeyrot
49230 #-- Licence: any use permitted
49231 #-----------------------------------------------------------------------------
49236 linking_flag="-dynamiclib"
49237 ldargs="-r -keep_private_externs -nostdlib"
49239 if test "x${D}CXX" = "x"; then
49243 while test ${D}# -gt 0; do
49250 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49251 # collect these options and values
49252 args="${D}{args} ${D}1 ${D}2"
49257 # collect these options and values
49258 ldargs="${D}{ldargs} ${D}1 ${D}2"
49263 # collect these load args
49264 ldargs="${D}{ldargs} ${D}1"
49267 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49268 # collect these options
49269 args="${D}{args} ${D}1"
49272 -dynamiclib|-bundle)
49273 linking_flag="${D}1"
49277 echo "shared-ld: unhandled option '${D}1'"
49281 *.o | *.a | *.dylib)
49282 # collect object files
49283 objects="${D}{objects} ${D}1"
49287 echo "shared-ld: unhandled argument '${D}1'"
49298 # Link one module containing all the others
49300 if test ${D}{verbose} = 1; then
49301 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49303 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49307 # Link the shared library from the single module created, but only if the
49308 # previous command didn't fail:
49310 if test ${D}{status} = 0; then
49311 if test ${D}{verbose} = 1; then
49312 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49314 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49319 # Remove intermediate module
49321 rm -f master.${D}${D}.o
49326 chmod +x shared-ld-sh
49328 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49329 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49332 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49333 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49334 if test "${bakefile_cv_gcc31+set}" = set; then
49335 echo $ECHO_N "(cached) $ECHO_C" >&6
49338 cat >conftest.$ac_ext <<_ACEOF
49341 cat confdefs.h >>conftest.$ac_ext
49342 cat >>conftest.$ac_ext <<_ACEOF
49343 /* end confdefs.h. */
49349 #if (__GNUC__ < 3) || \
49350 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49358 rm -f conftest.$ac_objext
49359 if { (ac_try="$ac_compile"
49360 case "(($ac_try" in
49361 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49362 *) ac_try_echo
=$ac_try;;
49364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49365 (eval "$ac_compile") 2>conftest.er1
49367 grep -v '^ *+' conftest.er1
>conftest.err
49369 cat conftest.err
>&5
49370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49371 (exit $ac_status); } && {
49372 test -z "$ac_c_werror_flag" ||
49373 test ! -s conftest.err
49374 } && test -s conftest.
$ac_objext; then
49376 bakefile_cv_gcc31
=yes
49379 echo "$as_me: failed program was:" >&5
49380 sed 's/^/| /' conftest.
$ac_ext >&5
49383 bakefile_cv_gcc31
=no
49388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49391 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49392 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49393 if test "$bakefile_cv_gcc31" = "no"; then
49394 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49395 SHARED_LD_CXX
="$SHARED_LD_CC"
49397 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49398 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49401 if test "x$GCC" == "xyes"; then
49402 PIC_FLAG
="-dynamic -fPIC"
49404 if test "x$XLCC" = "xyes"; then
49405 PIC_FLAG
="-dynamic -DPIC"
49410 if test "x$GCC" = "xyes"; then
49413 case "${BAKEFILE_HOST}" in
49415 LD_EXPFULL
="-Wl,-bexpfull"
49419 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49420 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49422 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49423 set dummy makeC
++SharedLib
; ac_word
=$2
49424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49426 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49427 echo $ECHO_N "(cached) $ECHO_C" >&6
49429 if test -n "$AIX_CXX_LD"; then
49430 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49433 for as_dir
in $PATH
49436 test -z "$as_dir" && as_dir
=.
49437 for ac_exec_ext
in '' $ac_executable_extensions; do
49438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49439 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49447 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49450 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49451 if test -n "$AIX_CXX_LD"; then
49452 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49453 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49455 { echo "$as_me:$LINENO: result: no" >&5
49456 echo "${ECHO_T}no" >&6; }
49460 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49461 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49466 SHARED_LD_CC
="${LD} -nostart -o"
49467 SHARED_LD_CXX
="${LD} -nostart -o"
49471 if test "x$GCC" != "xyes"; then
49476 *-*-cygwin* | *-*-mingw32* )
49478 SHARED_LD_CC
="\$(CC) -shared -o"
49479 SHARED_LD_CXX
="\$(CXX) -shared -o"
49483 *-pc-os2_emx | *-pc-os2-emx )
49484 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49485 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49489 cat <<EOF >dllar.sh
49492 # dllar - a tool to build both a .dll and an .a file
49493 # from a set of object (.o) files for EMX/OS2.
49495 # Written by Andrew Zabolotny, bit@freya.etu.ru
49496 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49498 # This script will accept a set of files on the command line.
49499 # All the public symbols from the .o files will be exported into
49500 # a .DEF file, then linker will be run (through gcc) against them to
49501 # build a shared library consisting of all given .o files. All libraries
49502 # (.a) will be first decompressed into component .o files then act as
49503 # described above. You can optionally give a description (-d "description")
49504 # which will be put into .DLL. To see the list of accepted options (as well
49505 # as command-line format) simply run this program without options. The .DLL
49506 # is built to be imported by name (there is no guarantee that new versions
49507 # of the library you build will have same ordinals for same symbols).
49509 # dllar is free software; you can redistribute it and/or modify
49510 # it under the terms of the GNU General Public License as published by
49511 # the Free Software Foundation; either version 2, or (at your option)
49512 # any later version.
49514 # dllar is distributed in the hope that it will be useful,
49515 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49516 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49517 # GNU General Public License for more details.
49519 # You should have received a copy of the GNU General Public License
49520 # along with dllar; see the file COPYING. If not, write to the Free
49521 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49524 # To successfuly run this program you will need:
49525 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49526 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49528 # (used to build the .dll)
49530 # (used to create .def file from .o files)
49532 # (used to create .a file from .def file)
49533 # - GNU text utilites (cat, sort, uniq)
49534 # used to process emxexp output
49535 # - GNU file utilities (mv, rm)
49537 # - lxlite (optional, see flag below)
49538 # (used for general .dll cleanup)
49545 # basnam, variant of basename, which does _not_ remove the path, _iff_
49546 # second argument (suffix to remove) is given
49550 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49553 echo ${D}1 | sed 's/'${D}2'${D}//'
49556 echo "error in basnam ${D}*"
49562 # Cleanup temporary files and output
49565 for i in ${D}inputFiles ; do
49568 rm -rf \`basnam ${D}i !\`
49575 # Kill result in case of failure as there is just to many stupid make/nmake
49576 # things out there which doesn't do this.
49577 if [ ${D}# -eq 0 ]; then
49578 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49582 # Print usage and exit script with rc=1.
49584 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49585 echo ' [-name-mangler-script script.sh]'
49586 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49587 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49588 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49589 echo ' [*.o] [*.a]'
49590 echo '*> "output_file" should have no extension.'
49591 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49592 echo ' The import library name is derived from this and is set to "name".a,'
49593 echo ' unless overridden by -import'
49594 echo '*> "importlib_name" should have no extension.'
49595 echo ' If it has the .o, or .a extension, it is automatically removed.'
49596 echo ' This name is used as the import library name and may be longer and'
49597 echo ' more descriptive than the DLL name which has to follow the old '
49598 echo ' 8.3 convention of FAT.'
49599 echo '*> "script.sh may be given to override the output_file name by a'
49600 echo ' different name. It is mainly useful if the regular make process'
49601 echo ' of some package does not take into account OS/2 restriction of'
49602 echo ' DLL name lengths. It takes the importlib name as input and is'
49603 echo ' supposed to procude a shorter name as output. The script should'
49604 echo ' expect to get importlib_name without extension and should produce'
49605 echo ' a (max.) 8 letter name without extension.'
49606 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49607 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49608 echo ' These flags will be put at the start of GCC command line.'
49609 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49610 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49611 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49612 echo ' If the last character of a symbol is "*", all symbols beginning'
49613 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49614 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49615 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49616 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49617 echo ' C runtime DLLs.'
49618 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49619 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49620 echo ' unchanged to GCC at the end of command line.'
49621 echo '*> If you create a DLL from a library and you do not specify -o,'
49622 echo ' the basename for DLL and import library will be set to library name,'
49623 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49624 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49625 echo ' library will be renamed into gcc_s.a.'
49628 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49629 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49634 # Execute a command.
49635 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49636 # @Uses Whatever CleanUp() uses.
49642 if [ ${D}rcCmd -ne 0 ]; then
49643 echo "command failed, exit code="${D}rcCmd
49658 CFLAGS="-s -Zcrtdll"
49660 EXPORT_BY_ORDINALS=0
49665 case ${D}curDirS in
49669 curDirS=${D}{curDirS}"/"
49672 # Parse commandline
49675 while [ ${D}1 ]; do
49678 EXPORT_BY_ORDINALS=1;
49688 -name-mangler-script)
49709 exclude_symbols=${D}{exclude_symbols}${D}1" "
49713 library_flags=${D}{library_flags}${D}1" "
49732 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49735 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49736 if [ ${D}omfLinking -eq 1 ]; then
49737 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49739 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49744 if [ ${D}libsToLink -ne 0 ]; then
49745 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49747 for file in ${D}1 ; do
49748 if [ -f ${D}file ]; then
49749 inputFiles="${D}{inputFiles} ${D}file"
49753 if [ ${D}found -eq 0 ]; then
49754 echo "ERROR: No file(s) found: "${D}1
49761 done # iterate cmdline words
49764 if [ -z "${D}inputFiles" ]; then
49765 echo "dllar: no input files"
49769 # Now extract all .o files from .a files
49771 for file in ${D}inputFiles ; do
49782 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49787 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49789 if [ ${D}? -ne 0 ]; then
49790 echo "Failed to create subdirectory ./${D}dirname"
49794 # Append '!' to indicate archive
49795 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49796 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49799 for subfile in ${D}dirname/*.o* ; do
49800 if [ -f ${D}subfile ]; then
49802 if [ -s ${D}subfile ]; then
49803 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49804 newInputFiles="${D}newInputFiles ${D}subfile"
49808 if [ ${D}found -eq 0 ]; then
49809 echo "WARNING: there are no files in archive \\'${D}file\\'"
49813 newInputFiles="${D}{newInputFiles} ${D}file"
49817 inputFiles="${D}newInputFiles"
49819 # Output filename(s).
49821 if [ -z ${D}outFile ]; then
49823 set outFile ${D}inputFiles; outFile=${D}2
49826 # If it is an archive, remove the '!' and the '_%' suffixes
49827 case ${D}outFile in
49829 outFile=\`basnam ${D}outFile _%!\`
49834 case ${D}outFile in
49836 outFile=\`basnam ${D}outFile .dll\`
49839 outFile=\`basnam ${D}outFile .DLL\`
49842 outFile=\`basnam ${D}outFile .o\`
49845 outFile=\`basnam ${D}outFile .obj\`
49848 outFile=\`basnam ${D}outFile .a\`
49851 outFile=\`basnam ${D}outFile .lib\`
49856 case ${D}outimpFile in
49858 outimpFile=\`basnam ${D}outimpFile .a\`
49861 outimpFile=\`basnam ${D}outimpFile .lib\`
49866 if [ -z ${D}outimpFile ]; then
49867 outimpFile=${D}outFile
49869 defFile="${D}{outFile}.def"
49870 arcFile="${D}{outimpFile}.a"
49871 arcFile2="${D}{outimpFile}.lib"
49873 #create ${D}dllFile as something matching 8.3 restrictions,
49874 if [ -z ${D}renameScript ] ; then
49875 dllFile="${D}outFile"
49877 dllFile=\`${D}renameScript ${D}outimpFile\`
49880 if [ ${D}do_backup -ne 0 ] ; then
49881 if [ -f ${D}arcFile ] ; then
49882 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49884 if [ -f ${D}arcFile2 ] ; then
49885 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49889 # Extract public symbols from all the object files.
49890 tmpdefFile=${D}{defFile}_%
49891 rm -f ${D}tmpdefFile
49892 for file in ${D}inputFiles ; do
49897 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49902 # Create the def file.
49904 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49905 dllFile="${D}{dllFile}.dll"
49906 if [ ! -z ${D}description ]; then
49907 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49909 echo "EXPORTS" >> ${D}defFile
49911 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49912 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49914 # Checks if the export is ok or not.
49915 for word in ${D}exclude_symbols; do
49916 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49917 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49921 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49922 sed "=" < ${D}tmpdefFile | \\
49926 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49928 ' > ${D}{tmpdefFile}%
49929 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49931 rm -f ${D}{tmpdefFile}%
49933 cat ${D}tmpdefFile >> ${D}defFile
49934 rm -f ${D}tmpdefFile
49936 # Do linking, create implib, and apply lxlite.
49938 for file in ${D}inputFiles ; do
49943 gccCmdl="${D}gccCmdl ${D}file"
49947 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49948 touch "${D}{outFile}.dll"
49950 doCommand "emximp -o ${D}arcFile ${D}defFile"
49951 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49953 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49956 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49958 doCommand "emxomf -s -l ${D}arcFile"
49968 powerpc
-apple-macos* | \
49969 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49979 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49980 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49981 { (exit 1); exit 1; }; }
49984 if test "x$PIC_FLAG" != "x" ; then
49985 PIC_FLAG
="$PIC_FLAG -DPIC"
49988 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49989 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49991 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49992 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
50007 USE_SOTWOSYMLINKS
=0
50011 case "${BAKEFILE_HOST}" in
50012 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50013 *-*-k*bsd
*-gnu | *-*-mirbsd* )
50014 if test "x$SUNCXX" = "xyes"; then
50017 SONAME_FLAG
="-Wl,-soname,"
50021 USE_SOTWOSYMLINKS
=1
50033 USE_SOTWOSYMLINKS
=1
50051 # Check whether --enable-dependency-tracking was given.
50052 if test "${enable_dependency_tracking+set}" = set; then
50053 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
50057 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50058 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50061 if test "x$bk_use_trackdeps" = "xno" ; then
50063 { echo "$as_me:$LINENO: result: disabled" >&5
50064 echo "${ECHO_T}disabled" >&6; }
50068 if test "x$GCC" = "xyes"; then
50070 case "${BAKEFILE_HOST}" in
50072 DEPSFLAG
="-no-cpp-precomp -MMD"
50078 { echo "$as_me:$LINENO: result: gcc" >&5
50079 echo "${ECHO_T}gcc" >&6; }
50080 elif test "x$MWCC" = "xyes"; then
50083 { echo "$as_me:$LINENO: result: mwcc" >&5
50084 echo "${ECHO_T}mwcc" >&6; }
50085 elif test "x$SUNCC" = "xyes"; then
50088 { echo "$as_me:$LINENO: result: Sun cc" >&5
50089 echo "${ECHO_T}Sun cc" >&6; }
50090 elif test "x$SGICC" = "xyes"; then
50093 { echo "$as_me:$LINENO: result: SGI cc" >&5
50094 echo "${ECHO_T}SGI cc" >&6; }
50095 elif test "x$HPCC" = "xyes"; then
50098 { echo "$as_me:$LINENO: result: HP cc" >&5
50099 echo "${ECHO_T}HP cc" >&6; }
50100 elif test "x$COMPAQCC" = "xyes"; then
50103 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50104 echo "${ECHO_T}Compaq cc" >&6; }
50107 { echo "$as_me:$LINENO: result: none" >&5
50108 echo "${ECHO_T}none" >&6; }
50111 if test $DEPS_TRACKING = 1 ; then
50117 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50118 # script. It is used to track C/C++ files dependencies in portable way.
50120 # Permission is given to use this file in any way.
50122 DEPSMODE=${DEPSMODE}
50123 DEPSFLAG="${DEPSFLAG}"
50126 if test ${D}DEPSMODE = gcc ; then
50127 ${D}* ${D}{DEPSFLAG}
50130 # determine location of created files:
50131 while test ${D}# -gt 0; do
50145 objfilebase=\`basename ${D}objfile\`
50146 builddir=\`dirname ${D}objfile\`
50147 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50148 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50149 depsdir=${D}builddir/${D}DEPSDIRBASE
50150 mkdir -p ${D}depsdir
50152 # if the compiler failed, we're done:
50153 if test ${D}{status} != 0 ; then
50158 # move created file to the location we want it in:
50159 if test -f ${D}depfile ; then
50160 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50163 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50164 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50165 if test ! -f ${D}depfile ; then
50166 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50167 depfile="${D}objfile.d"
50169 if test -f ${D}depfile ; then
50170 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50176 elif test ${D}DEPSMODE = mwcc ; then
50177 ${D}* || exit ${D}?
50178 # Run mwcc again with -MM and redirect into the dep file we want
50179 # NOTE: We can't use shift here because we need ${D}* to be valid
50181 for arg in ${D}* ; do
50182 if test "${D}prevarg" = "-o"; then
50196 objfilebase=\`basename ${D}objfile\`
50197 builddir=\`dirname ${D}objfile\`
50198 depsdir=${D}builddir/${D}DEPSDIRBASE
50199 mkdir -p ${D}depsdir
50201 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50204 elif test ${D}DEPSMODE = unixcc; then
50205 ${D}* || exit ${D}?
50206 # Run compiler again with deps flag and redirect into the dep file.
50207 # It doesn't work if the '-o FILE' option is used, but without it the
50208 # dependency file will contain the wrong name for the object. So it is
50209 # removed from the command line, and the dep file is fixed with sed.
50211 while test ${D}# -gt 0; do
50218 eval arg${D}#=\\${D}1
50219 cmd="${D}cmd \\${D}arg${D}#"
50225 objfilebase=\`basename ${D}objfile\`
50226 builddir=\`dirname ${D}objfile\`
50227 depsdir=${D}builddir/${D}DEPSDIRBASE
50228 mkdir -p ${D}depsdir
50230 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50240 BK_DEPS
="`pwd`/bk-deps"
50248 case ${BAKEFILE_HOST} in
50249 *-*-cygwin* | *-*-mingw32* )
50250 if test -n "$ac_tool_prefix"; then
50251 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50252 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
50253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50255 if test "${ac_cv_prog_WINDRES+set}" = set; then
50256 echo $ECHO_N "(cached) $ECHO_C" >&6
50258 if test -n "$WINDRES"; then
50259 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
50261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50262 for as_dir
in $PATH
50265 test -z "$as_dir" && as_dir
=.
50266 for ac_exec_ext
in '' $ac_executable_extensions; do
50267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50268 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
50269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50278 WINDRES
=$ac_cv_prog_WINDRES
50279 if test -n "$WINDRES"; then
50280 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50281 echo "${ECHO_T}$WINDRES" >&6; }
50283 { echo "$as_me:$LINENO: result: no" >&5
50284 echo "${ECHO_T}no" >&6; }
50289 if test -z "$ac_cv_prog_WINDRES"; then
50290 ac_ct_WINDRES
=$WINDRES
50291 # Extract the first word of "windres", so it can be a program name with args.
50292 set dummy windres
; ac_word
=$2
50293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50295 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50296 echo $ECHO_N "(cached) $ECHO_C" >&6
50298 if test -n "$ac_ct_WINDRES"; then
50299 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50302 for as_dir
in $PATH
50305 test -z "$as_dir" && as_dir
=.
50306 for ac_exec_ext
in '' $ac_executable_extensions; do
50307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50308 ac_cv_prog_ac_ct_WINDRES
="windres"
50309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50318 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50319 if test -n "$ac_ct_WINDRES"; then
50320 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50321 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50323 { echo "$as_me:$LINENO: result: no" >&5
50324 echo "${ECHO_T}no" >&6; }
50327 if test "x$ac_ct_WINDRES" = x
; then
50330 case $cross_compiling:$ac_tool_warned in
50332 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50333 whose name does not start with the host triplet. If you think this
50334 configuration is useful to you, please write to autoconf@gnu.org." >&5
50335 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50336 whose name does not start with the host triplet. If you think this
50337 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50338 ac_tool_warned
=yes ;;
50340 WINDRES
=$ac_ct_WINDRES
50343 WINDRES
="$ac_cv_prog_WINDRES"
50348 *-*-darwin* | powerpc
-apple-macos* )
50349 # Extract the first word of "Rez", so it can be a program name with args.
50350 set dummy Rez
; ac_word
=$2
50351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50353 if test "${ac_cv_prog_REZ+set}" = set; then
50354 echo $ECHO_N "(cached) $ECHO_C" >&6
50356 if test -n "$REZ"; then
50357 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
50359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50360 for as_dir
in $PATH
50363 test -z "$as_dir" && as_dir
=.
50364 for ac_exec_ext
in '' $ac_executable_extensions; do
50365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50366 ac_cv_prog_REZ
="Rez"
50367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50374 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50377 REZ
=$ac_cv_prog_REZ
50378 if test -n "$REZ"; then
50379 { echo "$as_me:$LINENO: result: $REZ" >&5
50380 echo "${ECHO_T}$REZ" >&6; }
50382 { echo "$as_me:$LINENO: result: no" >&5
50383 echo "${ECHO_T}no" >&6; }
50387 # Extract the first word of "SetFile", so it can be a program name with args.
50388 set dummy SetFile
; ac_word
=$2
50389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50391 if test "${ac_cv_prog_SETFILE+set}" = set; then
50392 echo $ECHO_N "(cached) $ECHO_C" >&6
50394 if test -n "$SETFILE"; then
50395 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50398 for as_dir
in $PATH
50401 test -z "$as_dir" && as_dir
=.
50402 for ac_exec_ext
in '' $ac_executable_extensions; do
50403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50404 ac_cv_prog_SETFILE
="SetFile"
50405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50412 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50415 SETFILE
=$ac_cv_prog_SETFILE
50416 if test -n "$SETFILE"; then
50417 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50418 echo "${ECHO_T}$SETFILE" >&6; }
50420 { echo "$as_me:$LINENO: result: no" >&5
50421 echo "${ECHO_T}no" >&6; }
50436 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.8"
50439 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.8"
50443 # Check whether --enable-precomp-headers was given.
50444 if test "${enable_precomp_headers+set}" = set; then
50445 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
50454 case ${BAKEFILE_HOST} in
50460 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50461 if test "x$GCC" = "xyes"; then
50462 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50463 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50464 cat >conftest.
$ac_ext <<_ACEOF
50467 cat confdefs.h
>>conftest.
$ac_ext
50468 cat >>conftest.
$ac_ext <<_ACEOF
50469 /* end confdefs.h. */
50475 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50476 There is no PCH support
50479 There is no PCH support
50481 #if (__GNUC__ == 3) && \
50482 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50483 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50484 ( defined(__INTEL_COMPILER) )
50485 There is no PCH support
50492 rm -f conftest.
$ac_objext
50493 if { (ac_try
="$ac_compile"
50494 case "(($ac_try" in
50495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50496 *) ac_try_echo=$ac_try;;
50498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50499 (eval "$ac_compile") 2>conftest.er1
50501 grep -v '^ *+' conftest.er1 >conftest.err
50503 cat conftest.err >&5
50504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50505 (exit $ac_status); } && {
50506 test -z "$ac_c_werror_flag" ||
50507 test ! -s conftest.err
50508 } && test -s conftest.$ac_objext; then
50510 { echo "$as_me:$LINENO: result: yes" >&5
50511 echo "${ECHO_T}yes" >&6; }
50515 echo "$as_me: failed program was:" >&5
50516 sed 's/^/| /' conftest.$ac_ext >&5
50519 if test "$INTELCXX8" = "yes"; then
50520 { echo "$as_me:$LINENO: result: yes" >&5
50521 echo "${ECHO_T}yes" >&6; }
50523 if test "$INTELCXX10" = "yes"; then
50524 ICC_PCH_CREATE_SWITCH="-pch-create"
50525 ICC_PCH_USE_SWITCH="-pch-use"
50527 ICC_PCH_CREATE_SWITCH="-create-pch"
50528 ICC_PCH_USE_SWITCH="-use-pch"
50531 { echo "$as_me:$LINENO: result: no" >&5
50532 echo "${ECHO_T}no" >&6; }
50537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50538 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50542 cat <<EOF >bk-make-pch
50545 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50546 # script. It is used to generated precompiled headers.
50548 # Permission is given to use this file in any way.
50555 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
50560 while test ${D}{#} -gt 0; do
50564 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
50565 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50566 headerfile="${D}{incdir}/${D}{header}"
50569 -use-pch|-use_pch|-pch-use )
50574 if test ${D}add_to_cmdline = 1 ; then
50575 compiler="${D}{compiler} ${D}{1}"
50580 if test "x${D}{headerfile}" = "x" ; then
50581 echo "error: can't find header ${D}{header} in include paths" >&2
50583 if test -f ${D}{outfile} ; then
50584 rm -f ${D}{outfile}
50586 mkdir -p \`dirname ${D}{outfile
}\
`
50588 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
50589 mkdir -p ${D}{builddir}/.deps
50590 if test "x${GCC_PCH}" = "x1" ; then
50591 # can do this because gcc is >= 3.4:
50592 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50593 elif test "x${ICC_PCH}" = "x1" ; then
50594 filename=pch_gen-${D}${D}
50595 file=${D}{filename}.c
50596 dfile=${D}{filename}.d
50597 cat > ${D}file <<EOT
50598 #include "${D}header"
50600 # using -MF icc complains about differing command lines in creation/use
50601 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50602 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50603 rm -f ${D}file ${D}dfile ${D}{filename}.o
50609 chmod +x bk-make-pch
50610 BK_MAKE_PCH="`pwd`/bk-make-pch"
50621 COND_BUILD_DEBUG="#"
50622 if test "x$BUILD" = "xdebug" ; then
50623 COND_BUILD_DEBUG=""
50626 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50627 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50628 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50631 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50632 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50633 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50636 COND_BUILD_DEBUG_UNICODE_0="#"
50637 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50638 COND_BUILD_DEBUG_UNICODE_0=""
50641 COND_BUILD_DEBUG_UNICODE_1="#"
50642 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50643 COND_BUILD_DEBUG_UNICODE_1=""
50646 COND_BUILD_RELEASE="#"
50647 if test "x$BUILD" = "xrelease" ; then
50648 COND_BUILD_RELEASE=""
50651 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50652 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50653 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50656 COND_BUILD_RELEASE_UNICODE_0="#"
50657 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50658 COND_BUILD_RELEASE_UNICODE_0=""
50661 COND_BUILD_RELEASE_UNICODE_1="#"
50662 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50663 COND_BUILD_RELEASE_UNICODE_1=""
50666 COND_BUILD_debug="#"
50667 if test "x$BUILD" = "xdebug" ; then
50668 COND_BUILD_debug=""
50671 COND_BUILD_debug_DEBUG_FLAG_default="#"
50672 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50673 COND_BUILD_debug_DEBUG_FLAG_default=""
50676 COND_BUILD_debug_DEBUG_INFO_default="#"
50677 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50678 COND_BUILD_debug_DEBUG_INFO_default=""
50681 COND_BUILD_debug_UNICODE_0="#"
50682 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50683 COND_BUILD_debug_UNICODE_0=""
50686 COND_BUILD_debug_UNICODE_1="#"
50687 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50688 COND_BUILD_debug_UNICODE_1=""
50691 COND_BUILD_release="#"
50692 if test "x$BUILD" = "xrelease" ; then
50693 COND_BUILD_release=""
50696 COND_BUILD_release_DEBUG_INFO_default="#"
50697 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50698 COND_BUILD_release_DEBUG_INFO_default=""
50701 COND_BUILD_release_UNICODE_0="#"
50702 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50703 COND_BUILD_release_UNICODE_0=""
50706 COND_BUILD_release_UNICODE_1="#"
50707 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50708 COND_BUILD_release_UNICODE_1=""
50711 COND_DEBUG_FLAG_0="#"
50712 if test "x$DEBUG_FLAG" = "x0" ; then
50713 COND_DEBUG_FLAG_0=""
50716 COND_DEBUG_FLAG_1="#"
50717 if test "x$DEBUG_FLAG" = "x1" ; then
50718 COND_DEBUG_FLAG_1=""
50721 COND_DEBUG_INFO_0="#"
50722 if test "x$DEBUG_INFO" = "x0" ; then
50723 COND_DEBUG_INFO_0=""
50726 COND_DEBUG_INFO_1="#"
50727 if test "x$DEBUG_INFO" = "x1" ; then
50728 COND_DEBUG_INFO_1=""
50731 COND_DEPS_TRACKING_0="#"
50732 if test "x$DEPS_TRACKING" = "x0" ; then
50733 COND_DEPS_TRACKING_0=""
50736 COND_DEPS_TRACKING_1="#"
50737 if test "x$DEPS_TRACKING" = "x1" ; then
50738 COND_DEPS_TRACKING_1=""
50742 if test "x$GCC_PCH" = "x1" ; then
50747 if test "x$ICC_PCH" = "x1" ; then
50751 COND_MONOLITHIC_0="#"
50752 if test "x$MONOLITHIC" = "x0" ; then
50753 COND_MONOLITHIC_0=""
50756 COND_MONOLITHIC_0_SHARED_0="#"
50757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50758 COND_MONOLITHIC_0_SHARED_0=""
50761 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50763 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50766 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50768 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50773 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50776 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50778 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50781 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50783 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50786 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50788 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50791 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50793 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50796 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50798 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50801 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50803 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50806 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50807 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50808 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50811 COND_MONOLITHIC_0_SHARED_1="#"
50812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50813 COND_MONOLITHIC_0_SHARED_1=""
50816 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50817 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50818 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50822 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50832 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50837 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50841 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50842 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50843 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50846 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50847 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50848 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50851 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50852 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50853 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50856 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50857 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50858 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50862 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50863 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50866 COND_MONOLITHIC_0_USE_AUI_1="#"
50867 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50868 COND_MONOLITHIC_0_USE_AUI_1=""
50871 COND_MONOLITHIC_0_USE_GUI_1="#"
50872 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50873 COND_MONOLITHIC_0_USE_GUI_1=""
50876 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50877 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50878 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50881 COND_MONOLITHIC_0_USE_HTML_1="#"
50882 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50883 COND_MONOLITHIC_0_USE_HTML_1=""
50886 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50887 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50888 COND_MONOLITHIC_0_USE_MEDIA_1=""
50891 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50892 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50893 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50896 COND_MONOLITHIC_0_USE_QA_1="#"
50897 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50898 COND_MONOLITHIC_0_USE_QA_1=""
50901 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50902 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50903 COND_MONOLITHIC_0_USE_RIBBON_1=""
50906 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50907 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50908 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50911 COND_MONOLITHIC_0_USE_STC_1="#"
50912 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50913 COND_MONOLITHIC_0_USE_STC_1=""
50916 COND_MONOLITHIC_0_USE_XRC_1="#"
50917 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50918 COND_MONOLITHIC_0_USE_XRC_1=""
50921 COND_MONOLITHIC_1="#"
50922 if test "x$MONOLITHIC" = "x1" ; then
50923 COND_MONOLITHIC_1=""
50926 COND_MONOLITHIC_1_SHARED_0="#"
50927 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50928 COND_MONOLITHIC_1_SHARED_0=""
50931 COND_MONOLITHIC_1_SHARED_1="#"
50932 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50933 COND_MONOLITHIC_1_SHARED_1=""
50936 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50937 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50938 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50941 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50942 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50943 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50946 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50947 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50948 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50951 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50952 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50953 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50956 COND_PLATFORM_MACOSX_1="#"
50957 if test "x$PLATFORM_MACOSX" = "x1" ; then
50958 COND_PLATFORM_MACOSX_1=""
50961 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50962 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50963 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50966 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50967 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50968 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50971 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50972 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50973 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50976 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50977 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50978 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50981 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50982 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50983 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50986 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50987 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50988 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50991 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50992 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50993 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50996 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50997 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50998 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51001 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51002 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51003 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51006 COND_PLATFORM_MACOS_1="#"
51007 if test "x$PLATFORM_MACOS" = "x1" ; then
51008 COND_PLATFORM_MACOS_1=""
51011 COND_PLATFORM_MAC_0="#"
51012 if test "x$PLATFORM_MAC" = "x0" ; then
51013 COND_PLATFORM_MAC_0=""
51016 COND_PLATFORM_MAC_1="#"
51017 if test "x$PLATFORM_MAC" = "x1" ; then
51018 COND_PLATFORM_MAC_1=""
51021 COND_PLATFORM_MSDOS_0="#"
51022 if test "x$PLATFORM_MSDOS" = "x0" ; then
51023 COND_PLATFORM_MSDOS_0=""
51026 COND_PLATFORM_MSDOS_1="#"
51027 if test "x$PLATFORM_MSDOS" = "x1" ; then
51028 COND_PLATFORM_MSDOS_1=""
51031 COND_PLATFORM_OS2_1="#"
51032 if test "x$PLATFORM_OS2" = "x1" ; then
51033 COND_PLATFORM_OS2_1=""
51036 COND_PLATFORM_UNIX_0="#"
51037 if test "x$PLATFORM_UNIX" = "x0" ; then
51038 COND_PLATFORM_UNIX_0=""
51041 COND_PLATFORM_UNIX_1="#"
51042 if test "x$PLATFORM_UNIX" = "x1" ; then
51043 COND_PLATFORM_UNIX_1=""
51046 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51047 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51048 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51051 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51052 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51053 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51056 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51057 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51058 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51061 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51062 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51063 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51066 COND_PLATFORM_WIN32_0="#"
51067 if test "x$PLATFORM_WIN32" = "x0" ; then
51068 COND_PLATFORM_WIN32_0=""
51071 COND_PLATFORM_WIN32_1="#"
51072 if test "x$PLATFORM_WIN32" = "x1" ; then
51073 COND_PLATFORM_WIN32_1=""
51076 COND_PLATFORM_WIN32_1_SHARED_0="#"
51077 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51078 COND_PLATFORM_WIN32_1_SHARED_0=""
51082 if test "x$SHARED" = "x0" ; then
51086 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51087 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51088 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51091 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51092 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51093 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51096 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51097 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51098 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51101 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51102 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51103 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51106 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51107 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51108 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51111 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51112 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51113 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51116 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51117 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51118 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51121 COND_SHARED_0_USE_STC_1="#"
51122 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51123 COND_SHARED_0_USE_STC_1=""
51126 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51127 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51128 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51131 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51132 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51133 COND_SHARED_0_wxUSE_REGEX_builtin=""
51136 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51137 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51138 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51142 if test "x$SHARED" = "x1" ; then
51146 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51147 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51148 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51152 if test "x$TOOLKIT" = "x" ; then
51156 COND_TOOLKIT_COCOA="#"
51157 if test "x$TOOLKIT" = "xCOCOA" ; then
51158 COND_TOOLKIT_COCOA=""
51161 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51162 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51163 COND_TOOLKIT_COCOA_USE_GUI_1=""
51166 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51167 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51168 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51171 COND_TOOLKIT_DFB="#"
51172 if test "x$TOOLKIT" = "xDFB" ; then
51173 COND_TOOLKIT_DFB=""
51176 COND_TOOLKIT_DFB_USE_GUI_1="#"
51177 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51178 COND_TOOLKIT_DFB_USE_GUI_1=""
51181 COND_TOOLKIT_GTK="#"
51182 if test "x$TOOLKIT" = "xGTK" ; then
51183 COND_TOOLKIT_GTK=""
51186 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51187 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51188 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51191 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51192 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51193 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51196 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51197 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51198 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51201 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51202 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51206 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51207 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51208 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51211 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51212 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51213 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51216 COND_TOOLKIT_GTK_USE_GUI_1="#"
51217 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51218 COND_TOOLKIT_GTK_USE_GUI_1=""
51221 COND_TOOLKIT_MAC="#"
51222 if test "x$TOOLKIT" = "xMAC" ; then
51223 COND_TOOLKIT_MAC=""
51226 COND_TOOLKIT_MGL="#"
51227 if test "x$TOOLKIT" = "xMGL" ; then
51228 COND_TOOLKIT_MGL=""
51231 COND_TOOLKIT_MGL_USE_GUI_1="#"
51232 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51233 COND_TOOLKIT_MGL_USE_GUI_1=""
51236 COND_TOOLKIT_MOTIF="#"
51237 if test "x$TOOLKIT" = "xMOTIF" ; then
51238 COND_TOOLKIT_MOTIF=""
51241 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51242 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51243 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51246 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51247 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51248 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51251 COND_TOOLKIT_MSW="#"
51252 if test "x$TOOLKIT" = "xMSW" ; then
51253 COND_TOOLKIT_MSW=""
51256 COND_TOOLKIT_MSW_USE_GUI_1="#"
51257 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51258 COND_TOOLKIT_MSW_USE_GUI_1=""
51261 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51262 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51263 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51266 COND_TOOLKIT_MSW_WXUNIV_0="#"
51267 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51268 COND_TOOLKIT_MSW_WXUNIV_0=""
51271 COND_TOOLKIT_OSX_CARBON="#"
51272 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51273 COND_TOOLKIT_OSX_CARBON=""
51276 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51277 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51278 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51281 COND_TOOLKIT_OSX_COCOA="#"
51282 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51283 COND_TOOLKIT_OSX_COCOA=""
51286 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51287 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51288 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51291 COND_TOOLKIT_OSX_IPHONE="#"
51292 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51293 COND_TOOLKIT_OSX_IPHONE=""
51296 COND_TOOLKIT_PM="#"
51297 if test "x$TOOLKIT" = "xPM" ; then
51301 COND_TOOLKIT_PM_USE_GUI_1="#"
51302 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51303 COND_TOOLKIT_PM_USE_GUI_1=""
51306 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51307 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51308 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51311 COND_TOOLKIT_WINCE="#"
51312 if test "x$TOOLKIT" = "xWINCE" ; then
51313 COND_TOOLKIT_WINCE=""
51316 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51317 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51318 COND_TOOLKIT_WINCE_USE_GUI_1=""
51321 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51322 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51323 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51326 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51327 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51328 COND_TOOLKIT_WINCE_WXUNIV_0=""
51331 COND_TOOLKIT_X11="#"
51332 if test "x$TOOLKIT" = "xX11" ; then
51333 COND_TOOLKIT_X11=""
51336 COND_TOOLKIT_X11_USE_GUI_1="#"
51337 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51338 COND_TOOLKIT_X11_USE_GUI_1=""
51342 if test "x$UNICODE" = "x1" ; then
51346 COND_USE_CAIRO_1="#"
51347 if test "x$USE_CAIRO" = "x1" ; then
51348 COND_USE_CAIRO_1=""
51351 COND_USE_EXCEPTIONS_0="#"
51352 if test "x$USE_EXCEPTIONS" = "x0" ; then
51353 COND_USE_EXCEPTIONS_0=""
51356 COND_USE_EXCEPTIONS_1="#"
51357 if test "x$USE_EXCEPTIONS" = "x1" ; then
51358 COND_USE_EXCEPTIONS_1=""
51362 if test "x$USE_GUI" = "x0" ; then
51367 if test "x$USE_GUI" = "x1" ; then
51371 COND_USE_GUI_1_USE_OPENGL_1="#"
51372 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51373 COND_USE_GUI_1_USE_OPENGL_1=""
51376 COND_USE_GUI_1_WXUNIV_0="#"
51377 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51378 COND_USE_GUI_1_WXUNIV_0=""
51381 COND_USE_GUI_1_WXUNIV_1="#"
51382 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51383 COND_USE_GUI_1_WXUNIV_1=""
51386 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51387 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51388 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51391 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51392 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51393 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51396 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51397 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51398 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51401 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51402 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51403 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51406 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51407 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51408 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51411 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51412 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51413 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51416 COND_USE_OPENGL_1="#"
51417 if test "x$USE_OPENGL" = "x1" ; then
51418 COND_USE_OPENGL_1=""
51422 if test "x$USE_PCH" = "x1" ; then
51426 COND_USE_PLUGINS_0="#"
51427 if test "x$USE_PLUGINS" = "x0" ; then
51428 COND_USE_PLUGINS_0=""
51431 COND_USE_RTTI_0="#"
51432 if test "x$USE_RTTI" = "x0" ; then
51436 COND_USE_RTTI_1="#"
51437 if test "x$USE_RTTI" = "x1" ; then
51441 COND_USE_SOTWOSYMLINKS_1="#"
51442 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51443 COND_USE_SOTWOSYMLINKS_1=""
51446 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51447 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51448 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51451 COND_USE_SOVERLINUX_1="#"
51452 if test "x$USE_SOVERLINUX" = "x1" ; then
51453 COND_USE_SOVERLINUX_1=""
51456 COND_USE_SOVERSION_0="#"
51457 if test "x$USE_SOVERSION" = "x0" ; then
51458 COND_USE_SOVERSION_0=""
51461 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51462 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51463 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51466 COND_USE_SOVERSOLARIS_1="#"
51467 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51468 COND_USE_SOVERSOLARIS_1=""
51472 if test "x$USE_STC" = "x1" ; then
51476 COND_USE_THREADS_0="#"
51477 if test "x$USE_THREADS" = "x0" ; then
51478 COND_USE_THREADS_0=""
51481 COND_USE_THREADS_1="#"
51482 if test "x$USE_THREADS" = "x1" ; then
51483 COND_USE_THREADS_1=""
51487 if test "x$USE_XRC" = "x1" ; then
51491 COND_WINDOWS_IMPLIB_1="#"
51492 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51493 COND_WINDOWS_IMPLIB_1=""
51496 COND_WITH_PLUGIN_SDL_1="#"
51497 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51498 COND_WITH_PLUGIN_SDL_1=""
51502 if test "x$WXUNIV" = "x0" ; then
51507 if test "x$WXUNIV" = "x1" ; then
51511 COND_WXUSE_EXPAT_BUILTIN="#"
51512 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51513 COND_WXUSE_EXPAT_BUILTIN=""
51516 COND_WXUSE_LIBJPEG_BUILTIN="#"
51517 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51518 COND_WXUSE_LIBJPEG_BUILTIN=""
51521 COND_WXUSE_LIBPNG_BUILTIN="#"
51522 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51523 COND_WXUSE_LIBPNG_BUILTIN=""
51526 COND_WXUSE_LIBTIFF_BUILTIN="#"
51527 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51528 COND_WXUSE_LIBTIFF_BUILTIN=""
51531 COND_WXUSE_REGEX_BUILTIN="#"
51532 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51533 COND_WXUSE_REGEX_BUILTIN=""
51536 COND_WXUSE_ZLIB_BUILTIN="#"
51537 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51538 COND_WXUSE_ZLIB_BUILTIN=""
51541 COND_wxUSE_EXPAT_builtin="#"
51542 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51543 COND_wxUSE_EXPAT_builtin=""
51546 COND_wxUSE_LIBJPEG_builtin="#"
51547 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51548 COND_wxUSE_LIBJPEG_builtin=""
51551 COND_wxUSE_LIBPNG_builtin="#"
51552 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51553 COND_wxUSE_LIBPNG_builtin=""
51556 COND_wxUSE_LIBTIFF_builtin="#"
51557 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51558 COND_wxUSE_LIBTIFF_builtin=""
51561 COND_wxUSE_REGEX_builtin="#"
51562 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51563 COND_wxUSE_REGEX_builtin=""
51566 COND_wxUSE_ZLIB_builtin="#"
51567 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51568 COND_wxUSE_ZLIB_builtin=""
51573 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51574 { { 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
51575 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;}
51576 { (exit 1); exit 1; }; }
51579 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51580 { { 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
51581 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;}
51582 { (exit 1); exit 1; }; }
51589 ?:* ) # Drive letter, considered as absolute.
51592 INSTALL=`pwd`/${INSTALL} ;;
51595 if test "$wxUSE_GUI" = "yes"; then
51597 if test "$wxUSE_MSW" = 1 ; then
51598 if test "x$WINDRES" = "x"; then
51599 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51600 echo "$as_me: error: Required windres program not found" >&2;}
51601 { (exit 1); exit 1; }; }
51604 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51607 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
51608 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51609 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51611 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51613 # Extract the first word of "DeRez", so it can be a program name with args.
51614 set dummy DeRez; ac_word=$2
51615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51617 if test "${ac_cv_prog_DEREZ+set}" = set; then
51618 echo $ECHO_N "(cached) $ECHO_C" >&6
51620 if test -n "$DEREZ"; then
51621 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51624 for as_dir in $PATH
51627 test -z "$as_dir" && as_dir=.
51628 for ac_exec_ext in '' $ac_executable_extensions; do
51629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51630 ac_cv_prog_DEREZ="DeRez"
51631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51638 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51641 DEREZ=$ac_cv_prog_DEREZ
51642 if test -n "$DEREZ"; then
51643 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51644 echo "${ECHO_T}$DEREZ" >&6; }
51646 { echo "$as_me:$LINENO: result: no" >&5
51647 echo "${ECHO_T}no" >&6; }
51652 MACSETFILE="\$(SETFILE)"
51654 if test "$wxUSE_OSX_CARBON" = 1; then
51655 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51657 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51659 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51660 RESCOMP="cat /dev/null \| $REZ"
51661 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51667 if test "$wxUSE_PM" = 1; then
51669 WXCONFIG_RESFLAGS="-ep"
51671 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51673 POSTLINK_COMMAND="@true"
51680 if test $GCC_PCH = 1
51682 if test "$wx_cv_gcc_pch_bug" = yes; then
51683 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51684 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51685 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51686 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51687 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51688 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51691 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51692 # the headers that benefit from precompilation are mostly C++ headers.
51693 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51694 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51695 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51699 if test "$wxUSE_MAC" = 1 ; then
51700 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51701 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51707 if test "$wxUSE_SHARED" = "yes"; then
51709 *-pc-os2_emx | *-pc-os2-emx )
51710 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51711 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51712 cp -p ${srcdir}/src/os2/dllnames.sh .
51713 cp -p ${srcdir}/src/os2/dllar.sh .
51717 if test "$wxUSE_OMF" = "yes"; then
51719 *-pc-os2_emx | *-pc-os2-emx )
51720 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51721 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51722 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51727 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51732 if test "$GCC" = yes; then
51733 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51734 LIBS=`echo $LIBS | sed 's/-mt//'`
51735 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51740 if test "x$SUNCXX" = xyes; then
51741 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51742 LIBS=`echo $LIBS | sed 's/-pthread//'`
51743 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51748 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51749 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51750 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51751 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51753 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51814 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51815 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51816 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51817 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51818 echo $ECHO_N "(cached) $ECHO_C" >&6
51820 cat >conftest.make <<\_ACEOF
51823 @echo '@@@%%%=$(MAKE)=@@@%%%'
51825 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51826 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
51827 *@@@%%%=?*=@@@%%%*)
51828 eval ac_cv_prog_make_${ac_make}_set=yes;;
51830 eval ac_cv_prog_make_${ac_make}_set=no;;
51832 rm -f conftest.make
51834 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51835 { echo "$as_me:$LINENO: result: yes" >&5
51836 echo "${ECHO_T}yes" >&6; }
51839 { echo "$as_me:$LINENO: result: no" >&5
51840 echo "${ECHO_T}no" >&6; }
51841 SET_MAKE="MAKE=${MAKE-make}"
51846 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51849 if test "$USE_WIN32" = 1; then
51850 ac_config_commands="$ac_config_commands rcdefs.h"
51854 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51857 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51860 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51863 if test "$wx_cv_version_script" = "yes"; then
51864 ac_config_files="$ac_config_files version-script"
51867 ac_config_files="$ac_config_files Makefile"
51870 ac_config_commands="$ac_config_commands wx-config"
51874 if test "$wxWITH_SUBDIRS" != "no"; then
51875 if test "$wxUSE_GUI" = "yes"; then
51876 SUBDIRS="samples demos utils"
51878 SUBDIRS="samples utils"
51883 # Check whether --with-cppunit-prefix was given.
51884 if test "${with_cppunit_prefix+set}" = set; then
51885 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51887 cppunit_config_prefix=""
51891 # Check whether --with-cppunit-exec-prefix was given.
51892 if test "${with_cppunit_exec_prefix+set}" = set; then
51893 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51895 cppunit_config_exec_prefix=""
51899 if test x$cppunit_config_exec_prefix != x ; then
51900 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51901 if test x${CPPUNIT_CONFIG+set} != xset ; then
51902 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51905 if test x$cppunit_config_prefix != x ; then
51906 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51907 if test x${CPPUNIT_CONFIG+set} != xset ; then
51908 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51912 # Extract the first word of "cppunit-config", so it can be a program name with args.
51913 set dummy cppunit-config; ac_word=$2
51914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51916 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51917 echo $ECHO_N "(cached) $ECHO_C" >&6
51919 case $CPPUNIT_CONFIG in
51921 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51925 for as_dir in $PATH
51928 test -z "$as_dir" && as_dir=.
51929 for ac_exec_ext in '' $ac_executable_extensions; do
51930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51931 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51939 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51943 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51944 if test -n "$CPPUNIT_CONFIG"; then
51945 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51946 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51948 { echo "$as_me:$LINENO: result: no" >&5
51949 echo "${ECHO_T}no" >&6; }
51953 cppunit_version_min=1.8.0
51955 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51956 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51958 if test "$CPPUNIT_CONFIG" = "no" ; then
51959 { echo "$as_me:$LINENO: result: no" >&5
51960 echo "${ECHO_T}no" >&6; }
51963 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51964 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51965 cppunit_version=`$CPPUNIT_CONFIG --version`
51967 cppunit_major_version=`echo $cppunit_version | \
51968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51969 cppunit_minor_version=`echo $cppunit_version | \
51970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51971 cppunit_micro_version=`echo $cppunit_version | \
51972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51974 cppunit_major_min=`echo $cppunit_version_min | \
51975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51976 cppunit_minor_min=`echo $cppunit_version_min | \
51977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51978 cppunit_micro_min=`echo $cppunit_version_min | \
51979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51981 cppunit_version_proper=`expr \
51982 $cppunit_major_version \
> $cppunit_major_min \
| \
51983 $cppunit_major_version \
= $cppunit_major_min \
& \
51984 $cppunit_minor_version \
> $cppunit_minor_min \
| \
51985 $cppunit_major_version \
= $cppunit_major_min \
& \
51986 $cppunit_minor_version \
= $cppunit_minor_min \
& \
51987 $cppunit_micro_version \
>= $cppunit_micro_min `
51989 if test "$cppunit_version_proper" = "1" ; then
51990 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51991 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51993 { echo "$as_me:$LINENO: result: no" >&5
51994 echo "${ECHO_T}no" >&6; }
51999 if test "x$no_cppunit" = x ; then
52000 SUBDIRS="$SUBDIRS tests"
52011 for subdir in $SUBDIRS; do
52012 if test -d ${srcdir}/${subdir} ; then
52013 if test "$wxUSE_GUI" = "yes"; then
52014 if test ${subdir} = "samples"; then
52015 makefiles="samples/Makefile.in $makefiles"
52016 for sample in $SAMPLES_SUBDIRS; do
52017 if test -d $srcdir/samples/$sample; then
52018 makefiles="samples/$sample/Makefile.in $makefiles"
52022 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52023 eval "disabled=\$$disabled_var"
52024 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52025 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52028 if test ${subdir} = "samples"; then
52029 makefiles="samples/Makefile.in $makefiles"
52030 for sample in `echo $SAMPLES_SUBDIRS`; do
52031 if test -d $srcdir/samples/$sample; then
52032 makefiles="samples/$sample/Makefile.in $makefiles"
52035 elif test ${subdir} = "utils"; then
52037 for util in ifacecheck ; do
52038 if test -d $srcdir/utils/$util ; then
52039 makefiles="utils/$util/src/Makefile.in \
52044 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52048 for mkin in $makefiles ; do
52049 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52050 ac_config_files="$ac_config_files $mk"
52056 cat >confcache <<\_ACEOF
52057 # This file is a shell script that caches the results of configure
52058 # tests run on this system so they can be shared between configure
52059 # scripts and configure runs, see configure's option --config-cache.
52060 # It is not useful on other systems. If it contains results you don't
52061 # want to keep, you may remove or edit it.
52063 # config.status only pays attention to the cache file if you give it
52064 # the --recheck option to rerun configure.
52066 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52067 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52068 # following values.
52072 # The following way of writing the cache mishandles newlines in values,
52073 # but we know of no workaround that is simple, portable, and efficient.
52074 # So, we kill variables containing newlines.
52075 # Ultrix sh set writes to stderr and can't be redirected directly,
52076 # and sets the high bit in the cache file unless we assign to the vars.
52078 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52079 eval ac_val
=\$
$ac_var
52083 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52084 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52087 _
| IFS
| as_nl
) ;; #(
52088 *) $as_unset $ac_var ;;
52094 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52095 *${as_nl}ac_space
=\
*)
52096 # `set' does not quote correctly, so add quotes (double-quote
52097 # substitution turns \\\\ into \\, and sed turns \\ into \).
52100 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52103 # `set' quotes correctly as required by POSIX, so do not add quotes.
52104 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52113 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52115 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52117 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52118 if test -w "$cache_file"; then
52119 test "x$cache_file" != "x/dev/null" &&
52120 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52121 echo "$as_me: updating cache $cache_file" >&6;}
52122 cat confcache
>$cache_file
52124 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52125 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52130 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52131 # Let make expand exec_prefix.
52132 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52134 DEFS
=-DHAVE_CONFIG_H
52138 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52139 # 1. Remove the extension, and $U if already installed.
52140 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52141 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52142 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52143 # will be set to the directory where LIBOBJS objects are built.
52144 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52145 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52147 LIBOBJS
=$ac_libobjs
52149 LTLIBOBJS
=$ac_ltlibobjs
52153 : ${CONFIG_STATUS=./config.status}
52154 ac_clean_files_save
=$ac_clean_files
52155 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52156 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52157 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52158 cat >$CONFIG_STATUS <<_ACEOF
52160 # Generated by $as_me.
52161 # Run this file to recreate the current configuration.
52162 # Compiler output produced by configure, useful for debugging
52163 # configure, is in config.log if it exists.
52166 ac_cs_recheck=false
52168 SHELL=\${CONFIG_SHELL-$SHELL}
52171 cat >>$CONFIG_STATUS <<\_ACEOF
52172 ## --------------------- ##
52173 ## M4sh Initialization. ##
52174 ## --------------------- ##
52176 # Be more Bourne compatible
52177 DUALCASE
=1; export DUALCASE
# for MKS sh
52178 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52181 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52182 # is contrary to our usage. Disable this feature.
52183 alias -g '${1+"$@"}'='"$@"'
52184 setopt NO_GLOB_SUBST
52186 case `(set -o) 2>/dev/null` in
52187 *posix
*) set -o posix
;;
52196 # Avoid depending upon Character Ranges.
52197 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52198 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52199 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52200 as_cr_digits
='0123456789'
52201 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52203 # The user is always right.
52204 if test "${PATH_SEPARATOR+set}" != set; then
52205 echo "#! /bin/sh" >conf$$.sh
52206 echo "exit 0" >>conf$$.sh
52208 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52216 # Support unset when possible.
52217 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52225 # We need space, tab and new line, in precisely that order. Quoting is
52226 # there to prevent editors from complaining about space-tab.
52227 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52228 # splitting by setting IFS to empty value.)
52233 # Find who we are. Look in the path if we contain no directory separator.
52235 *[\\/]* ) as_myself
=$0 ;;
52236 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52237 for as_dir
in $PATH
52240 test -z "$as_dir" && as_dir
=.
52241 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
52247 # We did not find ourselves, most probably we were run as `sh COMMAND'
52248 # in which case we are not to be found in the path.
52249 if test "x$as_myself" = x
; then
52252 if test ! -f "$as_myself"; then
52253 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52254 { (exit 1); exit 1; }
52257 # Work around bugs in pre-3.0 UWIN ksh.
52258 for as_var
in ENV MAIL MAILPATH
52259 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52267 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52268 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52269 LC_TELEPHONE LC_TIME
52271 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52272 eval $as_var=C
; export $as_var
52274 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52278 # Required to use basename.
52279 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52280 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52286 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52287 as_basename
=basename
52293 # Name of the executable.
52294 as_me
=`$as_basename -- "$0" ||
52295 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52296 X"$0" : 'X\(//\)$' \| \
52297 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52299 sed '/^.*\/\([^/][^/]*\)\/*$/{
52318 as_lineno_1
=$LINENO
52319 as_lineno_2
=$LINENO
52320 test "x$as_lineno_1" != "x$as_lineno_2" &&
52321 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52323 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52324 # uniformly replaced by the line number. The first 'sed' inserts a
52325 # line-number line after each line using $LINENO; the second 'sed'
52326 # does the real work. The second script uses 'N' to pair each
52327 # line-number line with the line containing $LINENO, and appends
52328 # trailing '-' during substitution so that $LINENO is not a special
52329 # case at line end.
52330 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52331 # scripts with optimization help from Paolo Bonzini. Blame Lee
52332 # E. McMahon (1931-1989) for sed's syntax. :-)
52344 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52347 ' >$as_me.lineno
&&
52348 chmod +x
"$as_me.lineno" ||
52349 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52350 { (exit 1); exit 1; }; }
52352 # Don't try to exec as it changes $[0], causing all sort of problems
52353 # (the dirname of $[0] is not the place where we might find the
52354 # original and so on. Autoconf is especially sensitive to this).
52355 .
"./$as_me.lineno"
52356 # Exit status is that of the last command.
52361 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
52367 ECHO_C
= ECHO_N
= ECHO_T
=
52368 case `echo -n x` in
52370 case `echo 'x\c'` in
52371 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
52378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52385 rm -f conf$$ conf$$.exe conf$$.
file
52386 if test -d conf$$.dir
; then
52387 rm -f conf$$.dir
/conf$$.
file
52393 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52395 # ... but there are two gotchas:
52396 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52397 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52398 # In both cases, we have to default to `cp -p'.
52399 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52401 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52406 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52407 rmdir conf$$.dir
2>/dev
/null
52409 if mkdir -p .
2>/dev
/null
; then
52412 test -d .
/-p && rmdir .
/-p
52416 if test -x / >/dev
/null
2>&1; then
52417 as_test_x
='test -x'
52419 if ls -dL / >/dev
/null
2>&1; then
52426 if test -d "$1"; then
52432 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52433 ???[sx]*):;;*)false;;esac;fi
52437 as_executable_p
=$as_test_x
52439 # Sed expression to map a string onto a valid CPP name.
52440 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52442 # Sed expression to map a string onto a valid variable name.
52443 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52448 # Save the log message, to keep $[0] and so on meaningful, and to
52449 # report actual input values of CONFIG_FILES etc. instead of their
52450 # values after options handling.
52452 This file was extended by wxWidgets $as_me 2.9.1, which was
52453 generated by GNU Autoconf 2.61. Invocation command line was
52455 CONFIG_FILES = $CONFIG_FILES
52456 CONFIG_HEADERS = $CONFIG_HEADERS
52457 CONFIG_LINKS = $CONFIG_LINKS
52458 CONFIG_COMMANDS = $CONFIG_COMMANDS
52461 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52466 cat >>$CONFIG_STATUS <<_ACEOF
52467 # Files that config.status was made for.
52468 config_files="$ac_config_files"
52469 config_headers="$ac_config_headers"
52470 config_commands="$ac_config_commands"
52474 cat >>$CONFIG_STATUS <<\_ACEOF
52476 \`$as_me' instantiates files from templates according to the
52477 current configuration.
52479 Usage: $0 [OPTIONS] [FILE]...
52481 -h, --help print this help, then exit
52482 -V, --version print version number and configuration settings, then exit
52483 -q, --quiet do not print progress messages
52484 -d, --debug don't remove temporary files
52485 --recheck update $as_me by reconfiguring in the same conditions
52486 --file=FILE[:TEMPLATE]
52487 instantiate the configuration file FILE
52488 --header=FILE[:TEMPLATE]
52489 instantiate the configuration header FILE
52491 Configuration files:
52494 Configuration headers:
52497 Configuration commands:
52500 Report bugs to <bug-autoconf@gnu.org>."
52503 cat >>$CONFIG_STATUS <<_ACEOF
52505 wxWidgets config.status 2.9.1
52506 configured by $0, generated by GNU Autoconf 2.61,
52507 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52509 Copyright (C) 2006 Free Software Foundation, Inc.
52510 This config.status script is free software; the Free Software Foundation
52511 gives unlimited permission to copy, distribute and modify it."
52518 cat >>$CONFIG_STATUS <<\_ACEOF
52519 # If no file are specified by the user, then we need to provide default
52520 # value. By we need to know if files were specified by the user.
52526 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52527 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52538 # Handling of the options.
52539 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52541 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52542 echo "$ac_cs_version"; exit ;;
52543 --debug | --debu | --deb | --de | --d | -d )
52545 --file | --fil | --fi | --f )
52547 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52548 ac_need_defaults
=false
;;
52549 --header | --heade | --head | --hea )
52551 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52552 ac_need_defaults
=false
;;
52554 # Conflict between --help and --header
52555 { echo "$as_me: error: ambiguous option: $1
52556 Try \`$0 --help' for more information." >&2
52557 { (exit 1); exit 1; }; };;
52558 --help | --hel | -h )
52559 echo "$ac_cs_usage"; exit ;;
52560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52561 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52564 # This is an error.
52565 -*) { echo "$as_me: error: unrecognized option: $1
52566 Try \`$0 --help' for more information." >&2
52567 { (exit 1); exit 1; }; } ;;
52569 *) ac_config_targets
="$ac_config_targets $1"
52570 ac_need_defaults
=false
;;
52576 ac_configure_extra_args
=
52578 if $ac_cs_silent; then
52580 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52584 cat >>$CONFIG_STATUS <<_ACEOF
52585 if \$ac_cs_recheck; then
52586 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52587 CONFIG_SHELL=$SHELL
52588 export CONFIG_SHELL
52589 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52593 cat >>$CONFIG_STATUS <<\_ACEOF
52597 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52598 ## Running $as_me. ##
52604 cat >>$CONFIG_STATUS <<_ACEOF
52610 infile="$srcdir/include/wx/msw/genrcdefs.h"
52611 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52614 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52615 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52616 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52622 cat >>$CONFIG_STATUS <<\_ACEOF
52624 # Handling of arguments.
52625 for ac_config_target
in $ac_config_targets
52627 case $ac_config_target in
52628 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52629 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52630 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52631 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52632 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52633 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52634 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52635 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52636 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52638 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52639 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52640 { (exit 1); exit 1; }; };;
52645 # If the user did not use the arguments to specify the items to instantiate,
52646 # then the envvar interface is used. Set only those that are not.
52647 # We use the long form for the default assignment because of an extremely
52648 # bizarre bug on SunOS 4.1.3.
52649 if $ac_need_defaults; then
52650 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52651 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52652 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52655 # Have a temporary directory for convenience. Make it in the build tree
52656 # simply because there is no reason against having it here, and in addition,
52657 # creating and moving files from /tmp can sometimes cause problems.
52658 # Hook for its removal unless debugging.
52659 # Note that there is a small window in which the directory will not be cleaned:
52660 # after its creation but before its name has been assigned to `$tmp'.
52664 trap 'exit_status=$?
52665 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52667 trap '{ (exit 1); exit 1; }' 1 2 13 15
52669 # Create a (secure) tmp directory for tmp files.
52672 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52673 test -n "$tmp" && test -d "$tmp"
52676 tmp
=.
/conf$$
-$RANDOM
52677 (umask 077 && mkdir "$tmp")
52680 echo "$me: cannot create a temporary directory in ." >&2
52681 { (exit 1); exit 1; }
52685 # Set up the sed scripts for CONFIG_FILES section.
52688 # No need to generate the scripts if there are no CONFIG_FILES.
52689 # This happens for instance when ./config.status config.h
52690 if test -n "$CONFIG_FILES"; then
52697 for ac_last_try
in false false false false false
:; do
52698 cat >conf$
$subs.
sed <<_ACEOF
52699 SHELL!$SHELL$ac_delim
52700 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52701 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52702 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52703 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52704 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52705 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52706 exec_prefix!$exec_prefix$ac_delim
52707 prefix!$prefix$ac_delim
52708 program_transform_name!$program_transform_name$ac_delim
52709 bindir!$bindir$ac_delim
52710 sbindir!$sbindir$ac_delim
52711 libexecdir!$libexecdir$ac_delim
52712 datarootdir!$datarootdir$ac_delim
52713 datadir!$datadir$ac_delim
52714 sysconfdir!$sysconfdir$ac_delim
52715 sharedstatedir!$sharedstatedir$ac_delim
52716 localstatedir!$localstatedir$ac_delim
52717 includedir!$includedir$ac_delim
52718 oldincludedir!$oldincludedir$ac_delim
52719 docdir!$docdir$ac_delim
52720 infodir!$infodir$ac_delim
52721 htmldir!$htmldir$ac_delim
52722 dvidir!$dvidir$ac_delim
52723 pdfdir!$pdfdir$ac_delim
52724 psdir!$psdir$ac_delim
52725 libdir!$libdir$ac_delim
52726 localedir!$localedir$ac_delim
52727 mandir!$mandir$ac_delim
52728 DEFS!$DEFS$ac_delim
52729 ECHO_C!$ECHO_C$ac_delim
52730 ECHO_N!$ECHO_N$ac_delim
52731 ECHO_T!$ECHO_T$ac_delim
52732 LIBS!$LIBS$ac_delim
52733 build_alias!$build_alias$ac_delim
52734 host_alias!$host_alias$ac_delim
52735 target_alias!$target_alias$ac_delim
52736 build!$build$ac_delim
52737 build_cpu!$build_cpu$ac_delim
52738 build_vendor!$build_vendor$ac_delim
52739 build_os!$build_os$ac_delim
52740 host!$host$ac_delim
52741 host_cpu!$host_cpu$ac_delim
52742 host_vendor!$host_vendor$ac_delim
52743 host_os!$host_os$ac_delim
52744 wx_top_builddir!$wx_top_builddir$ac_delim
52746 CFLAGS!$CFLAGS$ac_delim
52747 LDFLAGS!$LDFLAGS$ac_delim
52748 CPPFLAGS!$CPPFLAGS$ac_delim
52749 ac_ct_CC!$ac_ct_CC$ac_delim
52750 EXEEXT!$EXEEXT$ac_delim
52751 OBJEXT!$OBJEXT$ac_delim
52753 GREP!$GREP$ac_delim
52754 EGREP!$EGREP$ac_delim
52756 CXXFLAGS!$CXXFLAGS$ac_delim
52757 ac_ct_CXX!$ac_ct_CXX$ac_delim
52759 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
52760 subdirs!$subdirs$ac_delim
52761 PKG_CONFIG!$PKG_CONFIG$ac_delim
52762 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52763 GTK_LIBS!$GTK_LIBS$ac_delim
52764 GTK_CONFIG!$GTK_CONFIG$ac_delim
52765 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52766 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52767 XMKMF!$XMKMF$ac_delim
52768 X_CFLAGS!$X_CFLAGS$ac_delim
52769 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52770 X_LIBS!$X_LIBS$ac_delim
52771 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52772 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52773 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52774 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52775 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52776 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52777 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52778 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52779 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52780 LIBICONV!$LIBICONV$ac_delim
52781 GXX_VERSION!$GXX_VERSION$ac_delim
52782 SDL_CONFIG!$SDL_CONFIG$ac_delim
52783 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52784 SDL_LIBS!$SDL_LIBS$ac_delim
52785 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52786 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52787 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52788 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52789 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52790 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52791 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52792 HILDON_LIBS!$HILDON_LIBS$ac_delim
52793 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52794 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52795 PYTHON!$PYTHON$ac_delim
52798 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52800 elif $ac_last_try; then
52801 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52802 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52803 { (exit 1); exit 1; }; }
52805 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52809 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52810 if test -n "$ac_eof"; then
52811 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52812 ac_eof
=`expr $ac_eof + 1`
52815 cat >>$CONFIG_STATUS <<_ACEOF
52816 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52817 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52820 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52821 s/^/s,@/; s/!/@,|#_!!_#|/
52824 s/'"$ac_delim"'$/,g/; t
52826 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52827 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52828 rm -f conf$
$subs.
sed
52829 cat >>$CONFIG_STATUS <<_ACEOF
52835 for ac_last_try
in false false false false false
:; do
52836 cat >conf$
$subs.
sed <<_ACEOF
52837 COND_PYTHON!$COND_PYTHON$ac_delim
52838 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52839 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52840 GST_CFLAGS!$GST_CFLAGS$ac_delim
52841 GST_LIBS!$GST_LIBS$ac_delim
52842 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52843 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52844 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52845 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52846 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52847 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52848 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52849 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52850 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52851 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52852 VENDOR!$VENDOR$ac_delim
52853 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52854 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52855 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52856 WXUNIV!$WXUNIV$ac_delim
52857 MONOLITHIC!$MONOLITHIC$ac_delim
52858 USE_PLUGINS!$USE_PLUGINS$ac_delim
52859 CXXWARNINGS!$CXXWARNINGS$ac_delim
52860 EXTRALIBS!$EXTRALIBS$ac_delim
52861 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52862 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52863 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52864 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52865 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52866 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52867 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52868 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52869 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52870 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52871 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52872 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52873 UNICODE!$UNICODE$ac_delim
52874 DEBUG_INFO!$DEBUG_INFO$ac_delim
52875 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52876 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52877 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52878 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52879 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52880 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52881 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52882 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52883 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52884 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52885 RANLIB!$RANLIB$ac_delim
52886 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52887 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52888 INSTALL_DATA!$INSTALL_DATA$ac_delim
52889 LN_S!$LN_S$ac_delim
52890 SET_MAKE!$SET_MAKE$ac_delim
52891 MAKE_SET!$MAKE_SET$ac_delim
52892 AROPTIONS!$AROPTIONS$ac_delim
52893 STRIP!$STRIP$ac_delim
52895 INSTALL_DIR!$INSTALL_DIR$ac_delim
52896 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52897 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52898 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52899 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52900 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52901 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52902 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52903 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52904 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52905 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52906 SO_SUFFIX!$SO_SUFFIX$ac_delim
52907 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52908 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52909 LIBPREFIX!$LIBPREFIX$ac_delim
52910 LIBEXT!$LIBEXT$ac_delim
52911 DLLPREFIX!$DLLPREFIX$ac_delim
52912 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52913 dlldir!$dlldir$ac_delim
52914 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52915 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52916 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52917 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52918 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52919 PIC_FLAG!$PIC_FLAG$ac_delim
52920 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52921 USE_SOVERSION!$USE_SOVERSION$ac_delim
52922 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52923 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52924 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52925 USE_MACVERSION!$USE_MACVERSION$ac_delim
52926 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52927 SONAME_FLAG!$SONAME_FLAG$ac_delim
52928 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52929 BK_DEPS!$BK_DEPS$ac_delim
52930 WINDRES!$WINDRES$ac_delim
52932 SETFILE!$SETFILE$ac_delim
52933 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52936 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52938 elif $ac_last_try; then
52939 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52940 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52941 { (exit 1); exit 1; }; }
52943 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52947 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52948 if test -n "$ac_eof"; then
52949 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52950 ac_eof
=`expr $ac_eof + 1`
52953 cat >>$CONFIG_STATUS <<_ACEOF
52954 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52955 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52958 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52959 s/^/s,@/; s/!/@,|#_!!_#|/
52962 s/'"$ac_delim"'$/,g/; t
52964 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52965 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52966 rm -f conf$
$subs.
sed
52967 cat >>$CONFIG_STATUS <<_ACEOF
52973 for ac_last_try
in false false false false false
:; do
52974 cat >conf$
$subs.
sed <<_ACEOF
52975 GCC_PCH!$GCC_PCH$ac_delim
52976 ICC_PCH!$ICC_PCH$ac_delim
52977 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52978 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52979 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52980 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52981 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52982 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52983 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52984 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52985 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52986 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52987 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52988 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52989 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52990 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52991 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52992 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52993 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52994 COND_BUILD_release!$COND_BUILD_release$ac_delim
52995 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52996 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52997 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52998 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52999 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53000 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53001 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53002 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53003 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53004 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53005 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53006 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53007 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53008 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53009 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53010 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53011 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53012 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53013 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53014 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53015 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53016 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53017 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53018 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53019 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53020 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53021 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53022 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53023 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53024 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53025 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53026 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53027 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53028 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53029 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53030 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53031 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53032 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53033 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53034 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53035 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53036 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53037 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53038 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53039 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53040 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53041 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53042 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53043 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53044 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53045 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53046 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53047 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53048 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53049 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53050 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53051 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
53052 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53053 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
53054 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53055 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53056 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53057 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53058 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53059 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53060 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53061 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53062 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53063 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53064 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53065 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53066 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53067 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53068 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53069 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53070 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53071 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53074 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53076 elif $ac_last_try; then
53077 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53078 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53079 { (exit 1); exit 1; }; }
53081 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53085 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53086 if test -n "$ac_eof"; then
53087 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53088 ac_eof
=`expr $ac_eof + 1`
53091 cat >>$CONFIG_STATUS <<_ACEOF
53092 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53093 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53096 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53097 s/^/s,@/; s/!/@,|#_!!_#|/
53100 s/'"$ac_delim"'$/,g/; t
53102 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53103 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53104 rm -f conf$
$subs.
sed
53105 cat >>$CONFIG_STATUS <<_ACEOF
53111 for ac_last_try
in false false false false false
:; do
53112 cat >conf$
$subs.
sed <<_ACEOF
53113 COND_SHARED_0!$COND_SHARED_0$ac_delim
53114 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53115 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53116 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53117 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53118 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53119 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53120 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53121 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53122 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53123 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53124 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53125 COND_SHARED_1!$COND_SHARED_1$ac_delim
53126 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53127 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53128 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53129 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53130 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53131 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53132 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53133 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53134 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53135 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53136 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53137 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53138 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53139 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53140 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53141 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53142 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53143 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53144 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53145 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53146 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53147 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53148 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53149 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53150 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53151 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53152 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53153 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53154 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53155 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53156 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53157 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53158 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53159 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53160 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53161 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53162 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53163 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53164 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53165 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53166 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53167 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53168 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53169 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53170 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53171 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53172 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53173 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53174 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53175 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53176 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53177 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53178 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53179 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53180 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53181 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53182 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53183 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53184 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53185 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53186 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53187 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53188 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53189 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53190 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53191 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53192 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53193 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53194 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53195 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53196 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53197 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53198 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53199 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53200 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53201 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53202 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53203 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53204 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53205 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53206 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53207 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53208 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53209 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53212 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53214 elif $ac_last_try; then
53215 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53216 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53217 { (exit 1); exit 1; }; }
53219 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53223 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53224 if test -n "$ac_eof"; then
53225 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53226 ac_eof
=`expr $ac_eof + 1`
53229 cat >>$CONFIG_STATUS <<_ACEOF
53230 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53231 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53234 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53235 s/^/s,@/; s/!/@,|#_!!_#|/
53238 s/'"$ac_delim"'$/,g/; t
53240 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53241 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53242 rm -f conf$
$subs.
sed
53243 cat >>$CONFIG_STATUS <<_ACEOF
53249 for ac_last_try
in false false false false false
:; do
53250 cat >conf$
$subs.
sed <<_ACEOF
53251 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53252 DEREZ!$DEREZ$ac_delim
53253 SHARED!$SHARED$ac_delim
53254 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53255 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53256 USE_GUI!$USE_GUI$ac_delim
53257 AFMINSTALL!$AFMINSTALL$ac_delim
53258 WIN32INSTALL!$WIN32INSTALL$ac_delim
53259 TOOLKIT!$TOOLKIT$ac_delim
53260 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53261 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53262 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53263 cross_compiling!$cross_compiling$ac_delim
53264 WIDGET_SET!$WIDGET_SET$ac_delim
53265 WX_RELEASE!$WX_RELEASE$ac_delim
53266 WX_VERSION!$WX_VERSION$ac_delim
53267 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53268 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53269 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53270 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53271 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53272 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53273 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53274 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53275 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53276 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53277 GUIDIST!$GUIDIST$ac_delim
53278 DISTDIR!$DISTDIR$ac_delim
53279 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53280 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53281 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53282 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53283 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53284 RESCOMP!$RESCOMP$ac_delim
53285 RESFLAGS!$RESFLAGS$ac_delim
53286 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53287 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53288 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53289 LIBWXMACRES!$LIBWXMACRES$ac_delim
53290 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53291 MACSETFILE!$MACSETFILE$ac_delim
53293 DLLTOOL!$DLLTOOL$ac_delim
53294 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53295 LIBOBJS!$LIBOBJS$ac_delim
53296 LTLIBOBJS!$LTLIBOBJS$ac_delim
53299 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
53301 elif $ac_last_try; then
53302 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53303 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53304 { (exit 1); exit 1; }; }
53306 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53310 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53311 if test -n "$ac_eof"; then
53312 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53313 ac_eof
=`expr $ac_eof + 1`
53316 cat >>$CONFIG_STATUS <<_ACEOF
53317 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53318 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53321 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53322 s/^/s,@/; s/!/@,|#_!!_#|/
53325 s/'"$ac_delim"'$/,g/; t
53327 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53328 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53329 rm -f conf$
$subs.
sed
53330 cat >>$CONFIG_STATUS <<_ACEOF
53337 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53338 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53339 # trailing colons and then remove the whole line if VPATH becomes empty
53340 # (actually we leave an empty line to preserve line numbers).
53341 if test "x$srcdir" = x.
; then
53342 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
53343 s/:*\$(srcdir):*/:/
53344 s/:*\${srcdir}:*/:/
53346 s/^\([^=]*=[ ]*\):*/\1/
53352 cat >>$CONFIG_STATUS <<\_ACEOF
53353 fi # test -n "$CONFIG_FILES"
53356 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
53359 :[FHLC
]) ac_mode
=$ac_tag; continue;;
53361 case $ac_mode$ac_tag in
53363 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53364 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53365 { (exit 1); exit 1; }; };;
53366 :[FH
]-) ac_tag
=-:-;;
53367 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
53384 -) ac_f
="$tmp/stdin";;
53385 *) # Look for the file first in the build tree, then in the source tree
53386 # (if the path is not absolute). The absolute path cannot be DOS-style,
53387 # because $ac_f cannot contain `:'.
53391 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
53393 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53394 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53395 { (exit 1); exit 1; }; };;
53397 ac_file_inputs
="$ac_file_inputs $ac_f"
53400 # Let's still pretend it is `configure' which instantiates (i.e., don't
53401 # use $as_me), people would be surprised to read:
53402 # /* config.h. Generated by config.status. */
53403 configure_input
="Generated from "`IFS=:
53404 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53405 if test x
"$ac_file" != x
-; then
53406 configure_input
="$ac_file. $configure_input"
53407 { echo "$as_me:$LINENO: creating $ac_file" >&5
53408 echo "$as_me: creating $ac_file" >&6;}
53412 *:-:* | *:-) cat >"$tmp/stdin";;
53417 ac_dir
=`$as_dirname -- "$ac_file" ||
53418 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53419 X"$ac_file" : 'X\(//\)[^/]' \| \
53420 X"$ac_file" : 'X\(//\)$' \| \
53421 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53427 /^X\(\/\/\)[^/].*/{
53442 -*) as_dir
=.
/$as_dir;;
53444 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53448 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53449 *) as_qdir
=$as_dir;;
53451 as_dirs
="'$as_qdir' $as_dirs"
53452 as_dir
=`$as_dirname -- "$as_dir" ||
53453 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53454 X"$as_dir" : 'X\(//\)[^/]' \| \
53455 X"$as_dir" : 'X\(//\)$' \| \
53456 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53462 /^X\(\/\/\)[^/].*/{
53475 test -d "$as_dir" && break
53477 test -z "$as_dirs" || eval "mkdir $as_dirs"
53478 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53479 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53480 { (exit 1); exit 1; }; }; }
53484 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53486 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53487 # A ".." for each directory in $ac_dir_suffix.
53488 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53489 case $ac_top_builddir_sub in
53490 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53491 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53494 ac_abs_top_builddir
=$ac_pwd
53495 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53496 # for backward compatibility:
53497 ac_top_builddir
=$ac_top_build_prefix
53500 .
) # We are building in place.
53502 ac_top_srcdir
=$ac_top_builddir_sub
53503 ac_abs_top_srcdir
=$ac_pwd ;;
53504 [\\/]* | ?
:[\\/]* ) # Absolute name.
53505 ac_srcdir
=$srcdir$ac_dir_suffix;
53506 ac_top_srcdir
=$srcdir
53507 ac_abs_top_srcdir
=$srcdir ;;
53508 *) # Relative name.
53509 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53510 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53511 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53513 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53523 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53524 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
53528 cat >>$CONFIG_STATUS <<\_ACEOF
53529 # If the template does not know about datarootdir, expand it.
53530 # FIXME: This hack should be removed a few years after 2.60.
53531 ac_datarootdir_hack
=; ac_datarootdir_seen
=
53533 case `sed -n '/datarootdir/ {
53542 ' $ac_file_inputs` in
53543 *datarootdir
*) ac_datarootdir_seen
=yes;;
53544 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
53545 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53546 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53548 cat >>$CONFIG_STATUS <<_ACEOF
53549 ac_datarootdir_hack='
53550 s&@datadir@&$datadir&g
53551 s&@docdir@&$docdir&g
53552 s&@infodir@&$infodir&g
53553 s&@localedir@&$localedir&g
53554 s&@mandir@&$mandir&g
53555 s&\\\${datarootdir}&$datarootdir&g' ;;
53559 # Neutralize VPATH when `$srcdir' = `.'.
53560 # Shell code in configure.ac might set extrasub.
53561 # FIXME: do we really want to maintain this feature?
53562 cat >>$CONFIG_STATUS <<_ACEOF
53566 cat >>$CONFIG_STATUS <<\_ACEOF
53568 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53569 s
&@configure_input@
&$configure_input&;t t
53570 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53571 s
&@srcdir@
&$ac_srcdir&;t t
53572 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53573 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53574 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53575 s
&@builddir@
&$ac_builddir&;t t
53576 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53577 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53578 s
&@INSTALL@
&$ac_INSTALL&;t t
53579 $ac_datarootdir_hack
53580 " $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
53582 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53583 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
53584 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
53585 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
53586 which seems to be undefined. Please make sure it is defined." >&5
53587 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
53588 which seems to be undefined. Please make sure it is defined." >&2;}
53592 -) cat "$tmp/out"; rm -f "$tmp/out";;
53593 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53602 # Transform confdefs.h into a sed script `conftest.defines', that
53603 # substitutes the proper values into config.h.in to produce config.h.
53604 rm -f conftest.defines conftest.
tail
53605 # First, append a space to every undef/define line, to ease matching.
53606 echo 's/$/ /' >conftest.defines
53607 # Then, protect against being on the right side of a sed subst, or in
53608 # an unquoted here document, in config.status. If some macros were
53609 # called several times there might be several #defines for the same
53610 # symbol, which is useless. But do not sort them, since the last
53611 # AC_DEFINE must be honored.
53612 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
53613 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53614 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53615 # PARAMS is the parameter list in the macro definition--in most cases, it's
53616 # just an empty string.
53617 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53618 ac_dB
='\\)[ (].*,\\1define\\2'
53626 s/^[ ]*#[ ]*define[ ][ ]*//
53631 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53632 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53633 ' >>conftest.defines
53635 # Remove the space that was appended to ease matching.
53636 # Then replace #undef with comments. This is necessary, for
53637 # example, in the case of _POSIX_SOURCE, which is predefined and required
53638 # on some systems where configure will not decide to define it.
53639 # (The regexp can be short, since the line contains either #define or #undef.)
53641 s,^[ #]*u.*,/* & */,' >>conftest.defines
53643 # Break up conftest.defines:
53644 ac_max_sed_lines
=50
53646 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53647 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53648 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53650 ac_in
='$ac_file_inputs'
53651 ac_out
='"$tmp/out1"'
53652 ac_nxt
='"$tmp/out2"'
53656 # Write a here document:
53657 cat >>$CONFIG_STATUS <<_ACEOF
53658 # First, check the format of the line:
53659 cat >"\$tmp/defines.sed" <<\\CEOF
53660 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53661 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53665 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
53667 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53668 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
53669 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
53670 grep . conftest.
tail >/dev
/null
|| break
53671 rm -f conftest.defines
53672 mv conftest.
tail conftest.defines
53674 rm -f conftest.defines conftest.
tail
53676 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53677 cat >>$CONFIG_STATUS <<\_ACEOF
53678 if test x
"$ac_file" != x
-; then
53679 echo "/* $configure_input */" >"$tmp/config.h"
53680 cat "$ac_result" >>"$tmp/config.h"
53681 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
53682 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53683 echo "$as_me: $ac_file is unchanged" >&6;}
53686 mv "$tmp/config.h" $ac_file
53689 echo "/* $configure_input */"
53695 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53696 echo "$as_me: executing $ac_file commands" >&6;}
53701 case $ac_file$ac_mode in
53703 mkdir -p $outdir &&
53704 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53706 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53707 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53708 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
53709 "wx-config":C
) rm -f wx
-config
53710 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53717 { (exit 0); exit 0; }
53719 chmod +x
$CONFIG_STATUS
53720 ac_clean_files
=$ac_clean_files_save
53723 # configure is writing to config.log, and then calls config.status.
53724 # config.status does its own redirection, appending to config.log.
53725 # Unfortunately, on DOS this fails, as config.log is still kept open
53726 # by configure, so config.status won't be able to write to it; its
53727 # output is simply discarded. So we exec the FD to /dev/null,
53728 # effectively closing config.log, so it can be properly (re)opened and
53729 # appended to by config.status. When coming back to configure, we
53730 # need to make the FD available again.
53731 if test "$no_create" != yes; then
53733 ac_config_status_args
=
53734 test "$silent" = yes &&
53735 ac_config_status_args
="$ac_config_status_args --quiet"
53737 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53739 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53740 # would make configure fail if this is the last instruction.
53741 $ac_cs_success || { (exit 1); exit 1; }
53745 # CONFIG_SUBDIRS section.
53747 if test "$no_recursion" != yes; then
53749 # Remove --cache-file and --srcdir arguments so they do not pile up.
53750 ac_sub_configure_args
=
53752 eval "set x $ac_configure_args"
53756 if test -n "$ac_prev"; then
53761 -cache-file | --cache-file | --cache-fil | --cache-fi \
53762 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53763 ac_prev
=cache_file
;;
53764 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53765 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53768 --config-cache | -C)
53770 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53772 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53774 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53776 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53780 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53782 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53786 # Always prepend --prefix to ensure using the same prefix
53787 # in subdir configurations.
53788 ac_arg
="--prefix=$prefix"
53790 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53792 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53795 if test "$silent" = yes; then
53796 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53800 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53802 # Do not complain, so a configure script can configure whichever
53803 # parts of a large source tree are present.
53804 test -d "$srcdir/$ac_dir" || continue
53806 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53807 echo "$as_me:$LINENO: $ac_msg" >&5
53811 -*) as_dir
=.
/$as_dir;;
53813 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53817 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53818 *) as_qdir
=$as_dir;;
53820 as_dirs
="'$as_qdir' $as_dirs"
53821 as_dir
=`$as_dirname -- "$as_dir" ||
53822 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53823 X"$as_dir" : 'X\(//\)[^/]' \| \
53824 X"$as_dir" : 'X\(//\)$' \| \
53825 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53831 /^X\(\/\/\)[^/].*/{
53844 test -d "$as_dir" && break
53846 test -z "$as_dirs" || eval "mkdir $as_dirs"
53847 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53848 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53849 { (exit 1); exit 1; }; }; }
53853 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53855 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53856 # A ".." for each directory in $ac_dir_suffix.
53857 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53858 case $ac_top_builddir_sub in
53859 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53860 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53863 ac_abs_top_builddir
=$ac_pwd
53864 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53865 # for backward compatibility:
53866 ac_top_builddir
=$ac_top_build_prefix
53869 .
) # We are building in place.
53871 ac_top_srcdir
=$ac_top_builddir_sub
53872 ac_abs_top_srcdir
=$ac_pwd ;;
53873 [\\/]* | ?
:[\\/]* ) # Absolute name.
53874 ac_srcdir
=$srcdir$ac_dir_suffix;
53875 ac_top_srcdir
=$srcdir
53876 ac_abs_top_srcdir
=$srcdir ;;
53877 *) # Relative name.
53878 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53879 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53880 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53882 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53887 # Check for guested configure; otherwise get Cygnus style configure.
53888 if test -f "$ac_srcdir/configure.gnu"; then
53889 ac_sub_configure
=$ac_srcdir/configure.gnu
53890 elif test -f "$ac_srcdir/configure"; then
53891 ac_sub_configure
=$ac_srcdir/configure
53892 elif test -f "$ac_srcdir/configure.in"; then
53893 # This should be Cygnus configure.
53894 ac_sub_configure
=$ac_aux_dir/configure
53896 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53897 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53901 # The recursion is here.
53902 if test -n "$ac_sub_configure"; then
53903 # Make the cache file name correct relative to the subdirectory.
53904 case $cache_file in
53905 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53906 *) # Relative name.
53907 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53910 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53911 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53912 # The eval makes quoting arguments work.
53913 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53914 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53915 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53916 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53917 { (exit 1); exit 1; }; }
53926 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53928 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53929 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53930 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53931 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53932 if test "$wxUSE_UNICODE" = "yes"; then
53933 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53934 echo " (using UTF-8)"
53936 echo " (using wchar_t)"
53942 echo " What level of wxWidgets compatibility should be enabled?"
53943 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53944 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53946 echo " Which libraries should wxWidgets use?"
53947 echo " STL ${wxUSE_STL}"
53948 echo " jpeg ${wxUSE_LIBJPEG-none}"
53949 echo " png ${wxUSE_LIBPNG-none}"
53950 echo " regex ${wxUSE_REGEX}"
53951 echo " tiff ${wxUSE_LIBTIFF-none}"
53952 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53953 echo " xpm ${wxUSE_LIBXPM-none}"
53955 echo " zlib ${wxUSE_ZLIB}"
53956 echo " expat ${wxUSE_EXPAT}"
53957 echo " libmspack ${wxUSE_LIBMSPACK}"
53958 echo " sdl ${wxUSE_LIBSDL}"