2 # From configure.in Id: configure.in 61122 2009-06-18 21:05:09Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
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.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
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
706 LIBGNOMEPRINTUI_CFLAGS
813 ICC_PCH_CREATE_SWITCH
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_DFB_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
932 COND_TOOLKIT_MGL_USE_GUI_1
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA
943 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
944 COND_TOOLKIT_OSX_IPHONE
946 COND_TOOLKIT_PM_USE_GUI_1
947 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
949 COND_TOOLKIT_WINCE_USE_GUI_1
950 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE_WXUNIV_0
953 COND_TOOLKIT_X11_USE_GUI_1
955 COND_USE_EXCEPTIONS_0
956 COND_USE_EXCEPTIONS_1
959 COND_USE_GUI_1_USE_OPENGL_1
960 COND_USE_GUI_1_WXUNIV_0
961 COND_USE_GUI_1_WXUNIV_1
962 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
964 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
965 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
966 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
967 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
973 COND_USE_SOSYMLINKS_1
974 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
975 COND_USE_SOVERLINUX_1
977 COND_USE_SOVERSOLARIS_1
982 COND_WINDOWS_IMPLIB_1
983 COND_WITH_PLUGIN_SDL_1
986 COND_WXUSE_EXPAT_BUILTIN
987 COND_WXUSE_LIBJPEG_BUILTIN
988 COND_WXUSE_LIBPNG_BUILTIN
989 COND_WXUSE_LIBTIFF_BUILTIN
990 COND_WXUSE_REGEX_BUILTIN
991 COND_WXUSE_ZLIB_BUILTIN
992 COND_wxUSE_EXPAT_builtin
993 COND_wxUSE_LIBJPEG_builtin
994 COND_wxUSE_LIBPNG_builtin
995 COND_wxUSE_LIBTIFF_builtin
996 COND_wxUSE_REGEX_builtin
997 COND_wxUSE_ZLIB_builtin
1000 WX_LIBRARY_BASENAME_NOGUI
1001 WX_LIBRARY_BASENAME_GUI
1021 WXCONFIG_LDFLAGS_GUI
1033 WX_RESOURCES_MACOSX_ASCII
1034 WX_RESOURCES_MACOSX_DATA
1044 ac_precious_vars
='build_alias
1068 LIBGNOMEPRINTUI_CFLAGS
1069 LIBGNOMEPRINTUI_LIBS
1078 ac_subdirs_all
='src/tiff
1081 # Initialize some variables set by options.
1083 ac_init_version
=false
1084 # The variables have the same names as the options, with
1085 # dashes changed to underlines.
1086 cache_file
=/dev
/null
1093 program_transform_name
=s
,x
,x
,
1101 # Installation directory options.
1102 # These are left unexpanded so users can "make install exec_prefix=/foo"
1103 # and all the variables that are supposed to be based on exec_prefix
1104 # by default will actually change.
1105 # Use braces instead of parens because sh, perl, etc. also accept them.
1106 # (The list follows the same order as the GNU Coding Standards.)
1107 bindir
='${exec_prefix}/bin'
1108 sbindir
='${exec_prefix}/sbin'
1109 libexecdir
='${exec_prefix}/libexec'
1110 datarootdir
='${prefix}/share'
1111 datadir
='${datarootdir}'
1112 sysconfdir
='${prefix}/etc'
1113 sharedstatedir
='${prefix}/com'
1114 localstatedir
='${prefix}/var'
1115 includedir
='${prefix}/include'
1116 oldincludedir
='/usr/include'
1117 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1118 infodir
='${datarootdir}/info'
1123 libdir
='${exec_prefix}/lib'
1124 localedir
='${datarootdir}/locale'
1125 mandir
='${datarootdir}/man'
1131 # If the previous option needs an argument, assign it.
1132 if test -n "$ac_prev"; then
1133 eval $ac_prev=\
$ac_option
1139 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1143 # Accept the important Cygnus configure options, so we can diagnose typos.
1145 case $ac_dashdash$ac_option in
1149 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1151 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1152 bindir
=$ac_optarg ;;
1154 -build | --build | --buil | --bui | --bu)
1155 ac_prev
=build_alias
;;
1156 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1157 build_alias
=$ac_optarg ;;
1159 -cache-file | --cache-file | --cache-fil | --cache-fi \
1160 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1161 ac_prev
=cache_file
;;
1162 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1163 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1164 cache_file
=$ac_optarg ;;
1166 --config-cache | -C)
1167 cache_file
=config.cache
;;
1169 -datadir | --datadir | --datadi | --datad)
1171 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1172 datadir
=$ac_optarg ;;
1174 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1175 | --dataroo | --dataro | --datar)
1176 ac_prev
=datarootdir
;;
1177 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1178 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1179 datarootdir
=$ac_optarg ;;
1181 -disable-* | --disable-*)
1182 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1185 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1188 eval enable_
$ac_feature=no
;;
1190 -docdir | --docdir | --docdi | --doc | --do)
1192 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1193 docdir
=$ac_optarg ;;
1195 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1197 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1198 dvidir
=$ac_optarg ;;
1200 -enable-* | --enable-*)
1201 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1204 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1205 { (exit 1); exit 1; }; }
1206 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1207 eval enable_
$ac_feature=\
$ac_optarg ;;
1209 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1210 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1211 | --exec | --exe | --ex)
1212 ac_prev
=exec_prefix
;;
1213 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1214 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1215 | --exec=* | --exe=* | --ex=*)
1216 exec_prefix
=$ac_optarg ;;
1218 -gas | --gas | --ga | --g)
1219 # Obsolete; use --with-gas.
1222 -help | --help | --hel | --he | -h)
1223 ac_init_help
=long
;;
1224 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1225 ac_init_help
=recursive
;;
1226 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1227 ac_init_help
=short
;;
1229 -host | --host | --hos | --ho)
1230 ac_prev
=host_alias
;;
1231 -host=* | --host=* | --hos=* | --ho=*)
1232 host_alias
=$ac_optarg ;;
1234 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1236 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1238 htmldir
=$ac_optarg ;;
1240 -includedir | --includedir | --includedi | --included | --include \
1241 | --includ | --inclu | --incl | --inc)
1242 ac_prev
=includedir
;;
1243 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1244 | --includ=* | --inclu=* | --incl=* | --inc=*)
1245 includedir
=$ac_optarg ;;
1247 -infodir | --infodir | --infodi | --infod | --info | --inf)
1249 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1250 infodir
=$ac_optarg ;;
1252 -libdir | --libdir | --libdi | --libd)
1254 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1255 libdir
=$ac_optarg ;;
1257 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1258 | --libexe | --libex | --libe)
1259 ac_prev
=libexecdir
;;
1260 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1261 | --libexe=* | --libex=* | --libe=*)
1262 libexecdir
=$ac_optarg ;;
1264 -localedir | --localedir | --localedi | --localed | --locale)
1265 ac_prev
=localedir
;;
1266 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1267 localedir
=$ac_optarg ;;
1269 -localstatedir | --localstatedir | --localstatedi | --localstated \
1270 | --localstate | --localstat | --localsta | --localst | --locals)
1271 ac_prev
=localstatedir
;;
1272 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1273 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1274 localstatedir
=$ac_optarg ;;
1276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1279 mandir
=$ac_optarg ;;
1281 -nfp | --nfp | --nf)
1282 # Obsolete; use --without-fp.
1285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1286 | --no-cr | --no-c | -n)
1289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1295 | --oldin | --oldi | --old | --ol | --o)
1296 ac_prev
=oldincludedir
;;
1297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1300 oldincludedir
=$ac_optarg ;;
1302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1305 prefix
=$ac_optarg ;;
1307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1308 | --program-pre | --program-pr | --program-p)
1309 ac_prev
=program_prefix
;;
1310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1312 program_prefix
=$ac_optarg ;;
1314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1315 | --program-suf | --program-su | --program-s)
1316 ac_prev
=program_suffix
;;
1317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1319 program_suffix
=$ac_optarg ;;
1321 -program-transform-name | --program-transform-name \
1322 | --program-transform-nam | --program-transform-na \
1323 | --program-transform-n | --program-transform- \
1324 | --program-transform | --program-transfor \
1325 | --program-transfo | --program-transf \
1326 | --program-trans | --program-tran \
1327 | --progr-tra | --program-tr | --program-t)
1328 ac_prev
=program_transform_name
;;
1329 -program-transform-name=* | --program-transform-name=* \
1330 | --program-transform-nam=* | --program-transform-na=* \
1331 | --program-transform-n=* | --program-transform-=* \
1332 | --program-transform=* | --program-transfor=* \
1333 | --program-transfo=* | --program-transf=* \
1334 | --program-trans=* | --program-tran=* \
1335 | --progr-tra=* | --program-tr=* | --program-t=*)
1336 program_transform_name
=$ac_optarg ;;
1338 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1340 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1341 pdfdir
=$ac_optarg ;;
1343 -psdir | --psdir | --psdi | --psd | --ps)
1345 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1349 | -silent | --silent | --silen | --sile | --sil)
1352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1356 sbindir
=$ac_optarg ;;
1358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1360 | --sharedst | --shareds | --shared | --share | --shar \
1362 ac_prev
=sharedstatedir
;;
1363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1367 sharedstatedir
=$ac_optarg ;;
1369 -site | --site | --sit)
1371 -site=* | --site=* | --sit=*)
1374 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1376 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1377 srcdir
=$ac_optarg ;;
1379 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1380 | --syscon | --sysco | --sysc | --sys | --sy)
1381 ac_prev
=sysconfdir
;;
1382 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1383 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1384 sysconfdir
=$ac_optarg ;;
1386 -target | --target | --targe | --targ | --tar | --ta | --t)
1387 ac_prev
=target_alias
;;
1388 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1389 target_alias
=$ac_optarg ;;
1391 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1394 -version | --version | --versio | --versi | --vers | -V)
1395 ac_init_version
=: ;;
1398 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1399 # Reject names that are not valid shell variable names.
1400 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1401 { echo "$as_me: error: invalid package name: $ac_package" >&2
1402 { (exit 1); exit 1; }; }
1403 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1404 eval with_
$ac_package=\
$ac_optarg ;;
1406 -without-* | --without-*)
1407 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1410 { echo "$as_me: error: invalid package name: $ac_package" >&2
1411 { (exit 1); exit 1; }; }
1412 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1413 eval with_
$ac_package=no
;;
1416 # Obsolete; use --with-x.
1419 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1420 | --x-incl | --x-inc | --x-in | --x-i)
1421 ac_prev
=x_includes
;;
1422 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1423 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1424 x_includes
=$ac_optarg ;;
1426 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1427 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1428 ac_prev
=x_libraries
;;
1429 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1430 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1431 x_libraries
=$ac_optarg ;;
1433 -*) { echo "$as_me: error: unrecognized option: $ac_option
1434 Try \`$0 --help' for more information." >&2
1435 { (exit 1); exit 1; }; }
1439 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1442 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1443 { (exit 1); exit 1; }; }
1444 eval $ac_envvar=\
$ac_optarg
1445 export $ac_envvar ;;
1448 # FIXME: should be removed in autoconf 3.0.
1449 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1450 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1451 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1452 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1458 if test -n "$ac_prev"; then
1459 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1460 { echo "$as_me: error: missing argument to $ac_option" >&2
1461 { (exit 1); exit 1; }; }
1464 # Be sure to have absolute directory names.
1465 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1466 datadir sysconfdir sharedstatedir localstatedir includedir \
1467 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1468 libdir localedir mandir
1470 eval ac_val
=\$
$ac_var
1472 [\\/$
]* | ?
:[\\/]* ) continue;;
1473 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1475 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1476 { (exit 1); exit 1; }; }
1479 # There might be people who depend on the old broken behavior: `$host'
1480 # used to hold the argument of --host etc.
1481 # FIXME: To remove some day.
1484 target
=$target_alias
1486 # FIXME: To remove some day.
1487 if test "x$host_alias" != x
; then
1488 if test "x$build_alias" = x
; then
1489 cross_compiling
=maybe
1490 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1491 If a cross compiler is detected then cross compile mode will be used." >&2
1492 elif test "x$build_alias" != "x$host_alias"; then
1498 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1500 test "$silent" = yes && exec 6>/dev
/null
1503 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1504 ac_ls_di
=`ls -di .` &&
1505 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1506 { echo "$as_me: error: Working directory cannot be determined" >&2
1507 { (exit 1); exit 1; }; }
1508 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1509 { echo "$as_me: error: pwd does not report name of working directory" >&2
1510 { (exit 1); exit 1; }; }
1513 # Find the source files, if location was not specified.
1514 if test -z "$srcdir"; then
1515 ac_srcdir_defaulted
=yes
1516 # Try the directory containing this script, then the parent directory.
1517 ac_confdir
=`$as_dirname -- "$0" ||
1518 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1519 X"$0" : 'X\(//\)[^/]' \| \
1520 X"$0" : 'X\(//\)$' \| \
1521 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1541 if test ! -r "$srcdir/$ac_unique_file"; then
1545 ac_srcdir_defaulted
=no
1547 if test ! -r "$srcdir/$ac_unique_file"; then
1548 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1549 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1550 { (exit 1); exit 1; }; }
1552 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1554 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1555 { (exit 1); exit 1; }; }
1557 # When building in place, set srcdir=.
1558 if test "$ac_abs_confdir" = "$ac_pwd"; then
1561 # Remove unnecessary trailing slashes from srcdir.
1562 # Double slashes in file names in object file debugging info
1563 # mess up M-x gdb in Emacs.
1565 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1567 for ac_var
in $ac_precious_vars; do
1568 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1569 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1570 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1571 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1575 # Report the --help message.
1577 if test "$ac_init_help" = "long"; then
1578 # Omit some internal or obsolete options to make the list less imposing.
1579 # This message is too long to be a string in the A/UX 3.1 sh.
1581 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1583 Usage: $0 [OPTION]... [VAR=VALUE]...
1585 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1586 VAR=VALUE. See below for descriptions of some of the useful variables.
1588 Defaults for the options are specified in brackets.
1591 -h, --help display this help and exit
1592 --help=short display options specific to this package
1593 --help=recursive display the short help of all the included packages
1594 -V, --version display version information and exit
1595 -q, --quiet, --silent do not print \`checking...' messages
1596 --cache-file=FILE cache test results in FILE [disabled]
1597 -C, --config-cache alias for \`--cache-file=config.cache'
1598 -n, --no-create do not create output files
1599 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1601 Installation directories:
1602 --prefix=PREFIX install architecture-independent files in PREFIX
1603 [$ac_default_prefix]
1604 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1607 By default, \`make install' will install all the files in
1608 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1609 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1610 for instance \`--prefix=\$HOME'.
1612 For better control, use the options below.
1614 Fine tuning of the installation directories:
1615 --bindir=DIR user executables [EPREFIX/bin]
1616 --sbindir=DIR system admin executables [EPREFIX/sbin]
1617 --libexecdir=DIR program executables [EPREFIX/libexec]
1618 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1619 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1620 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1621 --libdir=DIR object code libraries [EPREFIX/lib]
1622 --includedir=DIR C header files [PREFIX/include]
1623 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1624 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1625 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1626 --infodir=DIR info documentation [DATAROOTDIR/info]
1627 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1628 --mandir=DIR man documentation [DATAROOTDIR/man]
1629 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1630 --htmldir=DIR html documentation [DOCDIR]
1631 --dvidir=DIR dvi documentation [DOCDIR]
1632 --pdfdir=DIR pdf documentation [DOCDIR]
1633 --psdir=DIR ps documentation [DOCDIR]
1639 --x-includes=DIR X include files are
in DIR
1640 --x-libraries=DIR X library files are
in DIR
1643 --build=BUILD configure
for building on BUILD
[guessed
]
1644 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1648 if test -n "$ac_init_help"; then
1649 case $ac_init_help in
1650 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1655 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1656 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1657 --disable-gui don
't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets
2.6 compatibility
1692 --disable-compat28 disable wxWidgets
2.8 compatibility
1693 --disable-rpath disable use of rpath
for uninstalled builds
1694 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even
if supported
1696 --disable-tls disable use of compiler TLS support
1697 --enable-intl use internationalization system
1698 --enable-xlocale use x
-locale support
(requires wxLocale
)
1699 --enable-config use wxConfig
(and derived
) classes
1700 --enable-protocols use wxProtocol and derived classes
1701 --enable-ftp use wxFTP
(requires wxProtocol
1702 --enable-http use wxHTTP
(requires wxProtocol
1703 --enable-fileproto use wxFileProto class
(requires wxProtocol
1704 --enable-sockets use socket
/network classes
1705 --enable-ipv6 enable IPv6 support
in wxSocket
1706 --enable-ole use OLE classes
(Win32 only
)
1707 --enable-dataobj use data object classes
1708 --enable-ipc use interprocess communication
(wxSocket etc.
)
1709 --enable-baseevtloop use event loop
in console programs too
1710 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1711 --enable-selectloop use wxSelectDispatcher class
1712 --enable-apple_ieee use the Apple IEEE codec
1713 --enable-arcstream use wxArchive streams
1714 --enable-base64 use base64 encoding
/decoding functions
1715 --enable-backtrace use wxStackWalker class
for getting backtraces
1716 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1717 --enable-cmdline use wxCmdLineParser class
1718 --enable-datetime use wxDateTime class
1719 --enable-debugreport use wxDebugReport class
1720 --enable-dialupman use dialup network classes
1721 --enable-dynlib use wxLibrary class
for DLL loading
1722 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1723 --enable-exceptions build exception
-safe library
1724 --enable-ffile use wxFFile class
1725 --enable-file use wxFile class
1726 --enable-filesystem use virtual
file systems classes
1727 --enable-fontenum use wxFontEnumerator class
1728 --enable-fontmap use font encodings conversion classes
1729 --enable-fs_archive use virtual archive filesystems
1730 --enable-fs_inet use virtual HTTP
/FTP filesystems
1731 --enable-fs_zip now replaced by fs_archive
1732 --enable-geometry use geometry class
1733 --enable-log use logging system
1734 --enable-longlong use wxLongLong class
1735 --enable-mimetype use wxMimeTypesManager
1736 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1737 --enable-snglinst use wxSingleInstanceChecker class
1738 --enable-sound use wxSound class
1739 --enable-stdpaths use wxStandardPaths class
1740 --enable-stopwatch use wxStopWatch class
1741 --enable-streams use wxStream etc classes
1742 --enable-sysoptions use wxSystemOptions
1743 --enable-tarstream use wxTar streams
1744 --enable-textbuf use wxTextBuffer class
1745 --enable-textfile use wxTextFile class
1746 --enable-timer use wxTimer class
1747 --enable-variant use wxVariant class
1748 --enable-zipstream use wxZip streams
1749 --enable-url use wxURL class
1750 --enable-protocol use wxProtocol class
1751 --enable-protocol-http HTTP support
in wxProtocol
1752 --enable-protocol-ftp FTP support
in wxProtocol
1753 --enable-protocol-file FILE support
in wxProtocol
1754 --enable-threads use threads
1755 --enable-iniconf use wxIniConfig
(Win32 only
)
1756 --enable-regkey use wxRegKey class
(Win32 only
)
1757 --enable-docview use document view architecture
1758 --enable-help use
help subsystem
1759 --enable-mshtmlhelp use MS HTML Help
(win32
)
1760 --enable-html use wxHTML sub
-library
1761 --enable-htmlhelp use wxHTML
-based help
1762 --enable-xrc use XRC resources sub
-library
1763 --enable-aui use AUI docking library
1764 --enable-propgrid use wxPropertyGrid library
1765 --enable-stc use wxStyledTextCtrl library
1766 --enable-constraints use layout
-constraints system
1767 --enable-loggui use standard GUI logger
1768 --enable-logwin use wxLogWindow
1769 --enable-logdialog use wxLogDialog
1770 --enable-mdi use multiple document interface architecture
1771 --enable-mdidoc use docview architecture with MDI
1772 --enable-mediactrl use wxMediaCtrl class
1773 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1774 --enable-webkit use wxWebKitCtrl
(Mac
)
1775 --enable-richtext use wxRichTextCtrl
1776 --enable-graphics_ctx use graphics context
2D drawing API
1777 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1778 --enable-printarch use printing architecture
1779 --enable-svg use wxSVGFileDC device context
1780 --enable-clipboard use wxClipboard class
1781 --enable-dnd use Drag
'n'Drop classes
1782 --enable-metafile use win32 metafiles
1783 --disable-controls disable compilation of all standard controls
1784 --enable-accel use accelerators
1785 --enable-animatectrl use wxAnimationCtrl class
1786 --enable-bmpbutton use wxBitmapButton class
1787 --enable-bmpcombobox use wxBitmapComboBox class
1788 --enable-button use wxButton class
1789 --enable-calendar use wxCalendarCtrl class
1790 --enable-caret use wxCaret class
1791 --enable-checkbox use wxCheckBox class
1792 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1793 --enable-choice use wxChoice class
1794 --enable-choicebook use wxChoicebook class
1795 --enable-collpane use wxCollapsiblePane class
1796 --enable-colourpicker use wxColourPickerCtrl class
1797 --enable-combobox use wxComboBox class
1798 --enable-comboctrl use wxComboCtrl class
1799 --enable-dataviewctrl use wxDataViewCtrl class
1800 --enable-datepick use wxDatePickerCtrl class
1801 --enable-detect_sm use code to detect X11 session manager
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-editablebox use wxEditableListBox class
1805 --enable-filectrl use wxFileCtrl class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-fontpicker use wxFontPickerCtrl class
1808 --enable-gauge use wxGauge class
1809 --enable-grid use wxGrid class
1810 --enable-headerctrl use wxHeaderCtrl class
1811 --enable-hyperlink use wxHyperlinkCtrl class
1812 --enable-imaglist use wxImageList class
1813 --enable-listbook use wxListbook class
1814 --enable-listbox use wxListBox class
1815 --enable-listctrl use wxListCtrl class
1816 --enable-notebook use wxNotebook class
1817 --enable-notifmsg use wxNotificationMessage class
1818 --enable-odcombobox use wxOwnerDrawnComboBox class
1819 --enable-popupwin use wxPopUpWindow class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1823 --enable-sash use wxSashWindow class
1824 --enable-scrollbar use wxScrollBar class and scrollable windows
1825 --enable-searchctrl use wxSearchCtrl class
1826 --enable-slider use wxSlider class
1827 --enable-spinbtn use wxSpinButton class
1828 --enable-spinctrl use wxSpinCtrl class
1829 --enable-splitter use wxSplitterWindow class
1830 --enable-statbmp use wxStaticBitmap class
1831 --enable-statbox use wxStaticBox class
1832 --enable-statline use wxStaticLine class
1833 --enable-stattext use wxStaticText class
1834 --enable-statusbar use wxStatusBar class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-tbarnative use native wxToolBar class
1837 --enable-textctrl use wxTextCtrl class
1838 --enable-tipwindow use wxTipWindow class
1839 --enable-togglebtn use wxToggleButton class
1840 --enable-toolbar use wxToolBar class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treebook use wxTreebook class
1843 --enable-treectrl use wxTreeCtrl class
1844 --enable-commondlg use all common dialogs
1845 --enable-aboutdlg use wxAboutBox
1846 --enable-choicedlg use wxChoiceDialog
1847 --enable-coldlg use wxColourDialog
1848 --enable-filedlg use wxFileDialog
1849 --enable-finddlg use wxFindReplaceDialog
1850 --enable-fontdlg use wxFontDialog
1851 --enable-dirdlg use wxDirDialog
1852 --enable-msgdlg use wxMessageDialog
1853 --enable-numberdlg use wxNumberEntryDialog
1854 --enable-splash use wxSplashScreen
1855 --enable-textdlg use wxTextDialog
1856 --enable-tipdlg use startup tips
1857 --enable-progressdlg use wxProgressDialog
1858 --enable-wizarddlg use wxWizard
1859 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1860 --enable-miniframe use wxMiniFrame class
1861 --enable-tooltips use wxToolTip class
1862 --enable-splines use spline drawing code
1863 --enable-mousewheel use mousewheel
1864 --enable-validators use wxValidator and derived classes
1865 --enable-busyinfo use wxBusyInfo
1866 --enable-joystick use wxJoystick
1867 --enable-metafiles use wxMetaFile
(Win32 only
)
1868 --enable-dragimage use wxDragImage
1869 --enable-accessibility enable accessibility support
1870 --enable-palette use wxPalette class
1871 --enable-image use wxImage class
1872 --enable-gif use gif images
(GIF
file format
)
1873 --enable-pcx use pcx images
(PCX
file format
)
1874 --enable-tga use tga images
(TGA
file format
)
1875 --enable-iff use iff images
(IFF
file format
)
1876 --enable-pnm use pnm images
(PNM
file format
)
1877 --enable-xpm use xpm images
(XPM
file format
)
1878 --enable-ico_cur use Windows ICO and CUR formats
1879 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1880 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1881 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1882 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1883 --enable-wxdib use wxDIB class
(Win32 only
)
1884 --enable-autoidman use automatic ids management
1885 --disable-largefile omit support
for large files
1886 --disable-gtktest do not try to compile and run a
test GTK
+ program
1887 --disable-gtktest Do not try to compile and run a
test GTK program
1888 --disable-sdltest Do not try to compile and run a
test SDL program
1889 --enable-omf use OMF object format
(OS
/2)
1890 --disable-dependency-tracking
1891 don
't use dependency tracking even if the compiler
1893 --disable-precomp-headers
1894 don't use precompiled headers even
if compiler can
1897 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1898 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1899 --without-subdirs don
't generate makefiles for samples/demos/...
1900 --with-flavour=NAME specify a name to identify this build
1901 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1902 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1903 --with-motif use Motif/Lesstif
1904 --with-osx_carbon use Mac OS X (Carbon)
1905 --with-osx_cocoa use Mac OS X (Cocoa)
1906 --with-mac use Mac OS X (Default)
1907 --with-cocoa use Cocoa
1908 --with-wine use Wine
1909 --with-msw use MS-Windows
1910 --with-pm use OS/2 Presentation Manager
1911 --with-mgl use SciTech MGL
1912 --with-directfb use DirectFB
1913 --with-microwin use MicroWindows
1915 --with-libpng use libpng (PNG image format)
1916 --with-libjpeg use libjpeg (JPEG file format)
1917 --with-libtiff use libtiff (TIFF file format)
1918 --with-libxpm use libxpm (XPM file format)
1919 --with-libiconv use libiconv (character conversion)
1920 --with-libmspack use libmspack (CHM help files loading)
1921 --without-gtkprint don't use GTK printing support
1922 --without-gnomeprint don
't use GNOME printing libraries
1923 --with-gnomevfs use GNOME VFS for associating MIME types
1924 --with-hildon use Hildon framework for Nokia 770
1925 --with-opengl use OpenGL (or Mesa)
1926 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1927 --with-sdl use SDL for audio on Unix
1928 --with-regex enable support for wxRegEx class
1929 --with-zlib use zlib for LZW compression
1930 --with-expat enable XML support using expat parser
1931 --with-macosx-sdk=PATH use an OS X SDK at PATH
1932 --with-macosx-version-min=VER build binaries which require at least this OS X version
1933 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1934 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1935 --with-x use the X Window System
1936 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1937 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1938 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1939 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1940 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1942 Some influential environment variables:
1943 CC C compiler command
1944 CFLAGS C compiler flags
1945 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1946 nonstandard directory <lib dir>
1947 LIBS libraries to pass to the linker, e.g. -l<library>
1948 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1949 you have headers in a nonstandard directory <include dir>
1951 CXX C++ compiler command
1952 CXXFLAGS C++ compiler flags
1953 PKG_CONFIG path to pkg-config utility
1955 C compiler flags for DIRECTFB, overriding pkg-config
1957 linker flags for DIRECTFB, overriding pkg-config
1958 XMKMF Path to xmkmf, Makefile generator for X Window System
1960 C compiler flags for PANGOX, overriding pkg-config
1961 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1963 C compiler flags for PANGOFT2, overriding pkg-config
1965 linker flags for PANGOFT2, overriding pkg-config
1967 C compiler flags for PANGOXFT, overriding pkg-config
1969 linker flags for PANGOXFT, overriding pkg-config
1971 C compiler flags for GTKPRINT, overriding pkg-config
1973 linker flags for GTKPRINT, overriding pkg-config
1974 LIBGNOMEPRINTUI_CFLAGS
1975 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 LIBGNOMEPRINTUI_LIBS
1977 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1979 C compiler flags for GNOMEVFS, overriding pkg-config
1981 linker flags for GNOMEVFS, overriding pkg-config
1983 C compiler flags for HILDON, overriding pkg-config
1984 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1986 C compiler flags for CAIRO, overriding pkg-config
1987 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1988 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1989 GST_LIBS linker flags for GST, overriding pkg-config
1991 Use these variables to override the choices made by `configure' or to
help
1992 it to
find libraries and programs with nonstandard names
/locations.
1994 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1999 if test "$ac_init_help" = "recursive"; then
2000 # If there are subdirs, report their specific --help.
2001 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2002 test -d "$ac_dir" || continue
2006 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2008 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2009 # A ".." for each directory in $ac_dir_suffix.
2010 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2011 case $ac_top_builddir_sub in
2012 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2013 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2016 ac_abs_top_builddir
=$ac_pwd
2017 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2018 # for backward compatibility:
2019 ac_top_builddir
=$ac_top_build_prefix
2022 .
) # We are building in place.
2024 ac_top_srcdir
=$ac_top_builddir_sub
2025 ac_abs_top_srcdir
=$ac_pwd ;;
2026 [\\/]* | ?
:[\\/]* ) # Absolute name.
2027 ac_srcdir
=$srcdir$ac_dir_suffix;
2028 ac_top_srcdir
=$srcdir
2029 ac_abs_top_srcdir
=$srcdir ;;
2031 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2032 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2033 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2035 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2037 cd "$ac_dir" || { ac_status
=$?
; continue; }
2038 # Check for guested configure.
2039 if test -f "$ac_srcdir/configure.gnu"; then
2041 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2042 elif test -f "$ac_srcdir/configure"; then
2044 $SHELL "$ac_srcdir/configure" --help=recursive
2046 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2048 cd "$ac_pwd" || { ac_status
=$?
; break; }
2052 test -n "$ac_init_help" && exit $ac_status
2053 if $ac_init_version; then
2055 wxWidgets configure
2.9.0
2056 generated by GNU Autoconf
2.61
2058 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2059 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2060 This configure
script is free software
; the Free Software Foundation
2061 gives unlimited permission to copy
, distribute and modify it.
2065 cat >config.log
<<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2069 It was created by wxWidgets $as_me 2.9.0, which was
2070 generated by GNU Autoconf 2.61. Invocation command line was
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir
=.
2106 echo "PATH: $as_dir"
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2130 ac_must_keep_next
=false
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2141 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2144 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2146 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2147 if test $ac_must_keep_next = true
; then
2148 ac_must_keep_next
=false
# Got value, back to normal.
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2159 -* ) ac_must_keep_next
=true
;;
2162 ac_configure_args
="$ac_configure_args '$ac_arg'"
2167 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2168 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2181 ## ---------------- ##
2182 ## Cache variables. ##
2183 ## ---------------- ##
2186 # The following way of writing the cache mishandles newlines in values,
2188 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2189 eval ac_val=\$$ac_var
2193 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2194 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2197 _ | IFS | as_nl) ;; #(
2198 *) $as_unset $ac_var ;;
2203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204 *${as_nl}ac_space=\ *)
2206 "s/'\''/'\''\\\\'\'''\''/g;
2207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2218 ## ----------------- ##
2219 ## Output variables. ##
2220 ## ----------------- ##
2223 for ac_var in $ac_subst_vars
2225 eval ac_val=\$$ac_var
2227 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2229 echo "$ac_var='\''$ac_val'\''"
2233 if test -n "$ac_subst_files"; then
2235 ## ------------------- ##
2236 ## File substitutions. ##
2237 ## ------------------- ##
2240 for ac_var
in $ac_subst_files
2242 eval ac_val
=\$
$ac_var
2244 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2246 echo "$ac_var='\''$ac_val'\''"
2251 if test -s confdefs.h; then
2261 test "$ac_signal" != 0 &&
2262 echo "$as_me: caught signal $ac_signal"
2263 echo "$as_me: exit $exit_status"
2265 rm -f core *.core core.conftest.* &&
2266 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2269 for ac_signal
in 1 2 13 15; do
2270 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2274 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2275 rm -f -r conftest
* confdefs.h
2277 # Predefined preprocessor variables.
2279 cat >>confdefs.h
<<_ACEOF
2280 #define PACKAGE_NAME "$PACKAGE_NAME"
2284 cat >>confdefs.h
<<_ACEOF
2285 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2289 cat >>confdefs.h
<<_ACEOF
2290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2294 cat >>confdefs.h
<<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2299 cat >>confdefs.h
<<_ACEOF
2300 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2304 # Let the site file select an alternate cache file if it wants to.
2305 # Prefer explicitly selected file to automatically selected ones.
2306 if test -n "$CONFIG_SITE"; then
2307 set x
"$CONFIG_SITE"
2308 elif test "x$prefix" != xNONE
; then
2309 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2311 set x
"$ac_default_prefix/share/config.site" \
2312 "$ac_default_prefix/etc/config.site"
2317 if test -r "$ac_site_file"; then
2318 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2319 echo "$as_me: loading site script $ac_site_file" >&6;}
2320 sed 's/^/| /' "$ac_site_file" >&5
2325 if test -r "$cache_file"; then
2326 # Some versions of bash will fail to source /dev/null (special
2327 # files actually), so we avoid doing that.
2328 if test -f "$cache_file"; then
2329 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2330 echo "$as_me: loading cache $cache_file" >&6;}
2332 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2333 *) .
"./$cache_file";;
2337 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2338 echo "$as_me: creating cache $cache_file" >&6;}
2342 # Check that the precious variables saved in the cache have kept the same
2344 ac_cache_corrupted
=false
2345 for ac_var
in $ac_precious_vars; do
2346 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2347 eval ac_new_set
=\
$ac_env_${ac_var}_set
2348 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2349 eval ac_new_val
=\
$ac_env_${ac_var}_value
2350 case $ac_old_set,$ac_new_set in
2352 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2353 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2354 ac_cache_corrupted
=: ;;
2356 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2357 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2358 ac_cache_corrupted
=: ;;
2361 if test "x$ac_old_val" != "x$ac_new_val"; then
2362 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2363 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2364 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2365 echo "$as_me: former value: $ac_old_val" >&2;}
2366 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2367 echo "$as_me: current value: $ac_new_val" >&2;}
2368 ac_cache_corrupted
=:
2371 # Pass precious variables to config.status.
2372 if test "$ac_new_set" = set; then
2374 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2375 *) ac_arg
=$ac_var=$ac_new_val ;;
2377 case " $ac_configure_args " in
2378 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2379 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2383 if $ac_cache_corrupted; then
2384 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2385 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2386 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2387 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2388 { (exit 1); exit 1; }; }
2416 ac_cpp
='$CPP $CPPFLAGS'
2417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2426 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427 if test -f "$ac_dir/install-sh"; then
2429 ac_install_sh
="$ac_aux_dir/install-sh -c"
2431 elif test -f "$ac_dir/install.sh"; then
2433 ac_install_sh
="$ac_aux_dir/install.sh -c"
2435 elif test -f "$ac_dir/shtool"; then
2437 ac_install_sh
="$ac_aux_dir/shtool install -c"
2441 if test -z "$ac_aux_dir"; then
2442 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2443 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2444 { (exit 1); exit 1; }; }
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2452 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2453 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2456 # Make sure we can run config.sub.
2457 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2458 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2459 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2460 { (exit 1); exit 1; }; }
2462 { echo "$as_me:$LINENO: checking build system type" >&5
2463 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_build+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 ac_build_alias
=$build_alias
2468 test "x$ac_build_alias" = x
&&
2469 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2470 test "x$ac_build_alias" = x
&&
2471 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2472 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2473 { (exit 1); exit 1; }; }
2474 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2480 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2481 echo "${ECHO_T}$ac_cv_build" >&6; }
2482 case $ac_cv_build in
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2485 echo "$as_me: error: invalid value of canonical build" >&2;}
2486 { (exit 1); exit 1; }; };;
2489 ac_save_IFS
=$IFS; IFS
='-'
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2499 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2502 { echo "$as_me:$LINENO: checking host system type" >&5
2503 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_host+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test "x$host_alias" = x
; then
2508 ac_cv_host
=$ac_cv_build
2510 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2517 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2518 echo "${ECHO_T}$ac_cv_host" >&6; }
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2522 echo "$as_me: error: invalid value of canonical host" >&2;}
2523 { (exit 1); exit 1; }; };;
2526 ac_save_IFS
=$IFS; IFS
='-'
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2536 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2540 if test "$cross_compiling" != "no"; then
2541 HOST_PREFIX
="${host_alias}-"
2542 HOST_SUFFIX
="-$host_alias"
2549 wx_major_version_number
=2
2550 wx_minor_version_number
=9
2552 wx_subrelease_number
=0
2554 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2555 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2556 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2558 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2561 wx_top_builddir
="`pwd`"
2574 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2580 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2588 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2590 DEFAULT_wxUSE_COCOA
=0
2592 DEFAULT_wxUSE_OSX_CARBON
=0
2593 DEFAULT_wxUSE_OSX_COCOA
=0
2595 DEFAULT_wxUSE_MICROWIN
=0
2596 DEFAULT_wxUSE_MOTIF
=0
2602 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2603 DEFAULT_DEFAULT_wxUSE_GTK
=0
2604 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2605 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2606 DEFAULT_DEFAULT_wxUSE_MGL
=0
2607 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2608 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2609 DEFAULT_DEFAULT_wxUSE_MSW
=0
2610 DEFAULT_DEFAULT_wxUSE_PM
=0
2611 DEFAULT_DEFAULT_wxUSE_X11
=0
2612 DEFAULT_DEFAULT_wxUSE_DFB
=0
2616 DYLIB_RPATH_INSTALL
=
2617 DYLIB_RPATH_POSTLINK
=
2619 DEFAULT_STD_FLAG
=yes
2624 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2625 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2626 cat >>confdefs.h
<<\_ACEOF
2631 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2635 cat >>confdefs.h
<<\_ACEOF
2640 if test "x$TMP" = "xalpha"; then
2642 cat >>confdefs.h
<<\_ACEOF
2647 DEFAULT_DEFAULT_wxUSE_GTK
=1
2649 *-*-gnu* | *-*-k*bsd
*-gnu )
2652 if test "x$TMP" = "xalpha"; then
2654 cat >>confdefs.h
<<\_ACEOF
2659 DEFAULT_DEFAULT_wxUSE_GTK
=1
2661 *-*-irix5* | *-*-irix6* )
2664 cat >>confdefs.h
<<\_ACEOF
2668 cat >>confdefs.h
<<\_ACEOF
2672 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2678 cat >>confdefs.h
<<\_ACEOF
2682 cat >>confdefs.h
<<\_ACEOF
2683 #define __SOLARIS__ 1
2686 cat >>confdefs.h
<<\_ACEOF
2690 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2691 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2697 cat >>confdefs.h
<<\_ACEOF
2701 cat >>confdefs.h
<<\_ACEOF
2705 cat >>confdefs.h
<<\_ACEOF
2709 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2714 cat >>confdefs.h
<<\_ACEOF
2715 #define __FREEBSD__ 1
2718 cat >>confdefs.h
<<\_ACEOF
2722 DEFAULT_DEFAULT_wxUSE_GTK
=1
2724 *-*-openbsd*|*-*-mirbsd*)
2727 cat >>confdefs.h
<<\_ACEOF
2728 #define __OPENBSD__ 1
2731 cat >>confdefs.h
<<\_ACEOF
2735 DEFAULT_DEFAULT_wxUSE_GTK
=1
2740 cat >>confdefs.h
<<\_ACEOF
2741 #define __NETBSD__ 1
2744 cat >>confdefs.h
<<\_ACEOF
2748 DEFAULT_DEFAULT_wxUSE_GTK
=1
2749 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2751 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2756 cat >>confdefs.h
<<\_ACEOF
2760 cat >>confdefs.h
<<\_ACEOF
2764 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2765 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2770 cat >>confdefs.h
<<\_ACEOF
2774 cat >>confdefs.h
<<\_ACEOF
2778 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2783 cat >>confdefs.h
<<\_ACEOF
2787 cat >>confdefs.h
<<\_ACEOF
2791 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2797 cat >>confdefs.h
<<\_ACEOF
2801 cat >>confdefs.h
<<\_ACEOF
2805 cat >>confdefs.h
<<\_ACEOF
2809 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2816 cat >>confdefs.h
<<\_ACEOF
2817 #define __UNIXWARE__ 1
2822 *-*-cygwin* | *-*-mingw32* )
2824 DEFAULT_DEFAULT_wxUSE_MSW
=1
2830 cat >>confdefs.h
<<\_ACEOF
2835 DEFAULT_DEFAULT_wxUSE_MGL
=1
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h
<<\_ACEOF
2844 cat >>confdefs.h
<<\_ACEOF
2849 DEFAULT_DEFAULT_wxUSE_PM
=1
2851 LDFLAGS
="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions
=".exe"
2853 export ac_executable_extensions
2857 for ac_dir
in $PATH; do
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH
="$ac_dir"
2862 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2865 export PATH
="$ac_TEMP_PATH"
2873 cat >>confdefs.h
<<\_ACEOF
2877 cat >>confdefs.h
<<\_ACEOF
2878 #define __DARWIN__ 1
2881 cat >>confdefs.h
<<\_ACEOF
2882 #define TARGET_CARBON 1
2885 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2890 cat >>confdefs.h
<<\_ACEOF
2897 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2898 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2899 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2900 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2902 DEFAULT_DEFAULT_wxUSE_X11
=1
2903 DEFAULT_wxUSE_SHARED
=no
2908 DEFAULT_wxUSE_ALL_FEATURES
=yes
2910 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2911 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2913 DEFAULT_wxUSE_DMALLOC
=no
2914 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2915 DEFAULT_wxUSE_LIBHILDON
=no
2916 DEFAULT_wxUSE_LIBMSPACK
=no
2917 DEFAULT_wxUSE_LIBSDL
=no
2919 DEFAULT_wxUSE_ACCESSIBILITY
=no
2920 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2921 DEFAULT_wxUSE_IPV6
=no
2922 DEFAULT_wxUSE_GSTREAMER8
=no
2924 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2925 DEFAULT_wxUSE_OPENGL
=auto
2926 DEFAULT_wxUSE_MEDIACTRL
=auto
2927 DEFAULT_wxUSE_COMPILER_TLS
=auto
2929 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2931 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2933 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2935 DEFAULT_wxUSE_GTK2
=yes
2937 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2943 enablestring
=disable
2945 if test -z "$defaultval"; then
2946 if test x
"$enablestring" = xdisable
; then
2953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2954 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2955 # Check whether --enable-gui was given.
2956 if test "${enable_gui+set}" = set; then
2957 enableval
=$enable_gui;
2958 if test "$enableval" = yes; then
2959 wx_cv_use_gui
='wxUSE_GUI=yes'
2961 wx_cv_use_gui
='wxUSE_GUI=no'
2966 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2971 eval "$wx_cv_use_gui"
2973 if test x"$enablestring" = xdisable; then
2974 if test $wxUSE_GUI = no; then
2983 { echo "$as_me:$LINENO: result: $result" >&5
2984 echo "${ECHO_T}$result" >&6; }
2989 if test -z "$defaultval"; then
2990 if test x"$enablestring" = xdisable; then
2997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2998 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2999 # Check whether --enable-monolithic was given.
3000 if test "${enable_monolithic+set}" = set; then
3001 enableval=$enable_monolithic;
3002 if test "$enableval" = yes; then
3003 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3005 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3010 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3015 eval "$wx_cv_use_monolithic"
3017 if test x"$enablestring" = xdisable; then
3018 if test $wxUSE_MONOLITHIC = no; then
3024 result=$wxUSE_MONOLITHIC
3027 { echo "$as_me:$LINENO: result
: $result" >&5
3028 echo "${ECHO_T}$result" >&6; }
3033 if test -z "$defaultval"; then
3034 if test x"$enablestring" = xdisable; then
3041 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3042 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3043 # Check whether --enable-plugins was given.
3044 if test "${enable_plugins+set}" = set; then
3045 enableval=$enable_plugins;
3046 if test "$enableval" = yes; then
3047 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3049 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3054 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3059 eval "$wx_cv_use_plugins"
3061 if test x
"$enablestring" = xdisable
; then
3062 if test $wxUSE_PLUGINS = no
; then
3068 result
=$wxUSE_PLUGINS
3071 { echo "$as_me:$LINENO: result: $result" >&5
3072 echo "${ECHO_T}$result" >&6; }
3076 defaultval
=$wxUSE_ALL_FEATURES
3077 if test -z "$defaultval"; then
3078 if test x
"$withstring" = xwithout
; then
3084 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3085 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3087 # Check whether --with-subdirs was given.
3088 if test "${with_subdirs+set}" = set; then
3089 withval
=$with_subdirs;
3090 if test "$withval" = yes; then
3091 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3093 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3098 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3103 eval "$wx_cv_use_subdirs"
3105 if test x"$withstring" = xwithout; then
3106 if test $wxWITH_SUBDIRS = yes; then
3112 result=$wxWITH_SUBDIRS
3115 { echo "$as_me:$LINENO: result: $result" >&5
3116 echo "${ECHO_T}$result" >&6; }
3119 # Check whether --with-flavour was given.
3120 if test "${with_flavour+set}" = set; then
3121 withval=$with_flavour; WX_FLAVOUR="$withval"
3127 if test -z "$defaultval"; then
3128 if test x"$enablestring" = xdisable; then
3135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3136 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3137 # Check whether --enable-official_build was given.
3138 if test "${enable_official_build+set}" = set; then
3139 enableval=$enable_official_build;
3140 if test "$enableval" = yes; then
3141 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3143 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3148 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3153 eval "$wx_cv_use_official_build"
3155 if test x"$enablestring" = xdisable; then
3156 if test $wxUSE_OFFICIAL_BUILD = no; then
3162 result=$wxUSE_OFFICIAL_BUILD
3165 { echo "$as_me:$LINENO: result
: $result" >&5
3166 echo "${ECHO_T}$result" >&6; }
3168 # Check whether --enable-vendor was given.
3169 if test "${enable_vendor+set}" = set; then
3170 enableval=$enable_vendor; VENDOR="$enableval"
3173 if test "x
$VENDOR" = "x
"; then
3178 enablestring=disable
3180 if test -z "$defaultval"; then
3181 if test x"$enablestring" = xdisable; then
3188 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3189 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3190 # Check whether --enable-all-features was given.
3191 if test "${enable_all_features+set}" = set; then
3192 enableval=$enable_all_features;
3193 if test "$enableval" = yes; then
3194 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3196 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3201 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3206 eval "$wx_cv_use_all_features"
3208 if test x
"$enablestring" = xdisable
; then
3209 if test $wxUSE_ALL_FEATURES = no
; then
3215 result
=$wxUSE_ALL_FEATURES
3218 { echo "$as_me:$LINENO: result: $result" >&5
3219 echo "${ECHO_T}$result" >&6; }
3222 if test "$wxUSE_ALL_FEATURES" = "no"; then
3223 DEFAULT_wxUSE_MEDIACTRL
=no
3227 if test "$wxUSE_GUI" = "yes"; then
3232 if test -z "$defaultval"; then
3233 if test x
"$enablestring" = xdisable
; then
3240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3241 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3242 # Check whether --enable-universal was given.
3243 if test "${enable_universal+set}" = set; then
3244 enableval
=$enable_universal;
3245 if test "$enableval" = yes; then
3246 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3248 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3253 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3258 eval "$wx_cv_use_universal"
3260 if test x"$enablestring" = xdisable; then
3261 if test $wxUSE_UNIVERSAL = no; then
3267 result=$wxUSE_UNIVERSAL
3270 { echo "$as_me:$LINENO: result: $result" >&5
3271 echo "${ECHO_T}$result" >&6; }
3273 if test "$wxUSE_UNIVERSAL" = "yes"; then
3275 # Check whether --with-themes was given.
3276 if test "${with_themes+set}" = set; then
3277 withval=$with_themes; wxUNIV_THEMES="$withval"
3283 # Check whether --with-gtk was given.
3284 if test "${with_gtk+set}" = set; then
3285 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3289 # Check whether --with-motif was given.
3290 if test "${with_motif+set}" = set; then
3291 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3295 # Check whether --with-osx_carbon was given.
3296 if test "${with_osx_carbon+set}" = set; then
3297 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3301 # Check whether --with-osx_cocoa was given.
3302 if test "${with_osx_cocoa+set}" = set; then
3303 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3307 # Check whether --with-mac was given.
3308 if test "${with_mac+set}" = set; then
3309 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3313 # Check whether --with-cocoa was given.
3314 if test "${with_cocoa+set}" = set; then
3315 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3319 # Check whether --with-wine was given.
3320 if test "${with_wine+set}" = set; then
3321 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3325 # Check whether --with-msw was given.
3326 if test "${with_msw+set}" = set; then
3327 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3331 # Check whether --with-pm was given.
3332 if test "${with_pm+set}" = set; then
3333 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3337 # Check whether --with-mgl was given.
3338 if test "${with_mgl+set}" = set; then
3339 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3343 # Check whether --with-directfb was given.
3344 if test "${with_directfb+set}" = set; then
3345 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3349 # Check whether --with-microwin was given.
3350 if test "${with_microwin+set}" = set; then
3351 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3355 # Check whether --with-x11 was given.
3356 if test "${with_x11+set}" = set; then
3357 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3363 if test -z "$defaultval"; then
3364 if test x"$enablestring" = xdisable; then
3371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3372 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3373 # Check whether --enable-nanox was given.
3374 if test "${enable_nanox+set}" = set; then
3375 enableval=$enable_nanox;
3376 if test "$enableval" = yes; then
3377 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3379 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3384 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3389 eval "$wx_cv_use_nanox"
3391 if test x"$enablestring" = xdisable; then
3392 if test $wxUSE_NANOX = no; then
3401 { echo "$as_me:$LINENO: result
: $result" >&5
3402 echo "${ECHO_T}$result" >&6; }
3405 # Check whether --enable-gtk2 was given.
3406 if test "${enable_gtk2+set}" = set; then
3407 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3413 if test -z "$defaultval"; then
3414 if test x"$enablestring" = xdisable; then
3421 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3422 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3423 # Check whether --enable-gpe was given.
3424 if test "${enable_gpe+set}" = set; then
3425 enableval=$enable_gpe;
3426 if test "$enableval" = yes; then
3427 wx_cv_use_gpe='wxUSE_GPE=yes'
3429 wx_cv_use_gpe='wxUSE_GPE=no'
3434 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3439 eval "$wx_cv_use_gpe"
3441 if test x
"$enablestring" = xdisable
; then
3442 if test $wxUSE_GPE = no
; then
3451 { echo "$as_me:$LINENO: result: $result" >&5
3452 echo "${ECHO_T}$result" >&6; }
3456 { echo "$as_me:$LINENO: checking for toolkit" >&5
3457 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3461 # In Wine, we need to default to MSW, not GTK or MOTIF
3462 if test "$wxUSE_WINE" = "yes"; then
3463 DEFAULT_DEFAULT_wxUSE_GTK
=0
3464 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3465 DEFAULT_DEFAULT_wxUSE_MSW
=1
3472 if test "$wxUSE_GUI" = "yes"; then
3474 if test "$USE_BEOS" = 1; then
3475 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3476 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3477 { (exit 1); exit 1; }; }
3480 if test "$TOOLKIT_GIVEN" = 1; then
3481 for toolkit
in $ALL_TOOLKITS; do
3483 eval "value=\$${var}"
3484 if test "x$value" = "xno"; then
3486 elif test "x$value" != "x"; then
3490 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3491 eval "wx${toolkit}_VERSION=$value"
3495 for toolkit
in $ALL_TOOLKITS; do
3496 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3497 eval "wxUSE_$toolkit=\$${var}"
3501 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3502 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3503 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3506 *-pc-os2_emx | *-pc-os2-emx )
3507 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3510 case "$NUM_TOOLKITS" in
3514 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3515 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3516 { (exit 1); exit 1; }; }
3519 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3520 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3521 { (exit 1); exit 1; }; }
3524 # to be removed when --disable-gtk2 isn't needed
3525 if test "x$wxUSE_GTK2" = "xyes"; then
3527 elif test "x$wxUSE_GTK2" = "xno"; then
3531 for toolkit
in $ALL_TOOLKITS; do
3533 eval "value=\$${var}"
3534 if test "$value" = 1; then
3535 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3536 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3537 echo "${ECHO_T}$toolkit_echo" >&6; }
3541 if test "x$host_alias" != "x"; then
3542 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3543 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3545 { echo "$as_me:$LINENO: result: base only" >&5
3546 echo "${ECHO_T}base only" >&6; }
3551 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3557 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3558 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3560 # Check whether --with-libpng was given.
3561 if test "${with_libpng+set}" = set; then
3562 withval
=$with_libpng;
3563 if test "$withval" = yes; then
3564 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3565 elif test "$withval" = no
; then
3566 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3567 elif test "$withval" = sys
; then
3568 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3569 elif test "$withval" = builtin; then
3570 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3572 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3573 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3574 { (exit 1); exit 1; }; }
3579 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3584 eval "$wx_cv_use_libpng"
3586 if test "$wxUSE_LIBPNG" = yes; then
3587 { echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6; }
3589 elif test "$wxUSE_LIBPNG" = no; then
3590 { echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6; }
3592 elif test "$wxUSE_LIBPNG" = sys; then
3593 { echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6; }
3595 elif test "$wxUSE_LIBPNG" = builtin; then
3596 { echo "$as_me:$LINENO: result: builtin version" >&5
3597 echo "${ECHO_T}builtin version" >&6; }
3599 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3605 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3606 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3608 # Check whether --with-libjpeg was given.
3609 if test "${with_libjpeg+set}" = set; then
3610 withval=$with_libjpeg;
3611 if test "$withval" = yes; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3613 elif test "$withval" = no; then
3614 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3615 elif test "$withval" = sys; then
3616 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3617 elif test "$withval" = builtin; then
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3620 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3621 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3622 { (exit 1); exit 1; }; }
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3632 eval "$wx_cv_use_libjpeg"
3634 if test "$wxUSE_LIBJPEG" = yes; then
3635 { echo "$as_me:$LINENO: result
: yes" >&5
3636 echo "${ECHO_T}yes" >&6; }
3637 elif test "$wxUSE_LIBJPEG" = no; then
3638 { echo "$as_me:$LINENO: result
: no
" >&5
3639 echo "${ECHO_T}no
" >&6; }
3640 elif test "$wxUSE_LIBJPEG" = sys; then
3641 { echo "$as_me:$LINENO: result
: system version
" >&5
3642 echo "${ECHO_T}system version
" >&6; }
3643 elif test "$wxUSE_LIBJPEG" = builtin; then
3644 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3645 echo "${ECHO_T}builtin version
" >&6; }
3647 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3648 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3649 { (exit 1); exit 1; }; }
3653 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3654 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3656 # Check whether --with-libtiff was given.
3657 if test "${with_libtiff+set}" = set; then
3658 withval=$with_libtiff;
3659 if test "$withval" = yes; then
3660 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3661 elif test "$withval" = no; then
3662 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3663 elif test "$withval" = sys; then
3664 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3665 elif test "$withval" = builtin; then
3666 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3668 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3669 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3670 { (exit 1); exit 1; }; }
3675 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3680 eval "$wx_cv_use_libtiff"
3682 if test "$wxUSE_LIBTIFF" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBTIFF" = no
; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBTIFF" = sys
; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBTIFF" = builtin; then
3692 { echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6; }
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3701 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3702 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3704 # Check whether --with-libxpm was given.
3705 if test "${with_libxpm+set}" = set; then
3706 withval
=$with_libxpm;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3709 elif test "$withval" = no
; then
3710 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3711 elif test "$withval" = sys
; then
3712 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3723 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3728 eval "$wx_cv_use_libxpm"
3730 if test "$wxUSE_LIBXPM" = yes; then
3731 { echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6; }
3733 elif test "$wxUSE_LIBXPM" = no; then
3734 { echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6; }
3736 elif test "$wxUSE_LIBXPM" = sys; then
3737 { echo "$as_me:$LINENO: result: system version" >&5
3738 echo "${ECHO_T}system version" >&6; }
3739 elif test "$wxUSE_LIBXPM" = builtin; then
3740 { echo "$as_me:$LINENO: result: builtin version" >&5
3741 echo "${ECHO_T}builtin version" >&6; }
3743 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3750 defaultval=$wxUSE_ALL_FEATURES
3751 if test -z "$defaultval"; then
3752 if test x"$withstring" = xwithout; then
3758 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3759 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3761 # Check whether --with-libiconv was given.
3762 if test "${with_libiconv+set}" = set; then
3763 withval=$with_libiconv;
3764 if test "$withval" = yes; then
3765 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3767 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3772 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3777 eval "$wx_cv_use_libiconv"
3779 if test x"$withstring" = xwithout; then
3780 if test $wxUSE_LIBICONV = yes; then
3786 result=$wxUSE_LIBICONV
3789 { echo "$as_me:$LINENO: result
: $result" >&5
3790 echo "${ECHO_T}$result" >&6; }
3794 defaultval=$wxUSE_ALL_FEATURES
3795 if test -z "$defaultval"; then
3796 if test x"$withstring" = xwithout; then
3802 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3803 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3805 # Check whether --with-libmspack was given.
3806 if test "${with_libmspack+set}" = set; then
3807 withval=$with_libmspack;
3808 if test "$withval" = yes; then
3809 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3811 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3816 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3821 eval "$wx_cv_use_libmspack"
3823 if test x
"$withstring" = xwithout
; then
3824 if test $wxUSE_LIBMSPACK = yes; then
3830 result
=$wxUSE_LIBMSPACK
3833 { echo "$as_me:$LINENO: result: $result" >&5
3834 echo "${ECHO_T}$result" >&6; }
3838 defaultval
=$wxUSE_ALL_FEATURES
3839 if test -z "$defaultval"; then
3840 if test x
"$withstring" = xwithout
; then
3846 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3847 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3849 # Check whether --with-gtkprint was given.
3850 if test "${with_gtkprint+set}" = set; then
3851 withval
=$with_gtkprint;
3852 if test "$withval" = yes; then
3853 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3855 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3860 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3865 eval "$wx_cv_use_gtkprint"
3867 if test x"$withstring" = xwithout; then
3868 if test $wxUSE_GTKPRINT = yes; then
3874 result=$wxUSE_GTKPRINT
3877 { echo "$as_me:$LINENO: result: $result" >&5
3878 echo "${ECHO_T}$result" >&6; }
3882 defaultval=$wxUSE_ALL_FEATURES
3883 if test -z "$defaultval"; then
3884 if test x"$withstring" = xwithout; then
3890 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3891 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3893 # Check whether --with-gnomeprint was given.
3894 if test "${with_gnomeprint+set}" = set; then
3895 withval=$with_gnomeprint;
3896 if test "$withval" = yes; then
3897 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3899 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3904 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3909 eval "$wx_cv_use_gnomeprint"
3911 if test x"$withstring" = xwithout; then
3912 if test $wxUSE_LIBGNOMEPRINT = yes; then
3918 result=$wxUSE_LIBGNOMEPRINT
3921 { echo "$as_me:$LINENO: result
: $result" >&5
3922 echo "${ECHO_T}$result" >&6; }
3926 defaultval=$wxUSE_ALL_FEATURES
3927 if test -z "$defaultval"; then
3928 if test x"$withstring" = xwithout; then
3934 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3935 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3937 # Check whether --with-gnomevfs was given.
3938 if test "${with_gnomevfs+set}" = set; then
3939 withval=$with_gnomevfs;
3940 if test "$withval" = yes; then
3941 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3943 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3948 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3953 eval "$wx_cv_use_gnomevfs"
3955 if test x
"$withstring" = xwithout
; then
3956 if test $wxUSE_LIBGNOMEVFS = yes; then
3962 result
=$wxUSE_LIBGNOMEVFS
3965 { echo "$as_me:$LINENO: result: $result" >&5
3966 echo "${ECHO_T}$result" >&6; }
3970 defaultval
=$wxUSE_ALL_FEATURES
3971 if test -z "$defaultval"; then
3972 if test x
"$withstring" = xwithout
; then
3978 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3979 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3981 # Check whether --with-hildon was given.
3982 if test "${with_hildon+set}" = set; then
3983 withval
=$with_hildon;
3984 if test "$withval" = yes; then
3985 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3987 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3992 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3997 eval "$wx_cv_use_hildon"
3999 if test x"$withstring" = xwithout; then
4000 if test $wxUSE_LIBHILDON = yes; then
4006 result=$wxUSE_LIBHILDON
4009 { echo "$as_me:$LINENO: result: $result" >&5
4010 echo "${ECHO_T}$result" >&6; }
4014 defaultval=$wxUSE_ALL_FEATURES
4015 if test -z "$defaultval"; then
4016 if test x"$withstring" = xwithout; then
4022 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4023 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4025 # Check whether --with-opengl was given.
4026 if test "${with_opengl+set}" = set; then
4027 withval=$with_opengl;
4028 if test "$withval" = yes; then
4029 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4031 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4036 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4041 eval "$wx_cv_use_opengl"
4043 if test x"$withstring" = xwithout; then
4044 if test $wxUSE_OPENGL = yes; then
4050 result=$wxUSE_OPENGL
4053 { echo "$as_me:$LINENO: result
: $result" >&5
4054 echo "${ECHO_T}$result" >&6; }
4061 defaultval=$wxUSE_ALL_FEATURES
4062 if test -z "$defaultval"; then
4063 if test x"$withstring" = xwithout; then
4069 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4070 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4072 # Check whether --with-dmalloc was given.
4073 if test "${with_dmalloc+set}" = set; then
4074 withval=$with_dmalloc;
4075 if test "$withval" = yes; then
4076 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4078 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4083 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4088 eval "$wx_cv_use_dmalloc"
4090 if test x
"$withstring" = xwithout
; then
4091 if test $wxUSE_DMALLOC = yes; then
4097 result
=$wxUSE_DMALLOC
4100 { echo "$as_me:$LINENO: result: $result" >&5
4101 echo "${ECHO_T}$result" >&6; }
4105 defaultval
=$wxUSE_ALL_FEATURES
4106 if test -z "$defaultval"; then
4107 if test x
"$withstring" = xwithout
; then
4113 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4114 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4116 # Check whether --with-sdl was given.
4117 if test "${with_sdl+set}" = set; then
4119 if test "$withval" = yes; then
4120 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4122 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4127 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4132 eval "$wx_cv_use_sdl"
4134 if test x"$withstring" = xwithout; then
4135 if test $wxUSE_LIBSDL = yes; then
4141 result=$wxUSE_LIBSDL
4144 { echo "$as_me:$LINENO: result: $result" >&5
4145 echo "${ECHO_T}$result" >&6; }
4148 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4149 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4151 # Check whether --with-regex was given.
4152 if test "${with_regex+set}" = set; then
4153 withval=$with_regex;
4154 if test "$withval" = yes; then
4155 wx_cv_use_regex='wxUSE_REGEX
=yes'
4156 elif test "$withval" = no; then
4157 wx_cv_use_regex='wxUSE_REGEX
=no
'
4158 elif test "$withval" = sys; then
4159 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4160 elif test "$withval" = builtin; then
4161 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4163 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4164 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4165 { (exit 1); exit 1; }; }
4170 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4175 eval "$wx_cv_use_regex"
4177 if test "$wxUSE_REGEX" = yes; then
4178 { echo "$as_me:$LINENO: result
: yes" >&5
4179 echo "${ECHO_T}yes" >&6; }
4180 elif test "$wxUSE_REGEX" = no; then
4181 { echo "$as_me:$LINENO: result
: no
" >&5
4182 echo "${ECHO_T}no
" >&6; }
4183 elif test "$wxUSE_REGEX" = sys; then
4184 { echo "$as_me:$LINENO: result
: system version
" >&5
4185 echo "${ECHO_T}system version
" >&6; }
4186 elif test "$wxUSE_REGEX" = builtin; then
4187 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4188 echo "${ECHO_T}builtin version
" >&6; }
4190 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4191 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4192 { (exit 1); exit 1; }; }
4196 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4197 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4199 # Check whether --with-zlib was given.
4200 if test "${with_zlib+set}" = set; then
4202 if test "$withval" = yes; then
4203 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4204 elif test "$withval" = no; then
4205 wx_cv_use_zlib='wxUSE_ZLIB=no'
4206 elif test "$withval" = sys; then
4207 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4208 elif test "$withval" = builtin; then
4209 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4211 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4212 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4213 { (exit 1); exit 1; }; }
4218 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4223 eval "$wx_cv_use_zlib"
4225 if test "$wxUSE_ZLIB" = yes; then
4226 { echo "$as_me:$LINENO: result: yes" >&5
4227 echo "${ECHO_T}yes" >&6; }
4228 elif test "$wxUSE_ZLIB" = no
; then
4229 { echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6; }
4231 elif test "$wxUSE_ZLIB" = sys
; then
4232 { echo "$as_me:$LINENO: result: system version" >&5
4233 echo "${ECHO_T}system version" >&6; }
4234 elif test "$wxUSE_ZLIB" = builtin; then
4235 { echo "$as_me:$LINENO: result: builtin version" >&5
4236 echo "${ECHO_T}builtin version" >&6; }
4238 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4239 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4240 { (exit 1); exit 1; }; }
4244 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4245 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4247 # Check whether --with-expat was given.
4248 if test "${with_expat+set}" = set; then
4249 withval
=$with_expat;
4250 if test "$withval" = yes; then
4251 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4252 elif test "$withval" = no
; then
4253 wx_cv_use_expat
='wxUSE_EXPAT=no'
4254 elif test "$withval" = sys
; then
4255 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4256 elif test "$withval" = builtin; then
4257 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4259 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4260 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4261 { (exit 1); exit 1; }; }
4266 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4271 eval "$wx_cv_use_expat"
4273 if test "$wxUSE_EXPAT" = yes; then
4274 { echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6; }
4276 elif test "$wxUSE_EXPAT" = no; then
4277 { echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6; }
4279 elif test "$wxUSE_EXPAT" = sys; then
4280 { echo "$as_me:$LINENO: result: system version" >&5
4281 echo "${ECHO_T}system version" >&6; }
4282 elif test "$wxUSE_EXPAT" = builtin; then
4283 { echo "$as_me:$LINENO: result: builtin version" >&5
4284 echo "${ECHO_T}builtin version" >&6; }
4286 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4287 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4288 { (exit 1); exit 1; }; }
4292 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4293 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4295 # Check whether --with-macosx-sdk was given.
4296 if test "${with_macosx_sdk+set}" = set; then
4297 withval=$with_macosx_sdk;
4298 wxUSE_MACOSX_SDK=$withval
4299 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4303 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4304 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4306 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4307 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4309 # Check whether --with-macosx-version-min was given.
4310 if test "${with_macosx_version_min+set}" = set; then
4311 withval=$with_macosx_version_min;
4312 wxUSE_MACOSX_VERSION_MIN=$withval
4313 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4317 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4318 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4322 enablestring=disable
4324 if test -z "$defaultval"; then
4325 if test x"$enablestring" = xdisable; then
4332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4334 # Check whether --enable-shared was given.
4335 if test "${enable_shared+set}" = set; then
4336 enableval=$enable_shared;
4337 if test "$enableval" = yes; then
4338 wx_cv_use_shared='wxUSE_SHARED
=yes'
4340 wx_cv_use_shared='wxUSE_SHARED
=no
'
4345 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4350 eval "$wx_cv_use_shared"
4352 if test x"$enablestring" = xdisable; then
4353 if test $wxUSE_SHARED = no; then
4359 result=$wxUSE_SHARED
4362 { echo "$as_me:$LINENO: result
: $result" >&5
4363 echo "${ECHO_T}$result" >&6; }
4368 if test -z "$defaultval"; then
4369 if test x"$enablestring" = xdisable; then
4376 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4377 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4378 # Check whether --enable-debug was given.
4379 if test "${enable_debug+set}" = set; then
4380 enableval=$enable_debug;
4381 if test "$enableval" = yes; then
4382 wx_cv_use_debug='wxUSE_DEBUG=yes'
4384 wx_cv_use_debug='wxUSE_DEBUG=no'
4389 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4394 eval "$wx_cv_use_debug"
4396 if test x
"$enablestring" = xdisable
; then
4397 if test $wxUSE_DEBUG = no
; then
4406 { echo "$as_me:$LINENO: result: $result" >&5
4407 echo "${ECHO_T}$result" >&6; }
4412 if test -z "$defaultval"; then
4413 if test x
"$enablestring" = xdisable
; then
4420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4421 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4422 # Check whether --enable-stl was given.
4423 if test "${enable_stl+set}" = set; then
4424 enableval
=$enable_stl;
4425 if test "$enableval" = yes; then
4426 wx_cv_use_stl
='wxUSE_STL=yes'
4428 wx_cv_use_stl
='wxUSE_STL=no'
4433 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4438 eval "$wx_cv_use_stl"
4440 if test x"$enablestring" = xdisable; then
4441 if test $wxUSE_STL = no; then
4450 { echo "$as_me:$LINENO: result: $result" >&5
4451 echo "${ECHO_T}$result" >&6; }
4456 if test -z "$defaultval"; then
4457 if test x"$enablestring" = xdisable; then
4464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4465 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4466 # Check whether --enable-std_iostreams was given.
4467 if test "${enable_std_iostreams+set}" = set; then
4468 enableval=$enable_std_iostreams;
4469 if test "$enableval" = yes; then
4470 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4472 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4477 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4482 eval "$wx_cv_use_std_iostreams"
4484 if test x"$enablestring" = xdisable; then
4485 if test $wxUSE_STD_IOSTREAM = no; then
4491 result=$wxUSE_STD_IOSTREAM
4494 { echo "$as_me:$LINENO: result
: $result" >&5
4495 echo "${ECHO_T}$result" >&6; }
4500 if test -z "$defaultval"; then
4501 if test x"$enablestring" = xdisable; then
4508 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4509 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4510 # Check whether --enable-std_string was given.
4511 if test "${enable_std_string+set}" = set; then
4512 enableval=$enable_std_string;
4513 if test "$enableval" = yes; then
4514 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4516 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4521 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4526 eval "$wx_cv_use_std_string"
4528 if test x
"$enablestring" = xdisable
; then
4529 if test $wxUSE_STD_STRING = no
; then
4535 result
=$wxUSE_STD_STRING
4538 { echo "$as_me:$LINENO: result: $result" >&5
4539 echo "${ECHO_T}$result" >&6; }
4542 enablestring
=disable
4544 if test -z "$defaultval"; then
4545 if test x
"$enablestring" = xdisable
; then
4552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4553 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4554 # Check whether --enable-unicode was given.
4555 if test "${enable_unicode+set}" = set; then
4556 enableval
=$enable_unicode;
4557 if test "$enableval" = yes; then
4558 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4560 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4565 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4570 eval "$wx_cv_use_unicode"
4572 if test x"$enablestring" = xdisable; then
4573 if test $wxUSE_UNICODE = no; then
4579 result=$wxUSE_UNICODE
4582 { echo "$as_me:$LINENO: result: $result" >&5
4583 echo "${ECHO_T}$result" >&6; }
4588 if test -z "$defaultval"; then
4589 if test x"$enablestring" = xdisable; then
4596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4598 # Check whether --enable-mslu was given.
4599 if test "${enable_mslu+set}" = set; then
4600 enableval=$enable_mslu;
4601 if test "$enableval" = yes; then
4602 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4604 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4609 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4614 eval "$wx_cv_use_mslu"
4616 if test x"$enablestring" = xdisable; then
4617 if test $wxUSE_UNICODE_MSLU = no; then
4623 result=$wxUSE_UNICODE_MSLU
4626 { echo "$as_me:$LINENO: result
: $result" >&5
4627 echo "${ECHO_T}$result" >&6; }
4631 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4632 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4633 # Check whether --enable-utf8 was given.
4634 if test "${enable_utf8+set}" = set; then
4635 enableval=$enable_utf8;
4636 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4640 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4645 eval "$wx_cv_use_utf8"
4647 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4648 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4653 if test -z "$defaultval"; then
4654 if test x"$enablestring" = xdisable; then
4661 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4662 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4663 # Check whether --enable-utf8only was given.
4664 if test "${enable_utf8only+set}" = set; then
4665 enableval=$enable_utf8only;
4666 if test "$enableval" = yes; then
4667 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4669 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4674 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4679 eval "$wx_cv_use_utf8only"
4681 if test x
"$enablestring" = xdisable
; then
4682 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
4688 result
=$wxUSE_UNICODE_UTF8_LOCALE
4691 { echo "$as_me:$LINENO: result: $result" >&5
4692 echo "${ECHO_T}$result" >&6; }
4697 if test -z "$defaultval"; then
4698 if test x
"$enablestring" = xdisable
; then
4705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4706 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4707 # Check whether --enable-extended_rtti was given.
4708 if test "${enable_extended_rtti+set}" = set; then
4709 enableval
=$enable_extended_rtti;
4710 if test "$enableval" = yes; then
4711 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4713 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4718 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4723 eval "$wx_cv_use_extended_rtti"
4725 if test x"$enablestring" = xdisable; then
4726 if test $wxUSE_EXTENDED_RTTI = no; then
4732 result=$wxUSE_EXTENDED_RTTI
4735 { echo "$as_me:$LINENO: result: $result" >&5
4736 echo "${ECHO_T}$result" >&6; }
4738 if test "$USE_OS2" = 1; then
4739 DEFAULT_wxUSE_OMF=no
4743 if test -z "$defaultval"; then
4744 if test x"$enablestring" = xdisable; then
4751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4752 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4753 # Check whether --enable-omf was given.
4754 if test "${enable_omf+set}" = set; then
4755 enableval=$enable_omf;
4756 if test "$enableval" = yes; then
4757 wx_cv_use_omf='wxUSE_OMF
=yes'
4759 wx_cv_use_omf='wxUSE_OMF
=no
'
4764 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4769 eval "$wx_cv_use_omf"
4771 if test x"$enablestring" = xdisable; then
4772 if test $wxUSE_OMF = no; then
4781 { echo "$as_me:$LINENO: result
: $result" >&5
4782 echo "${ECHO_T}$result" >&6; }
4786 if test "$wxUSE_DEBUG" = "yes"; then
4787 DEFAULT_wxUSE_DEBUG_FLAG=yes
4788 DEFAULT_wxUSE_DEBUG_INFO=yes
4790 elif test "$wxUSE_DEBUG" = "no
"; then
4791 DEFAULT_wxUSE_DEBUG_FLAG=no
4792 DEFAULT_wxUSE_DEBUG_INFO=no
4799 if test -z "$defaultval"; then
4800 if test x"$enablestring" = xdisable; then
4807 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4808 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4809 # Check whether --enable-debug_flag was given.
4810 if test "${enable_debug_flag+set}" = set; then
4811 enableval=$enable_debug_flag;
4812 if test "$enableval" = yes; then
4813 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4815 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4820 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4825 eval "$wx_cv_use_debug_flag"
4827 if test x
"$enablestring" = xdisable
; then
4828 if test $wxUSE_DEBUG_FLAG = no
; then
4834 result
=$wxUSE_DEBUG_FLAG
4837 { echo "$as_me:$LINENO: result: $result" >&5
4838 echo "${ECHO_T}$result" >&6; }
4843 if test -z "$defaultval"; then
4844 if test x
"$enablestring" = xdisable
; then
4851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4852 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4853 # Check whether --enable-debug_info was given.
4854 if test "${enable_debug_info+set}" = set; then
4855 enableval
=$enable_debug_info;
4856 if test "$enableval" = yes; then
4857 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4859 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4864 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4869 eval "$wx_cv_use_debug_info"
4871 if test x"$enablestring" = xdisable; then
4872 if test $wxUSE_DEBUG_INFO = no; then
4878 result=$wxUSE_DEBUG_INFO
4881 { echo "$as_me:$LINENO: result: $result" >&5
4882 echo "${ECHO_T}$result" >&6; }
4885 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4890 if test "$wxUSE_DEBUG" = "yes"; then
4891 DEFAULT_wxUSE_OPTIMISE=no
4895 enablestring=disable
4897 if test -z "$defaultval"; then
4898 if test x"$enablestring" = xdisable; then
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4907 # Check whether --enable-optimise was given.
4908 if test "${enable_optimise+set}" = set; then
4909 enableval=$enable_optimise;
4910 if test "$enableval" = yes; then
4911 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4913 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4918 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4923 eval "$wx_cv_use_optimise"
4925 if test x"$enablestring" = xdisable; then
4926 if test $wxUSE_OPTIMISE = no; then
4932 result=$wxUSE_OPTIMISE
4935 { echo "$as_me:$LINENO: result
: $result" >&5
4936 echo "${ECHO_T}$result" >&6; }
4942 if test -z "$defaultval"; then
4943 if test x"$enablestring" = xdisable; then
4950 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4951 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4952 # Check whether --enable-debug_gdb was given.
4953 if test "${enable_debug_gdb+set}" = set; then
4954 enableval=$enable_debug_gdb;
4955 if test "$enableval" = yes; then
4956 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4958 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4963 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4968 eval "$wx_cv_use_debug_gdb"
4970 if test x
"$enablestring" = xdisable
; then
4971 if test $wxUSE_DEBUG_GDB = no
; then
4977 result
=$wxUSE_DEBUG_GDB
4980 { echo "$as_me:$LINENO: result: $result" >&5
4981 echo "${ECHO_T}$result" >&6; }
4986 if test -z "$defaultval"; then
4987 if test x
"$enablestring" = xdisable
; then
4994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4995 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4996 # Check whether --enable-debug_cntxt was given.
4997 if test "${enable_debug_cntxt+set}" = set; then
4998 enableval
=$enable_debug_cntxt;
4999 if test "$enableval" = yes; then
5000 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5002 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5007 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5012 eval "$wx_cv_use_debug_cntxt"
5014 if test x"$enablestring" = xdisable; then
5015 if test $wxUSE_DEBUG_CONTEXT = no; then
5021 result=$wxUSE_DEBUG_CONTEXT
5024 { echo "$as_me:$LINENO: result: $result" >&5
5025 echo "${ECHO_T}$result" >&6; }
5030 if test -z "$defaultval"; then
5031 if test x"$enablestring" = xdisable; then
5038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5040 # Check whether --enable-mem_tracing was given.
5041 if test "${enable_mem_tracing+set}" = set; then
5042 enableval=$enable_mem_tracing;
5043 if test "$enableval" = yes; then
5044 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5046 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5051 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5056 eval "$wx_cv_use_mem_tracing"
5058 if test x"$enablestring" = xdisable; then
5059 if test $wxUSE_MEM_TRACING = no; then
5065 result=$wxUSE_MEM_TRACING
5068 { echo "$as_me:$LINENO: result
: $result" >&5
5069 echo "${ECHO_T}$result" >&6; }
5074 if test -z "$defaultval"; then
5075 if test x"$enablestring" = xdisable; then
5082 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5083 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5084 # Check whether --enable-profile was given.
5085 if test "${enable_profile+set}" = set; then
5086 enableval=$enable_profile;
5087 if test "$enableval" = yes; then
5088 wx_cv_use_profile='wxUSE_PROFILE=yes'
5090 wx_cv_use_profile='wxUSE_PROFILE=no'
5095 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5100 eval "$wx_cv_use_profile"
5102 if test x
"$enablestring" = xdisable
; then
5103 if test $wxUSE_PROFILE = no
; then
5109 result
=$wxUSE_PROFILE
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5118 if test -z "$defaultval"; then
5119 if test x
"$enablestring" = xdisable
; then
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5128 # Check whether --enable-no_rtti was given.
5129 if test "${enable_no_rtti+set}" = set; then
5130 enableval
=$enable_no_rtti;
5131 if test "$enableval" = yes; then
5132 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5134 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5139 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5144 eval "$wx_cv_use_no_rtti"
5146 if test x"$enablestring" = xdisable; then
5147 if test $wxUSE_NO_RTTI = no; then
5153 result=$wxUSE_NO_RTTI
5156 { echo "$as_me:$LINENO: result: $result" >&5
5157 echo "${ECHO_T}$result" >&6; }
5162 if test -z "$defaultval"; then
5163 if test x"$enablestring" = xdisable; then
5170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5172 # Check whether --enable-no_exceptions was given.
5173 if test "${enable_no_exceptions+set}" = set; then
5174 enableval=$enable_no_exceptions;
5175 if test "$enableval" = yes; then
5176 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5178 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5183 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5188 eval "$wx_cv_use_no_exceptions"
5190 if test x"$enablestring" = xdisable; then
5191 if test $wxUSE_NO_EXCEPTIONS = no; then
5197 result=$wxUSE_NO_EXCEPTIONS
5200 { echo "$as_me:$LINENO: result
: $result" >&5
5201 echo "${ECHO_T}$result" >&6; }
5206 if test -z "$defaultval"; then
5207 if test x"$enablestring" = xdisable; then
5214 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5215 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5216 # Check whether --enable-permissive was given.
5217 if test "${enable_permissive+set}" = set; then
5218 enableval=$enable_permissive;
5219 if test "$enableval" = yes; then
5220 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5222 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5227 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5232 eval "$wx_cv_use_permissive"
5234 if test x
"$enablestring" = xdisable
; then
5235 if test $wxUSE_PERMISSIVE = no
; then
5241 result
=$wxUSE_PERMISSIVE
5244 { echo "$as_me:$LINENO: result: $result" >&5
5245 echo "${ECHO_T}$result" >&6; }
5250 if test -z "$defaultval"; then
5251 if test x
"$enablestring" = xdisable
; then
5258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5259 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5260 # Check whether --enable-no_deps was given.
5261 if test "${enable_no_deps+set}" = set; then
5262 enableval
=$enable_no_deps;
5263 if test "$enableval" = yes; then
5264 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5266 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5271 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5276 eval "$wx_cv_use_no_deps"
5278 if test x"$enablestring" = xdisable; then
5279 if test $wxUSE_NO_DEPS = no; then
5285 result=$wxUSE_NO_DEPS
5288 { echo "$as_me:$LINENO: result: $result" >&5
5289 echo "${ECHO_T}$result" >&6; }
5292 enablestring=disable
5294 if test -z "$defaultval"; then
5295 if test x"$enablestring" = xdisable; then
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5304 # Check whether --enable-vararg_macros was given.
5305 if test "${enable_vararg_macros+set}" = set; then
5306 enableval=$enable_vararg_macros;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5310 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5315 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5320 eval "$wx_cv_use_vararg_macros"
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_VARARG_MACROS = no; then
5329 result=$wxUSE_VARARG_MACROS
5332 { echo "$as_me:$LINENO: result
: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5337 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5338 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5339 # Check whether --enable-universal_binary was given.
5340 if test "${enable_universal_binary+set}" = set; then
5341 enableval=$enable_universal_binary;
5342 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5346 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5351 eval "$wx_cv_use_universal_binary"
5353 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5354 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5360 if test -z "$defaultval"; then
5361 if test x"$enablestring" = xdisable; then
5368 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5369 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5370 # Check whether --enable-compat26 was given.
5371 if test "${enable_compat26+set}" = set; then
5372 enableval=$enable_compat26;
5373 if test "$enableval" = yes; then
5374 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5376 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5381 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5386 eval "$wx_cv_use_compat26"
5388 if test x
"$enablestring" = xdisable
; then
5389 if test $WXWIN_COMPATIBILITY_2_6 = no
; then
5395 result
=$WXWIN_COMPATIBILITY_2_6
5398 { echo "$as_me:$LINENO: result: $result" >&5
5399 echo "${ECHO_T}$result" >&6; }
5402 enablestring
=disable
5404 if test -z "$defaultval"; then
5405 if test x
"$enablestring" = xdisable
; then
5412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5413 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5414 # Check whether --enable-compat28 was given.
5415 if test "${enable_compat28+set}" = set; then
5416 enableval
=$enable_compat28;
5417 if test "$enableval" = yes; then
5418 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5420 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5425 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5430 eval "$wx_cv_use_compat28"
5432 if test x"$enablestring" = xdisable; then
5433 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5439 result=$WXWIN_COMPATIBILITY_2_8
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5447 enablestring=disable
5449 if test -z "$defaultval"; then
5450 if test x"$enablestring" = xdisable; then
5457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5459 # Check whether --enable-rpath was given.
5460 if test "${enable_rpath+set}" = set; then
5461 enableval=$enable_rpath;
5462 if test "$enableval" = yes; then
5463 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5465 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5470 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5475 eval "$wx_cv_use_rpath"
5477 if test x"$enablestring" = xdisable; then
5478 if test $wxUSE_RPATH = no; then
5487 { echo "$as_me:$LINENO: result
: $result" >&5
5488 echo "${ECHO_T}$result" >&6; }
5494 if test -z "$defaultval"; then
5495 if test x"$enablestring" = xdisable; then
5502 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5503 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5504 # Check whether --enable-objc_uniquifying was given.
5505 if test "${enable_objc_uniquifying+set}" = set; then
5506 enableval=$enable_objc_uniquifying;
5507 if test "$enableval" = yes; then
5508 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5510 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5515 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5520 eval "$wx_cv_use_objc_uniquifying"
5522 if test x
"$enablestring" = xdisable
; then
5523 if test $wxUSE_OBJC_UNIQUIFYING = no
; then
5529 result
=$wxUSE_OBJC_UNIQUIFYING
5532 { echo "$as_me:$LINENO: result: $result" >&5
5533 echo "${ECHO_T}$result" >&6; }
5537 enablestring
=disable
5539 if test -z "$defaultval"; then
5540 if test x
"$enablestring" = xdisable
; then
5547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5549 # Check whether --enable-visibility was given.
5550 if test "${enable_visibility+set}" = set; then
5551 enableval
=$enable_visibility;
5552 if test "$enableval" = yes; then
5553 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5555 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5560 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5565 eval "$wx_cv_use_visibility"
5567 if test x"$enablestring" = xdisable; then
5568 if test $wxUSE_VISIBILITY = no; then
5574 result=$wxUSE_VISIBILITY
5577 { echo "$as_me:$LINENO: result: $result" >&5
5578 echo "${ECHO_T}$result" >&6; }
5581 enablestring=disable
5583 if test -z "$defaultval"; then
5584 if test x"$enablestring" = xdisable; then
5591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5593 # Check whether --enable-tls was given.
5594 if test "${enable_tls+set}" = set; then
5595 enableval=$enable_tls;
5596 if test "$enableval" = yes; then
5597 wx_cv_use_tls='wxUSE_COMPILER_TLS
=yes'
5599 wx_cv_use_tls='wxUSE_COMPILER_TLS
=no
'
5604 wx_cv_use_tls='wxUSE_COMPILER_TLS
=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5609 eval "$wx_cv_use_tls"
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_COMPILER_TLS = no; then
5618 result=$wxUSE_COMPILER_TLS
5621 { echo "$as_me:$LINENO: result
: $result" >&5
5622 echo "${ECHO_T}$result" >&6; }
5628 defaultval=$wxUSE_ALL_FEATURES
5629 if test -z "$defaultval"; then
5630 if test x"$enablestring" = xdisable; then
5637 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-intl" >&5
5638 echo $ECHO_N "checking
for --${enablestring:-enable}-intl...
$ECHO_C" >&6; }
5639 # Check whether --enable-intl was given.
5640 if test "${enable_intl+set}" = set; then
5641 enableval=$enable_intl;
5642 if test "$enableval" = yes; then
5643 wx_cv_use_intl='wxUSE_INTL=yes'
5645 wx_cv_use_intl='wxUSE_INTL=no'
5650 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5655 eval "$wx_cv_use_intl"
5657 if test x
"$enablestring" = xdisable
; then
5658 if test $wxUSE_INTL = no
; then
5667 { echo "$as_me:$LINENO: result: $result" >&5
5668 echo "${ECHO_T}$result" >&6; }
5672 defaultval
=$wxUSE_ALL_FEATURES
5673 if test -z "$defaultval"; then
5674 if test x
"$enablestring" = xdisable
; then
5681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5683 # Check whether --enable-xlocale was given.
5684 if test "${enable_xlocale+set}" = set; then
5685 enableval
=$enable_xlocale;
5686 if test "$enableval" = yes; then
5687 wx_cv_use_xlocale
='wxUSE_XLOCALE=yes'
5689 wx_cv_use_xlocale
='wxUSE_XLOCALE=no'
5694 wx_cv_use_xlocale
='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5699 eval "$wx_cv_use_xlocale"
5701 if test x"$enablestring" = xdisable; then
5702 if test $wxUSE_XLOCALE = no; then
5708 result=$wxUSE_XLOCALE
5711 { echo "$as_me:$LINENO: result: $result" >&5
5712 echo "${ECHO_T}$result" >&6; }
5716 defaultval=$wxUSE_ALL_FEATURES
5717 if test -z "$defaultval"; then
5718 if test x"$enablestring" = xdisable; then
5725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5727 # Check whether --enable-config was given.
5728 if test "${enable_config+set}" = set; then
5729 enableval=$enable_config;
5730 if test "$enableval" = yes; then
5731 wx_cv_use_config='wxUSE_CONFIG
=yes'
5733 wx_cv_use_config='wxUSE_CONFIG
=no
'
5738 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5743 eval "$wx_cv_use_config"
5745 if test x"$enablestring" = xdisable; then
5746 if test $wxUSE_CONFIG = no; then
5752 result=$wxUSE_CONFIG
5755 { echo "$as_me:$LINENO: result
: $result" >&5
5756 echo "${ECHO_T}$result" >&6; }
5761 defaultval=$wxUSE_ALL_FEATURES
5762 if test -z "$defaultval"; then
5763 if test x"$enablestring" = xdisable; then
5770 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
5771 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
5772 # Check whether --enable-protocols was given.
5773 if test "${enable_protocols+set}" = set; then
5774 enableval=$enable_protocols;
5775 if test "$enableval" = yes; then
5776 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5778 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5783 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5788 eval "$wx_cv_use_protocols"
5790 if test x
"$enablestring" = xdisable
; then
5791 if test $wxUSE_PROTOCOL = no
; then
5797 result
=$wxUSE_PROTOCOL
5800 { echo "$as_me:$LINENO: result: $result" >&5
5801 echo "${ECHO_T}$result" >&6; }
5805 defaultval
=$wxUSE_ALL_FEATURES
5806 if test -z "$defaultval"; then
5807 if test x
"$enablestring" = xdisable
; then
5814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5815 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5816 # Check whether --enable-ftp was given.
5817 if test "${enable_ftp+set}" = set; then
5818 enableval
=$enable_ftp;
5819 if test "$enableval" = yes; then
5820 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
5822 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
5827 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5832 eval "$wx_cv_use_ftp"
5834 if test x"$enablestring" = xdisable; then
5835 if test $wxUSE_PROTOCOL_FTP = no; then
5841 result=$wxUSE_PROTOCOL_FTP
5844 { echo "$as_me:$LINENO: result: $result" >&5
5845 echo "${ECHO_T}$result" >&6; }
5849 defaultval=$wxUSE_ALL_FEATURES
5850 if test -z "$defaultval"; then
5851 if test x"$enablestring" = xdisable; then
5858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5859 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5860 # Check whether --enable-http was given.
5861 if test "${enable_http+set}" = set; then
5862 enableval=$enable_http;
5863 if test "$enableval" = yes; then
5864 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
5866 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
5871 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5876 eval "$wx_cv_use_http"
5878 if test x"$enablestring" = xdisable; then
5879 if test $wxUSE_PROTOCOL_HTTP = no; then
5885 result=$wxUSE_PROTOCOL_HTTP
5888 { echo "$as_me:$LINENO: result
: $result" >&5
5889 echo "${ECHO_T}$result" >&6; }
5893 defaultval=$wxUSE_ALL_FEATURES
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5902 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
5903 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
5904 # Check whether --enable-fileproto was given.
5905 if test "${enable_fileproto+set}" = set; then
5906 enableval=$enable_fileproto;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5915 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5920 eval "$wx_cv_use_fileproto"
5922 if test x
"$enablestring" = xdisable
; then
5923 if test $wxUSE_PROTOCOL_FILE = no
; then
5929 result
=$wxUSE_PROTOCOL_FILE
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5937 defaultval
=$wxUSE_ALL_FEATURES
5938 if test -z "$defaultval"; then
5939 if test x
"$enablestring" = xdisable
; then
5946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5947 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5948 # Check whether --enable-sockets was given.
5949 if test "${enable_sockets+set}" = set; then
5950 enableval
=$enable_sockets;
5951 if test "$enableval" = yes; then
5952 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
5954 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
5959 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5964 eval "$wx_cv_use_sockets"
5966 if test x"$enablestring" = xdisable; then
5967 if test $wxUSE_SOCKETS = no; then
5973 result=$wxUSE_SOCKETS
5976 { echo "$as_me:$LINENO: result: $result" >&5
5977 echo "${ECHO_T}$result" >&6; }
5981 defaultval=$wxUSE_ALL_FEATURES
5982 if test -z "$defaultval"; then
5983 if test x"$enablestring" = xdisable; then
5990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5992 # Check whether --enable-ipv6 was given.
5993 if test "${enable_ipv6+set}" = set; then
5994 enableval=$enable_ipv6;
5995 if test "$enableval" = yes; then
5996 wx_cv_use_ipv6='wxUSE_IPV6
=yes'
5998 wx_cv_use_ipv6='wxUSE_IPV6
=no
'
6003 wx_cv_use_ipv6='wxUSE_IPV6
=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6008 eval "$wx_cv_use_ipv6"
6010 if test x"$enablestring" = xdisable; then
6011 if test $wxUSE_IPV6 = no; then
6020 { echo "$as_me:$LINENO: result
: $result" >&5
6021 echo "${ECHO_T}$result" >&6; }
6025 defaultval=$wxUSE_ALL_FEATURES
6026 if test -z "$defaultval"; then
6027 if test x"$enablestring" = xdisable; then
6034 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ole" >&5
6035 echo $ECHO_N "checking
for --${enablestring:-enable}-ole...
$ECHO_C" >&6; }
6036 # Check whether --enable-ole was given.
6037 if test "${enable_ole+set}" = set; then
6038 enableval=$enable_ole;
6039 if test "$enableval" = yes; then
6040 wx_cv_use_ole='wxUSE_OLE=yes'
6042 wx_cv_use_ole='wxUSE_OLE=no'
6047 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6052 eval "$wx_cv_use_ole"
6054 if test x
"$enablestring" = xdisable
; then
6055 if test $wxUSE_OLE = no
; then
6064 { echo "$as_me:$LINENO: result: $result" >&5
6065 echo "${ECHO_T}$result" >&6; }
6069 defaultval
=$wxUSE_ALL_FEATURES
6070 if test -z "$defaultval"; then
6071 if test x
"$enablestring" = xdisable
; then
6078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6079 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6080 # Check whether --enable-dataobj was given.
6081 if test "${enable_dataobj+set}" = set; then
6082 enableval
=$enable_dataobj;
6083 if test "$enableval" = yes; then
6084 wx_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
6086 wx_cv_use_dataobj
='wxUSE_DATAOBJ=no'
6091 wx_cv_use_dataobj
='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6096 eval "$wx_cv_use_dataobj"
6098 if test x"$enablestring" = xdisable; then
6099 if test $wxUSE_DATAOBJ = no; then
6105 result=$wxUSE_DATAOBJ
6108 { echo "$as_me:$LINENO: result: $result" >&5
6109 echo "${ECHO_T}$result" >&6; }
6114 defaultval=$wxUSE_ALL_FEATURES
6115 if test -z "$defaultval"; then
6116 if test x"$enablestring" = xdisable; then
6123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6124 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6125 # Check whether --enable-ipc was given.
6126 if test "${enable_ipc+set}" = set; then
6127 enableval=$enable_ipc;
6128 if test "$enableval" = yes; then
6129 wx_cv_use_ipc='wxUSE_IPC
=yes'
6131 wx_cv_use_ipc='wxUSE_IPC
=no
'
6136 wx_cv_use_ipc='wxUSE_IPC
=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6141 eval "$wx_cv_use_ipc"
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_IPC = no; then
6153 { echo "$as_me:$LINENO: result
: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6168 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-baseevtloop" >&5
6169 echo $ECHO_N "checking
for --${enablestring:-enable}-baseevtloop...
$ECHO_C" >&6; }
6170 # Check whether --enable-baseevtloop was given.
6171 if test "${enable_baseevtloop+set}" = set; then
6172 enableval=$enable_baseevtloop;
6173 if test "$enableval" = yes; then
6174 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6181 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6186 eval "$wx_cv_use_baseevtloop"
6188 if test x
"$enablestring" = xdisable
; then
6189 if test $wxUSE_CONSOLE_EVENTLOOP = no
; then
6195 result
=$wxUSE_CONSOLE_EVENTLOOP
6198 { echo "$as_me:$LINENO: result: $result" >&5
6199 echo "${ECHO_T}$result" >&6; }
6203 defaultval
=$wxUSE_ALL_FEATURES
6204 if test -z "$defaultval"; then
6205 if test x
"$enablestring" = xdisable
; then
6212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6213 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6214 # Check whether --enable-epollloop was given.
6215 if test "${enable_epollloop+set}" = set; then
6216 enableval
=$enable_epollloop;
6217 if test "$enableval" = yes; then
6218 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=yes'
6220 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=no'
6225 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6230 eval "$wx_cv_use_epollloop"
6232 if test x"$enablestring" = xdisable; then
6233 if test $wxUSE_EPOLL_DISPATCHER = no; then
6239 result=$wxUSE_EPOLL_DISPATCHER
6242 { echo "$as_me:$LINENO: result: $result" >&5
6243 echo "${ECHO_T}$result" >&6; }
6247 defaultval=$wxUSE_ALL_FEATURES
6248 if test -z "$defaultval"; then
6249 if test x"$enablestring" = xdisable; then
6256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6258 # Check whether --enable-selectloop was given.
6259 if test "${enable_selectloop+set}" = set; then
6260 enableval=$enable_selectloop;
6261 if test "$enableval" = yes; then
6262 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=yes'
6264 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=no
'
6269 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6274 eval "$wx_cv_use_selectloop"
6276 if test x"$enablestring" = xdisable; then
6277 if test $wxUSE_SELECT_DISPATCHER = no; then
6283 result=$wxUSE_SELECT_DISPATCHER
6286 { echo "$as_me:$LINENO: result
: $result" >&5
6287 echo "${ECHO_T}$result" >&6; }
6292 defaultval=$wxUSE_ALL_FEATURES
6293 if test -z "$defaultval"; then
6294 if test x"$enablestring" = xdisable; then
6301 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6302 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6303 # Check whether --enable-apple_ieee was given.
6304 if test "${enable_apple_ieee+set}" = set; then
6305 enableval=$enable_apple_ieee;
6306 if test "$enableval" = yes; then
6307 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6309 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6314 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6319 eval "$wx_cv_use_apple_ieee"
6321 if test x
"$enablestring" = xdisable
; then
6322 if test $wxUSE_APPLE_IEEE = no
; then
6328 result
=$wxUSE_APPLE_IEEE
6331 { echo "$as_me:$LINENO: result: $result" >&5
6332 echo "${ECHO_T}$result" >&6; }
6336 defaultval
=$wxUSE_ALL_FEATURES
6337 if test -z "$defaultval"; then
6338 if test x
"$enablestring" = xdisable
; then
6345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6347 # Check whether --enable-arcstream was given.
6348 if test "${enable_arcstream+set}" = set; then
6349 enableval
=$enable_arcstream;
6350 if test "$enableval" = yes; then
6351 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6353 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6358 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6363 eval "$wx_cv_use_arcstream"
6365 if test x"$enablestring" = xdisable; then
6366 if test $wxUSE_ARCHIVE_STREAMS = no; then
6372 result=$wxUSE_ARCHIVE_STREAMS
6375 { echo "$as_me:$LINENO: result: $result" >&5
6376 echo "${ECHO_T}$result" >&6; }
6380 defaultval=$wxUSE_ALL_FEATURES
6381 if test -z "$defaultval"; then
6382 if test x"$enablestring" = xdisable; then
6389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6391 # Check whether --enable-base64 was given.
6392 if test "${enable_base64+set}" = set; then
6393 enableval=$enable_base64;
6394 if test "$enableval" = yes; then
6395 wx_cv_use_base64='wxUSE_BASE64
=yes'
6397 wx_cv_use_base64='wxUSE_BASE64
=no
'
6402 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6407 eval "$wx_cv_use_base64"
6409 if test x"$enablestring" = xdisable; then
6410 if test $wxUSE_BASE64 = no; then
6416 result=$wxUSE_BASE64
6419 { echo "$as_me:$LINENO: result
: $result" >&5
6420 echo "${ECHO_T}$result" >&6; }
6424 defaultval=$wxUSE_ALL_FEATURES
6425 if test -z "$defaultval"; then
6426 if test x"$enablestring" = xdisable; then
6433 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6434 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6435 # Check whether --enable-backtrace was given.
6436 if test "${enable_backtrace+set}" = set; then
6437 enableval=$enable_backtrace;
6438 if test "$enableval" = yes; then
6439 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6441 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6446 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6451 eval "$wx_cv_use_backtrace"
6453 if test x
"$enablestring" = xdisable
; then
6454 if test $wxUSE_STACKWALKER = no
; then
6460 result
=$wxUSE_STACKWALKER
6463 { echo "$as_me:$LINENO: result: $result" >&5
6464 echo "${ECHO_T}$result" >&6; }
6468 defaultval
=$wxUSE_ALL_FEATURES
6469 if test -z "$defaultval"; then
6470 if test x
"$enablestring" = xdisable
; then
6477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6478 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6479 # Check whether --enable-catch_segvs was given.
6480 if test "${enable_catch_segvs+set}" = set; then
6481 enableval
=$enable_catch_segvs;
6482 if test "$enableval" = yes; then
6483 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6485 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6490 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6495 eval "$wx_cv_use_catch_segvs"
6497 if test x"$enablestring" = xdisable; then
6498 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6504 result=$wxUSE_ON_FATAL_EXCEPTION
6507 { echo "$as_me:$LINENO: result: $result" >&5
6508 echo "${ECHO_T}$result" >&6; }
6512 defaultval=$wxUSE_ALL_FEATURES
6513 if test -z "$defaultval"; then
6514 if test x"$enablestring" = xdisable; then
6521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6523 # Check whether --enable-cmdline was given.
6524 if test "${enable_cmdline+set}" = set; then
6525 enableval=$enable_cmdline;
6526 if test "$enableval" = yes; then
6527 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6529 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6534 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6539 eval "$wx_cv_use_cmdline"
6541 if test x"$enablestring" = xdisable; then
6542 if test $wxUSE_CMDLINE_PARSER = no; then
6548 result=$wxUSE_CMDLINE_PARSER
6551 { echo "$as_me:$LINENO: result
: $result" >&5
6552 echo "${ECHO_T}$result" >&6; }
6556 defaultval=$wxUSE_ALL_FEATURES
6557 if test -z "$defaultval"; then
6558 if test x"$enablestring" = xdisable; then
6565 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6566 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6567 # Check whether --enable-datetime was given.
6568 if test "${enable_datetime+set}" = set; then
6569 enableval=$enable_datetime;
6570 if test "$enableval" = yes; then
6571 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6573 wx_cv_use_datetime='wxUSE_DATETIME=no'
6578 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6583 eval "$wx_cv_use_datetime"
6585 if test x
"$enablestring" = xdisable
; then
6586 if test $wxUSE_DATETIME = no
; then
6592 result
=$wxUSE_DATETIME
6595 { echo "$as_me:$LINENO: result: $result" >&5
6596 echo "${ECHO_T}$result" >&6; }
6600 defaultval
=$wxUSE_ALL_FEATURES
6601 if test -z "$defaultval"; then
6602 if test x
"$enablestring" = xdisable
; then
6609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6611 # Check whether --enable-debugreport was given.
6612 if test "${enable_debugreport+set}" = set; then
6613 enableval
=$enable_debugreport;
6614 if test "$enableval" = yes; then
6615 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6617 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6622 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6627 eval "$wx_cv_use_debugreport"
6629 if test x"$enablestring" = xdisable; then
6630 if test $wxUSE_DEBUGREPORT = no; then
6636 result=$wxUSE_DEBUGREPORT
6639 { echo "$as_me:$LINENO: result: $result" >&5
6640 echo "${ECHO_T}$result" >&6; }
6644 defaultval=$wxUSE_ALL_FEATURES
6645 if test -z "$defaultval"; then
6646 if test x"$enablestring" = xdisable; then
6653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6654 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6655 # Check whether --enable-dialupman was given.
6656 if test "${enable_dialupman+set}" = set; then
6657 enableval=$enable_dialupman;
6658 if test "$enableval" = yes; then
6659 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6661 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6666 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6671 eval "$wx_cv_use_dialupman"
6673 if test x"$enablestring" = xdisable; then
6674 if test $wxUSE_DIALUP_MANAGER = no; then
6680 result=$wxUSE_DIALUP_MANAGER
6683 { echo "$as_me:$LINENO: result
: $result" >&5
6684 echo "${ECHO_T}$result" >&6; }
6688 defaultval=$wxUSE_ALL_FEATURES
6689 if test -z "$defaultval"; then
6690 if test x"$enablestring" = xdisable; then
6697 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6698 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6699 # Check whether --enable-dynlib was given.
6700 if test "${enable_dynlib+set}" = set; then
6701 enableval=$enable_dynlib;
6702 if test "$enableval" = yes; then
6703 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6705 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6710 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6715 eval "$wx_cv_use_dynlib"
6717 if test x
"$enablestring" = xdisable
; then
6718 if test $wxUSE_DYNLIB_CLASS = no
; then
6724 result
=$wxUSE_DYNLIB_CLASS
6727 { echo "$as_me:$LINENO: result: $result" >&5
6728 echo "${ECHO_T}$result" >&6; }
6732 defaultval
=$wxUSE_ALL_FEATURES
6733 if test -z "$defaultval"; then
6734 if test x
"$enablestring" = xdisable
; then
6741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6742 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6743 # Check whether --enable-dynamicloader was given.
6744 if test "${enable_dynamicloader+set}" = set; then
6745 enableval
=$enable_dynamicloader;
6746 if test "$enableval" = yes; then
6747 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6749 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6754 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6759 eval "$wx_cv_use_dynamicloader"
6761 if test x"$enablestring" = xdisable; then
6762 if test $wxUSE_DYNAMIC_LOADER = no; then
6768 result=$wxUSE_DYNAMIC_LOADER
6771 { echo "$as_me:$LINENO: result: $result" >&5
6772 echo "${ECHO_T}$result" >&6; }
6776 defaultval=$wxUSE_ALL_FEATURES
6777 if test -z "$defaultval"; then
6778 if test x"$enablestring" = xdisable; then
6785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6787 # Check whether --enable-exceptions was given.
6788 if test "${enable_exceptions+set}" = set; then
6789 enableval=$enable_exceptions;
6790 if test "$enableval" = yes; then
6791 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6793 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6798 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6803 eval "$wx_cv_use_exceptions"
6805 if test x"$enablestring" = xdisable; then
6806 if test $wxUSE_EXCEPTIONS = no; then
6812 result=$wxUSE_EXCEPTIONS
6815 { echo "$as_me:$LINENO: result
: $result" >&5
6816 echo "${ECHO_T}$result" >&6; }
6820 defaultval=$wxUSE_ALL_FEATURES
6821 if test -z "$defaultval"; then
6822 if test x"$enablestring" = xdisable; then
6829 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6830 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6831 # Check whether --enable-ffile was given.
6832 if test "${enable_ffile+set}" = set; then
6833 enableval=$enable_ffile;
6834 if test "$enableval" = yes; then
6835 wx_cv_use_ffile='wxUSE_FFILE=yes'
6837 wx_cv_use_ffile='wxUSE_FFILE=no'
6842 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6847 eval "$wx_cv_use_ffile"
6849 if test x
"$enablestring" = xdisable
; then
6850 if test $wxUSE_FFILE = no
; then
6859 { echo "$as_me:$LINENO: result: $result" >&5
6860 echo "${ECHO_T}$result" >&6; }
6864 defaultval
=$wxUSE_ALL_FEATURES
6865 if test -z "$defaultval"; then
6866 if test x
"$enablestring" = xdisable
; then
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6875 # Check whether --enable-file was given.
6876 if test "${enable_file+set}" = set; then
6877 enableval
=$enable_file;
6878 if test "$enableval" = yes; then
6879 wx_cv_use_file
='wxUSE_FILE=yes'
6881 wx_cv_use_file
='wxUSE_FILE=no'
6886 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6891 eval "$wx_cv_use_file"
6893 if test x"$enablestring" = xdisable; then
6894 if test $wxUSE_FILE = no; then
6903 { echo "$as_me:$LINENO: result: $result" >&5
6904 echo "${ECHO_T}$result" >&6; }
6908 defaultval=$wxUSE_ALL_FEATURES
6909 if test -z "$defaultval"; then
6910 if test x"$enablestring" = xdisable; then
6917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6919 # Check whether --enable-filesystem was given.
6920 if test "${enable_filesystem+set}" = set; then
6921 enableval=$enable_filesystem;
6922 if test "$enableval" = yes; then
6923 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6925 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6930 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6935 eval "$wx_cv_use_filesystem"
6937 if test x"$enablestring" = xdisable; then
6938 if test $wxUSE_FILESYSTEM = no; then
6944 result=$wxUSE_FILESYSTEM
6947 { echo "$as_me:$LINENO: result
: $result" >&5
6948 echo "${ECHO_T}$result" >&6; }
6952 defaultval=$wxUSE_ALL_FEATURES
6953 if test -z "$defaultval"; then
6954 if test x"$enablestring" = xdisable; then
6961 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
6962 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
6963 # Check whether --enable-fontenum was given.
6964 if test "${enable_fontenum+set}" = set; then
6965 enableval=$enable_fontenum;
6966 if test "$enableval" = yes; then
6967 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6969 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6974 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6979 eval "$wx_cv_use_fontenum"
6981 if test x
"$enablestring" = xdisable
; then
6982 if test $wxUSE_FONTENUM = no
; then
6988 result
=$wxUSE_FONTENUM
6991 { echo "$as_me:$LINENO: result: $result" >&5
6992 echo "${ECHO_T}$result" >&6; }
6996 defaultval
=$wxUSE_ALL_FEATURES
6997 if test -z "$defaultval"; then
6998 if test x
"$enablestring" = xdisable
; then
7005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7007 # Check whether --enable-fontmap was given.
7008 if test "${enable_fontmap+set}" = set; then
7009 enableval
=$enable_fontmap;
7010 if test "$enableval" = yes; then
7011 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7013 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7018 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7023 eval "$wx_cv_use_fontmap"
7025 if test x"$enablestring" = xdisable; then
7026 if test $wxUSE_FONTMAP = no; then
7032 result=$wxUSE_FONTMAP
7035 { echo "$as_me:$LINENO: result: $result" >&5
7036 echo "${ECHO_T}$result" >&6; }
7040 defaultval=$wxUSE_ALL_FEATURES
7041 if test -z "$defaultval"; then
7042 if test x"$enablestring" = xdisable; then
7049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7050 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7051 # Check whether --enable-fs_archive was given.
7052 if test "${enable_fs_archive+set}" = set; then
7053 enableval=$enable_fs_archive;
7054 if test "$enableval" = yes; then
7055 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7057 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7062 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7067 eval "$wx_cv_use_fs_archive"
7069 if test x"$enablestring" = xdisable; then
7070 if test $wxUSE_FS_ARCHIVE = no; then
7076 result=$wxUSE_FS_ARCHIVE
7079 { echo "$as_me:$LINENO: result
: $result" >&5
7080 echo "${ECHO_T}$result" >&6; }
7084 defaultval=$wxUSE_ALL_FEATURES
7085 if test -z "$defaultval"; then
7086 if test x"$enablestring" = xdisable; then
7093 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7094 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7095 # Check whether --enable-fs_inet was given.
7096 if test "${enable_fs_inet+set}" = set; then
7097 enableval=$enable_fs_inet;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7101 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7106 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7111 eval "$wx_cv_use_fs_inet"
7113 if test x
"$enablestring" = xdisable
; then
7114 if test $wxUSE_FS_INET = no
; then
7120 result
=$wxUSE_FS_INET
7123 { echo "$as_me:$LINENO: result: $result" >&5
7124 echo "${ECHO_T}$result" >&6; }
7128 defaultval
=$wxUSE_ALL_FEATURES
7129 if test -z "$defaultval"; then
7130 if test x
"$enablestring" = xdisable
; then
7137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7138 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7139 # Check whether --enable-fs_zip was given.
7140 if test "${enable_fs_zip+set}" = set; then
7141 enableval
=$enable_fs_zip;
7142 if test "$enableval" = yes; then
7143 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7145 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7150 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7155 eval "$wx_cv_use_fs_zip"
7157 if test x"$enablestring" = xdisable; then
7158 if test $wxUSE_FS_ZIP = no; then
7164 result=$wxUSE_FS_ZIP
7167 { echo "$as_me:$LINENO: result: $result" >&5
7168 echo "${ECHO_T}$result" >&6; }
7172 defaultval=$wxUSE_ALL_FEATURES
7173 if test -z "$defaultval"; then
7174 if test x"$enablestring" = xdisable; then
7181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7183 # Check whether --enable-geometry was given.
7184 if test "${enable_geometry+set}" = set; then
7185 enableval=$enable_geometry;
7186 if test "$enableval" = yes; then
7187 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
7189 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
7194 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7199 eval "$wx_cv_use_geometry"
7201 if test x"$enablestring" = xdisable; then
7202 if test $wxUSE_GEOMETRY = no; then
7208 result=$wxUSE_GEOMETRY
7211 { echo "$as_me:$LINENO: result
: $result" >&5
7212 echo "${ECHO_T}$result" >&6; }
7216 defaultval=$wxUSE_ALL_FEATURES
7217 if test -z "$defaultval"; then
7218 if test x"$enablestring" = xdisable; then
7225 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-log" >&5
7226 echo $ECHO_N "checking
for --${enablestring:-enable}-log...
$ECHO_C" >&6; }
7227 # Check whether --enable-log was given.
7228 if test "${enable_log+set}" = set; then
7229 enableval=$enable_log;
7230 if test "$enableval" = yes; then
7231 wx_cv_use_log='wxUSE_LOG=yes'
7233 wx_cv_use_log='wxUSE_LOG=no'
7238 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7243 eval "$wx_cv_use_log"
7245 if test x
"$enablestring" = xdisable
; then
7246 if test $wxUSE_LOG = no
; then
7255 { echo "$as_me:$LINENO: result: $result" >&5
7256 echo "${ECHO_T}$result" >&6; }
7260 defaultval
=$wxUSE_ALL_FEATURES
7261 if test -z "$defaultval"; then
7262 if test x
"$enablestring" = xdisable
; then
7269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7271 # Check whether --enable-longlong was given.
7272 if test "${enable_longlong+set}" = set; then
7273 enableval
=$enable_longlong;
7274 if test "$enableval" = yes; then
7275 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
7277 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
7282 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7287 eval "$wx_cv_use_longlong"
7289 if test x"$enablestring" = xdisable; then
7290 if test $wxUSE_LONGLONG = no; then
7296 result=$wxUSE_LONGLONG
7299 { echo "$as_me:$LINENO: result: $result" >&5
7300 echo "${ECHO_T}$result" >&6; }
7304 defaultval=$wxUSE_ALL_FEATURES
7305 if test -z "$defaultval"; then
7306 if test x"$enablestring" = xdisable; then
7313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7315 # Check whether --enable-mimetype was given.
7316 if test "${enable_mimetype+set}" = set; then
7317 enableval=$enable_mimetype;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
7321 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
7326 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7331 eval "$wx_cv_use_mimetype"
7333 if test x"$enablestring" = xdisable; then
7334 if test $wxUSE_MIMETYPE = no; then
7340 result=$wxUSE_MIMETYPE
7343 { echo "$as_me:$LINENO: result
: $result" >&5
7344 echo "${ECHO_T}$result" >&6; }
7348 defaultval=$wxUSE_ALL_FEATURES
7349 if test -z "$defaultval"; then
7350 if test x"$enablestring" = xdisable; then
7357 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printfposparam" >&5
7358 echo $ECHO_N "checking
for --${enablestring:-enable}-printfposparam...
$ECHO_C" >&6; }
7359 # Check whether --enable-printfposparam was given.
7360 if test "${enable_printfposparam+set}" = set; then
7361 enableval=$enable_printfposparam;
7362 if test "$enableval" = yes; then
7363 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7365 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7370 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7375 eval "$wx_cv_use_printfposparam"
7377 if test x
"$enablestring" = xdisable
; then
7378 if test $wxUSE_PRINTF_POS_PARAMS = no
; then
7384 result
=$wxUSE_PRINTF_POS_PARAMS
7387 { echo "$as_me:$LINENO: result: $result" >&5
7388 echo "${ECHO_T}$result" >&6; }
7392 defaultval
=$wxUSE_ALL_FEATURES
7393 if test -z "$defaultval"; then
7394 if test x
"$enablestring" = xdisable
; then
7401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7402 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7403 # Check whether --enable-snglinst was given.
7404 if test "${enable_snglinst+set}" = set; then
7405 enableval
=$enable_snglinst;
7406 if test "$enableval" = yes; then
7407 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
7409 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
7414 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7419 eval "$wx_cv_use_snglinst"
7421 if test x"$enablestring" = xdisable; then
7422 if test $wxUSE_SNGLINST_CHECKER = no; then
7428 result=$wxUSE_SNGLINST_CHECKER
7431 { echo "$as_me:$LINENO: result: $result" >&5
7432 echo "${ECHO_T}$result" >&6; }
7436 defaultval=$wxUSE_ALL_FEATURES
7437 if test -z "$defaultval"; then
7438 if test x"$enablestring" = xdisable; then
7445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7446 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7447 # Check whether --enable-sound was given.
7448 if test "${enable_sound+set}" = set; then
7449 enableval=$enable_sound;
7450 if test "$enableval" = yes; then
7451 wx_cv_use_sound='wxUSE_SOUND
=yes'
7453 wx_cv_use_sound='wxUSE_SOUND
=no
'
7458 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7463 eval "$wx_cv_use_sound"
7465 if test x"$enablestring" = xdisable; then
7466 if test $wxUSE_SOUND = no; then
7475 { echo "$as_me:$LINENO: result
: $result" >&5
7476 echo "${ECHO_T}$result" >&6; }
7480 defaultval=$wxUSE_ALL_FEATURES
7481 if test -z "$defaultval"; then
7482 if test x"$enablestring" = xdisable; then
7489 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stdpaths" >&5
7490 echo $ECHO_N "checking
for --${enablestring:-enable}-stdpaths...
$ECHO_C" >&6; }
7491 # Check whether --enable-stdpaths was given.
7492 if test "${enable_stdpaths+set}" = set; then
7493 enableval=$enable_stdpaths;
7494 if test "$enableval" = yes; then
7495 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7497 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7502 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7507 eval "$wx_cv_use_stdpaths"
7509 if test x
"$enablestring" = xdisable
; then
7510 if test $wxUSE_STDPATHS = no
; then
7516 result
=$wxUSE_STDPATHS
7519 { echo "$as_me:$LINENO: result: $result" >&5
7520 echo "${ECHO_T}$result" >&6; }
7524 defaultval
=$wxUSE_ALL_FEATURES
7525 if test -z "$defaultval"; then
7526 if test x
"$enablestring" = xdisable
; then
7533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7535 # Check whether --enable-stopwatch was given.
7536 if test "${enable_stopwatch+set}" = set; then
7537 enableval
=$enable_stopwatch;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
7541 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
7546 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7551 eval "$wx_cv_use_stopwatch"
7553 if test x"$enablestring" = xdisable; then
7554 if test $wxUSE_STOPWATCH = no; then
7560 result=$wxUSE_STOPWATCH
7563 { echo "$as_me:$LINENO: result: $result" >&5
7564 echo "${ECHO_T}$result" >&6; }
7568 defaultval=$wxUSE_ALL_FEATURES
7569 if test -z "$defaultval"; then
7570 if test x"$enablestring" = xdisable; then
7577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7579 # Check whether --enable-streams was given.
7580 if test "${enable_streams+set}" = set; then
7581 enableval=$enable_streams;
7582 if test "$enableval" = yes; then
7583 wx_cv_use_streams='wxUSE_STREAMS
=yes'
7585 wx_cv_use_streams='wxUSE_STREAMS
=no
'
7590 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7595 eval "$wx_cv_use_streams"
7597 if test x"$enablestring" = xdisable; then
7598 if test $wxUSE_STREAMS = no; then
7604 result=$wxUSE_STREAMS
7607 { echo "$as_me:$LINENO: result
: $result" >&5
7608 echo "${ECHO_T}$result" >&6; }
7612 defaultval=$wxUSE_ALL_FEATURES
7613 if test -z "$defaultval"; then
7614 if test x"$enablestring" = xdisable; then
7621 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-system_options" >&5
7622 echo $ECHO_N "checking
for --${enablestring:-enable}-system_options...
$ECHO_C" >&6; }
7623 # Check whether --enable-system_options was given.
7624 if test "${enable_system_options+set}" = set; then
7625 enableval=$enable_system_options;
7626 if test "$enableval" = yes; then
7627 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7629 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7634 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7639 eval "$wx_cv_use_system_options"
7641 if test x
"$enablestring" = xdisable
; then
7642 if test $wxUSE_SYSTEM_OPTIONS = no
; then
7648 result
=$wxUSE_SYSTEM_OPTIONS
7651 { echo "$as_me:$LINENO: result: $result" >&5
7652 echo "${ECHO_T}$result" >&6; }
7656 defaultval
=$wxUSE_ALL_FEATURES
7657 if test -z "$defaultval"; then
7658 if test x
"$enablestring" = xdisable
; then
7665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7667 # Check whether --enable-tarstream was given.
7668 if test "${enable_tarstream+set}" = set; then
7669 enableval
=$enable_tarstream;
7670 if test "$enableval" = yes; then
7671 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
7673 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
7678 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7683 eval "$wx_cv_use_tarstream"
7685 if test x"$enablestring" = xdisable; then
7686 if test $wxUSE_TARSTREAM = no; then
7692 result=$wxUSE_TARSTREAM
7695 { echo "$as_me:$LINENO: result: $result" >&5
7696 echo "${ECHO_T}$result" >&6; }
7700 defaultval=$wxUSE_ALL_FEATURES
7701 if test -z "$defaultval"; then
7702 if test x"$enablestring" = xdisable; then
7709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7711 # Check whether --enable-textbuf was given.
7712 if test "${enable_textbuf+set}" = set; then
7713 enableval=$enable_textbuf;
7714 if test "$enableval" = yes; then
7715 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
7717 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
7722 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7727 eval "$wx_cv_use_textbuf"
7729 if test x"$enablestring" = xdisable; then
7730 if test $wxUSE_TEXTBUFFER = no; then
7736 result=$wxUSE_TEXTBUFFER
7739 { echo "$as_me:$LINENO: result
: $result" >&5
7740 echo "${ECHO_T}$result" >&6; }
7744 defaultval=$wxUSE_ALL_FEATURES
7745 if test -z "$defaultval"; then
7746 if test x"$enablestring" = xdisable; then
7753 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textfile" >&5
7754 echo $ECHO_N "checking
for --${enablestring:-enable}-textfile...
$ECHO_C" >&6; }
7755 # Check whether --enable-textfile was given.
7756 if test "${enable_textfile+set}" = set; then
7757 enableval=$enable_textfile;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7761 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7766 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7771 eval "$wx_cv_use_textfile"
7773 if test x
"$enablestring" = xdisable
; then
7774 if test $wxUSE_TEXTFILE = no
; then
7780 result
=$wxUSE_TEXTFILE
7783 { echo "$as_me:$LINENO: result: $result" >&5
7784 echo "${ECHO_T}$result" >&6; }
7788 defaultval
=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x
"$enablestring" = xdisable
; then
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7799 # Check whether --enable-timer was given.
7800 if test "${enable_timer+set}" = set; then
7801 enableval
=$enable_timer;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_timer
='wxUSE_TIMER=yes'
7805 wx_cv_use_timer
='wxUSE_TIMER=no'
7810 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7815 eval "$wx_cv_use_timer"
7817 if test x"$enablestring" = xdisable; then
7818 if test $wxUSE_TIMER = no; then
7827 { echo "$as_me:$LINENO: result: $result" >&5
7828 echo "${ECHO_T}$result" >&6; }
7832 defaultval=$wxUSE_ALL_FEATURES
7833 if test -z "$defaultval"; then
7834 if test x"$enablestring" = xdisable; then
7841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7843 # Check whether --enable-variant was given.
7844 if test "${enable_variant+set}" = set; then
7845 enableval=$enable_variant;
7846 if test "$enableval" = yes; then
7847 wx_cv_use_variant='wxUSE_VARIANT
=yes'
7849 wx_cv_use_variant='wxUSE_VARIANT
=no
'
7854 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7859 eval "$wx_cv_use_variant"
7861 if test x"$enablestring" = xdisable; then
7862 if test $wxUSE_VARIANT = no; then
7868 result=$wxUSE_VARIANT
7871 { echo "$as_me:$LINENO: result
: $result" >&5
7872 echo "${ECHO_T}$result" >&6; }
7876 defaultval=$wxUSE_ALL_FEATURES
7877 if test -z "$defaultval"; then
7878 if test x"$enablestring" = xdisable; then
7885 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-zipstream" >&5
7886 echo $ECHO_N "checking
for --${enablestring:-enable}-zipstream...
$ECHO_C" >&6; }
7887 # Check whether --enable-zipstream was given.
7888 if test "${enable_zipstream+set}" = set; then
7889 enableval=$enable_zipstream;
7890 if test "$enableval" = yes; then
7891 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7893 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7898 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7903 eval "$wx_cv_use_zipstream"
7905 if test x
"$enablestring" = xdisable
; then
7906 if test $wxUSE_ZIPSTREAM = no
; then
7912 result
=$wxUSE_ZIPSTREAM
7915 { echo "$as_me:$LINENO: result: $result" >&5
7916 echo "${ECHO_T}$result" >&6; }
7921 defaultval
=$wxUSE_ALL_FEATURES
7922 if test -z "$defaultval"; then
7923 if test x
"$enablestring" = xdisable
; then
7930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7931 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7932 # Check whether --enable-url was given.
7933 if test "${enable_url+set}" = set; then
7934 enableval
=$enable_url;
7935 if test "$enableval" = yes; then
7936 wx_cv_use_url
='wxUSE_URL=yes'
7938 wx_cv_use_url
='wxUSE_URL=no'
7943 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7948 eval "$wx_cv_use_url"
7950 if test x"$enablestring" = xdisable; then
7951 if test $wxUSE_URL = no; then
7960 { echo "$as_me:$LINENO: result: $result" >&5
7961 echo "${ECHO_T}$result" >&6; }
7965 defaultval=$wxUSE_ALL_FEATURES
7966 if test -z "$defaultval"; then
7967 if test x"$enablestring" = xdisable; then
7974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7976 # Check whether --enable-protocol was given.
7977 if test "${enable_protocol+set}" = set; then
7978 enableval=$enable_protocol;
7979 if test "$enableval" = yes; then
7980 wx_cv_use_protocol='wxUSE_PROTOCOL
=yes'
7982 wx_cv_use_protocol='wxUSE_PROTOCOL
=no
'
7987 wx_cv_use_protocol='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7992 eval "$wx_cv_use_protocol"
7994 if test x"$enablestring" = xdisable; then
7995 if test $wxUSE_PROTOCOL = no; then
8001 result=$wxUSE_PROTOCOL
8004 { echo "$as_me:$LINENO: result
: $result" >&5
8005 echo "${ECHO_T}$result" >&6; }
8009 defaultval=$wxUSE_ALL_FEATURES
8010 if test -z "$defaultval"; then
8011 if test x"$enablestring" = xdisable; then
8018 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_http" >&5
8019 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_http...
$ECHO_C" >&6; }
8020 # Check whether --enable-protocol_http was given.
8021 if test "${enable_protocol_http+set}" = set; then
8022 enableval=$enable_protocol_http;
8023 if test "$enableval" = yes; then
8024 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8026 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8031 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8036 eval "$wx_cv_use_protocol_http"
8038 if test x
"$enablestring" = xdisable
; then
8039 if test $wxUSE_PROTOCOL_HTTP = no
; then
8045 result
=$wxUSE_PROTOCOL_HTTP
8048 { echo "$as_me:$LINENO: result: $result" >&5
8049 echo "${ECHO_T}$result" >&6; }
8053 defaultval
=$wxUSE_ALL_FEATURES
8054 if test -z "$defaultval"; then
8055 if test x
"$enablestring" = xdisable
; then
8062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8063 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8064 # Check whether --enable-protocol_ftp was given.
8065 if test "${enable_protocol_ftp+set}" = set; then
8066 enableval
=$enable_protocol_ftp;
8067 if test "$enableval" = yes; then
8068 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
8070 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
8075 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8080 eval "$wx_cv_use_protocol_ftp"
8082 if test x"$enablestring" = xdisable; then
8083 if test $wxUSE_PROTOCOL_FTP = no; then
8089 result=$wxUSE_PROTOCOL_FTP
8092 { echo "$as_me:$LINENO: result: $result" >&5
8093 echo "${ECHO_T}$result" >&6; }
8097 defaultval=$wxUSE_ALL_FEATURES
8098 if test -z "$defaultval"; then
8099 if test x"$enablestring" = xdisable; then
8106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8108 # Check whether --enable-protocol_file was given.
8109 if test "${enable_protocol_file+set}" = set; then
8110 enableval=$enable_protocol_file;
8111 if test "$enableval" = yes; then
8112 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
8114 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
8119 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8124 eval "$wx_cv_use_protocol_file"
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_PROTOCOL_FILE = no; then
8133 result=$wxUSE_PROTOCOL_FILE
8136 { echo "$as_me:$LINENO: result
: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8142 defaultval=$wxUSE_ALL_FEATURES
8143 if test -z "$defaultval"; then
8144 if test x"$enablestring" = xdisable; then
8151 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-threads" >&5
8152 echo $ECHO_N "checking
for --${enablestring:-enable}-threads...
$ECHO_C" >&6; }
8153 # Check whether --enable-threads was given.
8154 if test "${enable_threads+set}" = set; then
8155 enableval=$enable_threads;
8156 if test "$enableval" = yes; then
8157 wx_cv_use_threads='wxUSE_THREADS=yes'
8159 wx_cv_use_threads='wxUSE_THREADS=no'
8164 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8169 eval "$wx_cv_use_threads"
8171 if test x
"$enablestring" = xdisable
; then
8172 if test $wxUSE_THREADS = no
; then
8178 result
=$wxUSE_THREADS
8181 { echo "$as_me:$LINENO: result: $result" >&5
8182 echo "${ECHO_T}$result" >&6; }
8188 if test -z "$defaultval"; then
8189 if test x
"$enablestring" = xdisable
; then
8196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8198 # Check whether --enable-iniconf was given.
8199 if test "${enable_iniconf+set}" = set; then
8200 enableval
=$enable_iniconf;
8201 if test "$enableval" = yes; then
8202 wx_cv_use_iniconf
='wxUSE_INICONF=yes'
8204 wx_cv_use_iniconf
='wxUSE_INICONF=no'
8209 wx_cv_use_iniconf
='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8214 eval "$wx_cv_use_iniconf"
8216 if test x"$enablestring" = xdisable; then
8217 if test $wxUSE_INICONF = no; then
8223 result=$wxUSE_INICONF
8226 { echo "$as_me:$LINENO: result: $result" >&5
8227 echo "${ECHO_T}$result" >&6; }
8231 defaultval=$wxUSE_ALL_FEATURES
8232 if test -z "$defaultval"; then
8233 if test x"$enablestring" = xdisable; then
8240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8242 # Check whether --enable-regkey was given.
8243 if test "${enable_regkey+set}" = set; then
8244 enableval=$enable_regkey;
8245 if test "$enableval" = yes; then
8246 wx_cv_use_regkey='wxUSE_REGKEY
=yes'
8248 wx_cv_use_regkey='wxUSE_REGKEY
=no
'
8253 wx_cv_use_regkey='wxUSE_REGKEY
=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8258 eval "$wx_cv_use_regkey"
8260 if test x"$enablestring" = xdisable; then
8261 if test $wxUSE_REGKEY = no; then
8267 result=$wxUSE_REGKEY
8270 { echo "$as_me:$LINENO: result
: $result" >&5
8271 echo "${ECHO_T}$result" >&6; }
8274 if test "$wxUSE_GUI" = "yes"; then
8279 defaultval=$wxUSE_ALL_FEATURES
8280 if test -z "$defaultval"; then
8281 if test x"$enablestring" = xdisable; then
8288 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-docview" >&5
8289 echo $ECHO_N "checking
for --${enablestring:-enable}-docview...
$ECHO_C" >&6; }
8290 # Check whether --enable-docview was given.
8291 if test "${enable_docview+set}" = set; then
8292 enableval=$enable_docview;
8293 if test "$enableval" = yes; then
8294 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8296 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8301 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8306 eval "$wx_cv_use_docview"
8308 if test x
"$enablestring" = xdisable
; then
8309 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no
; then
8315 result
=$wxUSE_DOC_VIEW_ARCHITECTURE
8318 { echo "$as_me:$LINENO: result: $result" >&5
8319 echo "${ECHO_T}$result" >&6; }
8323 defaultval
=$wxUSE_ALL_FEATURES
8324 if test -z "$defaultval"; then
8325 if test x
"$enablestring" = xdisable
; then
8332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8334 # Check whether --enable-help was given.
8335 if test "${enable_help+set}" = set; then
8336 enableval
=$enable_help;
8337 if test "$enableval" = yes; then
8338 wx_cv_use_help
='wxUSE_HELP=yes'
8340 wx_cv_use_help
='wxUSE_HELP=no'
8345 wx_cv_use_help
='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8350 eval "$wx_cv_use_help"
8352 if test x"$enablestring" = xdisable; then
8353 if test $wxUSE_HELP = no; then
8362 { echo "$as_me:$LINENO: result: $result" >&5
8363 echo "${ECHO_T}$result" >&6; }
8367 defaultval=$wxUSE_ALL_FEATURES
8368 if test -z "$defaultval"; then
8369 if test x"$enablestring" = xdisable; then
8376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8378 # Check whether --enable-mshtmlhelp was given.
8379 if test "${enable_mshtmlhelp+set}" = set; then
8380 enableval=$enable_mshtmlhelp;
8381 if test "$enableval" = yes; then
8382 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
8384 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
8389 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8394 eval "$wx_cv_use_mshtmlhelp"
8396 if test x"$enablestring" = xdisable; then
8397 if test $wxUSE_MS_HTML_HELP = no; then
8403 result=$wxUSE_MS_HTML_HELP
8406 { echo "$as_me:$LINENO: result
: $result" >&5
8407 echo "${ECHO_T}$result" >&6; }
8411 defaultval=$wxUSE_ALL_FEATURES
8412 if test -z "$defaultval"; then
8413 if test x"$enablestring" = xdisable; then
8420 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-html" >&5
8421 echo $ECHO_N "checking
for --${enablestring:-enable}-html...
$ECHO_C" >&6; }
8422 # Check whether --enable-html was given.
8423 if test "${enable_html+set}" = set; then
8424 enableval=$enable_html;
8425 if test "$enableval" = yes; then
8426 wx_cv_use_html='wxUSE_HTML=yes'
8428 wx_cv_use_html='wxUSE_HTML=no'
8433 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8438 eval "$wx_cv_use_html"
8440 if test x
"$enablestring" = xdisable
; then
8441 if test $wxUSE_HTML = no
; then
8450 { echo "$as_me:$LINENO: result: $result" >&5
8451 echo "${ECHO_T}$result" >&6; }
8455 defaultval
=$wxUSE_ALL_FEATURES
8456 if test -z "$defaultval"; then
8457 if test x
"$enablestring" = xdisable
; then
8464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8465 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8466 # Check whether --enable-htmlhelp was given.
8467 if test "${enable_htmlhelp+set}" = set; then
8468 enableval
=$enable_htmlhelp;
8469 if test "$enableval" = yes; then
8470 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
8472 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
8477 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8482 eval "$wx_cv_use_htmlhelp"
8484 if test x"$enablestring" = xdisable; then
8485 if test $wxUSE_WXHTML_HELP = no; then
8491 result=$wxUSE_WXHTML_HELP
8494 { echo "$as_me:$LINENO: result: $result" >&5
8495 echo "${ECHO_T}$result" >&6; }
8499 defaultval=$wxUSE_ALL_FEATURES
8500 if test -z "$defaultval"; then
8501 if test x"$enablestring" = xdisable; then
8508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8510 # Check whether --enable-xrc was given.
8511 if test "${enable_xrc+set}" = set; then
8512 enableval=$enable_xrc;
8513 if test "$enableval" = yes; then
8514 wx_cv_use_xrc='wxUSE_XRC
=yes'
8516 wx_cv_use_xrc='wxUSE_XRC
=no
'
8521 wx_cv_use_xrc='wxUSE_XRC
=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8526 eval "$wx_cv_use_xrc"
8528 if test x"$enablestring" = xdisable; then
8529 if test $wxUSE_XRC = no; then
8538 { echo "$as_me:$LINENO: result
: $result" >&5
8539 echo "${ECHO_T}$result" >&6; }
8543 defaultval=$wxUSE_ALL_FEATURES
8544 if test -z "$defaultval"; then
8545 if test x"$enablestring" = xdisable; then
8552 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aui" >&5
8553 echo $ECHO_N "checking
for --${enablestring:-enable}-aui...
$ECHO_C" >&6; }
8554 # Check whether --enable-aui was given.
8555 if test "${enable_aui+set}" = set; then
8556 enableval=$enable_aui;
8557 if test "$enableval" = yes; then
8558 wx_cv_use_aui='wxUSE_AUI=yes'
8560 wx_cv_use_aui='wxUSE_AUI=no'
8565 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8570 eval "$wx_cv_use_aui"
8572 if test x
"$enablestring" = xdisable
; then
8573 if test $wxUSE_AUI = no
; then
8582 { echo "$as_me:$LINENO: result: $result" >&5
8583 echo "${ECHO_T}$result" >&6; }
8587 defaultval
=$wxUSE_ALL_FEATURES
8588 if test -z "$defaultval"; then
8589 if test x
"$enablestring" = xdisable
; then
8596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8597 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8598 # Check whether --enable-propgrid was given.
8599 if test "${enable_propgrid+set}" = set; then
8600 enableval
=$enable_propgrid;
8601 if test "$enableval" = yes; then
8602 wx_cv_use_propgrid
='wxUSE_PROPGRID=yes'
8604 wx_cv_use_propgrid
='wxUSE_PROPGRID=no'
8609 wx_cv_use_propgrid
='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8614 eval "$wx_cv_use_propgrid"
8616 if test x"$enablestring" = xdisable; then
8617 if test $wxUSE_PROPGRID = no; then
8623 result=$wxUSE_PROPGRID
8626 { echo "$as_me:$LINENO: result: $result" >&5
8627 echo "${ECHO_T}$result" >&6; }
8631 defaultval=$wxUSE_ALL_FEATURES
8632 if test -z "$defaultval"; then
8633 if test x"$enablestring" = xdisable; then
8640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8641 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8642 # Check whether --enable-stc was given.
8643 if test "${enable_stc+set}" = set; then
8644 enableval=$enable_stc;
8645 if test "$enableval" = yes; then
8646 wx_cv_use_stc='wxUSE_STC
=yes'
8648 wx_cv_use_stc='wxUSE_STC
=no
'
8653 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8658 eval "$wx_cv_use_stc"
8660 if test x"$enablestring" = xdisable; then
8661 if test $wxUSE_STC = no; then
8670 { echo "$as_me:$LINENO: result
: $result" >&5
8671 echo "${ECHO_T}$result" >&6; }
8675 defaultval=$wxUSE_ALL_FEATURES
8676 if test -z "$defaultval"; then
8677 if test x"$enablestring" = xdisable; then
8684 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8685 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
8686 # Check whether --enable-constraints was given.
8687 if test "${enable_constraints+set}" = set; then
8688 enableval=$enable_constraints;
8689 if test "$enableval" = yes; then
8690 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8692 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8697 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8702 eval "$wx_cv_use_constraints"
8704 if test x
"$enablestring" = xdisable
; then
8705 if test $wxUSE_CONSTRAINTS = no
; then
8711 result
=$wxUSE_CONSTRAINTS
8714 { echo "$as_me:$LINENO: result: $result" >&5
8715 echo "${ECHO_T}$result" >&6; }
8719 defaultval
=$wxUSE_ALL_FEATURES
8720 if test -z "$defaultval"; then
8721 if test x
"$enablestring" = xdisable
; then
8728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8730 # Check whether --enable-loggui was given.
8731 if test "${enable_loggui+set}" = set; then
8732 enableval
=$enable_loggui;
8733 if test "$enableval" = yes; then
8734 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
8736 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
8741 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8746 eval "$wx_cv_use_loggui"
8748 if test x"$enablestring" = xdisable; then
8749 if test $wxUSE_LOGGUI = no; then
8755 result=$wxUSE_LOGGUI
8758 { echo "$as_me:$LINENO: result: $result" >&5
8759 echo "${ECHO_T}$result" >&6; }
8763 defaultval=$wxUSE_ALL_FEATURES
8764 if test -z "$defaultval"; then
8765 if test x"$enablestring" = xdisable; then
8772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8774 # Check whether --enable-logwin was given.
8775 if test "${enable_logwin+set}" = set; then
8776 enableval=$enable_logwin;
8777 if test "$enableval" = yes; then
8778 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
8780 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
8785 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8790 eval "$wx_cv_use_logwin"
8792 if test x"$enablestring" = xdisable; then
8793 if test $wxUSE_LOGWINDOW = no; then
8799 result=$wxUSE_LOGWINDOW
8802 { echo "$as_me:$LINENO: result
: $result" >&5
8803 echo "${ECHO_T}$result" >&6; }
8807 defaultval=$wxUSE_ALL_FEATURES
8808 if test -z "$defaultval"; then
8809 if test x"$enablestring" = xdisable; then
8816 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
8817 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
8818 # Check whether --enable-logdialog was given.
8819 if test "${enable_logdialog+set}" = set; then
8820 enableval=$enable_logdialog;
8821 if test "$enableval" = yes; then
8822 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8824 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8829 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8834 eval "$wx_cv_use_logdialog"
8836 if test x
"$enablestring" = xdisable
; then
8837 if test $wxUSE_LOGDIALOG = no
; then
8843 result
=$wxUSE_LOGDIALOG
8846 { echo "$as_me:$LINENO: result: $result" >&5
8847 echo "${ECHO_T}$result" >&6; }
8851 defaultval
=$wxUSE_ALL_FEATURES
8852 if test -z "$defaultval"; then
8853 if test x
"$enablestring" = xdisable
; then
8860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8862 # Check whether --enable-mdi was given.
8863 if test "${enable_mdi+set}" = set; then
8864 enableval
=$enable_mdi;
8865 if test "$enableval" = yes; then
8866 wx_cv_use_mdi
='wxUSE_MDI=yes'
8868 wx_cv_use_mdi
='wxUSE_MDI=no'
8873 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8878 eval "$wx_cv_use_mdi"
8880 if test x"$enablestring" = xdisable; then
8881 if test $wxUSE_MDI = no; then
8890 { echo "$as_me:$LINENO: result: $result" >&5
8891 echo "${ECHO_T}$result" >&6; }
8895 defaultval=$wxUSE_ALL_FEATURES
8896 if test -z "$defaultval"; then
8897 if test x"$enablestring" = xdisable; then
8904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8906 # Check whether --enable-mdidoc was given.
8907 if test "${enable_mdidoc+set}" = set; then
8908 enableval=$enable_mdidoc;
8909 if test "$enableval" = yes; then
8910 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
8912 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
8917 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8922 eval "$wx_cv_use_mdidoc"
8924 if test x"$enablestring" = xdisable; then
8925 if test $wxUSE_MDI_ARCHITECTURE = no; then
8931 result=$wxUSE_MDI_ARCHITECTURE
8934 { echo "$as_me:$LINENO: result
: $result" >&5
8935 echo "${ECHO_T}$result" >&6; }
8939 defaultval=$wxUSE_ALL_FEATURES
8940 if test -z "$defaultval"; then
8941 if test x"$enablestring" = xdisable; then
8948 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
8949 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
8950 # Check whether --enable-mediactrl was given.
8951 if test "${enable_mediactrl+set}" = set; then
8952 enableval=$enable_mediactrl;
8953 if test "$enableval" = yes; then
8954 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8956 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8961 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8966 eval "$wx_cv_use_mediactrl"
8968 if test x
"$enablestring" = xdisable
; then
8969 if test $wxUSE_MEDIACTRL = no
; then
8975 result
=$wxUSE_MEDIACTRL
8978 { echo "$as_me:$LINENO: result: $result" >&5
8979 echo "${ECHO_T}$result" >&6; }
8983 defaultval
=$wxUSE_ALL_FEATURES
8984 if test -z "$defaultval"; then
8985 if test x
"$enablestring" = xdisable
; then
8992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8993 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8994 # Check whether --enable-gstreamer8 was given.
8995 if test "${enable_gstreamer8+set}" = set; then
8996 enableval
=$enable_gstreamer8;
8997 if test "$enableval" = yes; then
8998 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
9000 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
9005 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9010 eval "$wx_cv_use_gstreamer8"
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_GSTREAMER8 = no; then
9019 result=$wxUSE_GSTREAMER8
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9038 # Check whether --enable-webkit was given.
9039 if test "${enable_webkit+set}" = set; then
9040 enableval=$enable_webkit;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9044 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9049 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9054 eval "$wx_cv_use_webkit"
9056 if test x"$enablestring" = xdisable; then
9057 if test $wxUSE_WEBKIT = no; then
9063 result=$wxUSE_WEBKIT
9066 { echo "$as_me:$LINENO: result
: $result" >&5
9067 echo "${ECHO_T}$result" >&6; }
9071 defaultval=$wxUSE_ALL_FEATURES
9072 if test -z "$defaultval"; then
9073 if test x"$enablestring" = xdisable; then
9080 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
9081 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
9082 # Check whether --enable-richtext was given.
9083 if test "${enable_richtext+set}" = set; then
9084 enableval=$enable_richtext;
9085 if test "$enableval" = yes; then
9086 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9088 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9093 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9098 eval "$wx_cv_use_richtext"
9100 if test x
"$enablestring" = xdisable
; then
9101 if test $wxUSE_RICHTEXT = no
; then
9107 result
=$wxUSE_RICHTEXT
9110 { echo "$as_me:$LINENO: result: $result" >&5
9111 echo "${ECHO_T}$result" >&6; }
9115 defaultval
=$wxUSE_ALL_FEATURES
9116 if test -z "$defaultval"; then
9117 if test x
"$enablestring" = xdisable
; then
9124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9125 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9126 # Check whether --enable-graphics_ctx was given.
9127 if test "${enable_graphics_ctx+set}" = set; then
9128 enableval
=$enable_graphics_ctx;
9129 if test "$enableval" = yes; then
9130 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9132 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9137 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9142 eval "$wx_cv_use_graphics_ctx"
9144 if test x"$enablestring" = xdisable; then
9145 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9151 result=$wxUSE_GRAPHICS_CONTEXT
9154 { echo "$as_me:$LINENO: result: $result" >&5
9155 echo "${ECHO_T}$result" >&6; }
9159 defaultval=$wxUSE_ALL_FEATURES
9160 if test -z "$defaultval"; then
9161 if test x"$enablestring" = xdisable; then
9168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9170 # Check whether --enable-postscript was given.
9171 if test "${enable_postscript+set}" = set; then
9172 enableval=$enable_postscript;
9173 if test "$enableval" = yes; then
9174 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
9176 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
9181 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9186 eval "$wx_cv_use_postscript"
9188 if test x"$enablestring" = xdisable; then
9189 if test $wxUSE_POSTSCRIPT = no; then
9195 result=$wxUSE_POSTSCRIPT
9198 { echo "$as_me:$LINENO: result
: $result" >&5
9199 echo "${ECHO_T}$result" >&6; }
9203 defaultval=$wxUSE_ALL_FEATURES
9204 if test -z "$defaultval"; then
9205 if test x"$enablestring" = xdisable; then
9212 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
9213 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
9214 # Check whether --enable-printarch was given.
9215 if test "${enable_printarch+set}" = set; then
9216 enableval=$enable_printarch;
9217 if test "$enableval" = yes; then
9218 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9220 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9225 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9230 eval "$wx_cv_use_printarch"
9232 if test x
"$enablestring" = xdisable
; then
9233 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
9239 result
=$wxUSE_PRINTING_ARCHITECTURE
9242 { echo "$as_me:$LINENO: result: $result" >&5
9243 echo "${ECHO_T}$result" >&6; }
9247 defaultval
=$wxUSE_ALL_FEATURES
9248 if test -z "$defaultval"; then
9249 if test x
"$enablestring" = xdisable
; then
9256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9257 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9258 # Check whether --enable-svg was given.
9259 if test "${enable_svg+set}" = set; then
9260 enableval
=$enable_svg;
9261 if test "$enableval" = yes; then
9262 wx_cv_use_svg
='wxUSE_SVG=yes'
9264 wx_cv_use_svg
='wxUSE_SVG=no'
9269 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9274 eval "$wx_cv_use_svg"
9276 if test x"$enablestring" = xdisable; then
9277 if test $wxUSE_SVG = no; then
9286 { echo "$as_me:$LINENO: result: $result" >&5
9287 echo "${ECHO_T}$result" >&6; }
9293 defaultval=$wxUSE_ALL_FEATURES
9294 if test -z "$defaultval"; then
9295 if test x"$enablestring" = xdisable; then
9302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9304 # Check whether --enable-clipboard was given.
9305 if test "${enable_clipboard+set}" = set; then
9306 enableval=$enable_clipboard;
9307 if test "$enableval" = yes; then
9308 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9310 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9315 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9320 eval "$wx_cv_use_clipboard"
9322 if test x"$enablestring" = xdisable; then
9323 if test $wxUSE_CLIPBOARD = no; then
9329 result=$wxUSE_CLIPBOARD
9332 { echo "$as_me:$LINENO: result
: $result" >&5
9333 echo "${ECHO_T}$result" >&6; }
9337 defaultval=$wxUSE_ALL_FEATURES
9338 if test -z "$defaultval"; then
9339 if test x"$enablestring" = xdisable; then
9346 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9347 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9348 # Check whether --enable-dnd was given.
9349 if test "${enable_dnd+set}" = set; then
9350 enableval=$enable_dnd;
9351 if test "$enableval" = yes; then
9352 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9354 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9359 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9364 eval "$wx_cv_use_dnd"
9366 if test x
"$enablestring" = xdisable
; then
9367 if test $wxUSE_DRAG_AND_DROP = no
; then
9373 result
=$wxUSE_DRAG_AND_DROP
9376 { echo "$as_me:$LINENO: result: $result" >&5
9377 echo "${ECHO_T}$result" >&6; }
9381 defaultval
=$wxUSE_ALL_FEATURES
9382 if test -z "$defaultval"; then
9383 if test x
"$enablestring" = xdisable
; then
9390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9392 # Check whether --enable-metafile was given.
9393 if test "${enable_metafile+set}" = set; then
9394 enableval
=$enable_metafile;
9395 if test "$enableval" = yes; then
9396 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9398 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9403 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9408 eval "$wx_cv_use_metafile"
9410 if test x"$enablestring" = xdisable; then
9411 if test $wxUSE_METAFILE = no; then
9417 result=$wxUSE_METAFILE
9420 { echo "$as_me:$LINENO: result: $result" >&5
9421 echo "${ECHO_T}$result" >&6; }
9425 DEFAULT_wxUSE_CONTROLS=none
9427 enablestring=disable
9429 if test -z "$defaultval"; then
9430 if test x"$enablestring" = xdisable; then
9437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9439 # Check whether --enable-controls was given.
9440 if test "${enable_controls+set}" = set; then
9441 enableval=$enable_controls;
9442 if test "$enableval" = yes; then
9443 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9445 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9450 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9455 eval "$wx_cv_use_controls"
9457 if test x"$enablestring" = xdisable; then
9458 if test $wxUSE_CONTROLS = no; then
9464 result=$wxUSE_CONTROLS
9467 { echo "$as_me:$LINENO: result
: $result" >&5
9468 echo "${ECHO_T}$result" >&6; }
9471 if test "$wxUSE_CONTROLS" = "no
"; then
9472 DEFAULT_wxUSE_ACCEL=no
9473 DEFAULT_wxUSE_ANIMATIONCTRL=no
9474 DEFAULT_wxUSE_BMPBUTTON=no
9475 DEFAULT_wxUSE_BUTTON=no
9476 DEFAULT_wxUSE_CALCTRL=no
9477 DEFAULT_wxUSE_CARET=no
9478 DEFAULT_wxUSE_CHECKBOX=no
9479 DEFAULT_wxUSE_CHECKLISTBOX=no
9480 DEFAULT_wxUSE_CHOICE=no
9481 DEFAULT_wxUSE_CHOICEBOOK=no
9482 DEFAULT_wxUSE_COLLPANE=no
9483 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9484 DEFAULT_wxUSE_COMBOBOX=no
9485 DEFAULT_wxUSE_COMBOBOX=no
9486 DEFAULT_wxUSE_DATAVIEWCTRL=no
9487 DEFAULT_wxUSE_DATEPICKCTRL=no
9488 DEFAULT_wxUSE_DETECT_SM=no
9489 DEFAULT_wxUSE_DIRPICKERCTRL=no
9490 DEFAULT_wxUSE_DISPLAY=no
9491 DEFAULT_wxUSE_FILECTRL=no
9492 DEFAULT_wxUSE_FILEPICKERCTRL=no
9493 DEFAULT_wxUSE_FONTPICKERCTRL=no
9494 DEFAULT_wxUSE_GAUGE=no
9495 DEFAULT_wxUSE_GRID=no
9496 DEFAULT_wxUSE_HEADERCTRL=no
9497 DEFAULT_wxUSE_HYPERLINKCTRL=no
9498 DEFAULT_wxUSE_IMAGLIST=no
9499 DEFAULT_wxUSE_LISTBOOK=no
9500 DEFAULT_wxUSE_LISTBOX=no
9501 DEFAULT_wxUSE_LISTCTRL=no
9502 DEFAULT_wxUSE_NOTEBOOK=no
9503 DEFAULT_wxUSE_POPUPWIN=no
9504 DEFAULT_wxUSE_RADIOBOX=no
9505 DEFAULT_wxUSE_RADIOBTN=no
9506 DEFAULT_wxUSE_REARRANGECTRL=no
9507 DEFAULT_wxUSE_SASH=no
9508 DEFAULT_wxUSE_SCROLLBAR=no
9509 DEFAULT_wxUSE_SEARCHCTRL=no
9510 DEFAULT_wxUSE_SLIDER=no
9511 DEFAULT_wxUSE_SPINBTN=no
9512 DEFAULT_wxUSE_SPINCTRL=no
9513 DEFAULT_wxUSE_SPLITTER=no
9514 DEFAULT_wxUSE_STATBMP=no
9515 DEFAULT_wxUSE_STATBOX=no
9516 DEFAULT_wxUSE_STATLINE=no
9517 DEFAULT_wxUSE_STATUSBAR=no
9518 DEFAULT_wxUSE_TIPWINDOW=no
9519 DEFAULT_wxUSE_TOGGLEBTN=no
9520 DEFAULT_wxUSE_TOOLBAR=no
9521 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9522 DEFAULT_wxUSE_TOOLBOOK=no
9523 DEFAULT_wxUSE_TOOLTIPS=no
9524 DEFAULT_wxUSE_TREEBOOK=no
9525 DEFAULT_wxUSE_TREECTRL=no
9530 defaultval=$wxUSE_ALL_FEATURES
9531 if test -z "$defaultval"; then
9532 if test x"$enablestring" = xdisable; then
9539 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9540 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9541 # Check whether --enable-accel was given.
9542 if test "${enable_accel+set}" = set; then
9543 enableval=$enable_accel;
9544 if test "$enableval" = yes; then
9545 wx_cv_use_accel='wxUSE_ACCEL=yes'
9547 wx_cv_use_accel='wxUSE_ACCEL=no'
9552 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9557 eval "$wx_cv_use_accel"
9559 if test x
"$enablestring" = xdisable
; then
9560 if test $wxUSE_ACCEL = no
; then
9569 { echo "$as_me:$LINENO: result: $result" >&5
9570 echo "${ECHO_T}$result" >&6; }
9574 defaultval
=$wxUSE_ALL_FEATURES
9575 if test -z "$defaultval"; then
9576 if test x
"$enablestring" = xdisable
; then
9583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9584 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9585 # Check whether --enable-animatectrl was given.
9586 if test "${enable_animatectrl+set}" = set; then
9587 enableval
=$enable_animatectrl;
9588 if test "$enableval" = yes; then
9589 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9591 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9596 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9601 eval "$wx_cv_use_animatectrl"
9603 if test x"$enablestring" = xdisable; then
9604 if test $wxUSE_ANIMATIONCTRL = no; then
9610 result=$wxUSE_ANIMATIONCTRL
9613 { echo "$as_me:$LINENO: result: $result" >&5
9614 echo "${ECHO_T}$result" >&6; }
9618 defaultval=$wxUSE_ALL_FEATURES
9619 if test -z "$defaultval"; then
9620 if test x"$enablestring" = xdisable; then
9627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9628 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9629 # Check whether --enable-bmpbutton was given.
9630 if test "${enable_bmpbutton+set}" = set; then
9631 enableval=$enable_bmpbutton;
9632 if test "$enableval" = yes; then
9633 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9635 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9640 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9645 eval "$wx_cv_use_bmpbutton"
9647 if test x"$enablestring" = xdisable; then
9648 if test $wxUSE_BMPBUTTON = no; then
9654 result=$wxUSE_BMPBUTTON
9657 { echo "$as_me:$LINENO: result
: $result" >&5
9658 echo "${ECHO_T}$result" >&6; }
9662 defaultval=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x"$enablestring" = xdisable; then
9671 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9672 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9673 # Check whether --enable-bmpcombobox was given.
9674 if test "${enable_bmpcombobox+set}" = set; then
9675 enableval=$enable_bmpcombobox;
9676 if test "$enableval" = yes; then
9677 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9679 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9684 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9689 eval "$wx_cv_use_bmpcombobox"
9691 if test x
"$enablestring" = xdisable
; then
9692 if test $wxUSE_BITMAPCOMBOBOX = no
; then
9698 result
=$wxUSE_BITMAPCOMBOBOX
9701 { echo "$as_me:$LINENO: result: $result" >&5
9702 echo "${ECHO_T}$result" >&6; }
9706 defaultval
=$wxUSE_ALL_FEATURES
9707 if test -z "$defaultval"; then
9708 if test x
"$enablestring" = xdisable
; then
9715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9717 # Check whether --enable-button was given.
9718 if test "${enable_button+set}" = set; then
9719 enableval
=$enable_button;
9720 if test "$enableval" = yes; then
9721 wx_cv_use_button
='wxUSE_BUTTON=yes'
9723 wx_cv_use_button
='wxUSE_BUTTON=no'
9728 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9733 eval "$wx_cv_use_button"
9735 if test x"$enablestring" = xdisable; then
9736 if test $wxUSE_BUTTON = no; then
9742 result=$wxUSE_BUTTON
9745 { echo "$as_me:$LINENO: result: $result" >&5
9746 echo "${ECHO_T}$result" >&6; }
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9761 # Check whether --enable-calendar was given.
9762 if test "${enable_calendar+set}" = set; then
9763 enableval=$enable_calendar;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
9767 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
9772 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9777 eval "$wx_cv_use_calendar"
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_CALCTRL = no; then
9786 result=$wxUSE_CALCTRL
9789 { echo "$as_me:$LINENO: result
: $result" >&5
9790 echo "${ECHO_T}$result" >&6; }
9794 defaultval=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9803 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
9804 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
9805 # Check whether --enable-caret was given.
9806 if test "${enable_caret+set}" = set; then
9807 enableval=$enable_caret;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_caret='wxUSE_CARET=yes'
9811 wx_cv_use_caret='wxUSE_CARET=no'
9816 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9821 eval "$wx_cv_use_caret"
9823 if test x
"$enablestring" = xdisable
; then
9824 if test $wxUSE_CARET = no
; then
9833 { echo "$as_me:$LINENO: result: $result" >&5
9834 echo "${ECHO_T}$result" >&6; }
9838 defaultval
=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x
"$enablestring" = xdisable
; then
9847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9849 # Check whether --enable-checkbox was given.
9850 if test "${enable_checkbox+set}" = set; then
9851 enableval
=$enable_checkbox;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
9855 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
9860 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9865 eval "$wx_cv_use_checkbox"
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_CHECKBOX = no; then
9874 result=$wxUSE_CHECKBOX
9877 { echo "$as_me:$LINENO: result: $result" >&5
9878 echo "${ECHO_T}$result" >&6; }
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9893 # Check whether --enable-checklst was given.
9894 if test "${enable_checklst+set}" = set; then
9895 enableval=$enable_checklst;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
9899 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
9904 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9909 eval "$wx_cv_use_checklst"
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_CHECKLST = no; then
9918 result=$wxUSE_CHECKLST
9921 { echo "$as_me:$LINENO: result
: $result" >&5
9922 echo "${ECHO_T}$result" >&6; }
9926 defaultval=$wxUSE_ALL_FEATURES
9927 if test -z "$defaultval"; then
9928 if test x"$enablestring" = xdisable; then
9935 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
9936 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
9937 # Check whether --enable-choice was given.
9938 if test "${enable_choice+set}" = set; then
9939 enableval=$enable_choice;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_choice='wxUSE_CHOICE=yes'
9943 wx_cv_use_choice='wxUSE_CHOICE=no'
9948 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9953 eval "$wx_cv_use_choice"
9955 if test x
"$enablestring" = xdisable
; then
9956 if test $wxUSE_CHOICE = no
; then
9962 result
=$wxUSE_CHOICE
9965 { echo "$as_me:$LINENO: result: $result" >&5
9966 echo "${ECHO_T}$result" >&6; }
9970 defaultval
=$wxUSE_ALL_FEATURES
9971 if test -z "$defaultval"; then
9972 if test x
"$enablestring" = xdisable
; then
9979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9980 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9981 # Check whether --enable-choicebook was given.
9982 if test "${enable_choicebook+set}" = set; then
9983 enableval
=$enable_choicebook;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
9987 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
9992 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9997 eval "$wx_cv_use_choicebook"
9999 if test x"$enablestring" = xdisable; then
10000 if test $wxUSE_CHOICEBOOK = no; then
10006 result=$wxUSE_CHOICEBOOK
10009 { echo "$as_me:$LINENO: result: $result" >&5
10010 echo "${ECHO_T}$result" >&6; }
10014 defaultval=$wxUSE_ALL_FEATURES
10015 if test -z "$defaultval"; then
10016 if test x"$enablestring" = xdisable; then
10023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10025 # Check whether --enable-collpane was given.
10026 if test "${enable_collpane+set}" = set; then
10027 enableval=$enable_collpane;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10031 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10036 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10041 eval "$wx_cv_use_collpane"
10043 if test x"$enablestring" = xdisable; then
10044 if test $wxUSE_COLLPANE = no; then
10050 result=$wxUSE_COLLPANE
10053 { echo "$as_me:$LINENO: result
: $result" >&5
10054 echo "${ECHO_T}$result" >&6; }
10058 defaultval=$wxUSE_ALL_FEATURES
10059 if test -z "$defaultval"; then
10060 if test x"$enablestring" = xdisable; then
10067 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10068 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10069 # Check whether --enable-colourpicker was given.
10070 if test "${enable_colourpicker+set}" = set; then
10071 enableval=$enable_colourpicker;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10075 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10080 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10085 eval "$wx_cv_use_colourpicker"
10087 if test x
"$enablestring" = xdisable
; then
10088 if test $wxUSE_COLOURPICKERCTRL = no
; then
10094 result
=$wxUSE_COLOURPICKERCTRL
10097 { echo "$as_me:$LINENO: result: $result" >&5
10098 echo "${ECHO_T}$result" >&6; }
10102 defaultval
=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x
"$enablestring" = xdisable
; then
10111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10113 # Check whether --enable-combobox was given.
10114 if test "${enable_combobox+set}" = set; then
10115 enableval
=$enable_combobox;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10119 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10124 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10129 eval "$wx_cv_use_combobox"
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_COMBOBOX = no; then
10138 result=$wxUSE_COMBOBOX
10141 { echo "$as_me:$LINENO: result: $result" >&5
10142 echo "${ECHO_T}$result" >&6; }
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z "$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10157 # Check whether --enable-comboctrl was given.
10158 if test "${enable_comboctrl+set}" = set; then
10159 enableval=$enable_comboctrl;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10163 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10168 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10173 eval "$wx_cv_use_comboctrl"
10175 if test x"$enablestring" = xdisable; then
10176 if test $wxUSE_COMBOCTRL = no; then
10182 result=$wxUSE_COMBOCTRL
10185 { echo "$as_me:$LINENO: result
: $result" >&5
10186 echo "${ECHO_T}$result" >&6; }
10190 defaultval=$wxUSE_ALL_FEATURES
10191 if test -z "$defaultval"; then
10192 if test x"$enablestring" = xdisable; then
10199 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10200 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10201 # Check whether --enable-dataviewctrl was given.
10202 if test "${enable_dataviewctrl+set}" = set; then
10203 enableval=$enable_dataviewctrl;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10207 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10212 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10217 eval "$wx_cv_use_dataviewctrl"
10219 if test x
"$enablestring" = xdisable
; then
10220 if test $wxUSE_DATAVIEWCTRL = no
; then
10226 result
=$wxUSE_DATAVIEWCTRL
10229 { echo "$as_me:$LINENO: result: $result" >&5
10230 echo "${ECHO_T}$result" >&6; }
10234 defaultval
=$wxUSE_ALL_FEATURES
10235 if test -z "$defaultval"; then
10236 if test x
"$enablestring" = xdisable
; then
10243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10245 # Check whether --enable-datepick was given.
10246 if test "${enable_datepick+set}" = set; then
10247 enableval
=$enable_datepick;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10251 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10256 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10261 eval "$wx_cv_use_datepick"
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_DATEPICKCTRL = no; then
10270 result=$wxUSE_DATEPICKCTRL
10273 { echo "$as_me:$LINENO: result: $result" >&5
10274 echo "${ECHO_T}$result" >&6; }
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10289 # Check whether --enable-detect_sm was given.
10290 if test "${enable_detect_sm+set}" = set; then
10291 enableval=$enable_detect_sm;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10295 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10300 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10305 eval "$wx_cv_use_detect_sm"
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_DETECT_SM = no; then
10314 result=$wxUSE_DETECT_SM
10317 { echo "$as_me:$LINENO: result
: $result" >&5
10318 echo "${ECHO_T}$result" >&6; }
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10331 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10332 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10333 # Check whether --enable-dirpicker was given.
10334 if test "${enable_dirpicker+set}" = set; then
10335 enableval=$enable_dirpicker;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10339 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10344 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10349 eval "$wx_cv_use_dirpicker"
10351 if test x
"$enablestring" = xdisable
; then
10352 if test $wxUSE_DIRPICKERCTRL = no
; then
10358 result
=$wxUSE_DIRPICKERCTRL
10361 { echo "$as_me:$LINENO: result: $result" >&5
10362 echo "${ECHO_T}$result" >&6; }
10366 defaultval
=$wxUSE_ALL_FEATURES
10367 if test -z "$defaultval"; then
10368 if test x
"$enablestring" = xdisable
; then
10375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10376 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10377 # Check whether --enable-display was given.
10378 if test "${enable_display+set}" = set; then
10379 enableval
=$enable_display;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10383 wx_cv_use_display
='wxUSE_DISPLAY=no'
10388 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10393 eval "$wx_cv_use_display"
10395 if test x"$enablestring" = xdisable; then
10396 if test $wxUSE_DISPLAY = no; then
10402 result=$wxUSE_DISPLAY
10405 { echo "$as_me:$LINENO: result: $result" >&5
10406 echo "${ECHO_T}$result" >&6; }
10410 defaultval=$wxUSE_ALL_FEATURES
10411 if test -z "$defaultval"; then
10412 if test x"$enablestring" = xdisable; then
10419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10420 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10421 # Check whether --enable-editablebox was given.
10422 if test "${enable_editablebox+set}" = set; then
10423 enableval=$enable_editablebox;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10427 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10432 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10437 eval "$wx_cv_use_editablebox"
10439 if test x"$enablestring" = xdisable; then
10440 if test $wxUSE_EDITABLELISTBOX = no; then
10446 result=$wxUSE_EDITABLELISTBOX
10449 { echo "$as_me:$LINENO: result
: $result" >&5
10450 echo "${ECHO_T}$result" >&6; }
10454 defaultval=$wxUSE_ALL_FEATURES
10455 if test -z "$defaultval"; then
10456 if test x"$enablestring" = xdisable; then
10463 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
10464 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
10465 # Check whether --enable-filectrl was given.
10466 if test "${enable_filectrl+set}" = set; then
10467 enableval=$enable_filectrl;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10471 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10476 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10481 eval "$wx_cv_use_filectrl"
10483 if test x
"$enablestring" = xdisable
; then
10484 if test $wxUSE_FILECTRL = no
; then
10490 result
=$wxUSE_FILECTRL
10493 { echo "$as_me:$LINENO: result: $result" >&5
10494 echo "${ECHO_T}$result" >&6; }
10498 defaultval
=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x
"$enablestring" = xdisable
; then
10507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10508 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10509 # Check whether --enable-filepicker was given.
10510 if test "${enable_filepicker+set}" = set; then
10511 enableval
=$enable_filepicker;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10515 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10520 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10525 eval "$wx_cv_use_filepicker"
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_FILEPICKERCTRL = no; then
10534 result=$wxUSE_FILEPICKERCTRL
10537 { echo "$as_me:$LINENO: result: $result" >&5
10538 echo "${ECHO_T}$result" >&6; }
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10553 # Check whether --enable-fontpicker was given.
10554 if test "${enable_fontpicker+set}" = set; then
10555 enableval=$enable_fontpicker;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
10559 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
10564 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10569 eval "$wx_cv_use_fontpicker"
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_FONTPICKERCTRL = no; then
10578 result=$wxUSE_FONTPICKERCTRL
10581 { echo "$as_me:$LINENO: result
: $result" >&5
10582 echo "${ECHO_T}$result" >&6; }
10586 defaultval=$wxUSE_ALL_FEATURES
10587 if test -z "$defaultval"; then
10588 if test x"$enablestring" = xdisable; then
10595 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
10596 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
10597 # Check whether --enable-gauge was given.
10598 if test "${enable_gauge+set}" = set; then
10599 enableval=$enable_gauge;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10603 wx_cv_use_gauge='wxUSE_GAUGE=no'
10608 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10613 eval "$wx_cv_use_gauge"
10615 if test x
"$enablestring" = xdisable
; then
10616 if test $wxUSE_GAUGE = no
; then
10622 result
=$wxUSE_GAUGE
10625 { echo "$as_me:$LINENO: result: $result" >&5
10626 echo "${ECHO_T}$result" >&6; }
10630 defaultval
=$wxUSE_ALL_FEATURES
10631 if test -z "$defaultval"; then
10632 if test x
"$enablestring" = xdisable
; then
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10641 # Check whether --enable-grid was given.
10642 if test "${enable_grid+set}" = set; then
10643 enableval
=$enable_grid;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_grid
='wxUSE_GRID=yes'
10647 wx_cv_use_grid
='wxUSE_GRID=no'
10652 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10657 eval "$wx_cv_use_grid"
10659 if test x"$enablestring" = xdisable; then
10660 if test $wxUSE_GRID = no; then
10669 { echo "$as_me:$LINENO: result: $result" >&5
10670 echo "${ECHO_T}$result" >&6; }
10674 defaultval=$wxUSE_ALL_FEATURES
10675 if test -z "$defaultval"; then
10676 if test x"$enablestring" = xdisable; then
10683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10684 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10685 # Check whether --enable-headerctrl was given.
10686 if test "${enable_headerctrl+set}" = set; then
10687 enableval=$enable_headerctrl;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
10691 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
10696 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10701 eval "$wx_cv_use_headerctrl"
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_HEADERCTRL = no; then
10710 result=$wxUSE_HEADERCTRL
10713 { echo "$as_me:$LINENO: result
: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10727 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
10728 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
10729 # Check whether --enable-hyperlink was given.
10730 if test "${enable_hyperlink+set}" = set; then
10731 enableval=$enable_hyperlink;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10735 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10740 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10745 eval "$wx_cv_use_hyperlink"
10747 if test x
"$enablestring" = xdisable
; then
10748 if test $wxUSE_HYPERLINKCTRL = no
; then
10754 result
=$wxUSE_HYPERLINKCTRL
10757 { echo "$as_me:$LINENO: result: $result" >&5
10758 echo "${ECHO_T}$result" >&6; }
10762 defaultval
=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x
"$enablestring" = xdisable
; then
10771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10773 # Check whether --enable-imaglist was given.
10774 if test "${enable_imaglist+set}" = set; then
10775 enableval
=$enable_imaglist;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
10779 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
10784 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10789 eval "$wx_cv_use_imaglist"
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_IMAGLIST = no; then
10798 result=$wxUSE_IMAGLIST
10801 { echo "$as_me:$LINENO: result: $result" >&5
10802 echo "${ECHO_T}$result" >&6; }
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z "$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10816 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10817 # Check whether --enable-listbook was given.
10818 if test "${enable_listbook+set}" = set; then
10819 enableval=$enable_listbook;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
10823 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
10828 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10833 eval "$wx_cv_use_listbook"
10835 if test x"$enablestring" = xdisable; then
10836 if test $wxUSE_LISTBOOK = no; then
10842 result=$wxUSE_LISTBOOK
10845 { echo "$as_me:$LINENO: result
: $result" >&5
10846 echo "${ECHO_T}$result" >&6; }
10850 defaultval=$wxUSE_ALL_FEATURES
10851 if test -z "$defaultval"; then
10852 if test x"$enablestring" = xdisable; then
10859 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
10860 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
10861 # Check whether --enable-listbox was given.
10862 if test "${enable_listbox+set}" = set; then
10863 enableval=$enable_listbox;
10864 if test "$enableval" = yes; then
10865 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10867 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10872 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10877 eval "$wx_cv_use_listbox"
10879 if test x
"$enablestring" = xdisable
; then
10880 if test $wxUSE_LISTBOX = no
; then
10886 result
=$wxUSE_LISTBOX
10889 { echo "$as_me:$LINENO: result: $result" >&5
10890 echo "${ECHO_T}$result" >&6; }
10894 defaultval
=$wxUSE_ALL_FEATURES
10895 if test -z "$defaultval"; then
10896 if test x
"$enablestring" = xdisable
; then
10903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10904 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10905 # Check whether --enable-listctrl was given.
10906 if test "${enable_listctrl+set}" = set; then
10907 enableval
=$enable_listctrl;
10908 if test "$enableval" = yes; then
10909 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
10911 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
10916 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10921 eval "$wx_cv_use_listctrl"
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_LISTCTRL = no; then
10930 result=$wxUSE_LISTCTRL
10933 { echo "$as_me:$LINENO: result: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10949 # Check whether --enable-notebook was given.
10950 if test "${enable_notebook+set}" = set; then
10951 enableval=$enable_notebook;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
10955 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
10960 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10965 eval "$wx_cv_use_notebook"
10967 if test x"$enablestring" = xdisable; then
10968 if test $wxUSE_NOTEBOOK = no; then
10974 result=$wxUSE_NOTEBOOK
10977 { echo "$as_me:$LINENO: result
: $result" >&5
10978 echo "${ECHO_T}$result" >&6; }
10982 defaultval=$wxUSE_ALL_FEATURES
10983 if test -z "$defaultval"; then
10984 if test x"$enablestring" = xdisable; then
10991 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notifmsg" >&5
10992 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
10993 # Check whether --enable-notifmsg was given.
10994 if test "${enable_notifmsg+set}" = set; then
10995 enableval=$enable_notifmsg;
10996 if test "$enableval" = yes; then
10997 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10999 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11004 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11009 eval "$wx_cv_use_notifmsg"
11011 if test x
"$enablestring" = xdisable
; then
11012 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
11018 result
=$wxUSE_NOTIFICATION_MESSAGE
11021 { echo "$as_me:$LINENO: result: $result" >&5
11022 echo "${ECHO_T}$result" >&6; }
11026 defaultval
=$wxUSE_ALL_FEATURES
11027 if test -z "$defaultval"; then
11028 if test x
"$enablestring" = xdisable
; then
11035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11037 # Check whether --enable-odcombobox was given.
11038 if test "${enable_odcombobox+set}" = set; then
11039 enableval
=$enable_odcombobox;
11040 if test "$enableval" = yes; then
11041 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
11043 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
11048 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11053 eval "$wx_cv_use_odcombobox"
11055 if test x"$enablestring" = xdisable; then
11056 if test $wxUSE_ODCOMBOBOX = no; then
11062 result=$wxUSE_ODCOMBOBOX
11065 { echo "$as_me:$LINENO: result: $result" >&5
11066 echo "${ECHO_T}$result" >&6; }
11070 defaultval=$wxUSE_ALL_FEATURES
11071 if test -z "$defaultval"; then
11072 if test x"$enablestring" = xdisable; then
11079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11080 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11081 # Check whether --enable-popupwin was given.
11082 if test "${enable_popupwin+set}" = set; then
11083 enableval=$enable_popupwin;
11084 if test "$enableval" = yes; then
11085 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
11087 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
11092 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11097 eval "$wx_cv_use_popupwin"
11099 if test x"$enablestring" = xdisable; then
11100 if test $wxUSE_POPUPWIN = no; then
11106 result=$wxUSE_POPUPWIN
11109 { echo "$as_me:$LINENO: result
: $result" >&5
11110 echo "${ECHO_T}$result" >&6; }
11114 defaultval=$wxUSE_ALL_FEATURES
11115 if test -z "$defaultval"; then
11116 if test x"$enablestring" = xdisable; then
11123 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11124 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11125 # Check whether --enable-radiobox was given.
11126 if test "${enable_radiobox+set}" = set; then
11127 enableval=$enable_radiobox;
11128 if test "$enableval" = yes; then
11129 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11131 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11136 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11141 eval "$wx_cv_use_radiobox"
11143 if test x
"$enablestring" = xdisable
; then
11144 if test $wxUSE_RADIOBOX = no
; then
11150 result
=$wxUSE_RADIOBOX
11153 { echo "$as_me:$LINENO: result: $result" >&5
11154 echo "${ECHO_T}$result" >&6; }
11158 defaultval
=$wxUSE_ALL_FEATURES
11159 if test -z "$defaultval"; then
11160 if test x
"$enablestring" = xdisable
; then
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11169 # Check whether --enable-radiobtn was given.
11170 if test "${enable_radiobtn+set}" = set; then
11171 enableval
=$enable_radiobtn;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11175 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11180 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11185 eval "$wx_cv_use_radiobtn"
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_RADIOBTN = no; then
11194 result=$wxUSE_RADIOBTN
11197 { echo "$as_me:$LINENO: result: $result" >&5
11198 echo "${ECHO_T}$result" >&6; }
11202 defaultval=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x"$enablestring" = xdisable; then
11211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11213 # Check whether --enable-rearrangectrl was given.
11214 if test "${enable_rearrangectrl+set}" = set; then
11215 enableval=$enable_rearrangectrl;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11219 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11224 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11229 eval "$wx_cv_use_rearrangectrl"
11231 if test x"$enablestring" = xdisable; then
11232 if test $wxUSE_REARRANGECTRL = no; then
11238 result=$wxUSE_REARRANGECTRL
11241 { echo "$as_me:$LINENO: result
: $result" >&5
11242 echo "${ECHO_T}$result" >&6; }
11246 defaultval=$wxUSE_ALL_FEATURES
11247 if test -z "$defaultval"; then
11248 if test x"$enablestring" = xdisable; then
11255 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11256 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11257 # Check whether --enable-sash was given.
11258 if test "${enable_sash+set}" = set; then
11259 enableval=$enable_sash;
11260 if test "$enableval" = yes; then
11261 wx_cv_use_sash='wxUSE_SASH=yes'
11263 wx_cv_use_sash='wxUSE_SASH=no'
11268 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11273 eval "$wx_cv_use_sash"
11275 if test x
"$enablestring" = xdisable
; then
11276 if test $wxUSE_SASH = no
; then
11285 { echo "$as_me:$LINENO: result: $result" >&5
11286 echo "${ECHO_T}$result" >&6; }
11290 defaultval
=$wxUSE_ALL_FEATURES
11291 if test -z "$defaultval"; then
11292 if test x
"$enablestring" = xdisable
; then
11299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11300 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11301 # Check whether --enable-scrollbar was given.
11302 if test "${enable_scrollbar+set}" = set; then
11303 enableval
=$enable_scrollbar;
11304 if test "$enableval" = yes; then
11305 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11307 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11312 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11317 eval "$wx_cv_use_scrollbar"
11319 if test x"$enablestring" = xdisable; then
11320 if test $wxUSE_SCROLLBAR = no; then
11326 result=$wxUSE_SCROLLBAR
11329 { echo "$as_me:$LINENO: result: $result" >&5
11330 echo "${ECHO_T}$result" >&6; }
11334 defaultval=$wxUSE_ALL_FEATURES
11335 if test -z "$defaultval"; then
11336 if test x"$enablestring" = xdisable; then
11343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11344 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11345 # Check whether --enable-searchctrl was given.
11346 if test "${enable_searchctrl+set}" = set; then
11347 enableval=$enable_searchctrl;
11348 if test "$enableval" = yes; then
11349 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11351 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11356 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11361 eval "$wx_cv_use_searchctrl"
11363 if test x"$enablestring" = xdisable; then
11364 if test $wxUSE_SEARCHCTRL = no; then
11370 result=$wxUSE_SEARCHCTRL
11373 { echo "$as_me:$LINENO: result
: $result" >&5
11374 echo "${ECHO_T}$result" >&6; }
11378 defaultval=$wxUSE_ALL_FEATURES
11379 if test -z "$defaultval"; then
11380 if test x"$enablestring" = xdisable; then
11387 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11388 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11389 # Check whether --enable-slider was given.
11390 if test "${enable_slider+set}" = set; then
11391 enableval=$enable_slider;
11392 if test "$enableval" = yes; then
11393 wx_cv_use_slider='wxUSE_SLIDER=yes'
11395 wx_cv_use_slider='wxUSE_SLIDER=no'
11400 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11405 eval "$wx_cv_use_slider"
11407 if test x
"$enablestring" = xdisable
; then
11408 if test $wxUSE_SLIDER = no
; then
11414 result
=$wxUSE_SLIDER
11417 { echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6; }
11422 defaultval
=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x
"$enablestring" = xdisable
; then
11431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11433 # Check whether --enable-spinbtn was given.
11434 if test "${enable_spinbtn+set}" = set; then
11435 enableval
=$enable_spinbtn;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11439 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11444 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11449 eval "$wx_cv_use_spinbtn"
11451 if test x"$enablestring" = xdisable; then
11452 if test $wxUSE_SPINBTN = no; then
11458 result=$wxUSE_SPINBTN
11461 { echo "$as_me:$LINENO: result: $result" >&5
11462 echo "${ECHO_T}$result" >&6; }
11466 defaultval=$wxUSE_ALL_FEATURES
11467 if test -z "$defaultval"; then
11468 if test x"$enablestring" = xdisable; then
11475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11476 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11477 # Check whether --enable-spinctrl was given.
11478 if test "${enable_spinctrl+set}" = set; then
11479 enableval=$enable_spinctrl;
11480 if test "$enableval" = yes; then
11481 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11483 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11488 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11493 eval "$wx_cv_use_spinctrl"
11495 if test x"$enablestring" = xdisable; then
11496 if test $wxUSE_SPINCTRL = no; then
11502 result=$wxUSE_SPINCTRL
11505 { echo "$as_me:$LINENO: result
: $result" >&5
11506 echo "${ECHO_T}$result" >&6; }
11510 defaultval=$wxUSE_ALL_FEATURES
11511 if test -z "$defaultval"; then
11512 if test x"$enablestring" = xdisable; then
11519 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
11520 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11521 # Check whether --enable-splitter was given.
11522 if test "${enable_splitter+set}" = set; then
11523 enableval=$enable_splitter;
11524 if test "$enableval" = yes; then
11525 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11527 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11532 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11537 eval "$wx_cv_use_splitter"
11539 if test x
"$enablestring" = xdisable
; then
11540 if test $wxUSE_SPLITTER = no
; then
11546 result
=$wxUSE_SPLITTER
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11554 defaultval
=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x
"$enablestring" = xdisable
; then
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11565 # Check whether --enable-statbmp was given.
11566 if test "${enable_statbmp+set}" = set; then
11567 enableval
=$enable_statbmp;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11571 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11576 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11581 eval "$wx_cv_use_statbmp"
11583 if test x"$enablestring" = xdisable; then
11584 if test $wxUSE_STATBMP = no; then
11590 result=$wxUSE_STATBMP
11593 { echo "$as_me:$LINENO: result: $result" >&5
11594 echo "${ECHO_T}$result" >&6; }
11598 defaultval=$wxUSE_ALL_FEATURES
11599 if test -z "$defaultval"; then
11600 if test x"$enablestring" = xdisable; then
11607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11608 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11609 # Check whether --enable-statbox was given.
11610 if test "${enable_statbox+set}" = set; then
11611 enableval=$enable_statbox;
11612 if test "$enableval" = yes; then
11613 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
11615 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
11620 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11625 eval "$wx_cv_use_statbox"
11627 if test x"$enablestring" = xdisable; then
11628 if test $wxUSE_STATBOX = no; then
11634 result=$wxUSE_STATBOX
11637 { echo "$as_me:$LINENO: result
: $result" >&5
11638 echo "${ECHO_T}$result" >&6; }
11642 defaultval=$wxUSE_ALL_FEATURES
11643 if test -z "$defaultval"; then
11644 if test x"$enablestring" = xdisable; then
11651 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
11652 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
11653 # Check whether --enable-statline was given.
11654 if test "${enable_statline+set}" = set; then
11655 enableval=$enable_statline;
11656 if test "$enableval" = yes; then
11657 wx_cv_use_statline='wxUSE_STATLINE=yes'
11659 wx_cv_use_statline='wxUSE_STATLINE=no'
11664 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11669 eval "$wx_cv_use_statline"
11671 if test x
"$enablestring" = xdisable
; then
11672 if test $wxUSE_STATLINE = no
; then
11678 result
=$wxUSE_STATLINE
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11686 defaultval
=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x
"$enablestring" = xdisable
; then
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11697 # Check whether --enable-stattext was given.
11698 if test "${enable_stattext+set}" = set; then
11699 enableval
=$enable_stattext;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
11703 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
11708 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11713 eval "$wx_cv_use_stattext"
11715 if test x"$enablestring" = xdisable; then
11716 if test $wxUSE_STATTEXT = no; then
11722 result=$wxUSE_STATTEXT
11725 { echo "$as_me:$LINENO: result: $result" >&5
11726 echo "${ECHO_T}$result" >&6; }
11730 defaultval=$wxUSE_ALL_FEATURES
11731 if test -z "$defaultval"; then
11732 if test x"$enablestring" = xdisable; then
11739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11740 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11741 # Check whether --enable-statusbar was given.
11742 if test "${enable_statusbar+set}" = set; then
11743 enableval=$enable_statusbar;
11744 if test "$enableval" = yes; then
11745 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
11747 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
11752 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11757 eval "$wx_cv_use_statusbar"
11759 if test x"$enablestring" = xdisable; then
11760 if test $wxUSE_STATUSBAR = no; then
11766 result=$wxUSE_STATUSBAR
11769 { echo "$as_me:$LINENO: result
: $result" >&5
11770 echo "${ECHO_T}$result" >&6; }
11774 defaultval=$wxUSE_ALL_FEATURES
11775 if test -z "$defaultval"; then
11776 if test x"$enablestring" = xdisable; then
11783 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11784 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11785 # Check whether --enable-taskbaricon was given.
11786 if test "${enable_taskbaricon+set}" = set; then
11787 enableval=$enable_taskbaricon;
11788 if test "$enableval" = yes; then
11789 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11791 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11796 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11801 eval "$wx_cv_use_taskbaricon"
11803 if test x
"$enablestring" = xdisable
; then
11804 if test $wxUSE_TASKBARICON = no
; then
11810 result
=$wxUSE_TASKBARICON
11813 { echo "$as_me:$LINENO: result: $result" >&5
11814 echo "${ECHO_T}$result" >&6; }
11818 defaultval
=$wxUSE_ALL_FEATURES
11819 if test -z "$defaultval"; then
11820 if test x
"$enablestring" = xdisable
; then
11827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11828 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11829 # Check whether --enable-tbarnative was given.
11830 if test "${enable_tbarnative+set}" = set; then
11831 enableval
=$enable_tbarnative;
11832 if test "$enableval" = yes; then
11833 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11835 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11840 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11845 eval "$wx_cv_use_tbarnative"
11847 if test x"$enablestring" = xdisable; then
11848 if test $wxUSE_TOOLBAR_NATIVE = no; then
11854 result=$wxUSE_TOOLBAR_NATIVE
11857 { echo "$as_me:$LINENO: result: $result" >&5
11858 echo "${ECHO_T}$result" >&6; }
11862 defaultval=$wxUSE_ALL_FEATURES
11863 if test -z "$defaultval"; then
11864 if test x"$enablestring" = xdisable; then
11871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11873 # Check whether --enable-textctrl was given.
11874 if test "${enable_textctrl+set}" = set; then
11875 enableval=$enable_textctrl;
11876 if test "$enableval" = yes; then
11877 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
11879 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
11884 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11889 eval "$wx_cv_use_textctrl"
11891 if test x"$enablestring" = xdisable; then
11892 if test $wxUSE_TEXTCTRL = no; then
11898 result=$wxUSE_TEXTCTRL
11901 { echo "$as_me:$LINENO: result
: $result" >&5
11902 echo "${ECHO_T}$result" >&6; }
11906 defaultval=$wxUSE_ALL_FEATURES
11907 if test -z "$defaultval"; then
11908 if test x"$enablestring" = xdisable; then
11915 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
11916 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
11917 # Check whether --enable-tipwindow was given.
11918 if test "${enable_tipwindow+set}" = set; then
11919 enableval=$enable_tipwindow;
11920 if test "$enableval" = yes; then
11921 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11923 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11928 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11933 eval "$wx_cv_use_tipwindow"
11935 if test x
"$enablestring" = xdisable
; then
11936 if test $wxUSE_TIPWINDOW = no
; then
11942 result
=$wxUSE_TIPWINDOW
11945 { echo "$as_me:$LINENO: result: $result" >&5
11946 echo "${ECHO_T}$result" >&6; }
11950 defaultval
=$wxUSE_ALL_FEATURES
11951 if test -z "$defaultval"; then
11952 if test x
"$enablestring" = xdisable
; then
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11961 # Check whether --enable-togglebtn was given.
11962 if test "${enable_togglebtn+set}" = set; then
11963 enableval
=$enable_togglebtn;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
11967 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
11972 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11977 eval "$wx_cv_use_togglebtn"
11979 if test x"$enablestring" = xdisable; then
11980 if test $wxUSE_TOGGLEBTN = no; then
11986 result=$wxUSE_TOGGLEBTN
11989 { echo "$as_me:$LINENO: result: $result" >&5
11990 echo "${ECHO_T}$result" >&6; }
11994 defaultval=$wxUSE_ALL_FEATURES
11995 if test -z "$defaultval"; then
11996 if test x"$enablestring" = xdisable; then
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12005 # Check whether --enable-toolbar was given.
12006 if test "${enable_toolbar+set}" = set; then
12007 enableval=$enable_toolbar;
12008 if test "$enableval" = yes; then
12009 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12011 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12016 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12021 eval "$wx_cv_use_toolbar"
12023 if test x"$enablestring" = xdisable; then
12024 if test $wxUSE_TOOLBAR = no; then
12030 result=$wxUSE_TOOLBAR
12033 { echo "$as_me:$LINENO: result
: $result" >&5
12034 echo "${ECHO_T}$result" >&6; }
12038 defaultval=$wxUSE_ALL_FEATURES
12039 if test -z "$defaultval"; then
12040 if test x"$enablestring" = xdisable; then
12047 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12048 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12049 # Check whether --enable-toolbook was given.
12050 if test "${enable_toolbook+set}" = set; then
12051 enableval=$enable_toolbook;
12052 if test "$enableval" = yes; then
12053 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12055 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12060 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12065 eval "$wx_cv_use_toolbook"
12067 if test x
"$enablestring" = xdisable
; then
12068 if test $wxUSE_TOOLBOOK = no
; then
12074 result
=$wxUSE_TOOLBOOK
12077 { echo "$as_me:$LINENO: result: $result" >&5
12078 echo "${ECHO_T}$result" >&6; }
12082 defaultval
=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x
"$enablestring" = xdisable
; then
12091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12093 # Check whether --enable-treebook was given.
12094 if test "${enable_treebook+set}" = set; then
12095 enableval
=$enable_treebook;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12099 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12104 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12109 eval "$wx_cv_use_treebook"
12111 if test x"$enablestring" = xdisable; then
12112 if test $wxUSE_TREEBOOK = no; then
12118 result=$wxUSE_TREEBOOK
12121 { echo "$as_me:$LINENO: result: $result" >&5
12122 echo "${ECHO_T}$result" >&6; }
12126 defaultval=$wxUSE_ALL_FEATURES
12127 if test -z "$defaultval"; then
12128 if test x"$enablestring" = xdisable; then
12135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12136 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12137 # Check whether --enable-treectrl was given.
12138 if test "${enable_treectrl+set}" = set; then
12139 enableval=$enable_treectrl;
12140 if test "$enableval" = yes; then
12141 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12143 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12148 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12153 eval "$wx_cv_use_treectrl"
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_TREECTRL = no; then
12162 result=$wxUSE_TREECTRL
12165 { echo "$as_me:$LINENO: result
: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12172 defaultval=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x"$enablestring" = xdisable; then
12181 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12182 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12183 # Check whether --enable-commondlg was given.
12184 if test "${enable_commondlg+set}" = set; then
12185 enableval=$enable_commondlg;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12189 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12194 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12199 eval "$wx_cv_use_commondlg"
12201 if test x
"$enablestring" = xdisable
; then
12202 if test $wxUSE_COMMONDLGS = no
; then
12208 result
=$wxUSE_COMMONDLGS
12211 { echo "$as_me:$LINENO: result: $result" >&5
12212 echo "${ECHO_T}$result" >&6; }
12216 defaultval
=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x
"$enablestring" = xdisable
; then
12225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12226 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12227 # Check whether --enable-aboutdlg was given.
12228 if test "${enable_aboutdlg+set}" = set; then
12229 enableval
=$enable_aboutdlg;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12233 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12238 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12243 eval "$wx_cv_use_aboutdlg"
12245 if test x"$enablestring" = xdisable; then
12246 if test $wxUSE_ABOUTDLG = no; then
12252 result=$wxUSE_ABOUTDLG
12255 { echo "$as_me:$LINENO: result: $result" >&5
12256 echo "${ECHO_T}$result" >&6; }
12260 defaultval=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x"$enablestring" = xdisable; then
12269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12270 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12271 # Check whether --enable-choicedlg was given.
12272 if test "${enable_choicedlg+set}" = set; then
12273 enableval=$enable_choicedlg;
12274 if test "$enableval" = yes; then
12275 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12277 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12282 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12287 eval "$wx_cv_use_choicedlg"
12289 if test x"$enablestring" = xdisable; then
12290 if test $wxUSE_CHOICEDLG = no; then
12296 result=$wxUSE_CHOICEDLG
12299 { echo "$as_me:$LINENO: result
: $result" >&5
12300 echo "${ECHO_T}$result" >&6; }
12304 defaultval=$wxUSE_ALL_FEATURES
12305 if test -z "$defaultval"; then
12306 if test x"$enablestring" = xdisable; then
12313 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12314 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12315 # Check whether --enable-coldlg was given.
12316 if test "${enable_coldlg+set}" = set; then
12317 enableval=$enable_coldlg;
12318 if test "$enableval" = yes; then
12319 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12321 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12326 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12331 eval "$wx_cv_use_coldlg"
12333 if test x
"$enablestring" = xdisable
; then
12334 if test $wxUSE_COLOURDLG = no
; then
12340 result
=$wxUSE_COLOURDLG
12343 { echo "$as_me:$LINENO: result: $result" >&5
12344 echo "${ECHO_T}$result" >&6; }
12348 defaultval
=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x
"$enablestring" = xdisable
; then
12357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12358 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12359 # Check whether --enable-filedlg was given.
12360 if test "${enable_filedlg+set}" = set; then
12361 enableval
=$enable_filedlg;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12365 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12370 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12375 eval "$wx_cv_use_filedlg"
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_FILEDLG = no; then
12384 result=$wxUSE_FILEDLG
12387 { echo "$as_me:$LINENO: result: $result" >&5
12388 echo "${ECHO_T}$result" >&6; }
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12403 # Check whether --enable-finddlg was given.
12404 if test "${enable_finddlg+set}" = set; then
12405 enableval=$enable_finddlg;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12409 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12414 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12419 eval "$wx_cv_use_finddlg"
12421 if test x"$enablestring" = xdisable; then
12422 if test $wxUSE_FINDREPLDLG = no; then
12428 result=$wxUSE_FINDREPLDLG
12431 { echo "$as_me:$LINENO: result
: $result" >&5
12432 echo "${ECHO_T}$result" >&6; }
12436 defaultval=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x"$enablestring" = xdisable; then
12445 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12446 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12447 # Check whether --enable-fontdlg was given.
12448 if test "${enable_fontdlg+set}" = set; then
12449 enableval=$enable_fontdlg;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12453 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12458 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12463 eval "$wx_cv_use_fontdlg"
12465 if test x
"$enablestring" = xdisable
; then
12466 if test $wxUSE_FONTDLG = no
; then
12472 result
=$wxUSE_FONTDLG
12475 { echo "$as_me:$LINENO: result: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12480 defaultval
=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x
"$enablestring" = xdisable
; then
12489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12490 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12491 # Check whether --enable-dirdlg was given.
12492 if test "${enable_dirdlg+set}" = set; then
12493 enableval
=$enable_dirdlg;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12497 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12502 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12507 eval "$wx_cv_use_dirdlg"
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_DIRDLG = no; then
12516 result=$wxUSE_DIRDLG
12519 { echo "$as_me:$LINENO: result: $result" >&5
12520 echo "${ECHO_T}$result" >&6; }
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12534 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12535 # Check whether --enable-msgdlg was given.
12536 if test "${enable_msgdlg+set}" = set; then
12537 enableval=$enable_msgdlg;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12541 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12546 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12551 eval "$wx_cv_use_msgdlg"
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_MSGDLG = no; then
12560 result=$wxUSE_MSGDLG
12563 { echo "$as_me:$LINENO: result
: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12577 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12578 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12579 # Check whether --enable-numberdlg was given.
12580 if test "${enable_numberdlg+set}" = set; then
12581 enableval=$enable_numberdlg;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12585 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12590 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12595 eval "$wx_cv_use_numberdlg"
12597 if test x
"$enablestring" = xdisable
; then
12598 if test $wxUSE_NUMBERDLG = no
; then
12604 result
=$wxUSE_NUMBERDLG
12607 { echo "$as_me:$LINENO: result: $result" >&5
12608 echo "${ECHO_T}$result" >&6; }
12612 defaultval
=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x
"$enablestring" = xdisable
; then
12621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12622 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12623 # Check whether --enable-splash was given.
12624 if test "${enable_splash+set}" = set; then
12625 enableval
=$enable_splash;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12629 wx_cv_use_splash
='wxUSE_SPLASH=no'
12634 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12639 eval "$wx_cv_use_splash"
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_SPLASH = no; then
12648 result=$wxUSE_SPLASH
12651 { echo "$as_me:$LINENO: result: $result" >&5
12652 echo "${ECHO_T}$result" >&6; }
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12666 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12667 # Check whether --enable-textdlg was given.
12668 if test "${enable_textdlg+set}" = set; then
12669 enableval=$enable_textdlg;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12673 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12678 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12683 eval "$wx_cv_use_textdlg"
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_TEXTDLG = no; then
12692 result=$wxUSE_TEXTDLG
12695 { echo "$as_me:$LINENO: result
: $result" >&5
12696 echo "${ECHO_T}$result" >&6; }
12700 defaultval=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x"$enablestring" = xdisable; then
12709 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12710 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12711 # Check whether --enable-tipdlg was given.
12712 if test "${enable_tipdlg+set}" = set; then
12713 enableval=$enable_tipdlg;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12717 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12722 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12727 eval "$wx_cv_use_tipdlg"
12729 if test x
"$enablestring" = xdisable
; then
12730 if test $wxUSE_STARTUP_TIPS = no
; then
12736 result
=$wxUSE_STARTUP_TIPS
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12744 defaultval
=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x
"$enablestring" = xdisable
; then
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12755 # Check whether --enable-progressdlg was given.
12756 if test "${enable_progressdlg+set}" = set; then
12757 enableval
=$enable_progressdlg;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12761 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12766 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12771 eval "$wx_cv_use_progressdlg"
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_PROGRESSDLG = no; then
12780 result=$wxUSE_PROGRESSDLG
12783 { echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12799 # Check whether --enable-wizarddlg was given.
12800 if test "${enable_wizarddlg+set}" = set; then
12801 enableval=$enable_wizarddlg;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12805 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12810 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12815 eval "$wx_cv_use_wizarddlg"
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_WIZARDDLG = no; then
12824 result=$wxUSE_WIZARDDLG
12827 { echo "$as_me:$LINENO: result
: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12834 defaultval=$wxUSE_ALL_FEATURES
12835 if test -z "$defaultval"; then
12836 if test x"$enablestring" = xdisable; then
12843 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
12844 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
12845 # Check whether --enable-menus was given.
12846 if test "${enable_menus+set}" = set; then
12847 enableval=$enable_menus;
12848 if test "$enableval" = yes; then
12849 wx_cv_use_menus='wxUSE_MENUS=yes'
12851 wx_cv_use_menus='wxUSE_MENUS=no'
12856 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12861 eval "$wx_cv_use_menus"
12863 if test x
"$enablestring" = xdisable
; then
12864 if test $wxUSE_MENUS = no
; then
12870 result
=$wxUSE_MENUS
12873 { echo "$as_me:$LINENO: result: $result" >&5
12874 echo "${ECHO_T}$result" >&6; }
12878 defaultval
=$wxUSE_ALL_FEATURES
12879 if test -z "$defaultval"; then
12880 if test x
"$enablestring" = xdisable
; then
12887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12888 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12889 # Check whether --enable-miniframe was given.
12890 if test "${enable_miniframe+set}" = set; then
12891 enableval
=$enable_miniframe;
12892 if test "$enableval" = yes; then
12893 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
12895 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
12900 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12905 eval "$wx_cv_use_miniframe"
12907 if test x"$enablestring" = xdisable; then
12908 if test $wxUSE_MINIFRAME = no; then
12914 result=$wxUSE_MINIFRAME
12917 { echo "$as_me:$LINENO: result: $result" >&5
12918 echo "${ECHO_T}$result" >&6; }
12922 defaultval=$wxUSE_ALL_FEATURES
12923 if test -z "$defaultval"; then
12924 if test x"$enablestring" = xdisable; then
12931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12932 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12933 # Check whether --enable-tooltips was given.
12934 if test "${enable_tooltips+set}" = set; then
12935 enableval=$enable_tooltips;
12936 if test "$enableval" = yes; then
12937 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
12939 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
12944 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12949 eval "$wx_cv_use_tooltips"
12951 if test x"$enablestring" = xdisable; then
12952 if test $wxUSE_TOOLTIPS = no; then
12958 result=$wxUSE_TOOLTIPS
12961 { echo "$as_me:$LINENO: result
: $result" >&5
12962 echo "${ECHO_T}$result" >&6; }
12966 defaultval=$wxUSE_ALL_FEATURES
12967 if test -z "$defaultval"; then
12968 if test x"$enablestring" = xdisable; then
12975 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
12976 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
12977 # Check whether --enable-splines was given.
12978 if test "${enable_splines+set}" = set; then
12979 enableval=$enable_splines;
12980 if test "$enableval" = yes; then
12981 wx_cv_use_splines='wxUSE_SPLINES=yes'
12983 wx_cv_use_splines='wxUSE_SPLINES=no'
12988 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12993 eval "$wx_cv_use_splines"
12995 if test x
"$enablestring" = xdisable
; then
12996 if test $wxUSE_SPLINES = no
; then
13002 result
=$wxUSE_SPLINES
13005 { echo "$as_me:$LINENO: result: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13010 defaultval
=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x
"$enablestring" = xdisable
; then
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13021 # Check whether --enable-mousewheel was given.
13022 if test "${enable_mousewheel+set}" = set; then
13023 enableval
=$enable_mousewheel;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13027 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13032 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13037 eval "$wx_cv_use_mousewheel"
13039 if test x"$enablestring" = xdisable; then
13040 if test $wxUSE_MOUSEWHEEL = no; then
13046 result=$wxUSE_MOUSEWHEEL
13049 { echo "$as_me:$LINENO: result: $result" >&5
13050 echo "${ECHO_T}$result" >&6; }
13054 defaultval=$wxUSE_ALL_FEATURES
13055 if test -z "$defaultval"; then
13056 if test x"$enablestring" = xdisable; then
13063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13064 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13065 # Check whether --enable-validators was given.
13066 if test "${enable_validators+set}" = set; then
13067 enableval=$enable_validators;
13068 if test "$enableval" = yes; then
13069 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13071 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13076 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13081 eval "$wx_cv_use_validators"
13083 if test x"$enablestring" = xdisable; then
13084 if test $wxUSE_VALIDATORS = no; then
13090 result=$wxUSE_VALIDATORS
13093 { echo "$as_me:$LINENO: result
: $result" >&5
13094 echo "${ECHO_T}$result" >&6; }
13098 defaultval=$wxUSE_ALL_FEATURES
13099 if test -z "$defaultval"; then
13100 if test x"$enablestring" = xdisable; then
13107 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13108 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13109 # Check whether --enable-busyinfo was given.
13110 if test "${enable_busyinfo+set}" = set; then
13111 enableval=$enable_busyinfo;
13112 if test "$enableval" = yes; then
13113 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13115 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13120 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13125 eval "$wx_cv_use_busyinfo"
13127 if test x
"$enablestring" = xdisable
; then
13128 if test $wxUSE_BUSYINFO = no
; then
13134 result
=$wxUSE_BUSYINFO
13137 { echo "$as_me:$LINENO: result: $result" >&5
13138 echo "${ECHO_T}$result" >&6; }
13142 defaultval
=$wxUSE_ALL_FEATURES
13143 if test -z "$defaultval"; then
13144 if test x
"$enablestring" = xdisable
; then
13151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13152 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13153 # Check whether --enable-joystick was given.
13154 if test "${enable_joystick+set}" = set; then
13155 enableval
=$enable_joystick;
13156 if test "$enableval" = yes; then
13157 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13159 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13164 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13169 eval "$wx_cv_use_joystick"
13171 if test x"$enablestring" = xdisable; then
13172 if test $wxUSE_JOYSTICK = no; then
13178 result=$wxUSE_JOYSTICK
13181 { echo "$as_me:$LINENO: result: $result" >&5
13182 echo "${ECHO_T}$result" >&6; }
13186 defaultval=$wxUSE_ALL_FEATURES
13187 if test -z "$defaultval"; then
13188 if test x"$enablestring" = xdisable; then
13195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13196 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13197 # Check whether --enable-metafile was given.
13198 if test "${enable_metafile+set}" = set; then
13199 enableval=$enable_metafile;
13200 if test "$enableval" = yes; then
13201 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13203 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13208 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13213 eval "$wx_cv_use_metafile"
13215 if test x"$enablestring" = xdisable; then
13216 if test $wxUSE_METAFILE = no; then
13222 result=$wxUSE_METAFILE
13225 { echo "$as_me:$LINENO: result
: $result" >&5
13226 echo "${ECHO_T}$result" >&6; }
13230 defaultval=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x"$enablestring" = xdisable; then
13239 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13240 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13241 # Check whether --enable-dragimage was given.
13242 if test "${enable_dragimage+set}" = set; then
13243 enableval=$enable_dragimage;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13247 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13252 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13257 eval "$wx_cv_use_dragimage"
13259 if test x
"$enablestring" = xdisable
; then
13260 if test $wxUSE_DRAGIMAGE = no
; then
13266 result
=$wxUSE_DRAGIMAGE
13269 { echo "$as_me:$LINENO: result: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13274 defaultval
=$wxUSE_ALL_FEATURES
13275 if test -z "$defaultval"; then
13276 if test x
"$enablestring" = xdisable
; then
13283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13284 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13285 # Check whether --enable-accessibility was given.
13286 if test "${enable_accessibility+set}" = set; then
13287 enableval
=$enable_accessibility;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13291 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13296 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13301 eval "$wx_cv_use_accessibility"
13303 if test x"$enablestring" = xdisable; then
13304 if test $wxUSE_ACCESSIBILITY = no; then
13310 result=$wxUSE_ACCESSIBILITY
13313 { echo "$as_me:$LINENO: result: $result" >&5
13314 echo "${ECHO_T}$result" >&6; }
13320 defaultval=$wxUSE_ALL_FEATURES
13321 if test -z "$defaultval"; then
13322 if test x"$enablestring" = xdisable; then
13329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13330 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13331 # Check whether --enable-palette was given.
13332 if test "${enable_palette+set}" = set; then
13333 enableval=$enable_palette;
13334 if test "$enableval" = yes; then
13335 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13337 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13342 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13347 eval "$wx_cv_use_palette"
13349 if test x"$enablestring" = xdisable; then
13350 if test $wxUSE_PALETTE = no; then
13356 result=$wxUSE_PALETTE
13359 { echo "$as_me:$LINENO: result
: $result" >&5
13360 echo "${ECHO_T}$result" >&6; }
13364 defaultval=$wxUSE_ALL_FEATURES
13365 if test -z "$defaultval"; then
13366 if test x"$enablestring" = xdisable; then
13373 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13374 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13375 # Check whether --enable-image was given.
13376 if test "${enable_image+set}" = set; then
13377 enableval=$enable_image;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_image='wxUSE_IMAGE=yes'
13381 wx_cv_use_image='wxUSE_IMAGE=no'
13386 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13391 eval "$wx_cv_use_image"
13393 if test x
"$enablestring" = xdisable
; then
13394 if test $wxUSE_IMAGE = no
; then
13400 result
=$wxUSE_IMAGE
13403 { echo "$as_me:$LINENO: result: $result" >&5
13404 echo "${ECHO_T}$result" >&6; }
13408 defaultval
=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x
"$enablestring" = xdisable
; then
13417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13418 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13419 # Check whether --enable-gif was given.
13420 if test "${enable_gif+set}" = set; then
13421 enableval
=$enable_gif;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_gif
='wxUSE_GIF=yes'
13425 wx_cv_use_gif
='wxUSE_GIF=no'
13430 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13435 eval "$wx_cv_use_gif"
13437 if test x"$enablestring" = xdisable; then
13438 if test $wxUSE_GIF = no; then
13447 { echo "$as_me:$LINENO: result: $result" >&5
13448 echo "${ECHO_T}$result" >&6; }
13452 defaultval=$wxUSE_ALL_FEATURES
13453 if test -z "$defaultval"; then
13454 if test x"$enablestring" = xdisable; then
13461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13462 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13463 # Check whether --enable-pcx was given.
13464 if test "${enable_pcx+set}" = set; then
13465 enableval=$enable_pcx;
13466 if test "$enableval" = yes; then
13467 wx_cv_use_pcx='wxUSE_PCX
=yes'
13469 wx_cv_use_pcx='wxUSE_PCX
=no
'
13474 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13479 eval "$wx_cv_use_pcx"
13481 if test x"$enablestring" = xdisable; then
13482 if test $wxUSE_PCX = no; then
13491 { echo "$as_me:$LINENO: result
: $result" >&5
13492 echo "${ECHO_T}$result" >&6; }
13496 defaultval=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x"$enablestring" = xdisable; then
13505 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13506 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13507 # Check whether --enable-tga was given.
13508 if test "${enable_tga+set}" = set; then
13509 enableval=$enable_tga;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_tga='wxUSE_TGA=yes'
13513 wx_cv_use_tga='wxUSE_TGA=no'
13518 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13523 eval "$wx_cv_use_tga"
13525 if test x
"$enablestring" = xdisable
; then
13526 if test $wxUSE_TGA = no
; then
13535 { echo "$as_me:$LINENO: result: $result" >&5
13536 echo "${ECHO_T}$result" >&6; }
13540 defaultval
=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x
"$enablestring" = xdisable
; then
13549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13550 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13551 # Check whether --enable-iff was given.
13552 if test "${enable_iff+set}" = set; then
13553 enableval
=$enable_iff;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_iff
='wxUSE_IFF=yes'
13557 wx_cv_use_iff
='wxUSE_IFF=no'
13562 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13567 eval "$wx_cv_use_iff"
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_IFF = no; then
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13595 # Check whether --enable-pnm was given.
13596 if test "${enable_pnm+set}" = set; then
13597 enableval=$enable_pnm;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_pnm='wxUSE_PNM
=yes'
13601 wx_cv_use_pnm='wxUSE_PNM
=no
'
13606 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13611 eval "$wx_cv_use_pnm"
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_PNM = no; then
13623 { echo "$as_me:$LINENO: result
: $result" >&5
13624 echo "${ECHO_T}$result" >&6; }
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13637 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13638 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13639 # Check whether --enable-xpm was given.
13640 if test "${enable_xpm+set}" = set; then
13641 enableval=$enable_xpm;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_xpm='wxUSE_XPM=yes'
13645 wx_cv_use_xpm='wxUSE_XPM=no'
13650 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13655 eval "$wx_cv_use_xpm"
13657 if test x
"$enablestring" = xdisable
; then
13658 if test $wxUSE_XPM = no
; then
13667 { echo "$as_me:$LINENO: result: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13672 defaultval
=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x
"$enablestring" = xdisable
; then
13681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13682 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13683 # Check whether --enable-ico_cur was given.
13684 if test "${enable_ico_cur+set}" = set; then
13685 enableval
=$enable_ico_cur;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13689 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13694 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13699 eval "$wx_cv_use_ico_cur"
13701 if test x"$enablestring" = xdisable; then
13702 if test $wxUSE_ICO_CUR = no; then
13708 result=$wxUSE_ICO_CUR
13711 { echo "$as_me:$LINENO: result: $result" >&5
13712 echo "${ECHO_T}$result" >&6; }
13718 defaultval=$wxUSE_ALL_FEATURES
13719 if test -z "$defaultval"; then
13720 if test x"$enablestring" = xdisable; then
13727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13728 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13729 # Check whether --enable-dccache was given.
13730 if test "${enable_dccache+set}" = set; then
13731 enableval=$enable_dccache;
13732 if test "$enableval" = yes; then
13733 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13735 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13740 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13745 eval "$wx_cv_use_dccache"
13747 if test x"$enablestring" = xdisable; then
13748 if test $wxUSE_DC_CACHEING = no; then
13754 result=$wxUSE_DC_CACHEING
13757 { echo "$as_me:$LINENO: result
: $result" >&5
13758 echo "${ECHO_T}$result" >&6; }
13762 defaultval=$wxUSE_ALL_FEATURES
13763 if test -z "$defaultval"; then
13764 if test x"$enablestring" = xdisable; then
13771 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13772 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13773 # Check whether --enable-ps-in-msw was given.
13774 if test "${enable_ps_in_msw+set}" = set; then
13775 enableval=$enable_ps_in_msw;
13776 if test "$enableval" = yes; then
13777 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13779 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13784 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13789 eval "$wx_cv_use_ps_in_msw"
13791 if test x
"$enablestring" = xdisable
; then
13792 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
13798 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13801 { echo "$as_me:$LINENO: result: $result" >&5
13802 echo "${ECHO_T}$result" >&6; }
13806 defaultval
=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x
"$enablestring" = xdisable
; then
13815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13816 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13817 # Check whether --enable-ownerdrawn was given.
13818 if test "${enable_ownerdrawn+set}" = set; then
13819 enableval
=$enable_ownerdrawn;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
13823 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
13828 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13833 eval "$wx_cv_use_ownerdrawn"
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_OWNER_DRAWN = no; then
13842 result=$wxUSE_OWNER_DRAWN
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13850 defaultval=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x"$enablestring" = xdisable; then
13859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13861 # Check whether --enable-uxtheme was given.
13862 if test "${enable_uxtheme+set}" = set; then
13863 enableval=$enable_uxtheme;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
13867 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
13872 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13877 eval "$wx_cv_use_uxtheme"
13879 if test x"$enablestring" = xdisable; then
13880 if test $wxUSE_UXTHEME = no; then
13886 result=$wxUSE_UXTHEME
13889 { echo "$as_me:$LINENO: result
: $result" >&5
13890 echo "${ECHO_T}$result" >&6; }
13894 defaultval=$wxUSE_ALL_FEATURES
13895 if test -z "$defaultval"; then
13896 if test x"$enablestring" = xdisable; then
13903 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
13904 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
13905 # Check whether --enable-wxdib was given.
13906 if test "${enable_wxdib+set}" = set; then
13907 enableval=$enable_wxdib;
13908 if test "$enableval" = yes; then
13909 wx_cv_use_wxdib='wxUSE_DIB=yes'
13911 wx_cv_use_wxdib='wxUSE_DIB=no'
13916 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13921 eval "$wx_cv_use_wxdib"
13923 if test x
"$enablestring" = xdisable
; then
13924 if test $wxUSE_DIB = no
; then
13933 { echo "$as_me:$LINENO: result: $result" >&5
13934 echo "${ECHO_T}$result" >&6; }
13937 if test "$wxUSE_MSW" != 1; then
13938 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
13943 defaultval
=$wxUSE_ALL_FEATURES
13944 if test -z "$defaultval"; then
13945 if test x
"$enablestring" = xdisable
; then
13952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13953 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13954 # Check whether --enable-autoidman was given.
13955 if test "${enable_autoidman+set}" = set; then
13956 enableval
=$enable_autoidman;
13957 if test "$enableval" = yes; then
13958 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
13960 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
13965 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13970 eval "$wx_cv_use_autoidman"
13972 if test x"$enablestring" = xdisable; then
13973 if test $wxUSE_AUTOID_MANAGEMENT = no; then
13979 result=$wxUSE_AUTOID_MANAGEMENT
13982 { echo "$as_me:$LINENO: result: $result" >&5
13983 echo "${ECHO_T}$result" >&6; }
13989 cat >confcache <<\_ACEOF
13990 # This file is a shell script that caches the results of configure
13991 # tests run on this system so they can be shared between configure
13992 # scripts and configure runs, see configure's option
--config-cache.
13993 # It is not useful on other systems. If it contains results you don't
13994 # want to keep, you may remove or edit it.
13996 # config.status only pays attention to the cache file if you give it
13997 # the --recheck option to rerun configure.
13999 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14000 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14001 # following values.
14005 # The following way of writing the cache mishandles newlines in values,
14006 # but we know of no workaround that is simple, portable, and efficient.
14007 # So, we kill variables containing newlines.
14008 # Ultrix sh set writes to stderr and can't be redirected directly,
14009 # and sets the high bit in the cache file unless we assign to the vars.
14011 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14012 eval ac_val
=\$
$ac_var
14016 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14017 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14020 _
| IFS
| as_nl
) ;; #(
14021 *) $as_unset $ac_var ;;
14027 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14028 *${as_nl}ac_space
=\
*)
14029 # `set' does not quote correctly, so add quotes (double-quote
14030 # substitution turns \\\\ into \\, and sed turns \\ into \).
14033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14036 # `set' quotes correctly as required by POSIX, so do not add quotes.
14037 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14046 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14048 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14050 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14051 if test -w "$cache_file"; then
14052 test "x$cache_file" != "x/dev/null" &&
14053 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14054 echo "$as_me: updating cache $cache_file" >&6;}
14055 cat confcache
>$cache_file
14057 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14058 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14068 ac_cpp
='$CPP $CPPFLAGS'
14069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14072 if test -n "$ac_tool_prefix"; then
14073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14074 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14077 if test "${ac_cv_prog_CC+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 if test -n "$CC"; then
14081 ac_cv_prog_CC
="$CC" # Let the user override the test.
14083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14084 for as_dir
in $PATH
14087 test -z "$as_dir" && as_dir
=.
14088 for ac_exec_ext
in '' $ac_executable_extensions; do
14089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14090 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14101 if test -n "$CC"; then
14102 { echo "$as_me:$LINENO: result: $CC" >&5
14103 echo "${ECHO_T}$CC" >&6; }
14105 { echo "$as_me:$LINENO: result: no" >&5
14106 echo "${ECHO_T}no" >&6; }
14111 if test -z "$ac_cv_prog_CC"; then
14113 # Extract the first word of "gcc", so it can be a program name with args.
14114 set dummy gcc
; ac_word
=$2
14115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14117 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 if test -n "$ac_ct_CC"; then
14121 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14124 for as_dir
in $PATH
14127 test -z "$as_dir" && as_dir
=.
14128 for ac_exec_ext
in '' $ac_executable_extensions; do
14129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14130 ac_cv_prog_ac_ct_CC
="gcc"
14131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14140 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14141 if test -n "$ac_ct_CC"; then
14142 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14143 echo "${ECHO_T}$ac_ct_CC" >&6; }
14145 { echo "$as_me:$LINENO: result: no" >&5
14146 echo "${ECHO_T}no" >&6; }
14149 if test "x$ac_ct_CC" = x
; then
14152 case $cross_compiling:$ac_tool_warned in
14154 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14155 whose name does not start with the host triplet. If you think this
14156 configuration is useful to you, please write to autoconf@gnu.org." >&5
14157 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14158 whose name does not start with the host triplet. If you think this
14159 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14160 ac_tool_warned
=yes ;;
14165 CC
="$ac_cv_prog_CC"
14168 if test -z "$CC"; then
14169 if test -n "$ac_tool_prefix"; then
14170 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14171 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14174 if test "${ac_cv_prog_CC+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 if test -n "$CC"; then
14178 ac_cv_prog_CC
="$CC" # Let the user override the test.
14180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14181 for as_dir
in $PATH
14184 test -z "$as_dir" && as_dir
=.
14185 for ac_exec_ext
in '' $ac_executable_extensions; do
14186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14187 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14198 if test -n "$CC"; then
14199 { echo "$as_me:$LINENO: result: $CC" >&5
14200 echo "${ECHO_T}$CC" >&6; }
14202 { echo "$as_me:$LINENO: result: no" >&5
14203 echo "${ECHO_T}no" >&6; }
14209 if test -z "$CC"; then
14210 # Extract the first word of "cc", so it can be a program name with args.
14211 set dummy cc
; ac_word
=$2
14212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14214 if test "${ac_cv_prog_CC+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 if test -n "$CC"; then
14218 ac_cv_prog_CC
="$CC" # Let the user override the test.
14220 ac_prog_rejected
=no
14221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14222 for as_dir
in $PATH
14225 test -z "$as_dir" && as_dir
=.
14226 for ac_exec_ext
in '' $ac_executable_extensions; do
14227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14228 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14229 ac_prog_rejected
=yes
14233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14240 if test $ac_prog_rejected = yes; then
14241 # We found a bogon in the path, so make sure we never use it.
14242 set dummy
$ac_cv_prog_CC
14244 if test $# != 0; then
14245 # We chose a different compiler from the bogus one.
14246 # However, it has the same basename, so the bogon will be chosen
14247 # first if we set CC to just the basename; use the full file name.
14249 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14255 if test -n "$CC"; then
14256 { echo "$as_me:$LINENO: result: $CC" >&5
14257 echo "${ECHO_T}$CC" >&6; }
14259 { echo "$as_me:$LINENO: result: no" >&5
14260 echo "${ECHO_T}no" >&6; }
14265 if test -z "$CC"; then
14266 if test -n "$ac_tool_prefix"; then
14267 for ac_prog
in cl.exe
14269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14270 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14273 if test "${ac_cv_prog_CC+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 if test -n "$CC"; then
14277 ac_cv_prog_CC
="$CC" # Let the user override the test.
14279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14280 for as_dir
in $PATH
14283 test -z "$as_dir" && as_dir
=.
14284 for ac_exec_ext
in '' $ac_executable_extensions; do
14285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14286 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14297 if test -n "$CC"; then
14298 { echo "$as_me:$LINENO: result: $CC" >&5
14299 echo "${ECHO_T}$CC" >&6; }
14301 { echo "$as_me:$LINENO: result: no" >&5
14302 echo "${ECHO_T}no" >&6; }
14306 test -n "$CC" && break
14309 if test -z "$CC"; then
14311 for ac_prog
in cl.exe
14313 # Extract the first word of "$ac_prog", so it can be a program name with args.
14314 set dummy
$ac_prog; ac_word
=$2
14315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14318 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 if test -n "$ac_ct_CC"; then
14321 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14324 for as_dir
in $PATH
14327 test -z "$as_dir" && as_dir
=.
14328 for ac_exec_ext
in '' $ac_executable_extensions; do
14329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14330 ac_cv_prog_ac_ct_CC
="$ac_prog"
14331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14340 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14341 if test -n "$ac_ct_CC"; then
14342 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14343 echo "${ECHO_T}$ac_ct_CC" >&6; }
14345 { echo "$as_me:$LINENO: result: no" >&5
14346 echo "${ECHO_T}no" >&6; }
14350 test -n "$ac_ct_CC" && break
14353 if test "x$ac_ct_CC" = x
; then
14356 case $cross_compiling:$ac_tool_warned in
14358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14359 whose name does not start with the host triplet. If you think this
14360 configuration is useful to you, please write to autoconf@gnu.org." >&5
14361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14362 whose name does not start with the host triplet. If you think this
14363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14364 ac_tool_warned
=yes ;;
14373 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14374 See \`config.log' for more details." >&5
14375 echo "$as_me: error: no acceptable C compiler found in \$PATH
14376 See \`config.log' for more details." >&2;}
14377 { (exit 1); exit 1; }; }
14379 # Provide some information about the compiler.
14380 echo "$as_me:$LINENO: checking for C compiler version" >&5
14381 ac_compiler
=`set X $ac_compile; echo $2`
14382 { (ac_try
="$ac_compiler --version >&5"
14383 case "(($ac_try" in
14384 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14385 *) ac_try_echo=$ac_try;;
14387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14388 (eval "$ac_compiler --version >&5") 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }
14392 { (ac_try="$ac_compiler -v >&5"
14393 case "(($ac_try" in
14394 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14395 *) ac_try_echo
=$ac_try;;
14397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14398 (eval "$ac_compiler -v >&5") 2>&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }
14402 { (ac_try
="$ac_compiler -V >&5"
14403 case "(($ac_try" in
14404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14405 *) ac_try_echo=$ac_try;;
14407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14408 (eval "$ac_compiler -V >&5") 2>&5
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }
14413 cat >conftest.$ac_ext <<_ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14428 ac_clean_files_save=$ac_clean_files
14429 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14430 # Try to create an executable without -o first, disregard a.out.
14431 # It will help us diagnose broken compilers, and finding out an intuition
14433 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14434 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14435 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14437 # List of possible output files, starting from the most likely.
14438 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14439 # only as a last resort. b.out is created by i960 compilers.
14440 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14442 # The IRIX 6 linker writes into existing files which may not be
14443 # executable, retaining their permissions. Remove them first so a
14444 # subsequent execution test works.
14446 for ac_file in $ac_files
14449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14450 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14455 if { (ac_try="$ac_link_default"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_link_default") 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; then
14465 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14466 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14467 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14468 # so that the user can short-circuit this test for compilers unknown to
14470 for ac_file
in $ac_files ''
14472 test -f "$ac_file" || continue
14474 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14477 # We found the default executable, but exeext='' is most
14481 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14483 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14485 # We set ac_cv_exeext here because the later test for it is not
14486 # safe: cross compilers may not add the suffix if given an `-o'
14487 # argument, so we may need to know it at that point already.
14488 # Even if this section looks crufty: it has the advantage of
14489 # actually working.
14495 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14501 { echo "$as_me:$LINENO: result: $ac_file" >&5
14502 echo "${ECHO_T}$ac_file" >&6; }
14503 if test -z "$ac_file"; then
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.
$ac_ext >&5
14507 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14508 See \`config.log' for more details." >&5
14509 echo "$as_me: error: C compiler cannot create executables
14510 See \`config.log' for more details." >&2;}
14511 { (exit 77); exit 77; }; }
14514 ac_exeext
=$ac_cv_exeext
14516 # Check that the compiler produces executables we can run. If not, either
14517 # the compiler is broken, or we cross compile.
14518 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14519 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14520 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14521 # If not cross compiling, check that we can run a simple program.
14522 if test "$cross_compiling" != yes; then
14523 if { ac_try
='./$ac_file'
14524 { (case "(($ac_try" in
14525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14526 *) ac_try_echo=$ac_try;;
14528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14529 (eval "$ac_try") 2>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; }; then
14535 if test "$cross_compiling" = maybe; then
14536 cross_compiling=yes
14538 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14539 If you meant to cross compile, use \`--host'.
14540 See \`config.log' for more details.
" >&5
14541 echo "$as_me: error
: cannot run C compiled programs.
14542 If you meant to cross compile
, use \
`--host'.
14543 See \`config.log
' for more details." >&2;}
14544 { (exit 1); exit 1; }; }
14548 { echo "$as_me:$LINENO: result: yes" >&5
14549 echo "${ECHO_T}yes" >&6; }
14551 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14552 ac_clean_files=$ac_clean_files_save
14553 # Check that the compiler produces executables we can run. If not, either
14554 # the compiler is broken, or we cross compile.
14555 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14556 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14557 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14558 echo "${ECHO_T}$cross_compiling" >&6; }
14560 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14561 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14562 if { (ac_try="$ac_link"
14563 case "(($ac_try" in
14564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14565 *) ac_try_echo=$ac_try;;
14567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14568 (eval "$ac_link") 2>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; then
14572 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14573 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14574 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14576 for ac_file
in conftest.exe conftest conftest.
*; do
14577 test -f "$ac_file" || continue
14579 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14580 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14586 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14587 See \`config.log' for more details." >&5
14588 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14589 See \`config.log' for more details." >&2;}
14590 { (exit 1); exit 1; }; }
14593 rm -f conftest
$ac_cv_exeext
14594 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14595 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14597 rm -f conftest.
$ac_ext
14598 EXEEXT
=$ac_cv_exeext
14600 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14601 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14602 if test "${ac_cv_objext+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 cat >conftest.
$ac_ext <<_ACEOF
14608 cat confdefs.h
>>conftest.
$ac_ext
14609 cat >>conftest.
$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14620 rm -f conftest.o conftest.obj
14621 if { (ac_try
="$ac_compile"
14622 case "(($ac_try" in
14623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14624 *) ac_try_echo=$ac_try;;
14626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14627 (eval "$ac_compile") 2>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; then
14631 for ac_file in conftest.o conftest.obj conftest.*; do
14632 test -f "$ac_file" || continue;
14634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14635 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.$ac_ext >&5
14643 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14644 See \`config.log
' for more details." >&5
14645 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14646 See \`config.log' for more details.
" >&2;}
14647 { (exit 1); exit 1; }; }
14650 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14652 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14653 echo "${ECHO_T}$ac_cv_objext" >&6; }
14654 OBJEXT=$ac_cv_objext
14656 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14657 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14658 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14659 echo $ECHO_N "(cached
) $ECHO_C" >&6
14661 cat >conftest.$ac_ext <<_ACEOF
14664 cat confdefs.h >>conftest.$ac_ext
14665 cat >>conftest.$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14679 rm -f conftest.$ac_objext
14680 if { (ac_try="$ac_compile"
14681 case "(($ac_try" in
14682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14683 *) ac_try_echo=$ac_try;;
14685 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14686 (eval "$ac_compile") 2>conftest.er1
14688 grep -v '^ *+' conftest.er1 >conftest.err
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14692 (exit $ac_status); } && {
14693 test -z "$ac_c_werror_flag" ||
14694 test ! -s conftest.err
14695 } && test -s conftest.$ac_objext; then
14696 ac_compiler_gnu=yes
14698 echo "$as_me: failed program was
:" >&5
14699 sed 's/^/| /' conftest.$ac_ext >&5
14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14708 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14709 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14710 GCC=`test $ac_compiler_gnu = yes && echo yes`
14711 ac_test_CFLAGS=${CFLAGS+set}
14712 ac_save_CFLAGS=$CFLAGS
14713 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14714 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14715 if test "${ac_cv_prog_cc_g+set}" = set; then
14716 echo $ECHO_N "(cached
) $ECHO_C" >&6
14718 ac_save_c_werror_flag=$ac_c_werror_flag
14719 ac_c_werror_flag=yes
14722 cat >conftest.$ac_ext <<_ACEOF
14725 cat confdefs.h >>conftest.$ac_ext
14726 cat >>conftest.$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14737 rm -f conftest.$ac_objext
14738 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14746 grep -v '^ *+' conftest.er1 >conftest.err
14748 cat conftest.err >&5
14749 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14750 (exit $ac_status); } && {
14751 test -z "$ac_c_werror_flag" ||
14752 test ! -s conftest.err
14753 } && test -s conftest.$ac_objext; then
14754 ac_cv_prog_cc_g=yes
14756 echo "$as_me: failed program was
:" >&5
14757 sed 's/^/| /' conftest.$ac_ext >&5
14760 cat >conftest.$ac_ext <<_ACEOF
14763 cat confdefs.h >>conftest.$ac_ext
14764 cat >>conftest.$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14775 rm -f conftest.$ac_objext
14776 if { (ac_try="$ac_compile"
14777 case "(($ac_try" in
14778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14779 *) ac_try_echo=$ac_try;;
14781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14782 (eval "$ac_compile") 2>conftest.er1
14784 grep -v '^ *+' conftest.er1 >conftest.err
14786 cat conftest.err >&5
14787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14788 (exit $ac_status); } && {
14789 test -z "$ac_c_werror_flag" ||
14790 test ! -s conftest.err
14791 } && test -s conftest.$ac_objext; then
14794 echo "$as_me: failed program was
:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14797 ac_c_werror_flag=$ac_save_c_werror_flag
14799 cat >conftest.$ac_ext <<_ACEOF
14802 cat confdefs.h >>conftest.$ac_ext
14803 cat >>conftest.$ac_ext <<_ACEOF
14804 /* end confdefs.h. */
14814 rm -f conftest.$ac_objext
14815 if { (ac_try="$ac_compile"
14816 case "(($ac_try" in
14817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14818 *) ac_try_echo=$ac_try;;
14820 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14821 (eval "$ac_compile") 2>conftest.er1
14823 grep -v '^ *+' conftest.er1 >conftest.err
14825 cat conftest.err >&5
14826 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14827 (exit $ac_status); } && {
14828 test -z "$ac_c_werror_flag" ||
14829 test ! -s conftest.err
14830 } && test -s conftest.$ac_objext; then
14831 ac_cv_prog_cc_g=yes
14833 echo "$as_me: failed program was
:" >&5
14834 sed 's/^/| /' conftest.$ac_ext >&5
14839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14846 ac_c_werror_flag=$ac_save_c_werror_flag
14848 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14849 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14850 if test "$ac_test_CFLAGS" = set; then
14851 CFLAGS=$ac_save_CFLAGS
14852 elif test $ac_cv_prog_cc_g = yes; then
14853 if test "$GCC" = yes; then
14859 if test "$GCC" = yes; then
14865 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14866 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14867 if test "${ac_cv_prog_cc_c89+set}" = set; then
14868 echo $ECHO_N "(cached
) $ECHO_C" >&6
14870 ac_cv_prog_cc_c89=no
14872 cat >conftest.$ac_ext <<_ACEOF
14875 cat confdefs.h >>conftest.$ac_ext
14876 cat >>conftest.$ac_ext <<_ACEOF
14877 /* end confdefs.h. */
14878 #include <stdarg.h>
14880 #include <sys/types.h>
14881 #include <sys/stat.h>
14882 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14883 struct buf { int x; };
14884 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14885 static char *e (p, i)
14891 static char *f (char * (*g) (char **, int), char **p, ...)
14896 s = g (p, va_arg (v,int));
14901 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14902 function prototypes and stuff, but not '\xHH' hex character constants.
14903 These don't provoke an error unfortunately, instead are silently treated
14904 as 'x'. The following induces an error, until -std is added to get
14905 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14906 array size at least. It's necessary to write '\x00'==0 to get something
14907 that's true only with -std. */
14908 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14910 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14911 inside strings and character constants. */
14913 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14915 int test (int i, double x);
14916 struct s1 {int (*f) (int a);};
14917 struct s2 {int (*f) (double a);};
14918 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14924 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14929 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14930 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14932 CC="$ac_save_CC $ac_arg"
14933 rm -f conftest.$ac_objext
14934 if { (ac_try="$ac_compile"
14935 case "(($ac_try" in
14936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14937 *) ac_try_echo=$ac_try;;
14939 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14940 (eval "$ac_compile") 2>conftest.er1
14942 grep -v '^ *+' conftest.er1 >conftest.err
14944 cat conftest.err >&5
14945 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14946 (exit $ac_status); } && {
14947 test -z "$ac_c_werror_flag" ||
14948 test ! -s conftest.err
14949 } && test -s conftest.$ac_objext; then
14950 ac_cv_prog_cc_c89=$ac_arg
14952 echo "$as_me: failed program was
:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14958 rm -f core conftest.err conftest.$ac_objext
14959 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14961 rm -f conftest.$ac_ext
14966 case "x
$ac_cv_prog_cc_c89" in
14968 { echo "$as_me:$LINENO: result
: none needed
" >&5
14969 echo "${ECHO_T}none needed
" >&6; } ;;
14971 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14972 echo "${ECHO_T}unsupported
" >&6; } ;;
14974 CC="$CC $ac_cv_prog_cc_c89"
14975 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14976 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14981 ac_cpp='$CPP $CPPFLAGS'
14982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14990 ac_cpp='$CPP $CPPFLAGS'
14991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14995 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14996 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14997 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14998 echo $ECHO_N "(cached
) $ECHO_C" >&6
15000 cat >conftest.$ac_ext <<_ACEOF
15003 cat confdefs.h >>conftest.$ac_ext
15004 cat >>conftest.$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15011 #ifndef __INTEL_COMPILER
15019 rm -f conftest.$ac_objext
15020 if { (ac_try="$ac_compile"
15021 case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15025 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_compile") 2>conftest.er1
15028 grep -v '^ *+' conftest.er1 >conftest.err
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest.$ac_objext; then
15036 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15038 echo "$as_me: failed program was
:" >&5
15039 sed 's/^/| /' conftest.$ac_ext >&5
15041 bakefile_cv_c_compiler___INTEL_COMPILER=no
15045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15049 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15050 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15051 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15057 ac_cpp='$CPP $CPPFLAGS'
15058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15065 if test "$INTELCC" = "yes"; then
15069 ac_cpp='$CPP $CPPFLAGS'
15070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15074 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15075 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15076 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15077 echo $ECHO_N "(cached
) $ECHO_C" >&6
15079 cat >conftest.$ac_ext <<_ACEOF
15082 cat confdefs.h >>conftest.$ac_ext
15083 cat >>conftest.$ac_ext <<_ACEOF
15084 /* end confdefs.h. */
15090 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15098 rm -f conftest.$ac_objext
15099 if { (ac_try="$ac_compile"
15100 case "(($ac_try" in
15101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15102 *) ac_try_echo=$ac_try;;
15104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15105 (eval "$ac_compile") 2>conftest.er1
15107 grep -v '^ *+' conftest.er1 >conftest.err
15109 cat conftest.err >&5
15110 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15111 (exit $ac_status); } && {
15112 test -z "$ac_c_werror_flag" ||
15113 test ! -s conftest.err
15114 } && test -s conftest.$ac_objext; then
15115 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15117 echo "$as_me: failed program was
:" >&5
15118 sed 's/^/| /' conftest.$ac_ext >&5
15120 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15128 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15129 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15130 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15136 ac_cpp='$CPP $CPPFLAGS'
15137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15146 ac_cpp='$CPP $CPPFLAGS'
15147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15151 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15152 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15153 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15154 echo $ECHO_N "(cached
) $ECHO_C" >&6
15156 cat >conftest.$ac_ext <<_ACEOF
15159 cat confdefs.h >>conftest.$ac_ext
15160 cat >>conftest.$ac_ext <<_ACEOF
15161 /* end confdefs.h. */
15167 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15175 rm -f conftest.$ac_objext
15176 if { (ac_try="$ac_compile"
15177 case "(($ac_try" in
15178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15179 *) ac_try_echo=$ac_try;;
15181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15182 (eval "$ac_compile") 2>conftest.er1
15184 grep -v '^ *+' conftest.er1 >conftest.err
15186 cat conftest.err >&5
15187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15188 (exit $ac_status); } && {
15189 test -z "$ac_c_werror_flag" ||
15190 test ! -s conftest.err
15191 } && test -s conftest.$ac_objext; then
15192 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15194 echo "$as_me: failed program was
:" >&5
15195 sed 's/^/| /' conftest.$ac_ext >&5
15197 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15205 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15206 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15207 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15213 ac_cpp='$CPP $CPPFLAGS'
15214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15222 if test "x
$GCC" != "xyes
"; then
15223 if test "xCC
" = "xC
"; then
15224 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15225 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15226 if test "${bakefile_cv_c_exto+set}" = set; then
15227 echo $ECHO_N "(cached
) $ECHO_C" >&6
15229 cat >conftest.$ac_ext <<_ACEOF
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15244 rm -f conftest.$ac_objext conftest.$ac_ext.o
15245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15246 (eval $ac_compile) 2>&5
15248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15249 (exit $ac_status); }; then
15250 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15252 conftest.$ac_ext.o)
15253 bakefile_cv_c_exto="-ext o
"
15260 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15261 See \
`config.log' for more details." >&5
15262 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15263 See \`config.log
' for more details." >&2;}
15264 { (exit 1); exit 1; }; }
15268 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15271 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15272 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15273 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15274 if test "c" = "c"; then
15275 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15277 if test "c" = "cxx"; then
15278 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15282 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15283 unset ac_cv_prog_cc_g
15284 ac_test_CFLAGS=${CFLAGS+set}
15285 ac_save_CFLAGS=$CFLAGS
15286 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15287 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15288 if test "${ac_cv_prog_cc_g+set}" = set; then
15289 echo $ECHO_N "(cached) $ECHO_C" >&6
15291 ac_save_c_werror_flag=$ac_c_werror_flag
15292 ac_c_werror_flag=yes
15295 cat >conftest.$ac_ext <<_ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15310 rm -f conftest.$ac_objext
15311 if { (ac_try="$ac_compile"
15312 case "(($ac_try" in
15313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15314 *) ac_try_echo=$ac_try;;
15316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15317 (eval "$ac_compile") 2>conftest.er1
15319 grep -v '^
*+' conftest.er1 >conftest.err
15321 cat conftest.err >&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } && {
15324 test -z "$ac_c_werror_flag" ||
15325 test ! -s conftest.err
15326 } && test -s conftest.$ac_objext; then
15327 ac_cv_prog_cc_g=yes
15329 echo "$as_me: failed program was:" >&5
15330 sed 's
/^
/| /' conftest.$ac_ext >&5
15333 cat >conftest.$ac_ext <<_ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15348 rm -f conftest.$ac_objext
15349 if { (ac_try="$ac_compile"
15350 case "(($ac_try" in
15351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compile") 2>conftest.er1
15357 grep -v '^
*+' conftest.er1 >conftest.err
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_c_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest.$ac_objext; then
15367 echo "$as_me: failed program was:" >&5
15368 sed 's
/^
/| /' conftest.$ac_ext >&5
15370 ac_c_werror_flag=$ac_save_c_werror_flag
15372 cat >conftest.$ac_ext <<_ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15387 rm -f conftest.$ac_objext
15388 if { (ac_try="$ac_compile"
15389 case "(($ac_try" in
15390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15391 *) ac_try_echo=$ac_try;;
15393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15394 (eval "$ac_compile") 2>conftest.er1
15396 grep -v '^
*+' conftest.er1 >conftest.err
15398 cat conftest.err >&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } && {
15401 test -z "$ac_c_werror_flag" ||
15402 test ! -s conftest.err
15403 } && test -s conftest.$ac_objext; then
15404 ac_cv_prog_cc_g=yes
15406 echo "$as_me: failed program was:" >&5
15407 sed 's
/^
/| /' conftest.$ac_ext >&5
15412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15419 ac_c_werror_flag=$ac_save_c_werror_flag
15421 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15422 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15423 if test "$ac_test_CFLAGS" = set; then
15424 CFLAGS=$ac_save_CFLAGS
15425 elif test $ac_cv_prog_cc_g = yes; then
15426 if test "$GCC" = yes; then
15432 if test "$GCC" = yes; then
15446 ac_cpp='$CPP $CPPFLAGS'
15447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15448 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15451 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15452 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15453 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15454 echo $ECHO_N "(cached) $ECHO_C" >&6
15456 cat >conftest.$ac_ext <<_ACEOF
15459 cat confdefs.h >>conftest.$ac_ext
15460 cat >>conftest.$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15475 rm -f conftest.$ac_objext
15476 if { (ac_try="$ac_compile"
15477 case "(($ac_try" in
15478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15479 *) ac_try_echo=$ac_try;;
15481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15482 (eval "$ac_compile") 2>conftest.er1
15484 grep -v '^
*+' conftest.er1 >conftest.err
15486 cat conftest.err >&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } && {
15489 test -z "$ac_c_werror_flag" ||
15490 test ! -s conftest.err
15491 } && test -s conftest.$ac_objext; then
15492 bakefile_cv_c_compiler___xlC__=yes
15494 echo "$as_me: failed program was:" >&5
15495 sed 's
/^
/| /' conftest.$ac_ext >&5
15497 bakefile_cv_c_compiler___xlC__=no
15501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15505 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15506 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15507 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15513 ac_cpp='$CPP $CPPFLAGS'
15514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15515 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15526 ac_cpp='$CPP $CPPFLAGS'
15527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15528 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15531 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15532 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15533 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 cat >conftest.$ac_ext <<_ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15555 rm -f conftest.$ac_objext
15556 if { (ac_try="$ac_compile"
15557 case "(($ac_try" in
15558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15559 *) ac_try_echo=$ac_try;;
15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15562 (eval "$ac_compile") 2>conftest.er1
15564 grep -v '^
*+' conftest.er1 >conftest.err
15566 cat conftest.err >&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } && {
15569 test -z "$ac_c_werror_flag" ||
15570 test ! -s conftest.err
15571 } && test -s conftest.$ac_objext; then
15572 bakefile_cv_c_compiler___MWERKS__=yes
15574 echo "$as_me: failed program was:" >&5
15575 sed 's
/^
/| /' conftest.$ac_ext >&5
15577 bakefile_cv_c_compiler___MWERKS__=no
15581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15585 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15586 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15587 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15593 ac_cpp='$CPP $CPPFLAGS'
15594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15595 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15600 if test "$MWCC" != "yes"; then
15604 ac_cpp='$CPP $CPPFLAGS'
15605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15606 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15609 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15610 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15611 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 cat >conftest.$ac_ext <<_ACEOF
15617 cat confdefs.h >>conftest.$ac_ext
15618 cat >>conftest.$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15633 rm -f conftest.$ac_objext
15634 if { (ac_try="$ac_compile"
15635 case "(($ac_try" in
15636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_compile") 2>conftest.er1
15642 grep -v '^
*+' conftest.er1 >conftest.err
15644 cat conftest.err >&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); } && {
15647 test -z "$ac_c_werror_flag" ||
15648 test ! -s conftest.err
15649 } && test -s conftest.$ac_objext; then
15650 bakefile_cv_c_compiler___xlC__=yes
15652 echo "$as_me: failed program was:" >&5
15653 sed 's
/^
/| /' conftest.$ac_ext >&5
15655 bakefile_cv_c_compiler___xlC__=no
15659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15663 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15664 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15665 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15671 ac_cpp='$CPP $CPPFLAGS'
15672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15673 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685 ac_cpp='$CPP $CPPFLAGS'
15686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15687 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15691 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15692 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 cat >conftest.$ac_ext <<_ACEOF
15698 cat confdefs.h >>conftest.$ac_ext
15699 cat >>conftest.$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15706 #ifndef _SGI_COMPILER_VERSION
15714 rm -f conftest.$ac_objext
15715 if { (ac_try="$ac_compile"
15716 case "(($ac_try" in
15717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15718 *) ac_try_echo=$ac_try;;
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_compile") 2>conftest.er1
15723 grep -v '^
*+' conftest.er1 >conftest.err
15725 cat conftest.err >&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } && {
15728 test -z "$ac_c_werror_flag" ||
15729 test ! -s conftest.err
15730 } && test -s conftest.$ac_objext; then
15731 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15733 echo "$as_me: failed program was:" >&5
15734 sed 's
/^
/| /' conftest.$ac_ext >&5
15736 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15744 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15745 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15746 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15752 ac_cpp='$CPP $CPPFLAGS'
15753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15754 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15762 if test "$INTELCC" != "yes"; then
15766 ac_cpp='$CPP $CPPFLAGS'
15767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15768 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15771 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15772 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15773 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 cat >conftest.$ac_ext <<_ACEOF
15779 cat confdefs.h >>conftest.$ac_ext
15780 cat >>conftest.$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15795 rm -f conftest.$ac_objext
15796 if { (ac_try="$ac_compile"
15797 case "(($ac_try" in
15798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15799 *) ac_try_echo=$ac_try;;
15801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15802 (eval "$ac_compile") 2>conftest.er1
15804 grep -v '^
*+' conftest.er1 >conftest.err
15806 cat conftest.err >&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } && {
15809 test -z "$ac_c_werror_flag" ||
15810 test ! -s conftest.err
15811 } && test -s conftest.$ac_objext; then
15812 bakefile_cv_c_compiler___SUNPRO_C=yes
15814 echo "$as_me: failed program was:" >&5
15815 sed 's
/^
/| /' conftest.$ac_ext >&5
15817 bakefile_cv_c_compiler___SUNPRO_C=no
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15825 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15826 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15827 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15833 ac_cpp='$CPP $CPPFLAGS'
15834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15835 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15847 ac_cpp='$CPP $CPPFLAGS'
15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15849 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15852 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15853 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15854 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15857 cat >conftest.$ac_ext <<_ACEOF
15860 cat confdefs.h >>conftest.$ac_ext
15861 cat >>conftest.$ac_ext <<_ACEOF
15862 /* end confdefs.h. */
15876 rm -f conftest.$ac_objext
15877 if { (ac_try="$ac_compile"
15878 case "(($ac_try" in
15879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15880 *) ac_try_echo=$ac_try;;
15882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15883 (eval "$ac_compile") 2>conftest.er1
15885 grep -v '^
*+' conftest.er1 >conftest.err
15887 cat conftest.err >&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } && {
15890 test -z "$ac_c_werror_flag" ||
15891 test ! -s conftest.err
15892 } && test -s conftest.$ac_objext; then
15893 bakefile_cv_c_compiler___HP_cc=yes
15895 echo "$as_me: failed program was:" >&5
15896 sed 's
/^
/| /' conftest.$ac_ext >&5
15898 bakefile_cv_c_compiler___HP_cc=no
15902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15906 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15907 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15908 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15914 ac_cpp='$CPP $CPPFLAGS'
15915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15916 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15927 ac_cpp='$CPP $CPPFLAGS'
15928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15929 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15932 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15933 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15934 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 cat >conftest.$ac_ext <<_ACEOF
15940 cat confdefs.h >>conftest.$ac_ext
15941 cat >>conftest.$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15956 rm -f conftest.$ac_objext
15957 if { (ac_try="$ac_compile"
15958 case "(($ac_try" in
15959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15960 *) ac_try_echo=$ac_try;;
15962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15963 (eval "$ac_compile") 2>conftest.er1
15965 grep -v '^
*+' conftest.er1 >conftest.err
15967 cat conftest.err >&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); } && {
15970 test -z "$ac_c_werror_flag" ||
15971 test ! -s conftest.err
15972 } && test -s conftest.$ac_objext; then
15973 bakefile_cv_c_compiler___DECC=yes
15975 echo "$as_me: failed program was:" >&5
15976 sed 's
/^
/| /' conftest.$ac_ext >&5
15978 bakefile_cv_c_compiler___DECC=no
15982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15986 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15987 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15988 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15994 ac_cpp='$CPP $CPPFLAGS'
15995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15996 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16009 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16012 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16013 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16014 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16015 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 cat >conftest.$ac_ext <<_ACEOF
16020 cat confdefs.h >>conftest.$ac_ext
16021 cat >>conftest.$ac_ext <<_ACEOF
16022 /* end confdefs.h. */
16036 rm -f conftest.$ac_objext
16037 if { (ac_try="$ac_compile"
16038 case "(($ac_try" in
16039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16040 *) ac_try_echo=$ac_try;;
16042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16043 (eval "$ac_compile") 2>conftest.er1
16045 grep -v '^
*+' conftest.er1 >conftest.err
16047 cat conftest.err >&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); } && {
16050 test -z "$ac_c_werror_flag" ||
16051 test ! -s conftest.err
16052 } && test -s conftest.$ac_objext; then
16053 bakefile_cv_c_compiler___SUNPRO_C=yes
16055 echo "$as_me: failed program was:" >&5
16056 sed 's
/^
/| /' conftest.$ac_ext >&5
16058 bakefile_cv_c_compiler___SUNPRO_C=no
16062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16066 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16067 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16068 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16074 ac_cpp='$CPP $CPPFLAGS'
16075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16076 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
16092 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16093 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16094 # On Suns, sometimes $CPP names a directory.
16095 if test -n "$CPP" && test -d "$CPP"; then
16098 if test -z "$CPP"; then
16099 if test "${ac_cv_prog_CPP+set}" = set; then
16100 echo $ECHO_N "(cached) $ECHO_C" >&6
16102 # Double quotes because CPP needs to be expanded
16103 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16105 ac_preproc_ok=false
16106 for ac_c_preproc_warn_flag in '' yes
16108 # Use a header file that comes with gcc, so configuring glibc
16109 # with a fresh cross-compiler works.
16110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16111 # <limits.h> exists even on freestanding compilers.
16112 # On the NeXT, cc -E runs the code through the compiler's parser
,
16113 # not just through cpp. "Syntax error" is here to catch this case.
16114 cat >conftest.
$ac_ext <<_ACEOF
16117 cat confdefs.h
>>conftest.
$ac_ext
16118 cat >>conftest.
$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16121 # include <limits.h>
16123 # include <assert.h>
16127 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16128 case "(($ac_try" in
16129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16135 grep -v '^ *+' conftest.er1 >conftest.err
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } >/dev/null && {
16140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16141 test ! -s conftest.err
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.$ac_ext >&5
16148 # Broken: fails on valid input.
16152 rm -f conftest.err conftest.$ac_ext
16154 # OK, works on sane cases. Now check whether nonexistent headers
16155 # can be detected and how.
16156 cat >conftest.$ac_ext <<_ACEOF
16159 cat confdefs.h >>conftest.$ac_ext
16160 cat >>conftest.$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16162 #include <ac_nonexistent.h>
16164 if { (ac_try="$ac_cpp conftest.$ac_ext"
16165 case "(($ac_try" in
16166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16167 *) ac_try_echo
=$ac_try;;
16169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16172 grep -v '^ *+' conftest.er1
>conftest.err
16174 cat conftest.err
>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } >/dev
/null
&& {
16177 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16178 test ! -s conftest.err
16180 # Broken: success on invalid input.
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.
$ac_ext >&5
16186 # Passes both tests.
16191 rm -f conftest.err conftest.
$ac_ext
16194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16195 rm -f conftest.err conftest.
$ac_ext
16196 if $ac_preproc_ok; then
16201 ac_cv_prog_CPP
=$CPP
16204 CPP
=$ac_cv_prog_CPP
16206 ac_cv_prog_CPP
=$CPP
16208 { echo "$as_me:$LINENO: result: $CPP" >&5
16209 echo "${ECHO_T}$CPP" >&6; }
16210 ac_preproc_ok
=false
16211 for ac_c_preproc_warn_flag
in '' yes
16213 # Use a header file that comes with gcc, so configuring glibc
16214 # with a fresh cross-compiler works.
16215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16216 # <limits.h> exists even on freestanding compilers.
16217 # On the NeXT, cc -E runs the code through the compiler's parser,
16218 # not just through cpp. "Syntax error" is here to catch this case.
16219 cat >conftest.
$ac_ext <<_ACEOF
16222 cat confdefs.h
>>conftest.
$ac_ext
16223 cat >>conftest.
$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16226 # include <limits.h>
16228 # include <assert.h>
16232 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16233 case "(($ac_try" in
16234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16240 grep -v '^ *+' conftest.er1 >conftest.err
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } >/dev/null && {
16245 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16253 # Broken: fails on valid input.
16257 rm -f conftest.err conftest.$ac_ext
16259 # OK, works on sane cases. Now check whether nonexistent headers
16260 # can be detected and how.
16261 cat >conftest.$ac_ext <<_ACEOF
16264 cat confdefs.h >>conftest.$ac_ext
16265 cat >>conftest.$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 #include <ac_nonexistent.h>
16269 if { (ac_try="$ac_cpp conftest.$ac_ext"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16272 *) ac_try_echo
=$ac_try;;
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16277 grep -v '^ *+' conftest.er1
>conftest.err
16279 cat conftest.err
>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } >/dev
/null
&& {
16282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16283 test ! -s conftest.err
16285 # Broken: success on invalid input.
16288 echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.
$ac_ext >&5
16291 # Passes both tests.
16296 rm -f conftest.err conftest.
$ac_ext
16299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16300 rm -f conftest.err conftest.
$ac_ext
16301 if $ac_preproc_ok; then
16304 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16305 See \`config.log' for more details." >&5
16306 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16307 See \`config.log' for more details." >&2;}
16308 { (exit 1); exit 1; }; }
16312 ac_cpp
='$CPP $CPPFLAGS'
16313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16318 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16319 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16320 if test "${ac_cv_path_GREP+set}" = set; then
16321 echo $ECHO_N "(cached) $ECHO_C" >&6
16323 # Extract the first word of "grep ggrep" to use in msg output
16324 if test -z "$GREP"; then
16325 set dummy
grep ggrep
; ac_prog_name
=$2
16326 if test "${ac_cv_path_GREP+set}" = set; then
16327 echo $ECHO_N "(cached) $ECHO_C" >&6
16329 ac_path_GREP_found
=false
16330 # Loop through the user's path and test for each of PROGNAME-LIST
16331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16332 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16335 test -z "$as_dir" && as_dir
=.
16336 for ac_prog
in grep ggrep
; do
16337 for ac_exec_ext
in '' $ac_executable_extensions; do
16338 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16339 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16340 # Check for GNU ac_path_GREP and select it if it is found.
16341 # Check for GNU $ac_path_GREP
16342 case `"$ac_path_GREP" --version 2>&1` in
16344 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16347 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16350 cat "conftest.in" "conftest.in" >"conftest.tmp"
16351 mv "conftest.tmp" "conftest.in"
16352 cp "conftest.in" "conftest.nl"
16353 echo 'GREP' >> "conftest.nl"
16354 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16355 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16356 ac_count
=`expr $ac_count + 1`
16357 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16358 # Best one so far, save it but keep looking for a better one
16359 ac_cv_path_GREP
="$ac_path_GREP"
16360 ac_path_GREP_max
=$ac_count
16362 # 10*(2^10) chars as input seems more than enough
16363 test $ac_count -gt 10 && break
16365 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16369 $ac_path_GREP_found && break 3
16379 GREP
="$ac_cv_path_GREP"
16380 if test -z "$GREP"; then
16381 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16382 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16383 { (exit 1); exit 1; }; }
16387 ac_cv_path_GREP
=$GREP
16392 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16393 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16394 GREP
="$ac_cv_path_GREP"
16397 { echo "$as_me:$LINENO: checking for egrep" >&5
16398 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16399 if test "${ac_cv_path_EGREP+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16402 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16403 then ac_cv_path_EGREP
="$GREP -E"
16405 # Extract the first word of "egrep" to use in msg output
16406 if test -z "$EGREP"; then
16407 set dummy
egrep; ac_prog_name
=$2
16408 if test "${ac_cv_path_EGREP+set}" = set; then
16409 echo $ECHO_N "(cached) $ECHO_C" >&6
16411 ac_path_EGREP_found
=false
16412 # Loop through the user's path and test for each of PROGNAME-LIST
16413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16414 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16417 test -z "$as_dir" && as_dir
=.
16418 for ac_prog
in egrep; do
16419 for ac_exec_ext
in '' $ac_executable_extensions; do
16420 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16421 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16422 # Check for GNU ac_path_EGREP and select it if it is found.
16423 # Check for GNU $ac_path_EGREP
16424 case `"$ac_path_EGREP" --version 2>&1` in
16426 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16429 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16432 cat "conftest.in" "conftest.in" >"conftest.tmp"
16433 mv "conftest.tmp" "conftest.in"
16434 cp "conftest.in" "conftest.nl"
16435 echo 'EGREP' >> "conftest.nl"
16436 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16437 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16438 ac_count
=`expr $ac_count + 1`
16439 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16440 # Best one so far, save it but keep looking for a better one
16441 ac_cv_path_EGREP
="$ac_path_EGREP"
16442 ac_path_EGREP_max
=$ac_count
16444 # 10*(2^10) chars as input seems more than enough
16445 test $ac_count -gt 10 && break
16447 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16451 $ac_path_EGREP_found && break 3
16461 EGREP
="$ac_cv_path_EGREP"
16462 if test -z "$EGREP"; then
16463 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16464 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16465 { (exit 1); exit 1; }; }
16469 ac_cv_path_EGREP
=$EGREP
16475 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16476 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16477 EGREP
="$ac_cv_path_EGREP"
16480 if test $ac_cv_c_compiler_gnu = yes; then
16481 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16482 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16483 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16484 echo $ECHO_N "(cached) $ECHO_C" >&6
16486 ac_pattern
="Autoconf.*'x'"
16487 cat >conftest.
$ac_ext <<_ACEOF
16490 cat confdefs.h
>>conftest.
$ac_ext
16491 cat >>conftest.
$ac_ext <<_ACEOF
16492 /* end confdefs.h. */
16496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16497 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16498 ac_cv_prog_gcc_traditional
=yes
16500 ac_cv_prog_gcc_traditional
=no
16505 if test $ac_cv_prog_gcc_traditional = no
; then
16506 cat >conftest.
$ac_ext <<_ACEOF
16509 cat confdefs.h
>>conftest.
$ac_ext
16510 cat >>conftest.
$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16512 #include <termio.h>
16515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16517 ac_cv_prog_gcc_traditional
=yes
16523 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16524 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16525 if test $ac_cv_prog_gcc_traditional = yes; then
16526 CC
="$CC -traditional"
16531 CXXFLAGS
=${CXXFLAGS:=}
16536 ac_cpp
='$CXXCPP $CPPFLAGS'
16537 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16538 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16539 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16540 if test -z "$CXX"; then
16541 if test -n "$CCC"; then
16544 if test -n "$ac_tool_prefix"; then
16545 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16547 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16548 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16551 if test "${ac_cv_prog_CXX+set}" = set; then
16552 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 if test -n "$CXX"; then
16555 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16558 for as_dir
in $PATH
16561 test -z "$as_dir" && as_dir
=.
16562 for ac_exec_ext
in '' $ac_executable_extensions; do
16563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16564 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16574 CXX
=$ac_cv_prog_CXX
16575 if test -n "$CXX"; then
16576 { echo "$as_me:$LINENO: result: $CXX" >&5
16577 echo "${ECHO_T}$CXX" >&6; }
16579 { echo "$as_me:$LINENO: result: no" >&5
16580 echo "${ECHO_T}no" >&6; }
16584 test -n "$CXX" && break
16587 if test -z "$CXX"; then
16589 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16591 # Extract the first word of "$ac_prog", so it can be a program name with args.
16592 set dummy
$ac_prog; ac_word
=$2
16593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16595 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 if test -n "$ac_ct_CXX"; then
16599 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16602 for as_dir
in $PATH
16605 test -z "$as_dir" && as_dir
=.
16606 for ac_exec_ext
in '' $ac_executable_extensions; do
16607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16608 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16618 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16619 if test -n "$ac_ct_CXX"; then
16620 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16621 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16623 { echo "$as_me:$LINENO: result: no" >&5
16624 echo "${ECHO_T}no" >&6; }
16628 test -n "$ac_ct_CXX" && break
16631 if test "x$ac_ct_CXX" = x
; then
16634 case $cross_compiling:$ac_tool_warned in
16636 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16637 whose name does not start with the host triplet. If you think this
16638 configuration is useful to you, please write to autoconf@gnu.org." >&5
16639 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16640 whose name does not start with the host triplet. If you think this
16641 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16642 ac_tool_warned
=yes ;;
16650 # Provide some information about the compiler.
16651 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16652 ac_compiler
=`set X $ac_compile; echo $2`
16653 { (ac_try
="$ac_compiler --version >&5"
16654 case "(($ac_try" in
16655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16656 *) ac_try_echo=$ac_try;;
16658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16659 (eval "$ac_compiler --version >&5") 2>&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }
16663 { (ac_try="$ac_compiler -v >&5"
16664 case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16666 *) ac_try_echo
=$ac_try;;
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_compiler -v >&5") 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }
16673 { (ac_try
="$ac_compiler -V >&5"
16674 case "(($ac_try" in
16675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_compiler -V >&5") 2>&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }
16684 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16685 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16686 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 cat >conftest.$ac_ext <<_ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16707 rm -f conftest.$ac_objext
16708 if { (ac_try="$ac_compile"
16709 case "(($ac_try" in
16710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16711 *) ac_try_echo
=$ac_try;;
16713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16714 (eval "$ac_compile") 2>conftest.er1
16716 grep -v '^ *+' conftest.er1
>conftest.err
16718 cat conftest.err
>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } && {
16721 test -z "$ac_cxx_werror_flag" ||
16722 test ! -s conftest.err
16723 } && test -s conftest.
$ac_objext; then
16724 ac_compiler_gnu
=yes
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.
$ac_ext >&5
16732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16733 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16736 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16737 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16738 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16739 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16740 ac_save_CXXFLAGS
=$CXXFLAGS
16741 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16742 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16743 if test "${ac_cv_prog_cxx_g+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16747 ac_cxx_werror_flag
=yes
16748 ac_cv_prog_cxx_g
=no
16750 cat >conftest.
$ac_ext <<_ACEOF
16753 cat confdefs.h
>>conftest.
$ac_ext
16754 cat >>conftest.
$ac_ext <<_ACEOF
16755 /* end confdefs.h. */
16765 rm -f conftest.
$ac_objext
16766 if { (ac_try
="$ac_compile"
16767 case "(($ac_try" in
16768 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16769 *) ac_try_echo=$ac_try;;
16771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16772 (eval "$ac_compile") 2>conftest.er1
16774 grep -v '^ *+' conftest.er1 >conftest.err
16776 cat conftest.err >&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } && {
16779 test -z "$ac_cxx_werror_flag" ||
16780 test ! -s conftest.err
16781 } && test -s conftest.$ac_objext; then
16782 ac_cv_prog_cxx_g=yes
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16788 cat >conftest.$ac_ext <<_ACEOF
16791 cat confdefs.h >>conftest.$ac_ext
16792 cat >>conftest.$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16803 rm -f conftest.$ac_objext
16804 if { (ac_try="$ac_compile"
16805 case "(($ac_try" in
16806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16807 *) ac_try_echo
=$ac_try;;
16809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16810 (eval "$ac_compile") 2>conftest.er1
16812 grep -v '^ *+' conftest.er1
>conftest.err
16814 cat conftest.err
>&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } && {
16817 test -z "$ac_cxx_werror_flag" ||
16818 test ! -s conftest.err
16819 } && test -s conftest.
$ac_objext; then
16822 echo "$as_me: failed program was:" >&5
16823 sed 's/^/| /' conftest.
$ac_ext >&5
16825 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16827 cat >conftest.
$ac_ext <<_ACEOF
16830 cat confdefs.h
>>conftest.
$ac_ext
16831 cat >>conftest.
$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16842 rm -f conftest.
$ac_objext
16843 if { (ac_try
="$ac_compile"
16844 case "(($ac_try" in
16845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16846 *) ac_try_echo=$ac_try;;
16848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16849 (eval "$ac_compile") 2>conftest.er1
16851 grep -v '^ *+' conftest.er1 >conftest.err
16853 cat conftest.err >&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } && {
16856 test -z "$ac_cxx_werror_flag" ||
16857 test ! -s conftest.err
16858 } && test -s conftest.$ac_objext; then
16859 ac_cv_prog_cxx_g=yes
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16876 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16877 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16878 if test "$ac_test_CXXFLAGS" = set; then
16879 CXXFLAGS=$ac_save_CXXFLAGS
16880 elif test $ac_cv_prog_cxx_g = yes; then
16881 if test "$GXX" = yes; then
16887 if test "$GXX" = yes; then
16894 ac_cpp='$CPP $CPPFLAGS'
16895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16903 ac_cpp='$CXXCPP $CPPFLAGS'
16904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16908 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16909 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16910 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 cat >conftest.$ac_ext <<_ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16924 #ifndef __INTEL_COMPILER
16932 rm -f conftest.$ac_objext
16933 if { (ac_try="$ac_compile"
16934 case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16936 *) ac_try_echo
=$ac_try;;
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_compile") 2>conftest.er1
16941 grep -v '^ *+' conftest.er1
>conftest.err
16943 cat conftest.err
>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } && {
16946 test -z "$ac_cxx_werror_flag" ||
16947 test ! -s conftest.err
16948 } && test -s conftest.
$ac_objext; then
16949 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.
$ac_ext >&5
16954 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16962 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16963 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16964 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16970 ac_cpp
='$CPP $CPPFLAGS'
16971 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16972 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16973 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16978 if test "$INTELCXX" = "yes"; then
16982 ac_cpp
='$CXXCPP $CPPFLAGS'
16983 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16984 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16985 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16987 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16988 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16989 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 cat >conftest.
$ac_ext <<_ACEOF
16995 cat confdefs.h
>>conftest.
$ac_ext
16996 cat >>conftest.
$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
17003 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17011 rm -f conftest.
$ac_objext
17012 if { (ac_try
="$ac_compile"
17013 case "(($ac_try" in
17014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17015 *) ac_try_echo=$ac_try;;
17017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17018 (eval "$ac_compile") 2>conftest.er1
17020 grep -v '^ *+' conftest.er1 >conftest.err
17022 cat conftest.err >&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } && {
17025 test -z "$ac_cxx_werror_flag" ||
17026 test ! -s conftest.err
17027 } && test -s conftest.$ac_objext; then
17028 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17030 echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.$ac_ext >&5
17033 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17041 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17042 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17043 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17049 ac_cpp='$CPP $CPPFLAGS'
17050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17059 ac_cpp='$CXXCPP $CPPFLAGS'
17060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17064 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17065 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17066 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 cat >conftest.$ac_ext <<_ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17080 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17088 rm -f conftest.$ac_objext
17089 if { (ac_try="$ac_compile"
17090 case "(($ac_try" in
17091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17092 *) ac_try_echo
=$ac_try;;
17094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17095 (eval "$ac_compile") 2>conftest.er1
17097 grep -v '^ *+' conftest.er1
>conftest.err
17099 cat conftest.err
>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } && {
17102 test -z "$ac_cxx_werror_flag" ||
17103 test ! -s conftest.err
17104 } && test -s conftest.
$ac_objext; then
17105 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.
$ac_ext >&5
17110 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17118 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17119 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17120 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17126 ac_cpp
='$CPP $CPPFLAGS'
17127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17135 if test "x$GCXX" != "xyes"; then
17136 if test "xCXX" = "xC"; then
17137 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17138 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17139 if test "${bakefile_cv_c_exto+set}" = set; then
17140 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 cat >conftest.
$ac_ext <<_ACEOF
17145 cat confdefs.h
>>conftest.
$ac_ext
17146 cat >>conftest.
$ac_ext <<_ACEOF
17147 /* end confdefs.h. */
17157 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17159 (eval $ac_compile) 2>&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; then
17163 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17165 conftest.
$ac_ext.o
)
17166 bakefile_cv_c_exto
="-ext o"
17173 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17174 See \`config.log' for more details." >&5
17175 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17176 See \`config.log' for more details." >&2;}
17177 { (exit 1); exit 1; }; }
17181 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17184 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17185 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17186 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17187 if test "c" = "c"; then
17188 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17190 if test "c" = "cxx"; then
17191 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17195 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17196 unset ac_cv_prog_cc_g
17197 ac_test_CFLAGS
=${CFLAGS+set}
17198 ac_save_CFLAGS
=$CFLAGS
17199 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17200 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17201 if test "${ac_cv_prog_cc_g+set}" = set; then
17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 ac_save_c_werror_flag
=$ac_c_werror_flag
17205 ac_c_werror_flag
=yes
17208 cat >conftest.
$ac_ext <<_ACEOF
17211 cat confdefs.h
>>conftest.
$ac_ext
17212 cat >>conftest.
$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17223 rm -f conftest.
$ac_objext
17224 if { (ac_try
="$ac_compile"
17225 case "(($ac_try" in
17226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17227 *) ac_try_echo=$ac_try;;
17229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17230 (eval "$ac_compile") 2>conftest.er1
17232 grep -v '^ *+' conftest.er1 >conftest.err
17234 cat conftest.err >&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } && {
17237 test -z "$ac_c_werror_flag" ||
17238 test ! -s conftest.err
17239 } && test -s conftest.$ac_objext; then
17240 ac_cv_prog_cc_g=yes
17242 echo "$as_me: failed program was:" >&5
17243 sed 's/^/| /' conftest.$ac_ext >&5
17246 cat >conftest.$ac_ext <<_ACEOF
17249 cat confdefs.h >>conftest.$ac_ext
17250 cat >>conftest.$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17261 rm -f conftest.$ac_objext
17262 if { (ac_try="$ac_compile"
17263 case "(($ac_try" in
17264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17265 *) ac_try_echo
=$ac_try;;
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_compile") 2>conftest.er1
17270 grep -v '^ *+' conftest.er1
>conftest.err
17272 cat conftest.err
>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest.
$ac_objext; then
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.
$ac_ext >&5
17283 ac_c_werror_flag
=$ac_save_c_werror_flag
17285 cat >conftest.
$ac_ext <<_ACEOF
17288 cat confdefs.h
>>conftest.
$ac_ext
17289 cat >>conftest.
$ac_ext <<_ACEOF
17290 /* end confdefs.h. */
17300 rm -f conftest.
$ac_objext
17301 if { (ac_try
="$ac_compile"
17302 case "(($ac_try" in
17303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17304 *) ac_try_echo=$ac_try;;
17306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17307 (eval "$ac_compile") 2>conftest.er1
17309 grep -v '^ *+' conftest.er1 >conftest.err
17311 cat conftest.err >&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } && {
17314 test -z "$ac_c_werror_flag" ||
17315 test ! -s conftest.err
17316 } && test -s conftest.$ac_objext; then
17317 ac_cv_prog_cc_g=yes
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17332 ac_c_werror_flag=$ac_save_c_werror_flag
17334 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17335 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17336 if test "$ac_test_CFLAGS" = set; then
17337 CFLAGS=$ac_save_CFLAGS
17338 elif test $ac_cv_prog_cc_g = yes; then
17339 if test "$GCC" = yes; then
17345 if test "$GCC" = yes; then
17359 ac_cpp='$CXXCPP $CPPFLAGS'
17360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17364 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17365 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17366 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 cat >conftest.$ac_ext <<_ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17388 rm -f conftest.$ac_objext
17389 if { (ac_try="$ac_compile"
17390 case "(($ac_try" in
17391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17392 *) ac_try_echo
=$ac_try;;
17394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17395 (eval "$ac_compile") 2>conftest.er1
17397 grep -v '^ *+' conftest.er1
>conftest.err
17399 cat conftest.err
>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } && {
17402 test -z "$ac_cxx_werror_flag" ||
17403 test ! -s conftest.err
17404 } && test -s conftest.
$ac_objext; then
17405 bakefile_cv_cxx_compiler___xlC__
=yes
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.
$ac_ext >&5
17410 bakefile_cv_cxx_compiler___xlC__
=no
17414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17418 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17419 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17420 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17426 ac_cpp
='$CPP $CPPFLAGS'
17427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17439 ac_cpp
='$CXXCPP $CPPFLAGS'
17440 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17441 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17442 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17444 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17445 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17446 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 cat >conftest.
$ac_ext <<_ACEOF
17452 cat confdefs.h
>>conftest.
$ac_ext
17453 cat >>conftest.
$ac_ext <<_ACEOF
17454 /* end confdefs.h. */
17468 rm -f conftest.
$ac_objext
17469 if { (ac_try
="$ac_compile"
17470 case "(($ac_try" in
17471 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17472 *) ac_try_echo=$ac_try;;
17474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17475 (eval "$ac_compile") 2>conftest.er1
17477 grep -v '^ *+' conftest.er1 >conftest.err
17479 cat conftest.err >&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } && {
17482 test -z "$ac_cxx_werror_flag" ||
17483 test ! -s conftest.err
17484 } && test -s conftest.$ac_objext; then
17485 bakefile_cv_cxx_compiler___MWERKS__=yes
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.$ac_ext >&5
17490 bakefile_cv_cxx_compiler___MWERKS__=no
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17498 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17499 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17500 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17506 ac_cpp='$CPP $CPPFLAGS'
17507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17513 if test "$MWCXX" != "yes"; then
17517 ac_cpp='$CXXCPP $CPPFLAGS'
17518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17522 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17523 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17524 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17525 echo $ECHO_N "(cached) $ECHO_C" >&6
17527 cat >conftest.$ac_ext <<_ACEOF
17530 cat confdefs.h >>conftest.$ac_ext
17531 cat >>conftest.$ac_ext <<_ACEOF
17532 /* end confdefs.h. */
17546 rm -f conftest.$ac_objext
17547 if { (ac_try="$ac_compile"
17548 case "(($ac_try" in
17549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17550 *) ac_try_echo
=$ac_try;;
17552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17553 (eval "$ac_compile") 2>conftest.er1
17555 grep -v '^ *+' conftest.er1
>conftest.err
17557 cat conftest.err
>&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } && {
17560 test -z "$ac_cxx_werror_flag" ||
17561 test ! -s conftest.err
17562 } && test -s conftest.
$ac_objext; then
17563 bakefile_cv_cxx_compiler___xlC__
=yes
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.
$ac_ext >&5
17568 bakefile_cv_cxx_compiler___xlC__
=no
17572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17576 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17577 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17578 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17584 ac_cpp
='$CPP $CPPFLAGS'
17585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17598 ac_cpp
='$CXXCPP $CPPFLAGS'
17599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17603 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17604 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17605 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17608 cat >conftest.
$ac_ext <<_ACEOF
17611 cat confdefs.h
>>conftest.
$ac_ext
17612 cat >>conftest.
$ac_ext <<_ACEOF
17613 /* end confdefs.h. */
17619 #ifndef _SGI_COMPILER_VERSION
17627 rm -f conftest.
$ac_objext
17628 if { (ac_try
="$ac_compile"
17629 case "(($ac_try" in
17630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17631 *) ac_try_echo=$ac_try;;
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_compile") 2>conftest.er1
17636 grep -v '^ *+' conftest.er1 >conftest.err
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && {
17641 test -z "$ac_cxx_werror_flag" ||
17642 test ! -s conftest.err
17643 } && test -s conftest.$ac_objext; then
17644 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17649 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17658 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17659 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17675 if test "$INTELCXX" != "yes"; then
17679 ac_cpp='$CXXCPP $CPPFLAGS'
17680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17684 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17685 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17686 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17689 cat >conftest.$ac_ext <<_ACEOF
17692 cat confdefs.h >>conftest.$ac_ext
17693 cat >>conftest.$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17700 #ifndef __SUNPRO_CC
17708 rm -f conftest.$ac_objext
17709 if { (ac_try="$ac_compile"
17710 case "(($ac_try" in
17711 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17712 *) ac_try_echo
=$ac_try;;
17714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17715 (eval "$ac_compile") 2>conftest.er1
17717 grep -v '^ *+' conftest.er1
>conftest.err
17719 cat conftest.err
>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } && {
17722 test -z "$ac_cxx_werror_flag" ||
17723 test ! -s conftest.err
17724 } && test -s conftest.
$ac_objext; then
17725 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17730 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17738 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17739 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17740 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17746 ac_cpp
='$CPP $CPPFLAGS'
17747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17760 ac_cpp
='$CXXCPP $CPPFLAGS'
17761 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17762 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17763 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17765 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17766 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17767 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17770 cat >conftest.
$ac_ext <<_ACEOF
17773 cat confdefs.h
>>conftest.
$ac_ext
17774 cat >>conftest.
$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17789 rm -f conftest.
$ac_objext
17790 if { (ac_try
="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17798 grep -v '^ *+' conftest.er1 >conftest.err
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_cxx_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.$ac_objext; then
17806 bakefile_cv_cxx_compiler___HP_aCC=yes
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17811 bakefile_cv_cxx_compiler___HP_aCC=no
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17819 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17820 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17821 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17827 ac_cpp='$CPP $CPPFLAGS'
17828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17840 ac_cpp='$CXXCPP $CPPFLAGS'
17841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17845 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17846 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17847 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 cat >conftest.$ac_ext <<_ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17869 rm -f conftest.$ac_objext
17870 if { (ac_try="$ac_compile"
17871 case "(($ac_try" in
17872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17873 *) ac_try_echo
=$ac_try;;
17875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17876 (eval "$ac_compile") 2>conftest.er1
17878 grep -v '^ *+' conftest.er1
>conftest.err
17880 cat conftest.err
>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } && {
17883 test -z "$ac_cxx_werror_flag" ||
17884 test ! -s conftest.err
17885 } && test -s conftest.
$ac_objext; then
17886 bakefile_cv_cxx_compiler___DECCXX
=yes
17888 echo "$as_me: failed program was:" >&5
17889 sed 's/^/| /' conftest.
$ac_ext >&5
17891 bakefile_cv_cxx_compiler___DECCXX
=no
17895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17899 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17900 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17901 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17907 ac_cpp
='$CPP $CPPFLAGS'
17908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17920 ac_cpp
='$CXXCPP $CPPFLAGS'
17921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17925 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17926 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17927 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17928 echo $ECHO_N "(cached) $ECHO_C" >&6
17930 cat >conftest.
$ac_ext <<_ACEOF
17933 cat confdefs.h
>>conftest.
$ac_ext
17934 cat >>conftest.
$ac_ext <<_ACEOF
17935 /* end confdefs.h. */
17941 #ifndef __SUNPRO_CC
17949 rm -f conftest.
$ac_objext
17950 if { (ac_try
="$ac_compile"
17951 case "(($ac_try" in
17952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17953 *) ac_try_echo=$ac_try;;
17955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17956 (eval "$ac_compile") 2>conftest.er1
17958 grep -v '^ *+' conftest.er1 >conftest.err
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } && {
17963 test -z "$ac_cxx_werror_flag" ||
17964 test ! -s conftest.err
17965 } && test -s conftest.$ac_objext; then
17966 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.$ac_ext >&5
17971 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17979 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17980 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17981 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17987 ac_cpp='$CPP $CPPFLAGS'
17988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18000 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18001 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18002 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18003 { (exit 1); exit 1; }; }
18006 if test "x$SUNCXX" != xyes; then
18007 if test -n "$ac_tool_prefix"; then
18008 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18009 set dummy ${ac_tool_prefix}ar; ac_word=$2
18010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18012 if test "${ac_cv_prog_AR+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 if test -n "$AR"; then
18016 ac_cv_prog_AR="$AR" # Let the user override the test.
18018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18019 for as_dir in $PATH
18022 test -z "$as_dir" && as_dir=.
18023 for ac_exec_ext in '' $ac_executable_extensions; do
18024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18025 ac_cv_prog_AR="${ac_tool_prefix}ar"
18026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18036 if test -n "$AR"; then
18037 { echo "$as_me:$LINENO: result: $AR" >&5
18038 echo "${ECHO_T}$AR" >&6; }
18040 { echo "$as_me:$LINENO: result: no" >&5
18041 echo "${ECHO_T}no" >&6; }
18046 if test -z "$ac_cv_prog_AR"; then
18048 # Extract the first word of "ar", so it can be a program name with args.
18049 set dummy ar; ac_word=$2
18050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18052 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 if test -n "$ac_ct_AR"; then
18056 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18059 for as_dir in $PATH
18062 test -z "$as_dir" && as_dir=.
18063 for ac_exec_ext in '' $ac_executable_extensions; do
18064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18065 ac_cv_prog_ac_ct_AR="ar"
18066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18075 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18076 if test -n "$ac_ct_AR"; then
18077 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18078 echo "${ECHO_T}$ac_ct_AR" >&6; }
18080 { echo "$as_me:$LINENO: result: no" >&5
18081 echo "${ECHO_T}no" >&6; }
18084 if test "x$ac_ct_AR" = x; then
18087 case $cross_compiling:$ac_tool_warned in
18089 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18090 whose name does not start with the host triplet. If you think this
18091 configuration is useful to you, please write to autoconf@gnu.org." >&5
18092 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18093 whose name does not start with the host triplet. If you think this
18094 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18095 ac_tool_warned=yes ;;
18100 AR="$ac_cv_prog_AR"
18103 if test "x$AR" = "x" ; then
18104 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18105 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18106 { (exit 1); exit 1; }; }
18110 retest_macosx_linking=no
18112 #if test "$wxUSE_MAC" = 1; then
18113 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18114 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18115 # Implicitly turn on the new --with-macosx-sdk using the default
18116 # SDK which provides the behavior this option has always had.
18117 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18118 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18119 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18120 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18121 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18122 wxUSE_MACOSX_SDK=yes
18125 # Complain to user if he specified an argument to --enable-universal_binary
18126 # and also 1) specified --with-macosx-sdk using the default (yes) or
18127 # 2) specified --with-macosx-sdk using a path or 3) specified
18128 # --without-macosx-sdk (no).
18129 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18130 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18131 See \`config.log
' for more details." >&5
18132 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18133 See \`config.log' for more details.
" >&2;}
18134 { (exit 1); exit 1; }; }
18136 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18137 # special-case the empty string because the below test simply
18138 # converts "no
" to the empty string anyway.
18139 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18140 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18141 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18144 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18145 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18146 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18147 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18148 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18149 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18150 retest_macosx_linking=yes
18152 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18153 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18158 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18160 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18161 # TODO: Search for most recent SDK and use it.
18162 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18166 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18167 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18168 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18169 if ! test -d "$wxUSE_MACOSX_SDK"; then
18170 { { echo "$as_me:$LINENO: error
: not found
18171 See \
`config.log' for more details." >&5
18172 echo "$as_me: error: not found
18173 See \`config.log
' for more details." >&2;}
18174 { (exit 1); exit 1; }; }
18176 { echo "$as_me:$LINENO: result: exists" >&5
18177 echo "${ECHO_T}exists" >&6; }
18179 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18180 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18181 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18182 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18183 retest_macosx_linking=yes
18186 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18187 wxUSE_MACOSX_VERSION_MIN=
18188 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18189 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18190 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18191 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18193 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/'`
18195 # If that failed, try again with the new key
18196 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18198 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/'`
18202 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18203 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18204 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18205 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18207 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18208 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18209 wxUSE_MACOSX_VERSION_MIN=
18212 wxUSE_MACOSX_VERSION_MIN=
18214 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18215 if test "$wxUSE_MAC" = 1; then
18216 # otherwise configure stops on leopard for universal_binary
18217 wxUSE_MACOSX_VERSION_MIN=10.4
18221 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18222 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18223 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18224 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18225 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18226 retest_macosx_linking=yes
18229 if test "x$retest_macosx_linking" = "xyes"; then
18231 ac_cpp='$CPP $CPPFLAGS'
18232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18233 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18236 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18237 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18238 cat >conftest.$ac_ext <<_ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18253 rm -f conftest.$ac_objext conftest$ac_exeext
18254 if { (ac_try="$ac_link"
18255 case "(($ac_try" in
18256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18257 *) ac_try_echo=$ac_try;;
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_link") 2>conftest.er1
18262 grep -v '^
*+' conftest.er1 >conftest.err
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } && {
18267 test -z "$ac_c_werror_flag" ||
18268 test ! -s conftest.err
18269 } && test -s conftest$ac_exeext &&
18270 $as_test_x conftest$ac_exeext; then
18271 { echo "$as_me:$LINENO: result: yes" >&5
18272 echo "${ECHO_T}yes" >&6; }
18274 echo "$as_me: failed program was:" >&5
18275 sed 's
/^
/| /' conftest.$ac_ext >&5
18277 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18278 See \`config.log' for more details.
" >&5
18279 echo "$as_me: error
: no. Try a different SDK
18280 See \
`config.log' for more details." >&2;}
18281 { (exit 1); exit 1; }; }; exit 1
18284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18285 conftest$ac_exeext conftest.$ac_ext
18287 ac_cpp='$CPP $CPPFLAGS'
18288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18294 ac_cpp='$CXXCPP $CPPFLAGS'
18295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18299 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18300 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18301 cat >conftest.$ac_ext <<_ACEOF
18304 cat confdefs.h >>conftest.$ac_ext
18305 cat >>conftest.$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18316 rm -f conftest.$ac_objext conftest$ac_exeext
18317 if { (ac_try="$ac_link"
18318 case "(($ac_try" in
18319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18320 *) ac_try_echo
=$ac_try;;
18322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18323 (eval "$ac_link") 2>conftest.er1
18325 grep -v '^ *+' conftest.er1
>conftest.err
18327 cat conftest.err
>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } && {
18330 test -z "$ac_cxx_werror_flag" ||
18331 test ! -s conftest.err
18332 } && test -s conftest
$ac_exeext &&
18333 $as_test_x conftest
$ac_exeext; then
18334 { echo "$as_me:$LINENO: result: yes" >&5
18335 echo "${ECHO_T}yes" >&6; }
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.
$ac_ext >&5
18340 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18341 See \`config.log' for more details." >&5
18342 echo "$as_me: error: no. Try a different SDK
18343 See \`config.log' for more details." >&2;}
18344 { (exit 1); exit 1; }; }; exit 1
18347 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18348 conftest
$ac_exeext conftest.
$ac_ext
18350 ac_cpp
='$CPP $CPPFLAGS'
18351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18361 INSTALL_PROGRAM
="cp -fp"
18362 INSTALL_DATA
="cp -fp"
18369 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18370 CXXFLAGS
="-qunique $CXXFLAGS"
18374 powerpc
-*-darwin* )
18375 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18376 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18377 cat >conftest.
$ac_ext <<_ACEOF
18380 cat confdefs.h
>>conftest.
$ac_ext
18381 cat >>conftest.
$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18387 #ifndef __POWERPC__
18388 choke me for lack of PowerPC
18395 rm -f conftest.
$ac_objext
18396 if { (ac_try
="$ac_compile"
18397 case "(($ac_try" in
18398 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18399 *) ac_try_echo=$ac_try;;
18401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18402 (eval "$ac_compile") 2>conftest.er1
18404 grep -v '^ *+' conftest.er1 >conftest.err
18406 cat conftest.err >&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } && {
18409 test -z "$ac_c_werror_flag" ||
18410 test ! -s conftest.err
18411 } && test -s conftest.$ac_objext; then
18412 { echo "$as_me:$LINENO: result: yes" >&5
18413 echo "${ECHO_T}yes" >&6; }
18415 echo "$as_me: failed program was:" >&5
18416 sed 's/^/| /' conftest.$ac_ext >&5
18418 { echo "$as_me:$LINENO: result: no" >&5
18419 echo "${ECHO_T}no" >&6; }
18420 cat >>confdefs.h <<\_ACEOF
18421 #define __POWERPC__ 1
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18433 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18434 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18435 cat >conftest.$ac_ext <<_ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #include <CoreFoundation/CFBase.h>
18451 rm -f conftest.$ac_objext
18452 if { (ac_try="$ac_compile"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18455 *) ac_try_echo
=$ac_try;;
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_compile") 2>conftest.er1
18460 grep -v '^ *+' conftest.er1
>conftest.err
18462 cat conftest.err
>&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } && {
18465 test -z "$ac_c_werror_flag" ||
18466 test ! -s conftest.err
18467 } && test -s conftest.
$ac_objext; then
18468 { echo "$as_me:$LINENO: result: yes" >&5
18469 echo "${ECHO_T}yes" >&6; }
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.
$ac_ext >&5
18474 { echo "$as_me:$LINENO: result: no" >&5
18475 echo "${ECHO_T}no" >&6; }
18476 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18477 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18478 cat >conftest.
$ac_ext <<_ACEOF
18481 cat confdefs.h
>>conftest.
$ac_ext
18482 cat >>conftest.
$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18484 #define __CF_USE_FRAMEWORK_INCLUDES__
18485 #include <CoreFoundation/CFBase.h>
18495 rm -f conftest.
$ac_objext
18496 if { (ac_try
="$ac_compile"
18497 case "(($ac_try" in
18498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18499 *) ac_try_echo=$ac_try;;
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_compile") 2>conftest.er1
18504 grep -v '^ *+' conftest.er1 >conftest.err
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } && {
18509 test -z "$ac_c_werror_flag" ||
18510 test ! -s conftest.err
18511 } && test -s conftest.$ac_objext; then
18512 { echo "$as_me:$LINENO: result: yes" >&5
18513 echo "${ECHO_T}yes" >&6; }
18514 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18516 echo "$as_me: failed program was:" >&5
18517 sed 's/^/| /' conftest.$ac_ext >&5
18519 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18520 See \`config.log
' for more details." >&5
18521 echo "$as_me: error: no. CoreFoundation not available.
18522 See \`config.log' for more details.
" >&2;}
18523 { (exit 1); exit 1; }; }
18527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 doesnt_want_win32=0
18540 if test "$wxUSE_MSW" = 1 ; then
18543 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18544 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18545 if test "${wx_cv_nocygwin+set}" = set; then
18546 echo $ECHO_N "(cached
) $ECHO_C" >&6
18549 cat >conftest.$ac_ext <<_ACEOF
18552 cat confdefs.h >>conftest.$ac_ext
18553 cat >>conftest.$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18568 rm -f conftest.$ac_objext
18569 if { (ac_try="$ac_compile"
18570 case "(($ac_try" in
18571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18572 *) ac_try_echo=$ac_try;;
18574 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18575 (eval "$ac_compile") 2>conftest.er1
18577 grep -v '^ *+' conftest.er1 >conftest.err
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18581 (exit $ac_status); } && {
18582 test -z "$ac_c_werror_flag" ||
18583 test ! -s conftest.err
18584 } && test -s conftest.$ac_objext; then
18587 echo "$as_me: failed program was
:" >&5
18588 sed 's/^/| /' conftest.$ac_ext >&5
18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18599 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18601 if test "$wx_cv_nocygwin" = "yes"; then
18604 doesnt_want_win32=1
18607 if test "$wants_win32" = 1 ; then
18608 BAKEFILE_FORCE_PLATFORM=win32
18616 if test "$wxUSE_WINE" = "yes"; then
18618 LDFLAGS_GUI="-mwindows"
18621 if test "$wants_win32" = 1 ; then
18624 cat >>confdefs.h <<\_ACEOF
18625 #define __WIN32__ 1
18628 cat >>confdefs.h <<\_ACEOF
18629 #define __WIN95__ 1
18632 cat >>confdefs.h <<\_ACEOF
18633 #define __WINDOWS__ 1
18636 cat >>confdefs.h <<\_ACEOF
18637 #define __GNUWIN32__ 1
18640 cat >>confdefs.h <<\_ACEOF
18645 if test "$doesnt_want_win32" = 1 ; then
18650 if test "$USE_UNIX" = 1 ; then
18652 cat >>confdefs.h <<\_ACEOF
18659 *-pc-os2_emx | *-pc-os2-emx )
18660 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18661 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18662 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18663 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18664 echo $ECHO_N "(cached
) $ECHO_C" >&6
18666 ac_check_lib_save_LIBS=$LIBS
18667 LIBS="-lcExt $LIBS"
18668 cat >conftest.$ac_ext <<_ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18675 /* Override any GCC internal prototype to avoid an error.
18676 Use char because int might match the return type of a GCC
18677 builtin and then its argument prototype would still apply. */
18690 rm -f conftest.$ac_objext conftest$ac_exeext
18691 if { (ac_try="$ac_link"
18692 case "(($ac_try" in
18693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18694 *) ac_try_echo=$ac_try;;
18696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18697 (eval "$ac_link") 2>conftest.er1
18699 grep -v '^ *+' conftest.er1 >conftest.err
18701 cat conftest.err >&5
18702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18703 (exit $ac_status); } && {
18704 test -z "$ac_c_werror_flag" ||
18705 test ! -s conftest.err
18706 } && test -s conftest$ac_exeext &&
18707 $as_test_x conftest$ac_exeext; then
18708 ac_cv_lib_cExt_drand48=yes
18710 echo "$as_me: failed program was
:" >&5
18711 sed 's/^/| /' conftest.$ac_ext >&5
18713 ac_cv_lib_cExt_drand48=no
18716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18717 conftest$ac_exeext conftest.$ac_ext
18718 LIBS=$ac_check_lib_save_LIBS
18720 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18721 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18722 if test $ac_cv_lib_cExt_drand48 = yes; then
18723 LIBS="$LIBS -lcExt"
18727 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18729 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18730 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18731 if test "${wx_cv_gccversion+set}" = set; then
18732 echo $ECHO_N "(cached
) $ECHO_C" >&6
18735 if test "$cross_compiling" = yes; then
18736 wx_cv_gccversion="EMX2
"
18739 cat >conftest.$ac_ext <<_ACEOF
18742 cat confdefs.h >>conftest.$ac_ext
18743 cat >>conftest.$ac_ext <<_ACEOF
18744 /* end confdefs.h. */
18750 FILE *f=fopen("conftestval
", "w
");
18755 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18757 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18767 rm -f conftest$ac_exeext
18768 if { (ac_try="$ac_link"
18769 case "(($ac_try" in
18770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18771 *) ac_try_echo=$ac_try;;
18773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18774 (eval "$ac_link") 2>&5
18776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18777 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18778 { (case "(($ac_try" in
18779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18780 *) ac_try_echo=$ac_try;;
18782 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18783 (eval "$ac_try") 2>&5
18785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 wx_cv_gccversion=`cat conftestval`
18789 echo "$as_me: program exited with status
$ac_status" >&5
18790 echo "$as_me: failed program was
:" >&5
18791 sed 's/^/| /' conftest.$ac_ext >&5
18793 ( exit $ac_status )
18794 wx_cv_gccversion="EMX2
"
18796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18802 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18803 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18804 if test "$wx_cv_gccversion" = "EMX2
"; then
18805 LIBS="$LIBS -lstdcpp"
18806 LDFLAGS="$LDFLAGS -Zsysv-signals"
18808 if test "$wx_cv_gccversion" = "EMX3
"; then
18809 LIBS="$LIBS -lstdcxx -lgcc"
18810 LDFLAGS="$LDFLAGS -Zsysv-signals"
18812 LIBS="$LIBS -lstdc++"
18815 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18816 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18817 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18824 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18825 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18826 if test "${ac_cv_string_strcasecmp+set}" = set; then
18827 echo $ECHO_N "(cached
) $ECHO_C" >&6
18830 cat >conftest.$ac_ext <<_ACEOF
18833 cat confdefs.h >>conftest.$ac_ext
18834 cat >>conftest.$ac_ext <<_ACEOF
18835 /* end confdefs.h. */
18837 #include <string.h>
18843 strcasecmp("foo
", "bar
");
18849 rm -f conftest.$ac_objext conftest$ac_exeext
18850 if { (ac_try="$ac_link"
18851 case "(($ac_try" in
18852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18853 *) ac_try_echo=$ac_try;;
18855 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18856 (eval "$ac_link") 2>conftest.er1
18858 grep -v '^ *+' conftest.er1 >conftest.err
18860 cat conftest.err >&5
18861 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18862 (exit $ac_status); } && {
18863 test -z "$ac_c_werror_flag" ||
18864 test ! -s conftest.err
18865 } && test -s conftest$ac_exeext &&
18866 $as_test_x conftest$ac_exeext; then
18867 ac_cv_string_strcasecmp=yes
18869 echo "$as_me: failed program was
:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18872 ac_cv_string_strcasecmp=no
18876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18877 conftest$ac_exeext conftest.$ac_ext
18880 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18881 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18883 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18884 cat >>confdefs.h <<\_ACEOF
18885 #define HAVE_STRCASECMP_IN_STRING_H 1
18889 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18890 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18891 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18892 echo $ECHO_N "(cached
) $ECHO_C" >&6
18895 cat >conftest.$ac_ext <<_ACEOF
18898 cat confdefs.h >>conftest.$ac_ext
18899 cat >>conftest.$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18902 #include <strings.h>
18908 strcasecmp("foo
", "bar
");
18914 rm -f conftest.$ac_objext conftest$ac_exeext
18915 if { (ac_try="$ac_link"
18916 case "(($ac_try" in
18917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18918 *) ac_try_echo=$ac_try;;
18920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18921 (eval "$ac_link") 2>conftest.er1
18923 grep -v '^ *+' conftest.er1 >conftest.err
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18927 (exit $ac_status); } && {
18928 test -z "$ac_c_werror_flag" ||
18929 test ! -s conftest.err
18930 } && test -s conftest$ac_exeext &&
18931 $as_test_x conftest$ac_exeext; then
18932 ac_cv_strings_strcasecmp=yes
18934 echo "$as_me: failed program was
:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18937 ac_cv_strings_strcasecmp=no
18941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18942 conftest$ac_exeext conftest.$ac_ext
18945 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18946 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18948 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18949 cat >>confdefs.h <<\_ACEOF
18950 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18954 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18955 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18956 { (exit 1); exit 1; }; }
18964 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18965 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18966 if test "${ac_cv_header_stdc+set}" = set; then
18967 echo $ECHO_N "(cached
) $ECHO_C" >&6
18969 cat >conftest.$ac_ext <<_ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <stdlib.h>
18976 #include <stdarg.h>
18977 #include <string.h>
18988 rm -f conftest.$ac_objext
18989 if { (ac_try="$ac_compile"
18990 case "(($ac_try" in
18991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18992 *) ac_try_echo=$ac_try;;
18994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18995 (eval "$ac_compile") 2>conftest.er1
18997 grep -v '^ *+' conftest.er1 >conftest.err
18999 cat conftest.err >&5
19000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19001 (exit $ac_status); } && {
19002 test -z "$ac_c_werror_flag" ||
19003 test ! -s conftest.err
19004 } && test -s conftest.$ac_objext; then
19005 ac_cv_header_stdc=yes
19007 echo "$as_me: failed program was
:" >&5
19008 sed 's/^/| /' conftest.$ac_ext >&5
19010 ac_cv_header_stdc=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19015 if test $ac_cv_header_stdc = yes; then
19016 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19017 cat >conftest.$ac_ext <<_ACEOF
19020 cat confdefs.h >>conftest.$ac_ext
19021 cat >>conftest.$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19023 #include <string.h>
19026 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19027 $EGREP "memchr
" >/dev/null 2>&1; then
19030 ac_cv_header_stdc=no
19036 if test $ac_cv_header_stdc = yes; then
19037 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19038 cat >conftest.$ac_ext <<_ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044 #include <stdlib.h>
19047 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19048 $EGREP "free
" >/dev/null 2>&1; then
19051 ac_cv_header_stdc=no
19057 if test $ac_cv_header_stdc = yes; then
19058 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19059 if test "$cross_compiling" = yes; then
19062 cat >conftest.$ac_ext <<_ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19069 #include <stdlib.h>
19070 #if ((' ' & 0x0FF) == 0x020)
19071 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19072 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19074 # define ISLOWER(c) \
19075 (('a' <= (c) && (c) <= 'i') \
19076 || ('j' <= (c) && (c) <= 'r') \
19077 || ('s' <= (c) && (c) <= 'z'))
19078 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19081 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19086 for (i = 0; i < 256; i++)
19087 if (XOR (islower (i), ISLOWER (i))
19088 || toupper (i) != TOUPPER (i))
19093 rm -f conftest$ac_exeext
19094 if { (ac_try="$ac_link"
19095 case "(($ac_try" in
19096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19097 *) ac_try_echo=$ac_try;;
19099 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19100 (eval "$ac_link") 2>&5
19102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19104 { (case "(($ac_try" in
19105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19106 *) ac_try_echo=$ac_try;;
19108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19109 (eval "$ac_try") 2>&5
19111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19112 (exit $ac_status); }; }; then
19115 echo "$as_me: program exited with status
$ac_status" >&5
19116 echo "$as_me: failed program was
:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19119 ( exit $ac_status )
19120 ac_cv_header_stdc=no
19122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19128 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19129 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19130 if test $ac_cv_header_stdc = yes; then
19132 cat >>confdefs.h <<\_ACEOF
19133 #define STDC_HEADERS 1
19138 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19148 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19149 inttypes.h stdint.h unistd.h
19151 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19152 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19153 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19154 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19155 echo $ECHO_N "(cached
) $ECHO_C" >&6
19157 cat >conftest.$ac_ext <<_ACEOF
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19163 $ac_includes_default
19165 #include <$ac_header>
19167 rm -f conftest.$ac_objext
19168 if { (ac_try="$ac_compile"
19169 case "(($ac_try" in
19170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19171 *) ac_try_echo=$ac_try;;
19173 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19174 (eval "$ac_compile") 2>conftest.er1
19176 grep -v '^ *+' conftest.er1 >conftest.err
19178 cat conftest.err >&5
19179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19180 (exit $ac_status); } && {
19181 test -z "$ac_c_werror_flag" ||
19182 test ! -s conftest.err
19183 } && test -s conftest.$ac_objext; then
19184 eval "$as_ac_Header=yes"
19186 echo "$as_me: failed program was
:" >&5
19187 sed 's/^/| /' conftest.$ac_ext >&5
19189 eval "$as_ac_Header=no
"
19192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19194 ac_res=`eval echo '${'$as_ac_Header'}'`
19195 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19196 echo "${ECHO_T}$ac_res" >&6; }
19197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19198 cat >>confdefs.h <<_ACEOF
19199 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19209 for ac_header in langinfo.h wchar.h
19211 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19212 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19213 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19214 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19215 echo $ECHO_N "(cached
) $ECHO_C" >&6
19217 cat >conftest.$ac_ext <<_ACEOF
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 $ac_includes_default
19225 #include <$ac_header>
19227 rm -f conftest.$ac_objext
19228 if { (ac_try="$ac_compile"
19229 case "(($ac_try" in
19230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19231 *) ac_try_echo=$ac_try;;
19233 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19234 (eval "$ac_compile") 2>conftest.er1
19236 grep -v '^ *+' conftest.er1 >conftest.err
19238 cat conftest.err >&5
19239 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19240 (exit $ac_status); } && {
19241 test -z "$ac_c_werror_flag" ||
19242 test ! -s conftest.err
19243 } && test -s conftest.$ac_objext; then
19244 eval "$as_ac_Header=yes"
19246 echo "$as_me: failed program was
:" >&5
19247 sed 's/^/| /' conftest.$ac_ext >&5
19249 eval "$as_ac_Header=no
"
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 ac_res=`eval echo '${'$as_ac_Header'}'`
19255 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19256 echo "${ECHO_T}$ac_res" >&6; }
19257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19258 cat >>confdefs.h <<_ACEOF
19259 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19267 if test "$ac_cv_header_wchar_h" != "yes"; then
19269 for ac_header in wcstr.h
19271 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19272 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19273 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19274 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19275 echo $ECHO_N "(cached
) $ECHO_C" >&6
19277 cat >conftest.$ac_ext <<_ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 $ac_includes_default
19285 #include <$ac_header>
19287 rm -f conftest.$ac_objext
19288 if { (ac_try="$ac_compile"
19289 case "(($ac_try" in
19290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19291 *) ac_try_echo=$ac_try;;
19293 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19294 (eval "$ac_compile") 2>conftest.er1
19296 grep -v '^ *+' conftest.er1 >conftest.err
19298 cat conftest.err >&5
19299 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19300 (exit $ac_status); } && {
19301 test -z "$ac_c_werror_flag" ||
19302 test ! -s conftest.err
19303 } && test -s conftest.$ac_objext; then
19304 eval "$as_ac_Header=yes"
19306 echo "$as_me: failed program was
:" >&5
19307 sed 's/^/| /' conftest.$ac_ext >&5
19309 eval "$as_ac_Header=no
"
19312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19314 ac_res=`eval echo '${'$as_ac_Header'}'`
19315 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19316 echo "${ECHO_T}$ac_res" >&6; }
19317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19318 cat >>confdefs.h <<_ACEOF
19319 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19329 *-pc-os2_emx | *-pc-os2-emx )
19330 if test $ac_cv_header_langinfo_h = "yes" \
19331 -a \( "$wx_cv_gccversion" = "EMX2
" \
19332 -o "$wx_cv_gccversion" = "EMX3
" \
19333 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19334 LIBS="$LIBS -lintl"
19339 if test "$USE_UNIX" = 1 ; then
19341 for ac_header in sys/select.h
19343 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19344 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19345 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19346 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19347 echo $ECHO_N "(cached
) $ECHO_C" >&6
19349 cat >conftest.$ac_ext <<_ACEOF
19352 cat confdefs.h >>conftest.$ac_ext
19353 cat >>conftest.$ac_ext <<_ACEOF
19354 /* end confdefs.h. */
19355 $ac_includes_default
19357 #include <$ac_header>
19359 rm -f conftest.$ac_objext
19360 if { (ac_try="$ac_compile"
19361 case "(($ac_try" in
19362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19363 *) ac_try_echo=$ac_try;;
19365 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19366 (eval "$ac_compile") 2>conftest.er1
19368 grep -v '^ *+' conftest.er1 >conftest.err
19370 cat conftest.err >&5
19371 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19372 (exit $ac_status); } && {
19373 test -z "$ac_c_werror_flag" ||
19374 test ! -s conftest.err
19375 } && test -s conftest.$ac_objext; then
19376 eval "$as_ac_Header=yes"
19378 echo "$as_me: failed program was
:" >&5
19379 sed 's/^/| /' conftest.$ac_ext >&5
19381 eval "$as_ac_Header=no
"
19384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19386 ac_res=`eval echo '${'$as_ac_Header'}'`
19387 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19388 echo "${ECHO_T}$ac_res" >&6; }
19389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19390 cat >>confdefs.h <<_ACEOF
19391 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19401 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19402 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19403 if test "${ac_cv_c_const+set}" = set; then
19404 echo $ECHO_N "(cached
) $ECHO_C" >&6
19406 cat >conftest.$ac_ext <<_ACEOF
19409 cat confdefs.h >>conftest.$ac_ext
19410 cat >>conftest.$ac_ext <<_ACEOF
19411 /* end confdefs.h. */
19416 /* FIXME: Include the comments suggested by Paul. */
19417 #ifndef __cplusplus
19418 /* Ultrix mips cc rejects this. */
19419 typedef int charset[2];
19421 /* SunOS 4.1.1 cc rejects this. */
19422 char const *const *pcpcc;
19424 /* NEC SVR4.0.2 mips cc rejects this. */
19425 struct point {int x, y;};
19426 static struct point const zero = {0,0};
19427 /* AIX XL C 1.02.0.0 rejects this.
19428 It does not let you subtract one const X* pointer from another in
19429 an arm of an if-expression whose if-part is not a constant
19431 const char *g = "string
";
19432 pcpcc = &g + (g ? g-g : 0);
19433 /* HPUX 7.0 cc rejects these. */
19435 ppc = (char**) pcpcc;
19436 pcpcc = (char const *const *) ppc;
19437 { /* SCO 3.2v4 cc rejects this. */
19439 char const *s = 0 ? (char *) 0 : (char const *) 0;
19444 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19445 int x[] = {25, 17};
19446 const int *foo = &x[0];
19449 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19450 typedef const int *iptr;
19454 { /* AIX XL C 1.02.0.0 rejects this saying
19455 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19456 struct s { int j; const int *ap[3]; };
19457 struct s *b; b->j = 5;
19459 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19460 const int foo = 10;
19461 if (!foo) return 0;
19463 return !cs[0] && !zero.x;
19470 rm -f conftest.$ac_objext
19471 if { (ac_try="$ac_compile"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_compile") 2>conftest.er1
19479 grep -v '^ *+' conftest.er1 >conftest.err
19481 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19483 (exit $ac_status); } && {
19484 test -z "$ac_c_werror_flag" ||
19485 test ! -s conftest.err
19486 } && test -s conftest.$ac_objext; then
19489 echo "$as_me: failed program was
:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19497 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19498 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19499 if test $ac_cv_c_const = no; then
19501 cat >>confdefs.h <<\_ACEOF
19507 { echo "$as_me:$LINENO: checking
for inline
" >&5
19508 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19509 if test "${ac_cv_c_inline+set}" = set; then
19510 echo $ECHO_N "(cached
) $ECHO_C" >&6
19513 for ac_kw in inline __inline__ __inline; do
19514 cat >conftest.$ac_ext <<_ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 #ifndef __cplusplus
19522 static $ac_kw foo_t static_foo () {return 0; }
19523 $ac_kw foo_t foo () {return 0; }
19527 rm -f conftest.$ac_objext
19528 if { (ac_try="$ac_compile"
19529 case "(($ac_try" in
19530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19531 *) ac_try_echo=$ac_try;;
19533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19534 (eval "$ac_compile") 2>conftest.er1
19536 grep -v '^ *+' conftest.er1 >conftest.err
19538 cat conftest.err >&5
19539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19540 (exit $ac_status); } && {
19541 test -z "$ac_c_werror_flag" ||
19542 test ! -s conftest.err
19543 } && test -s conftest.$ac_objext; then
19544 ac_cv_c_inline=$ac_kw
19546 echo "$as_me: failed program was
:" >&5
19547 sed 's/^/| /' conftest.$ac_ext >&5
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 test "$ac_cv_c_inline" != no && break
19557 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19558 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19561 case $ac_cv_c_inline in
19564 case $ac_cv_c_inline in
19566 *) ac_val=$ac_cv_c_inline;;
19568 cat >>confdefs.h <<_ACEOF
19569 #ifndef __cplusplus
19570 #define inline $ac_val
19577 { echo "$as_me:$LINENO: checking
for short
" >&5
19578 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19579 if test "${ac_cv_type_short+set}" = set; then
19580 echo $ECHO_N "(cached
) $ECHO_C" >&6
19582 cat >conftest.$ac_ext <<_ACEOF
19585 cat confdefs.h >>conftest.$ac_ext
19586 cat >>conftest.$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19588 $ac_includes_default
19589 typedef short ac__type_new_;
19593 if ((ac__type_new_ *) 0)
19595 if (sizeof (ac__type_new_))
19601 rm -f conftest.$ac_objext
19602 if { (ac_try="$ac_compile"
19603 case "(($ac_try" in
19604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19605 *) ac_try_echo=$ac_try;;
19607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19608 (eval "$ac_compile") 2>conftest.er1
19610 grep -v '^ *+' conftest.er1 >conftest.err
19612 cat conftest.err >&5
19613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19614 (exit $ac_status); } && {
19615 test -z "$ac_c_werror_flag" ||
19616 test ! -s conftest.err
19617 } && test -s conftest.$ac_objext; then
19618 ac_cv_type_short=yes
19620 echo "$as_me: failed program was
:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19623 ac_cv_type_short=no
19626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19628 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19629 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19631 # The cast to long int works around a bug in the HP C Compiler
19632 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19633 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19634 # This bug is HP SR number 8606223364.
19635 { echo "$as_me:$LINENO: checking size of short
" >&5
19636 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19637 if test "${ac_cv_sizeof_short+set}" = set; then
19638 echo $ECHO_N "(cached
) $ECHO_C" >&6
19640 if test "$cross_compiling" = yes; then
19641 # Depending upon the size, compute the lo and hi bounds.
19642 cat >conftest.$ac_ext <<_ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 $ac_includes_default
19649 typedef short ac__type_sizeof_;
19653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19660 rm -f conftest.$ac_objext
19661 if { (ac_try="$ac_compile"
19662 case "(($ac_try" in
19663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19664 *) ac_try_echo=$ac_try;;
19666 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19667 (eval "$ac_compile") 2>conftest.er1
19669 grep -v '^ *+' conftest.er1 >conftest.err
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19673 (exit $ac_status); } && {
19674 test -z "$ac_c_werror_flag" ||
19675 test ! -s conftest.err
19676 } && test -s conftest.$ac_objext; then
19679 cat >conftest.$ac_ext <<_ACEOF
19682 cat confdefs.h >>conftest.$ac_ext
19683 cat >>conftest.$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19685 $ac_includes_default
19686 typedef short ac__type_sizeof_;
19690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19697 rm -f conftest.$ac_objext
19698 if { (ac_try="$ac_compile"
19699 case "(($ac_try" in
19700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19701 *) ac_try_echo=$ac_try;;
19703 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_compile") 2>conftest.er1
19706 grep -v '^ *+' conftest.er1 >conftest.err
19708 cat conftest.err >&5
19709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19710 (exit $ac_status); } && {
19711 test -z "$ac_c_werror_flag" ||
19712 test ! -s conftest.err
19713 } && test -s conftest.$ac_objext; then
19714 ac_hi=$ac_mid; break
19716 echo "$as_me: failed program was
:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19719 ac_lo=`expr $ac_mid + 1`
19720 if test $ac_lo -le $ac_mid; then
19724 ac_mid=`expr 2 '*' $ac_mid + 1`
19727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19730 echo "$as_me: failed program was
:" >&5
19731 sed 's/^/| /' conftest.$ac_ext >&5
19733 cat >conftest.$ac_ext <<_ACEOF
19736 cat confdefs.h >>conftest.$ac_ext
19737 cat >>conftest.$ac_ext <<_ACEOF
19738 /* end confdefs.h. */
19739 $ac_includes_default
19740 typedef short ac__type_sizeof_;
19744 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19751 rm -f conftest.$ac_objext
19752 if { (ac_try="$ac_compile"
19753 case "(($ac_try" in
19754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19755 *) ac_try_echo=$ac_try;;
19757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19758 (eval "$ac_compile") 2>conftest.er1
19760 grep -v '^ *+' conftest.er1 >conftest.err
19762 cat conftest.err >&5
19763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19764 (exit $ac_status); } && {
19765 test -z "$ac_c_werror_flag" ||
19766 test ! -s conftest.err
19767 } && test -s conftest.$ac_objext; then
19770 cat >conftest.$ac_ext <<_ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776 $ac_includes_default
19777 typedef short ac__type_sizeof_;
19781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19788 rm -f conftest.$ac_objext
19789 if { (ac_try="$ac_compile"
19790 case "(($ac_try" in
19791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19792 *) ac_try_echo=$ac_try;;
19794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19795 (eval "$ac_compile") 2>conftest.er1
19797 grep -v '^ *+' conftest.er1 >conftest.err
19799 cat conftest.err >&5
19800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19801 (exit $ac_status); } && {
19802 test -z "$ac_c_werror_flag" ||
19803 test ! -s conftest.err
19804 } && test -s conftest.$ac_objext; then
19805 ac_lo=$ac_mid; break
19807 echo "$as_me: failed program was
:" >&5
19808 sed 's/^/| /' conftest.$ac_ext >&5
19810 ac_hi=`expr '(' $ac_mid ')' - 1`
19811 if test $ac_mid -le $ac_hi; then
19815 ac_mid=`expr 2 '*' $ac_mid`
19818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821 echo "$as_me: failed program was
:" >&5
19822 sed 's/^/| /' conftest.$ac_ext >&5
19827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19831 # Binary search between lo and hi bounds.
19832 while test "x
$ac_lo" != "x
$ac_hi"; do
19833 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19834 cat >conftest.$ac_ext <<_ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 $ac_includes_default
19841 typedef short ac__type_sizeof_;
19845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19852 rm -f conftest.$ac_objext
19853 if { (ac_try="$ac_compile"
19854 case "(($ac_try" in
19855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19856 *) ac_try_echo=$ac_try;;
19858 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19859 (eval "$ac_compile") 2>conftest.er1
19861 grep -v '^ *+' conftest.er1 >conftest.err
19863 cat conftest.err >&5
19864 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19865 (exit $ac_status); } && {
19866 test -z "$ac_c_werror_flag" ||
19867 test ! -s conftest.err
19868 } && test -s conftest.$ac_objext; then
19871 echo "$as_me: failed program was
:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19874 ac_lo=`expr '(' $ac_mid ')' + 1`
19877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19880 ?*) ac_cv_sizeof_short=$ac_lo;;
19881 '') if test "$ac_cv_type_short" = yes; then
19882 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19883 See \
`config.log' for more details." >&5
19884 echo "$as_me: error: cannot compute sizeof (short)
19885 See \`config.log
' for more details." >&2;}
19886 { (exit 77); exit 77; }; }
19888 ac_cv_sizeof_short=0
19892 cat >conftest.$ac_ext <<_ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898 $ac_includes_default
19899 typedef short ac__type_sizeof_;
19900 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19901 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19903 #include <stdlib.h>
19908 FILE *f = fopen ("conftest.val", "w");
19911 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19913 long int i = longval ();
19914 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19916 fprintf (f, "%ld\n", i);
19920 unsigned long int i = ulongval ();
19921 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19923 fprintf (f, "%lu\n", i);
19925 return ferror (f) || fclose (f) != 0;
19931 rm -f conftest$ac_exeext
19932 if { (ac_try="$ac_link"
19933 case "(($ac_try" in
19934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19935 *) ac_try_echo=$ac_try;;
19937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19938 (eval "$ac_link") 2>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19942 { (case "(($ac_try" in
19943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_try") 2>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19951 ac_cv_sizeof_short=`cat conftest.val`
19953 echo "$as_me: program exited with status $ac_status" >&5
19954 echo "$as_me: failed program was:" >&5
19955 sed 's
/^
/| /' conftest.$ac_ext >&5
19957 ( exit $ac_status )
19958 if test "$ac_cv_type_short" = yes; then
19959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19960 See \`config.log' for more details.
" >&5
19961 echo "$as_me: error
: cannot compute sizeof
(short
)
19962 See \
`config.log' for more details." >&2;}
19963 { (exit 77); exit 77; }; }
19965 ac_cv_sizeof_short=0
19968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19972 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19973 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19977 cat >>confdefs.h <<_ACEOF
19978 #define SIZEOF_SHORT $ac_cv_sizeof_short
19982 { echo "$as_me:$LINENO: checking for void *" >&5
19983 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19984 if test "${ac_cv_type_void_p+set}" = set; then
19985 echo $ECHO_N "(cached) $ECHO_C" >&6
19987 cat >conftest.$ac_ext <<_ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 $ac_includes_default
19994 typedef void * ac__type_new_;
19998 if ((ac__type_new_ *) 0)
20000 if (sizeof (ac__type_new_))
20006 rm -f conftest.$ac_objext
20007 if { (ac_try="$ac_compile"
20008 case "(($ac_try" in
20009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20010 *) ac_try_echo
=$ac_try;;
20012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20013 (eval "$ac_compile") 2>conftest.er1
20015 grep -v '^ *+' conftest.er1
>conftest.err
20017 cat conftest.err
>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); } && {
20020 test -z "$ac_c_werror_flag" ||
20021 test ! -s conftest.err
20022 } && test -s conftest.
$ac_objext; then
20023 ac_cv_type_void_p
=yes
20025 echo "$as_me: failed program was:" >&5
20026 sed 's/^/| /' conftest.
$ac_ext >&5
20028 ac_cv_type_void_p
=no
20031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20033 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20034 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20036 # The cast to long int works around a bug in the HP C Compiler
20037 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20038 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20039 # This bug is HP SR number 8606223364.
20040 { echo "$as_me:$LINENO: checking size of void *" >&5
20041 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20042 if test "${ac_cv_sizeof_void_p+set}" = set; then
20043 echo $ECHO_N "(cached) $ECHO_C" >&6
20045 if test "$cross_compiling" = yes; then
20046 # Depending upon the size, compute the lo and hi bounds.
20047 cat >conftest.
$ac_ext <<_ACEOF
20050 cat confdefs.h
>>conftest.
$ac_ext
20051 cat >>conftest.
$ac_ext <<_ACEOF
20052 /* end confdefs.h. */
20053 $ac_includes_default
20054 typedef void * ac__type_sizeof_;
20058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20065 rm -f conftest.
$ac_objext
20066 if { (ac_try
="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20074 grep -v '^ *+' conftest.er1 >conftest.err
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } && {
20079 test -z "$ac_c_werror_flag" ||
20080 test ! -s conftest.err
20081 } && test -s conftest.$ac_objext; then
20084 cat >conftest.$ac_ext <<_ACEOF
20087 cat confdefs.h >>conftest.$ac_ext
20088 cat >>conftest.$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090 $ac_includes_default
20091 typedef void * ac__type_sizeof_;
20095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20102 rm -f conftest.$ac_objext
20103 if { (ac_try="$ac_compile"
20104 case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20106 *) ac_try_echo
=$ac_try;;
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_compile") 2>conftest.er1
20111 grep -v '^ *+' conftest.er1
>conftest.err
20113 cat conftest.err
>&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && {
20116 test -z "$ac_c_werror_flag" ||
20117 test ! -s conftest.err
20118 } && test -s conftest.
$ac_objext; then
20119 ac_hi
=$ac_mid; break
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.
$ac_ext >&5
20124 ac_lo
=`expr $ac_mid + 1`
20125 if test $ac_lo -le $ac_mid; then
20129 ac_mid
=`expr 2 '*' $ac_mid + 1`
20132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20135 echo "$as_me: failed program was:" >&5
20136 sed 's/^/| /' conftest.
$ac_ext >&5
20138 cat >conftest.
$ac_ext <<_ACEOF
20141 cat confdefs.h
>>conftest.
$ac_ext
20142 cat >>conftest.
$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 $ac_includes_default
20145 typedef void * ac__type_sizeof_;
20149 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20156 rm -f conftest.
$ac_objext
20157 if { (ac_try
="$ac_compile"
20158 case "(($ac_try" in
20159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20160 *) ac_try_echo=$ac_try;;
20162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20163 (eval "$ac_compile") 2>conftest.er1
20165 grep -v '^ *+' conftest.er1 >conftest.err
20167 cat conftest.err >&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); } && {
20170 test -z "$ac_c_werror_flag" ||
20171 test ! -s conftest.err
20172 } && test -s conftest.$ac_objext; then
20175 cat >conftest.$ac_ext <<_ACEOF
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20181 $ac_includes_default
20182 typedef void * ac__type_sizeof_;
20186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20193 rm -f conftest.$ac_objext
20194 if { (ac_try="$ac_compile"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20197 *) ac_try_echo
=$ac_try;;
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_compile") 2>conftest.er1
20202 grep -v '^ *+' conftest.er1
>conftest.err
20204 cat conftest.err
>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } && {
20207 test -z "$ac_c_werror_flag" ||
20208 test ! -s conftest.err
20209 } && test -s conftest.
$ac_objext; then
20210 ac_lo
=$ac_mid; break
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.
$ac_ext >&5
20215 ac_hi
=`expr '(' $ac_mid ')' - 1`
20216 if test $ac_mid -le $ac_hi; then
20220 ac_mid
=`expr 2 '*' $ac_mid`
20223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20226 echo "$as_me: failed program was:" >&5
20227 sed 's/^/| /' conftest.
$ac_ext >&5
20232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20236 # Binary search between lo and hi bounds.
20237 while test "x$ac_lo" != "x$ac_hi"; do
20238 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20239 cat >conftest.
$ac_ext <<_ACEOF
20242 cat confdefs.h
>>conftest.
$ac_ext
20243 cat >>conftest.
$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 $ac_includes_default
20246 typedef void * ac__type_sizeof_;
20250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20257 rm -f conftest.
$ac_objext
20258 if { (ac_try
="$ac_compile"
20259 case "(($ac_try" in
20260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20261 *) ac_try_echo=$ac_try;;
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_compile") 2>conftest.er1
20266 grep -v '^ *+' conftest.er1 >conftest.err
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } && {
20271 test -z "$ac_c_werror_flag" ||
20272 test ! -s conftest.err
20273 } && test -s conftest.$ac_objext; then
20276 echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20279 ac_lo=`expr '(' $ac_mid ')' + 1`
20282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20286 '') if test "$ac_cv_type_void_p" = yes; then
20287 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20288 See \`config.log
' for more details." >&5
20289 echo "$as_me: error: cannot compute sizeof (void *)
20290 See \`config.log' for more details.
" >&2;}
20291 { (exit 77); exit 77; }; }
20293 ac_cv_sizeof_void_p=0
20297 cat >conftest.$ac_ext <<_ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 $ac_includes_default
20304 typedef void * ac__type_sizeof_;
20305 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20306 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20308 #include <stdlib.h>
20313 FILE *f = fopen ("conftest.val
", "w
");
20316 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20318 long int i = longval ();
20319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20321 fprintf (f, "%ld
\n", i);
20325 unsigned long int i = ulongval ();
20326 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20328 fprintf (f, "%lu
\n", i);
20330 return ferror (f) || fclose (f) != 0;
20336 rm -f conftest$ac_exeext
20337 if { (ac_try="$ac_link"
20338 case "(($ac_try" in
20339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20340 *) ac_try_echo=$ac_try;;
20342 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20343 (eval "$ac_link") 2>&5
20345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20347 { (case "(($ac_try" in
20348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20349 *) ac_try_echo=$ac_try;;
20351 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20352 (eval "$ac_try") 2>&5
20354 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20355 (exit $ac_status); }; }; then
20356 ac_cv_sizeof_void_p=`cat conftest.val`
20358 echo "$as_me: program exited with status
$ac_status" >&5
20359 echo "$as_me: failed program was
:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20362 ( exit $ac_status )
20363 if test "$ac_cv_type_void_p" = yes; then
20364 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20365 See \
`config.log' for more details." >&5
20366 echo "$as_me: error: cannot compute sizeof (void *)
20367 See \`config.log
' for more details." >&2;}
20368 { (exit 77); exit 77; }; }
20370 ac_cv_sizeof_void_p=0
20373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20377 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20378 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20382 cat >>confdefs.h <<_ACEOF
20383 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20387 { echo "$as_me:$LINENO: checking for int" >&5
20388 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20389 if test "${ac_cv_type_int+set}" = set; then
20390 echo $ECHO_N "(cached) $ECHO_C" >&6
20392 cat >conftest.$ac_ext <<_ACEOF
20395 cat confdefs.h >>conftest.$ac_ext
20396 cat >>conftest.$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20398 $ac_includes_default
20399 typedef int ac__type_new_;
20403 if ((ac__type_new_ *) 0)
20405 if (sizeof (ac__type_new_))
20411 rm -f conftest.$ac_objext
20412 if { (ac_try="$ac_compile"
20413 case "(($ac_try" in
20414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20415 *) ac_try_echo=$ac_try;;
20417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20418 (eval "$ac_compile") 2>conftest.er1
20420 grep -v '^
*+' conftest.er1 >conftest.err
20422 cat conftest.err >&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); } && {
20425 test -z "$ac_c_werror_flag" ||
20426 test ! -s conftest.err
20427 } && test -s conftest.$ac_objext; then
20430 echo "$as_me: failed program was:" >&5
20431 sed 's
/^
/| /' conftest.$ac_ext >&5
20436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20438 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20439 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20441 # The cast to long int works around a bug in the HP C Compiler
20442 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20443 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20444 # This bug is HP SR number 8606223364.
20445 { echo "$as_me:$LINENO: checking size of int" >&5
20446 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20447 if test "${ac_cv_sizeof_int+set}" = set; then
20448 echo $ECHO_N "(cached) $ECHO_C" >&6
20450 if test "$cross_compiling" = yes; then
20451 # Depending upon the size, compute the lo and hi bounds.
20452 cat >conftest.
$ac_ext <<_ACEOF
20455 cat confdefs.h
>>conftest.
$ac_ext
20456 cat >>conftest.
$ac_ext <<_ACEOF
20457 /* end confdefs.h. */
20458 $ac_includes_default
20459 typedef int ac__type_sizeof_;
20463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20470 rm -f conftest.
$ac_objext
20471 if { (ac_try
="$ac_compile"
20472 case "(($ac_try" in
20473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20474 *) ac_try_echo=$ac_try;;
20476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477 (eval "$ac_compile") 2>conftest.er1
20479 grep -v '^ *+' conftest.er1 >conftest.err
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } && {
20484 test -z "$ac_c_werror_flag" ||
20485 test ! -s conftest.err
20486 } && test -s conftest.$ac_objext; then
20489 cat >conftest.$ac_ext <<_ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20496 typedef int ac__type_sizeof_;
20500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20507 rm -f conftest.$ac_objext
20508 if { (ac_try="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20511 *) ac_try_echo
=$ac_try;;
20513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20514 (eval "$ac_compile") 2>conftest.er1
20516 grep -v '^ *+' conftest.er1
>conftest.err
20518 cat conftest.err
>&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && {
20521 test -z "$ac_c_werror_flag" ||
20522 test ! -s conftest.err
20523 } && test -s conftest.
$ac_objext; then
20524 ac_hi
=$ac_mid; break
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.
$ac_ext >&5
20529 ac_lo
=`expr $ac_mid + 1`
20530 if test $ac_lo -le $ac_mid; then
20534 ac_mid
=`expr 2 '*' $ac_mid + 1`
20537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20540 echo "$as_me: failed program was:" >&5
20541 sed 's/^/| /' conftest.
$ac_ext >&5
20543 cat >conftest.
$ac_ext <<_ACEOF
20546 cat confdefs.h
>>conftest.
$ac_ext
20547 cat >>conftest.
$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20549 $ac_includes_default
20550 typedef int ac__type_sizeof_;
20554 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20561 rm -f conftest.
$ac_objext
20562 if { (ac_try
="$ac_compile"
20563 case "(($ac_try" in
20564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20565 *) ac_try_echo=$ac_try;;
20567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20568 (eval "$ac_compile") 2>conftest.er1
20570 grep -v '^ *+' conftest.er1 >conftest.err
20572 cat conftest.err >&5
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); } && {
20575 test -z "$ac_c_werror_flag" ||
20576 test ! -s conftest.err
20577 } && test -s conftest.$ac_objext; then
20580 cat >conftest.$ac_ext <<_ACEOF
20583 cat confdefs.h >>conftest.$ac_ext
20584 cat >>conftest.$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20586 $ac_includes_default
20587 typedef int ac__type_sizeof_;
20591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20598 rm -f conftest.$ac_objext
20599 if { (ac_try="$ac_compile"
20600 case "(($ac_try" in
20601 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20602 *) ac_try_echo
=$ac_try;;
20604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20605 (eval "$ac_compile") 2>conftest.er1
20607 grep -v '^ *+' conftest.er1
>conftest.err
20609 cat conftest.err
>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } && {
20612 test -z "$ac_c_werror_flag" ||
20613 test ! -s conftest.err
20614 } && test -s conftest.
$ac_objext; then
20615 ac_lo
=$ac_mid; break
20617 echo "$as_me: failed program was:" >&5
20618 sed 's/^/| /' conftest.
$ac_ext >&5
20620 ac_hi
=`expr '(' $ac_mid ')' - 1`
20621 if test $ac_mid -le $ac_hi; then
20625 ac_mid
=`expr 2 '*' $ac_mid`
20628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20631 echo "$as_me: failed program was:" >&5
20632 sed 's/^/| /' conftest.
$ac_ext >&5
20637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20641 # Binary search between lo and hi bounds.
20642 while test "x$ac_lo" != "x$ac_hi"; do
20643 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20644 cat >conftest.
$ac_ext <<_ACEOF
20647 cat confdefs.h
>>conftest.
$ac_ext
20648 cat >>conftest.
$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650 $ac_includes_default
20651 typedef int ac__type_sizeof_;
20655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20662 rm -f conftest.
$ac_objext
20663 if { (ac_try
="$ac_compile"
20664 case "(($ac_try" in
20665 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20666 *) ac_try_echo=$ac_try;;
20668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20669 (eval "$ac_compile") 2>conftest.er1
20671 grep -v '^ *+' conftest.er1 >conftest.err
20673 cat conftest.err >&5
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); } && {
20676 test -z "$ac_c_werror_flag" ||
20677 test ! -s conftest.err
20678 } && test -s conftest.$ac_objext; then
20681 echo "$as_me: failed program was:" >&5
20682 sed 's/^/| /' conftest.$ac_ext >&5
20684 ac_lo=`expr '(' $ac_mid ')' + 1`
20687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20690 ?*) ac_cv_sizeof_int=$ac_lo;;
20691 '') if test "$ac_cv_type_int" = yes; then
20692 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20693 See \`config.log
' for more details." >&5
20694 echo "$as_me: error: cannot compute sizeof (int)
20695 See \`config.log' for more details.
" >&2;}
20696 { (exit 77); exit 77; }; }
20702 cat >conftest.$ac_ext <<_ACEOF
20705 cat confdefs.h >>conftest.$ac_ext
20706 cat >>conftest.$ac_ext <<_ACEOF
20707 /* end confdefs.h. */
20708 $ac_includes_default
20709 typedef int ac__type_sizeof_;
20710 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20711 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20713 #include <stdlib.h>
20718 FILE *f = fopen ("conftest.val
", "w
");
20721 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20723 long int i = longval ();
20724 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20726 fprintf (f, "%ld
\n", i);
20730 unsigned long int i = ulongval ();
20731 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20733 fprintf (f, "%lu
\n", i);
20735 return ferror (f) || fclose (f) != 0;
20741 rm -f conftest$ac_exeext
20742 if { (ac_try="$ac_link"
20743 case "(($ac_try" in
20744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20745 *) ac_try_echo=$ac_try;;
20747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20748 (eval "$ac_link") 2>&5
20750 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20751 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20752 { (case "(($ac_try" in
20753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20754 *) ac_try_echo=$ac_try;;
20756 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20757 (eval "$ac_try") 2>&5
20759 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20760 (exit $ac_status); }; }; then
20761 ac_cv_sizeof_int=`cat conftest.val`
20763 echo "$as_me: program exited with status
$ac_status" >&5
20764 echo "$as_me: failed program was
:" >&5
20765 sed 's/^/| /' conftest.$ac_ext >&5
20767 ( exit $ac_status )
20768 if test "$ac_cv_type_int" = yes; then
20769 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20770 See \
`config.log' for more details." >&5
20771 echo "$as_me: error: cannot compute sizeof (int)
20772 See \`config.log
' for more details." >&2;}
20773 { (exit 77); exit 77; }; }
20778 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20782 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20783 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20787 cat >>confdefs.h <<_ACEOF
20788 #define SIZEOF_INT $ac_cv_sizeof_int
20792 { echo "$as_me:$LINENO: checking for long" >&5
20793 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20794 if test "${ac_cv_type_long+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 cat >conftest.$ac_ext <<_ACEOF
20800 cat confdefs.h >>conftest.$ac_ext
20801 cat >>conftest.$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20803 $ac_includes_default
20804 typedef long ac__type_new_;
20808 if ((ac__type_new_ *) 0)
20810 if (sizeof (ac__type_new_))
20816 rm -f conftest.$ac_objext
20817 if { (ac_try="$ac_compile"
20818 case "(($ac_try" in
20819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20820 *) ac_try_echo=$ac_try;;
20822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20823 (eval "$ac_compile") 2>conftest.er1
20825 grep -v '^
*+' conftest.er1 >conftest.err
20827 cat conftest.err >&5
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); } && {
20830 test -z "$ac_c_werror_flag" ||
20831 test ! -s conftest.err
20832 } && test -s conftest.$ac_objext; then
20833 ac_cv_type_long=yes
20835 echo "$as_me: failed program was:" >&5
20836 sed 's
/^
/| /' conftest.$ac_ext >&5
20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20843 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20844 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20846 # The cast to long int works around a bug in the HP C Compiler
20847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20849 # This bug is HP SR number 8606223364.
20850 { echo "$as_me:$LINENO: checking size of long" >&5
20851 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20852 if test "${ac_cv_sizeof_long+set}" = set; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 if test "$cross_compiling" = yes; then
20856 # Depending upon the size, compute the lo and hi bounds.
20857 cat >conftest.
$ac_ext <<_ACEOF
20860 cat confdefs.h
>>conftest.
$ac_ext
20861 cat >>conftest.
$ac_ext <<_ACEOF
20862 /* end confdefs.h. */
20863 $ac_includes_default
20864 typedef long ac__type_sizeof_;
20868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20875 rm -f conftest.
$ac_objext
20876 if { (ac_try
="$ac_compile"
20877 case "(($ac_try" in
20878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20879 *) ac_try_echo=$ac_try;;
20881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20882 (eval "$ac_compile") 2>conftest.er1
20884 grep -v '^ *+' conftest.er1 >conftest.err
20886 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } && {
20889 test -z "$ac_c_werror_flag" ||
20890 test ! -s conftest.err
20891 } && test -s conftest.$ac_objext; then
20894 cat >conftest.$ac_ext <<_ACEOF
20897 cat confdefs.h >>conftest.$ac_ext
20898 cat >>conftest.$ac_ext <<_ACEOF
20899 /* end confdefs.h. */
20900 $ac_includes_default
20901 typedef long ac__type_sizeof_;
20905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20912 rm -f conftest.$ac_objext
20913 if { (ac_try="$ac_compile"
20914 case "(($ac_try" in
20915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20916 *) ac_try_echo
=$ac_try;;
20918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20919 (eval "$ac_compile") 2>conftest.er1
20921 grep -v '^ *+' conftest.er1
>conftest.err
20923 cat conftest.err
>&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); } && {
20926 test -z "$ac_c_werror_flag" ||
20927 test ! -s conftest.err
20928 } && test -s conftest.
$ac_objext; then
20929 ac_hi
=$ac_mid; break
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.
$ac_ext >&5
20934 ac_lo
=`expr $ac_mid + 1`
20935 if test $ac_lo -le $ac_mid; then
20939 ac_mid
=`expr 2 '*' $ac_mid + 1`
20942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.
$ac_ext >&5
20948 cat >conftest.
$ac_ext <<_ACEOF
20951 cat confdefs.h
>>conftest.
$ac_ext
20952 cat >>conftest.
$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20955 typedef long ac__type_sizeof_;
20959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20966 rm -f conftest.
$ac_objext
20967 if { (ac_try
="$ac_compile"
20968 case "(($ac_try" in
20969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20970 *) ac_try_echo=$ac_try;;
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_compile") 2>conftest.er1
20975 grep -v '^ *+' conftest.er1 >conftest.err
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } && {
20980 test -z "$ac_c_werror_flag" ||
20981 test ! -s conftest.err
20982 } && test -s conftest.$ac_objext; then
20985 cat >conftest.$ac_ext <<_ACEOF
20988 cat confdefs.h >>conftest.$ac_ext
20989 cat >>conftest.$ac_ext <<_ACEOF
20990 /* end confdefs.h. */
20991 $ac_includes_default
20992 typedef long ac__type_sizeof_;
20996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21003 rm -f conftest.$ac_objext
21004 if { (ac_try="$ac_compile"
21005 case "(($ac_try" in
21006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21007 *) ac_try_echo
=$ac_try;;
21009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21010 (eval "$ac_compile") 2>conftest.er1
21012 grep -v '^ *+' conftest.er1
>conftest.err
21014 cat conftest.err
>&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } && {
21017 test -z "$ac_c_werror_flag" ||
21018 test ! -s conftest.err
21019 } && test -s conftest.
$ac_objext; then
21020 ac_lo
=$ac_mid; break
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.
$ac_ext >&5
21025 ac_hi
=`expr '(' $ac_mid ')' - 1`
21026 if test $ac_mid -le $ac_hi; then
21030 ac_mid
=`expr 2 '*' $ac_mid`
21033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21036 echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.
$ac_ext >&5
21042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21046 # Binary search between lo and hi bounds.
21047 while test "x$ac_lo" != "x$ac_hi"; do
21048 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21049 cat >conftest.
$ac_ext <<_ACEOF
21052 cat confdefs.h
>>conftest.
$ac_ext
21053 cat >>conftest.
$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 $ac_includes_default
21056 typedef long ac__type_sizeof_;
21060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21067 rm -f conftest.
$ac_objext
21068 if { (ac_try
="$ac_compile"
21069 case "(($ac_try" in
21070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21071 *) ac_try_echo=$ac_try;;
21073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21074 (eval "$ac_compile") 2>conftest.er1
21076 grep -v '^ *+' conftest.er1 >conftest.err
21078 cat conftest.err >&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); } && {
21081 test -z "$ac_c_werror_flag" ||
21082 test ! -s conftest.err
21083 } && test -s conftest.$ac_objext; then
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.$ac_ext >&5
21089 ac_lo=`expr '(' $ac_mid ')' + 1`
21092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21095 ?*) ac_cv_sizeof_long=$ac_lo;;
21096 '') if test "$ac_cv_type_long" = yes; then
21097 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21098 See \`config.log
' for more details." >&5
21099 echo "$as_me: error: cannot compute sizeof (long)
21100 See \`config.log' for more details.
" >&2;}
21101 { (exit 77); exit 77; }; }
21103 ac_cv_sizeof_long=0
21107 cat >conftest.$ac_ext <<_ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 $ac_includes_default
21114 typedef long ac__type_sizeof_;
21115 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21116 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21118 #include <stdlib.h>
21123 FILE *f = fopen ("conftest.val
", "w
");
21126 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21128 long int i = longval ();
21129 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21131 fprintf (f, "%ld
\n", i);
21135 unsigned long int i = ulongval ();
21136 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21138 fprintf (f, "%lu
\n", i);
21140 return ferror (f) || fclose (f) != 0;
21146 rm -f conftest$ac_exeext
21147 if { (ac_try="$ac_link"
21148 case "(($ac_try" in
21149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21150 *) ac_try_echo=$ac_try;;
21152 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21153 (eval "$ac_link") 2>&5
21155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21157 { (case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21161 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_try") 2>&5
21164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21165 (exit $ac_status); }; }; then
21166 ac_cv_sizeof_long=`cat conftest.val`
21168 echo "$as_me: program exited with status
$ac_status" >&5
21169 echo "$as_me: failed program was
:" >&5
21170 sed 's/^/| /' conftest.$ac_ext >&5
21172 ( exit $ac_status )
21173 if test "$ac_cv_type_long" = yes; then
21174 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21175 See \
`config.log' for more details." >&5
21176 echo "$as_me: error: cannot compute sizeof (long)
21177 See \`config.log
' for more details." >&2;}
21178 { (exit 77); exit 77; }; }
21180 ac_cv_sizeof_long=0
21183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21187 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21188 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21192 cat >>confdefs.h <<_ACEOF
21193 #define SIZEOF_LONG $ac_cv_sizeof_long
21197 { echo "$as_me:$LINENO: checking for size_t" >&5
21198 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21199 if test "${ac_cv_type_size_t+set}" = set; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21202 cat >conftest.$ac_ext <<_ACEOF
21205 cat confdefs.h >>conftest.$ac_ext
21206 cat >>conftest.$ac_ext <<_ACEOF
21207 /* end confdefs.h. */
21208 $ac_includes_default
21209 typedef size_t ac__type_new_;
21213 if ((ac__type_new_ *) 0)
21215 if (sizeof (ac__type_new_))
21221 rm -f conftest.$ac_objext
21222 if { (ac_try="$ac_compile"
21223 case "(($ac_try" in
21224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21225 *) ac_try_echo=$ac_try;;
21227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21228 (eval "$ac_compile") 2>conftest.er1
21230 grep -v '^
*+' conftest.er1 >conftest.err
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } && {
21235 test -z "$ac_c_werror_flag" ||
21236 test ! -s conftest.err
21237 } && test -s conftest.$ac_objext; then
21238 ac_cv_type_size_t=yes
21240 echo "$as_me: failed program was:" >&5
21241 sed 's
/^
/| /' conftest.$ac_ext >&5
21243 ac_cv_type_size_t=no
21246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21249 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21251 # The cast to long int works around a bug in the HP C Compiler
21252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21254 # This bug is HP SR number 8606223364.
21255 { echo "$as_me:$LINENO: checking size of size_t" >&5
21256 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21257 if test "${ac_cv_sizeof_size_t+set}" = set; then
21258 echo $ECHO_N "(cached) $ECHO_C" >&6
21260 if test "$cross_compiling" = yes; then
21261 # Depending upon the size, compute the lo and hi bounds.
21262 cat >conftest.
$ac_ext <<_ACEOF
21265 cat confdefs.h
>>conftest.
$ac_ext
21266 cat >>conftest.
$ac_ext <<_ACEOF
21267 /* end confdefs.h. */
21268 $ac_includes_default
21269 typedef size_t ac__type_sizeof_;
21273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21280 rm -f conftest.
$ac_objext
21281 if { (ac_try
="$ac_compile"
21282 case "(($ac_try" in
21283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_compile") 2>conftest.er1
21289 grep -v '^ *+' conftest.er1 >conftest.err
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } && {
21294 test -z "$ac_c_werror_flag" ||
21295 test ! -s conftest.err
21296 } && test -s conftest.$ac_objext; then
21299 cat >conftest.$ac_ext <<_ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 $ac_includes_default
21306 typedef size_t ac__type_sizeof_;
21310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21317 rm -f conftest.$ac_objext
21318 if { (ac_try="$ac_compile"
21319 case "(($ac_try" in
21320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21321 *) ac_try_echo
=$ac_try;;
21323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21324 (eval "$ac_compile") 2>conftest.er1
21326 grep -v '^ *+' conftest.er1
>conftest.err
21328 cat conftest.err
>&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } && {
21331 test -z "$ac_c_werror_flag" ||
21332 test ! -s conftest.err
21333 } && test -s conftest.
$ac_objext; then
21334 ac_hi
=$ac_mid; break
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.
$ac_ext >&5
21339 ac_lo
=`expr $ac_mid + 1`
21340 if test $ac_lo -le $ac_mid; then
21344 ac_mid
=`expr 2 '*' $ac_mid + 1`
21347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21350 echo "$as_me: failed program was:" >&5
21351 sed 's/^/| /' conftest.
$ac_ext >&5
21353 cat >conftest.
$ac_ext <<_ACEOF
21356 cat confdefs.h
>>conftest.
$ac_ext
21357 cat >>conftest.
$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359 $ac_includes_default
21360 typedef size_t ac__type_sizeof_;
21364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21371 rm -f conftest.
$ac_objext
21372 if { (ac_try
="$ac_compile"
21373 case "(($ac_try" in
21374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21375 *) ac_try_echo=$ac_try;;
21377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21378 (eval "$ac_compile") 2>conftest.er1
21380 grep -v '^ *+' conftest.er1 >conftest.err
21382 cat conftest.err >&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } && {
21385 test -z "$ac_c_werror_flag" ||
21386 test ! -s conftest.err
21387 } && test -s conftest.$ac_objext; then
21390 cat >conftest.$ac_ext <<_ACEOF
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21396 $ac_includes_default
21397 typedef size_t ac__type_sizeof_;
21401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21412 *) ac_try_echo
=$ac_try;;
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21417 grep -v '^ *+' conftest.er1
>conftest.err
21419 cat conftest.err
>&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.
$ac_objext; then
21425 ac_lo
=$ac_mid; break
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.
$ac_ext >&5
21430 ac_hi
=`expr '(' $ac_mid ')' - 1`
21431 if test $ac_mid -le $ac_hi; then
21435 ac_mid
=`expr 2 '*' $ac_mid`
21438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.
$ac_ext >&5
21447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21451 # Binary search between lo and hi bounds.
21452 while test "x$ac_lo" != "x$ac_hi"; do
21453 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21454 cat >conftest.
$ac_ext <<_ACEOF
21457 cat confdefs.h
>>conftest.
$ac_ext
21458 cat >>conftest.
$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 $ac_includes_default
21461 typedef size_t ac__type_sizeof_;
21465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21472 rm -f conftest.
$ac_objext
21473 if { (ac_try
="$ac_compile"
21474 case "(($ac_try" in
21475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21476 *) ac_try_echo=$ac_try;;
21478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21479 (eval "$ac_compile") 2>conftest.er1
21481 grep -v '^ *+' conftest.er1 >conftest.err
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } && {
21486 test -z "$ac_c_werror_flag" ||
21487 test ! -s conftest.err
21488 } && test -s conftest.$ac_objext; then
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.$ac_ext >&5
21494 ac_lo=`expr '(' $ac_mid ')' + 1`
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21500 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21501 '') if test "$ac_cv_type_size_t" = yes; then
21502 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21503 See \`config.log
' for more details." >&5
21504 echo "$as_me: error: cannot compute sizeof (size_t)
21505 See \`config.log' for more details.
" >&2;}
21506 { (exit 77); exit 77; }; }
21508 ac_cv_sizeof_size_t=0
21512 cat >conftest.$ac_ext <<_ACEOF
21515 cat confdefs.h >>conftest.$ac_ext
21516 cat >>conftest.$ac_ext <<_ACEOF
21517 /* end confdefs.h. */
21518 $ac_includes_default
21519 typedef size_t ac__type_sizeof_;
21520 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21521 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21523 #include <stdlib.h>
21528 FILE *f = fopen ("conftest.val
", "w
");
21531 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21533 long int i = longval ();
21534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21536 fprintf (f, "%ld
\n", i);
21540 unsigned long int i = ulongval ();
21541 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21543 fprintf (f, "%lu
\n", i);
21545 return ferror (f) || fclose (f) != 0;
21551 rm -f conftest$ac_exeext
21552 if { (ac_try="$ac_link"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21557 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_link") 2>&5
21560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21562 { (case "(($ac_try" in
21563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21564 *) ac_try_echo=$ac_try;;
21566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21567 (eval "$ac_try") 2>&5
21569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21570 (exit $ac_status); }; }; then
21571 ac_cv_sizeof_size_t=`cat conftest.val`
21573 echo "$as_me: program exited with status
$ac_status" >&5
21574 echo "$as_me: failed program was
:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21577 ( exit $ac_status )
21578 if test "$ac_cv_type_size_t" = yes; then
21579 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21580 See \
`config.log' for more details." >&5
21581 echo "$as_me: error: cannot compute sizeof (size_t)
21582 See \`config.log
' for more details." >&2;}
21583 { (exit 77); exit 77; }; }
21585 ac_cv_sizeof_size_t=0
21588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21592 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21593 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21597 cat >>confdefs.h <<_ACEOF
21598 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21605 { echo "$as_me:$LINENO: checking for long long" >&5
21606 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21607 if test "${ac_cv_type_long_long+set}" = set; then
21608 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 cat >conftest.$ac_ext <<_ACEOF
21613 cat confdefs.h >>conftest.$ac_ext
21614 cat >>conftest.$ac_ext <<_ACEOF
21615 /* end confdefs.h. */
21616 $ac_includes_default
21617 typedef long long ac__type_new_;
21621 if ((ac__type_new_ *) 0)
21623 if (sizeof (ac__type_new_))
21629 rm -f conftest.$ac_objext
21630 if { (ac_try="$ac_compile"
21631 case "(($ac_try" in
21632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21633 *) ac_try_echo=$ac_try;;
21635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21636 (eval "$ac_compile") 2>conftest.er1
21638 grep -v '^
*+' conftest.er1 >conftest.err
21640 cat conftest.err >&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } && {
21643 test -z "$ac_c_werror_flag" ||
21644 test ! -s conftest.err
21645 } && test -s conftest.$ac_objext; then
21646 ac_cv_type_long_long=yes
21648 echo "$as_me: failed program was:" >&5
21649 sed 's
/^
/| /' conftest.$ac_ext >&5
21651 ac_cv_type_long_long=no
21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21656 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21657 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21659 # The cast to long int works around a bug in the HP C Compiler
21660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21662 # This bug is HP SR number 8606223364.
21663 { echo "$as_me:$LINENO: checking size of long long" >&5
21664 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21665 if test "${ac_cv_sizeof_long_long+set}" = set; then
21666 echo $ECHO_N "(cached) $ECHO_C" >&6
21668 if test "$cross_compiling" = yes; then
21669 # Depending upon the size, compute the lo and hi bounds.
21670 cat >conftest.
$ac_ext <<_ACEOF
21673 cat confdefs.h
>>conftest.
$ac_ext
21674 cat >>conftest.
$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676 $ac_includes_default
21677 typedef long long ac__type_sizeof_;
21681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21688 rm -f conftest.
$ac_objext
21689 if { (ac_try
="$ac_compile"
21690 case "(($ac_try" in
21691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21692 *) ac_try_echo=$ac_try;;
21694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21695 (eval "$ac_compile") 2>conftest.er1
21697 grep -v '^ *+' conftest.er1 >conftest.err
21699 cat conftest.err >&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } && {
21702 test -z "$ac_c_werror_flag" ||
21703 test ! -s conftest.err
21704 } && test -s conftest.$ac_objext; then
21707 cat >conftest.$ac_ext <<_ACEOF
21710 cat confdefs.h >>conftest.$ac_ext
21711 cat >>conftest.$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 $ac_includes_default
21714 typedef long long ac__type_sizeof_;
21718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21725 rm -f conftest.$ac_objext
21726 if { (ac_try="$ac_compile"
21727 case "(($ac_try" in
21728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21729 *) ac_try_echo
=$ac_try;;
21731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732 (eval "$ac_compile") 2>conftest.er1
21734 grep -v '^ *+' conftest.er1
>conftest.err
21736 cat conftest.err
>&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); } && {
21739 test -z "$ac_c_werror_flag" ||
21740 test ! -s conftest.err
21741 } && test -s conftest.
$ac_objext; then
21742 ac_hi
=$ac_mid; break
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.
$ac_ext >&5
21747 ac_lo
=`expr $ac_mid + 1`
21748 if test $ac_lo -le $ac_mid; then
21752 ac_mid
=`expr 2 '*' $ac_mid + 1`
21755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.
$ac_ext >&5
21761 cat >conftest.
$ac_ext <<_ACEOF
21764 cat confdefs.h
>>conftest.
$ac_ext
21765 cat >>conftest.
$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 $ac_includes_default
21768 typedef long long ac__type_sizeof_;
21772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21779 rm -f conftest.
$ac_objext
21780 if { (ac_try
="$ac_compile"
21781 case "(($ac_try" in
21782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_compile") 2>conftest.er1
21788 grep -v '^ *+' conftest.er1 >conftest.err
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } && {
21793 test -z "$ac_c_werror_flag" ||
21794 test ! -s conftest.err
21795 } && test -s conftest.$ac_objext; then
21798 cat >conftest.$ac_ext <<_ACEOF
21801 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h. */
21804 $ac_includes_default
21805 typedef long long ac__type_sizeof_;
21809 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21816 rm -f conftest.$ac_objext
21817 if { (ac_try="$ac_compile"
21818 case "(($ac_try" in
21819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21820 *) ac_try_echo
=$ac_try;;
21822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21823 (eval "$ac_compile") 2>conftest.er1
21825 grep -v '^ *+' conftest.er1
>conftest.err
21827 cat conftest.err
>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } && {
21830 test -z "$ac_c_werror_flag" ||
21831 test ! -s conftest.err
21832 } && test -s conftest.
$ac_objext; then
21833 ac_lo
=$ac_mid; break
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.
$ac_ext >&5
21838 ac_hi
=`expr '(' $ac_mid ')' - 1`
21839 if test $ac_mid -le $ac_hi; then
21843 ac_mid
=`expr 2 '*' $ac_mid`
21846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.
$ac_ext >&5
21855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21859 # Binary search between lo and hi bounds.
21860 while test "x$ac_lo" != "x$ac_hi"; do
21861 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21862 cat >conftest.
$ac_ext <<_ACEOF
21865 cat confdefs.h
>>conftest.
$ac_ext
21866 cat >>conftest.
$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21868 $ac_includes_default
21869 typedef long long ac__type_sizeof_;
21873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21880 rm -f conftest.
$ac_objext
21881 if { (ac_try
="$ac_compile"
21882 case "(($ac_try" in
21883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21884 *) ac_try_echo=$ac_try;;
21886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21887 (eval "$ac_compile") 2>conftest.er1
21889 grep -v '^ *+' conftest.er1 >conftest.err
21891 cat conftest.err >&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } && {
21894 test -z "$ac_c_werror_flag" ||
21895 test ! -s conftest.err
21896 } && test -s conftest.$ac_objext; then
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.$ac_ext >&5
21902 ac_lo=`expr '(' $ac_mid ')' + 1`
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21908 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21909 '') if test "$ac_cv_type_long_long" = yes; then
21910 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21911 See \`config.log
' for more details." >&5
21912 echo "$as_me: error: cannot compute sizeof (long long)
21913 See \`config.log' for more details.
" >&2;}
21914 { (exit 77); exit 77; }; }
21916 ac_cv_sizeof_long_long=0
21920 cat >conftest.$ac_ext <<_ACEOF
21923 cat confdefs.h >>conftest.$ac_ext
21924 cat >>conftest.$ac_ext <<_ACEOF
21925 /* end confdefs.h. */
21926 $ac_includes_default
21927 typedef long long ac__type_sizeof_;
21928 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21929 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21931 #include <stdlib.h>
21936 FILE *f = fopen ("conftest.val
", "w
");
21939 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21941 long int i = longval ();
21942 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21944 fprintf (f, "%ld
\n", i);
21948 unsigned long int i = ulongval ();
21949 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21951 fprintf (f, "%lu
\n", i);
21953 return ferror (f) || fclose (f) != 0;
21959 rm -f conftest$ac_exeext
21960 if { (ac_try="$ac_link"
21961 case "(($ac_try" in
21962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21963 *) ac_try_echo=$ac_try;;
21965 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21966 (eval "$ac_link") 2>&5
21968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21969 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21970 { (case "(($ac_try" in
21971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21972 *) ac_try_echo=$ac_try;;
21974 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21975 (eval "$ac_try") 2>&5
21977 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21978 (exit $ac_status); }; }; then
21979 ac_cv_sizeof_long_long=`cat conftest.val`
21981 echo "$as_me: program exited with status
$ac_status" >&5
21982 echo "$as_me: failed program was
:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21985 ( exit $ac_status )
21986 if test "$ac_cv_type_long_long" = yes; then
21987 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21988 See \
`config.log' for more details." >&5
21989 echo "$as_me: error: cannot compute sizeof (long long)
21990 See \`config.log
' for more details." >&2;}
21991 { (exit 77); exit 77; }; }
21993 ac_cv_sizeof_long_long=0
21996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22000 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22001 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22005 cat >>confdefs.h <<_ACEOF
22006 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22012 { echo "$as_me:$LINENO: checking for long long" >&5
22013 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22014 if test "${ac_cv_type_long_long+set}" = set; then
22015 echo $ECHO_N "(cached) $ECHO_C" >&6
22017 cat >conftest.$ac_ext <<_ACEOF
22020 cat confdefs.h >>conftest.$ac_ext
22021 cat >>conftest.$ac_ext <<_ACEOF
22022 /* end confdefs.h. */
22023 $ac_includes_default
22024 typedef long long ac__type_new_;
22028 if ((ac__type_new_ *) 0)
22030 if (sizeof (ac__type_new_))
22036 rm -f conftest.$ac_objext
22037 if { (ac_try="$ac_compile"
22038 case "(($ac_try" in
22039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22040 *) ac_try_echo=$ac_try;;
22042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22043 (eval "$ac_compile") 2>conftest.er1
22045 grep -v '^
*+' conftest.er1 >conftest.err
22047 cat conftest.err >&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); } && {
22050 test -z "$ac_c_werror_flag" ||
22051 test ! -s conftest.err
22052 } && test -s conftest.$ac_objext; then
22053 ac_cv_type_long_long=yes
22055 echo "$as_me: failed program was:" >&5
22056 sed 's
/^
/| /' conftest.$ac_ext >&5
22058 ac_cv_type_long_long=no
22061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22063 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22064 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22066 # The cast to long int works around a bug in the HP C Compiler
22067 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22068 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22069 # This bug is HP SR number 8606223364.
22070 { echo "$as_me:$LINENO: checking size of long long" >&5
22071 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22072 if test "${ac_cv_sizeof_long_long+set}" = set; then
22073 echo $ECHO_N "(cached) $ECHO_C" >&6
22075 if test "$cross_compiling" = yes; then
22076 # Depending upon the size, compute the lo and hi bounds.
22077 cat >conftest.
$ac_ext <<_ACEOF
22080 cat confdefs.h
>>conftest.
$ac_ext
22081 cat >>conftest.
$ac_ext <<_ACEOF
22082 /* end confdefs.h. */
22083 $ac_includes_default
22084 typedef long long ac__type_sizeof_;
22088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22095 rm -f conftest.
$ac_objext
22096 if { (ac_try
="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_compile") 2>conftest.er1
22104 grep -v '^ *+' conftest.er1 >conftest.err
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } && {
22109 test -z "$ac_c_werror_flag" ||
22110 test ! -s conftest.err
22111 } && test -s conftest.$ac_objext; then
22114 cat >conftest.$ac_ext <<_ACEOF
22117 cat confdefs.h >>conftest.$ac_ext
22118 cat >>conftest.$ac_ext <<_ACEOF
22119 /* end confdefs.h. */
22120 $ac_includes_default
22121 typedef long long ac__type_sizeof_;
22125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22132 rm -f conftest.$ac_objext
22133 if { (ac_try="$ac_compile"
22134 case "(($ac_try" in
22135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22136 *) ac_try_echo
=$ac_try;;
22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139 (eval "$ac_compile") 2>conftest.er1
22141 grep -v '^ *+' conftest.er1
>conftest.err
22143 cat conftest.err
>&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } && {
22146 test -z "$ac_c_werror_flag" ||
22147 test ! -s conftest.err
22148 } && test -s conftest.
$ac_objext; then
22149 ac_hi
=$ac_mid; break
22151 echo "$as_me: failed program was:" >&5
22152 sed 's/^/| /' conftest.
$ac_ext >&5
22154 ac_lo
=`expr $ac_mid + 1`
22155 if test $ac_lo -le $ac_mid; then
22159 ac_mid
=`expr 2 '*' $ac_mid + 1`
22162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22165 echo "$as_me: failed program was:" >&5
22166 sed 's/^/| /' conftest.
$ac_ext >&5
22168 cat >conftest.
$ac_ext <<_ACEOF
22171 cat confdefs.h
>>conftest.
$ac_ext
22172 cat >>conftest.
$ac_ext <<_ACEOF
22173 /* end confdefs.h. */
22174 $ac_includes_default
22175 typedef long long ac__type_sizeof_;
22179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22186 rm -f conftest.
$ac_objext
22187 if { (ac_try
="$ac_compile"
22188 case "(($ac_try" in
22189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22190 *) ac_try_echo=$ac_try;;
22192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22193 (eval "$ac_compile") 2>conftest.er1
22195 grep -v '^ *+' conftest.er1 >conftest.err
22197 cat conftest.err >&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); } && {
22200 test -z "$ac_c_werror_flag" ||
22201 test ! -s conftest.err
22202 } && test -s conftest.$ac_objext; then
22205 cat >conftest.$ac_ext <<_ACEOF
22208 cat confdefs.h >>conftest.$ac_ext
22209 cat >>conftest.$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 $ac_includes_default
22212 typedef long long ac__type_sizeof_;
22216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22223 rm -f conftest.$ac_objext
22224 if { (ac_try="$ac_compile"
22225 case "(($ac_try" in
22226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22227 *) ac_try_echo
=$ac_try;;
22229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22230 (eval "$ac_compile") 2>conftest.er1
22232 grep -v '^ *+' conftest.er1
>conftest.err
22234 cat conftest.err
>&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } && {
22237 test -z "$ac_c_werror_flag" ||
22238 test ! -s conftest.err
22239 } && test -s conftest.
$ac_objext; then
22240 ac_lo
=$ac_mid; break
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.
$ac_ext >&5
22245 ac_hi
=`expr '(' $ac_mid ')' - 1`
22246 if test $ac_mid -le $ac_hi; then
22250 ac_mid
=`expr 2 '*' $ac_mid`
22253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.
$ac_ext >&5
22262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22266 # Binary search between lo and hi bounds.
22267 while test "x$ac_lo" != "x$ac_hi"; do
22268 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22269 cat >conftest.
$ac_ext <<_ACEOF
22272 cat confdefs.h
>>conftest.
$ac_ext
22273 cat >>conftest.
$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 $ac_includes_default
22276 typedef long long ac__type_sizeof_;
22280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22287 rm -f conftest.
$ac_objext
22288 if { (ac_try
="$ac_compile"
22289 case "(($ac_try" in
22290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22291 *) ac_try_echo=$ac_try;;
22293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22294 (eval "$ac_compile") 2>conftest.er1
22296 grep -v '^ *+' conftest.er1 >conftest.err
22298 cat conftest.err >&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } && {
22301 test -z "$ac_c_werror_flag" ||
22302 test ! -s conftest.err
22303 } && test -s conftest.$ac_objext; then
22306 echo "$as_me: failed program was:" >&5
22307 sed 's/^/| /' conftest.$ac_ext >&5
22309 ac_lo=`expr '(' $ac_mid ')' + 1`
22312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22315 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22316 '') if test "$ac_cv_type_long_long" = yes; then
22317 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22318 See \`config.log
' for more details." >&5
22319 echo "$as_me: error: cannot compute sizeof (long long)
22320 See \`config.log' for more details.
" >&2;}
22321 { (exit 77); exit 77; }; }
22323 ac_cv_sizeof_long_long=0
22327 cat >conftest.$ac_ext <<_ACEOF
22330 cat confdefs.h >>conftest.$ac_ext
22331 cat >>conftest.$ac_ext <<_ACEOF
22332 /* end confdefs.h. */
22333 $ac_includes_default
22334 typedef long long ac__type_sizeof_;
22335 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22336 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22338 #include <stdlib.h>
22343 FILE *f = fopen ("conftest.val
", "w
");
22346 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22348 long int i = longval ();
22349 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22351 fprintf (f, "%ld
\n", i);
22355 unsigned long int i = ulongval ();
22356 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22358 fprintf (f, "%lu
\n", i);
22360 return ferror (f) || fclose (f) != 0;
22366 rm -f conftest$ac_exeext
22367 if { (ac_try="$ac_link"
22368 case "(($ac_try" in
22369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22370 *) ac_try_echo=$ac_try;;
22372 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22373 (eval "$ac_link") 2>&5
22375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22377 { (case "(($ac_try" in
22378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22379 *) ac_try_echo=$ac_try;;
22381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22382 (eval "$ac_try") 2>&5
22384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22385 (exit $ac_status); }; }; then
22386 ac_cv_sizeof_long_long=`cat conftest.val`
22388 echo "$as_me: program exited with status
$ac_status" >&5
22389 echo "$as_me: failed program was
:" >&5
22390 sed 's/^/| /' conftest.$ac_ext >&5
22392 ( exit $ac_status )
22393 if test "$ac_cv_type_long_long" = yes; then
22394 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22395 See \
`config.log' for more details." >&5
22396 echo "$as_me: error: cannot compute sizeof (long long)
22397 See \`config.log
' for more details." >&2;}
22398 { (exit 77); exit 77; }; }
22400 ac_cv_sizeof_long_long=0
22403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22407 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22408 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22412 cat >>confdefs.h <<_ACEOF
22413 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22417 if test "$ac_cv_sizeof_long_long" != 0; then
22418 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22422 { echo "$as_me:$LINENO: checking for long long" >&5
22423 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22424 if test "${ac_cv_type_long_long+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 cat >conftest.$ac_ext <<_ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22433 $ac_includes_default
22434 typedef long long ac__type_new_;
22438 if ((ac__type_new_ *) 0)
22440 if (sizeof (ac__type_new_))
22446 rm -f conftest.$ac_objext
22447 if { (ac_try="$ac_compile"
22448 case "(($ac_try" in
22449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22450 *) ac_try_echo=$ac_try;;
22452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22453 (eval "$ac_compile") 2>conftest.er1
22455 grep -v '^
*+' conftest.er1 >conftest.err
22457 cat conftest.err >&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } && {
22460 test -z "$ac_c_werror_flag" ||
22461 test ! -s conftest.err
22462 } && test -s conftest.$ac_objext; then
22463 ac_cv_type_long_long=yes
22465 echo "$as_me: failed program was:" >&5
22466 sed 's
/^
/| /' conftest.$ac_ext >&5
22468 ac_cv_type_long_long=no
22471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22473 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22474 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22476 # The cast to long int works around a bug in the HP C Compiler
22477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22479 # This bug is HP SR number 8606223364.
22480 { echo "$as_me:$LINENO: checking size of long long" >&5
22481 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22482 if test "${ac_cv_sizeof_long_long+set}" = set; then
22483 echo $ECHO_N "(cached) $ECHO_C" >&6
22485 if test "$cross_compiling" = yes; then
22486 # Depending upon the size, compute the lo and hi bounds.
22487 cat >conftest.
$ac_ext <<_ACEOF
22490 cat confdefs.h
>>conftest.
$ac_ext
22491 cat >>conftest.
$ac_ext <<_ACEOF
22492 /* end confdefs.h. */
22493 $ac_includes_default
22494 typedef long long ac__type_sizeof_;
22498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22505 rm -f conftest.
$ac_objext
22506 if { (ac_try
="$ac_compile"
22507 case "(($ac_try" in
22508 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22509 *) ac_try_echo=$ac_try;;
22511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22512 (eval "$ac_compile") 2>conftest.er1
22514 grep -v '^ *+' conftest.er1 >conftest.err
22516 cat conftest.err >&5
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); } && {
22519 test -z "$ac_c_werror_flag" ||
22520 test ! -s conftest.err
22521 } && test -s conftest.$ac_objext; then
22524 cat >conftest.$ac_ext <<_ACEOF
22527 cat confdefs.h >>conftest.$ac_ext
22528 cat >>conftest.$ac_ext <<_ACEOF
22529 /* end confdefs.h. */
22530 $ac_includes_default
22531 typedef long long ac__type_sizeof_;
22535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22542 rm -f conftest.$ac_objext
22543 if { (ac_try="$ac_compile"
22544 case "(($ac_try" in
22545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22546 *) ac_try_echo
=$ac_try;;
22548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22549 (eval "$ac_compile") 2>conftest.er1
22551 grep -v '^ *+' conftest.er1
>conftest.err
22553 cat conftest.err
>&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); } && {
22556 test -z "$ac_c_werror_flag" ||
22557 test ! -s conftest.err
22558 } && test -s conftest.
$ac_objext; then
22559 ac_hi
=$ac_mid; break
22561 echo "$as_me: failed program was:" >&5
22562 sed 's/^/| /' conftest.
$ac_ext >&5
22564 ac_lo
=`expr $ac_mid + 1`
22565 if test $ac_lo -le $ac_mid; then
22569 ac_mid
=`expr 2 '*' $ac_mid + 1`
22572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22575 echo "$as_me: failed program was:" >&5
22576 sed 's/^/| /' conftest.
$ac_ext >&5
22578 cat >conftest.
$ac_ext <<_ACEOF
22581 cat confdefs.h
>>conftest.
$ac_ext
22582 cat >>conftest.
$ac_ext <<_ACEOF
22583 /* end confdefs.h. */
22584 $ac_includes_default
22585 typedef long long ac__type_sizeof_;
22589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22596 rm -f conftest.
$ac_objext
22597 if { (ac_try
="$ac_compile"
22598 case "(($ac_try" in
22599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22600 *) ac_try_echo=$ac_try;;
22602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22603 (eval "$ac_compile") 2>conftest.er1
22605 grep -v '^ *+' conftest.er1 >conftest.err
22607 cat conftest.err >&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); } && {
22610 test -z "$ac_c_werror_flag" ||
22611 test ! -s conftest.err
22612 } && test -s conftest.$ac_objext; then
22615 cat >conftest.$ac_ext <<_ACEOF
22618 cat confdefs.h >>conftest.$ac_ext
22619 cat >>conftest.$ac_ext <<_ACEOF
22620 /* end confdefs.h. */
22621 $ac_includes_default
22622 typedef long long ac__type_sizeof_;
22626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22633 rm -f conftest.$ac_objext
22634 if { (ac_try="$ac_compile"
22635 case "(($ac_try" in
22636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22637 *) ac_try_echo
=$ac_try;;
22639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22640 (eval "$ac_compile") 2>conftest.er1
22642 grep -v '^ *+' conftest.er1
>conftest.err
22644 cat conftest.err
>&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } && {
22647 test -z "$ac_c_werror_flag" ||
22648 test ! -s conftest.err
22649 } && test -s conftest.
$ac_objext; then
22650 ac_lo
=$ac_mid; break
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.
$ac_ext >&5
22655 ac_hi
=`expr '(' $ac_mid ')' - 1`
22656 if test $ac_mid -le $ac_hi; then
22660 ac_mid
=`expr 2 '*' $ac_mid`
22663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22666 echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.
$ac_ext >&5
22672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22676 # Binary search between lo and hi bounds.
22677 while test "x$ac_lo" != "x$ac_hi"; do
22678 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22679 cat >conftest.
$ac_ext <<_ACEOF
22682 cat confdefs.h
>>conftest.
$ac_ext
22683 cat >>conftest.
$ac_ext <<_ACEOF
22684 /* end confdefs.h. */
22685 $ac_includes_default
22686 typedef long long ac__type_sizeof_;
22690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22697 rm -f conftest.
$ac_objext
22698 if { (ac_try
="$ac_compile"
22699 case "(($ac_try" in
22700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22701 *) ac_try_echo=$ac_try;;
22703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22704 (eval "$ac_compile") 2>conftest.er1
22706 grep -v '^ *+' conftest.er1 >conftest.err
22708 cat conftest.err >&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); } && {
22711 test -z "$ac_c_werror_flag" ||
22712 test ! -s conftest.err
22713 } && test -s conftest.$ac_objext; then
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22719 ac_lo=`expr '(' $ac_mid ')' + 1`
22722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22725 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22726 '') if test "$ac_cv_type_long_long" = yes; then
22727 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22728 See \`config.log
' for more details." >&5
22729 echo "$as_me: error: cannot compute sizeof (long long)
22730 See \`config.log' for more details.
" >&2;}
22731 { (exit 77); exit 77; }; }
22733 ac_cv_sizeof_long_long=0
22737 cat >conftest.$ac_ext <<_ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 $ac_includes_default
22744 typedef long long ac__type_sizeof_;
22745 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22746 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22748 #include <stdlib.h>
22753 FILE *f = fopen ("conftest.val
", "w
");
22756 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22758 long int i = longval ();
22759 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22761 fprintf (f, "%ld
\n", i);
22765 unsigned long int i = ulongval ();
22766 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22768 fprintf (f, "%lu
\n", i);
22770 return ferror (f) || fclose (f) != 0;
22776 rm -f conftest$ac_exeext
22777 if { (ac_try="$ac_link"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22782 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_link") 2>&5
22785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22787 { (case "(($ac_try" in
22788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22789 *) ac_try_echo=$ac_try;;
22791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22792 (eval "$ac_try") 2>&5
22794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22795 (exit $ac_status); }; }; then
22796 ac_cv_sizeof_long_long=`cat conftest.val`
22798 echo "$as_me: program exited with status
$ac_status" >&5
22799 echo "$as_me: failed program was
:" >&5
22800 sed 's/^/| /' conftest.$ac_ext >&5
22802 ( exit $ac_status )
22803 if test "$ac_cv_type_long_long" = yes; then
22804 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22805 See \
`config.log' for more details." >&5
22806 echo "$as_me: error: cannot compute sizeof (long long)
22807 See \`config.log
' for more details." >&2;}
22808 { (exit 77); exit 77; }; }
22810 ac_cv_sizeof_long_long=0
22813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22817 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22818 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22822 cat >>confdefs.h <<_ACEOF
22823 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22829 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22830 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22831 if test "${ac_cv_type_wchar_t+set}" = set; then
22832 echo $ECHO_N "(cached) $ECHO_C" >&6
22834 cat >conftest.$ac_ext <<_ACEOF
22837 cat confdefs.h >>conftest.$ac_ext
22838 cat >>conftest.$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22841 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22842 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22843 # error "fake wchar_t"
22845 #ifdef HAVE_WCHAR_H
22847 # include <stddef.h>
22849 # include <wchar.h>
22851 #ifdef HAVE_STDLIB_H
22852 # include <stdlib.h>
22858 typedef wchar_t ac__type_new_
;
22862 if ((ac__type_new_
*) 0)
22864 if (sizeof
(ac__type_new_
))
22870 rm -f conftest.
$ac_objext
22871 if { (ac_try
="$ac_compile"
22872 case "(($ac_try" in
22873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22874 *) ac_try_echo=$ac_try;;
22876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22877 (eval "$ac_compile") 2>conftest.er1
22879 grep -v '^ *+' conftest.er1 >conftest.err
22881 cat conftest.err >&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } && {
22884 test -z "$ac_c_werror_flag" ||
22885 test ! -s conftest.err
22886 } && test -s conftest.$ac_objext; then
22887 ac_cv_type_wchar_t=yes
22889 echo "$as_me: failed program was:" >&5
22890 sed 's/^/| /' conftest.$ac_ext >&5
22892 ac_cv_type_wchar_t=no
22895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22897 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22898 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22900 # The cast to long int works around a bug in the HP C Compiler
22901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22902 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22903 # This bug is HP SR number 8606223364.
22904 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22905 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22906 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22907 echo $ECHO_N "(cached) $ECHO_C" >&6
22909 if test "$cross_compiling" = yes; then
22910 # Depending upon the size, compute the lo and hi bounds.
22911 cat >conftest.$ac_ext <<_ACEOF
22914 cat confdefs.h >>conftest.$ac_ext
22915 cat >>conftest.$ac_ext <<_ACEOF
22916 /* end confdefs.h. */
22918 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22919 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22920 # error "fake wchar_t"
22922 #ifdef HAVE_WCHAR_H
22924 # include <stddef.h>
22926 # include <wchar.h>
22928 #ifdef HAVE_STDLIB_H
22929 # include <stdlib.h>
22935 typedef wchar_t ac__type_sizeof_
;
22939 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22946 rm -f conftest.
$ac_objext
22947 if { (ac_try
="$ac_compile"
22948 case "(($ac_try" in
22949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22950 *) ac_try_echo=$ac_try;;
22952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22953 (eval "$ac_compile") 2>conftest.er1
22955 grep -v '^ *+' conftest.er1 >conftest.err
22957 cat conftest.err >&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && {
22960 test -z "$ac_c_werror_flag" ||
22961 test ! -s conftest.err
22962 } && test -s conftest.$ac_objext; then
22965 cat >conftest.$ac_ext <<_ACEOF
22968 cat confdefs.h >>conftest.$ac_ext
22969 cat >>conftest.$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22972 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22973 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22974 # error "fake wchar_t"
22976 #ifdef HAVE_WCHAR_H
22978 # include <stddef.h>
22980 # include <wchar.h>
22982 #ifdef HAVE_STDLIB_H
22983 # include <stdlib.h>
22989 typedef wchar_t ac__type_sizeof_;
22993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23000 rm -f conftest.$ac_objext
23001 if { (ac_try="$ac_compile"
23002 case "(($ac_try" in
23003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23004 *) ac_try_echo
=$ac_try;;
23006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23007 (eval "$ac_compile") 2>conftest.er1
23009 grep -v '^ *+' conftest.er1
>conftest.err
23011 cat conftest.err
>&5
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } && {
23014 test -z "$ac_c_werror_flag" ||
23015 test ! -s conftest.err
23016 } && test -s conftest.
$ac_objext; then
23017 ac_hi
=$ac_mid; break
23019 echo "$as_me: failed program was:" >&5
23020 sed 's/^/| /' conftest.
$ac_ext >&5
23022 ac_lo
=`expr $ac_mid + 1`
23023 if test $ac_lo -le $ac_mid; then
23027 ac_mid
=`expr 2 '*' $ac_mid + 1`
23030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.
$ac_ext >&5
23036 cat >conftest.
$ac_ext <<_ACEOF
23039 cat confdefs.h
>>conftest.
$ac_ext
23040 cat >>conftest.
$ac_ext <<_ACEOF
23041 /* end confdefs.h. */
23043 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23044 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23045 # error "fake wchar_t"
23047 #ifdef HAVE_WCHAR_H
23049 # include <stddef.h>
23051 # include <wchar.h>
23053 #ifdef HAVE_STDLIB_H
23054 # include <stdlib.h>
23060 typedef wchar_t ac__type_sizeof_;
23064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23071 rm -f conftest.
$ac_objext
23072 if { (ac_try
="$ac_compile"
23073 case "(($ac_try" in
23074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23075 *) ac_try_echo=$ac_try;;
23077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23078 (eval "$ac_compile") 2>conftest.er1
23080 grep -v '^ *+' conftest.er1 >conftest.err
23082 cat conftest.err >&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } && {
23085 test -z "$ac_c_werror_flag" ||
23086 test ! -s conftest.err
23087 } && test -s conftest.$ac_objext; then
23090 cat >conftest.$ac_ext <<_ACEOF
23093 cat confdefs.h >>conftest.$ac_ext
23094 cat >>conftest.$ac_ext <<_ACEOF
23095 /* end confdefs.h. */
23097 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23098 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23099 # error "fake wchar_t"
23101 #ifdef HAVE_WCHAR_H
23103 # include <stddef.h>
23105 # include <wchar.h>
23107 #ifdef HAVE_STDLIB_H
23108 # include <stdlib.h>
23114 typedef wchar_t ac__type_sizeof_;
23118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23125 rm -f conftest.$ac_objext
23126 if { (ac_try="$ac_compile"
23127 case "(($ac_try" in
23128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23129 *) ac_try_echo
=$ac_try;;
23131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23132 (eval "$ac_compile") 2>conftest.er1
23134 grep -v '^ *+' conftest.er1
>conftest.err
23136 cat conftest.err
>&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); } && {
23139 test -z "$ac_c_werror_flag" ||
23140 test ! -s conftest.err
23141 } && test -s conftest.
$ac_objext; then
23142 ac_lo
=$ac_mid; break
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.
$ac_ext >&5
23147 ac_hi
=`expr '(' $ac_mid ')' - 1`
23148 if test $ac_mid -le $ac_hi; then
23152 ac_mid
=`expr 2 '*' $ac_mid`
23155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23158 echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.
$ac_ext >&5
23164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23168 # Binary search between lo and hi bounds.
23169 while test "x$ac_lo" != "x$ac_hi"; do
23170 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23171 cat >conftest.
$ac_ext <<_ACEOF
23174 cat confdefs.h
>>conftest.
$ac_ext
23175 cat >>conftest.
$ac_ext <<_ACEOF
23176 /* end confdefs.h. */
23178 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23179 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23180 # error "fake wchar_t"
23182 #ifdef HAVE_WCHAR_H
23184 # include <stddef.h>
23186 # include <wchar.h>
23188 #ifdef HAVE_STDLIB_H
23189 # include <stdlib.h>
23195 typedef wchar_t ac__type_sizeof_;
23199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23206 rm -f conftest.
$ac_objext
23207 if { (ac_try
="$ac_compile"
23208 case "(($ac_try" in
23209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23210 *) ac_try_echo=$ac_try;;
23212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23213 (eval "$ac_compile") 2>conftest.er1
23215 grep -v '^ *+' conftest.er1 >conftest.err
23217 cat conftest.err >&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } && {
23220 test -z "$ac_c_werror_flag" ||
23221 test ! -s conftest.err
23222 } && test -s conftest.$ac_objext; then
23225 echo "$as_me: failed program was:" >&5
23226 sed 's/^/| /' conftest.$ac_ext >&5
23228 ac_lo=`expr '(' $ac_mid ')' + 1`
23231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23234 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23235 '') if test "$ac_cv_type_wchar_t" = yes; then
23236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23237 See \`config.log
' for more details." >&5
23238 echo "$as_me: error: cannot compute sizeof (wchar_t)
23239 See \`config.log' for more details.
" >&2;}
23240 { (exit 77); exit 77; }; }
23242 ac_cv_sizeof_wchar_t=0
23246 cat >conftest.$ac_ext <<_ACEOF
23249 cat confdefs.h >>conftest.$ac_ext
23250 cat >>conftest.$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23253 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23254 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23255 # error "fake wchar_t
"
23257 #ifdef HAVE_WCHAR_H
23259 # include <stddef.h>
23261 # include <wchar.h>
23263 #ifdef HAVE_STDLIB_H
23264 # include <stdlib.h>
23270 typedef wchar_t ac__type_sizeof_;
23271 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23272 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23274 #include <stdlib.h>
23279 FILE *f = fopen ("conftest.val
", "w
");
23282 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23284 long int i = longval ();
23285 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23287 fprintf (f, "%ld
\n", i);
23291 unsigned long int i = ulongval ();
23292 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23294 fprintf (f, "%lu
\n", i);
23296 return ferror (f) || fclose (f) != 0;
23302 rm -f conftest$ac_exeext
23303 if { (ac_try="$ac_link"
23304 case "(($ac_try" in
23305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23306 *) ac_try_echo=$ac_try;;
23308 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23309 (eval "$ac_link") 2>&5
23311 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23313 { (case "(($ac_try" in
23314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23315 *) ac_try_echo=$ac_try;;
23317 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23318 (eval "$ac_try") 2>&5
23320 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23321 (exit $ac_status); }; }; then
23322 ac_cv_sizeof_wchar_t=`cat conftest.val`
23324 echo "$as_me: program exited with status
$ac_status" >&5
23325 echo "$as_me: failed program was
:" >&5
23326 sed 's/^/| /' conftest.$ac_ext >&5
23328 ( exit $ac_status )
23329 if test "$ac_cv_type_wchar_t" = yes; then
23330 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23331 See \
`config.log' for more details." >&5
23332 echo "$as_me: error: cannot compute sizeof (wchar_t)
23333 See \`config.log
' for more details." >&2;}
23334 { (exit 77); exit 77; }; }
23336 ac_cv_sizeof_wchar_t=0
23339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23343 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23344 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23348 cat >>confdefs.h <<_ACEOF
23349 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23353 if test "$ac_cv_sizeof_wchar_t" != 0; then
23359 { echo "$as_me:$LINENO: checking for va_copy" >&5
23360 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23361 if test "${wx_cv_func_va_copy+set}" = set; then
23362 echo $ECHO_N "(cached) $ECHO_C" >&6
23366 ac_cpp='$CXXCPP $CPPFLAGS'
23367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23368 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23371 cat >conftest.$ac_ext <<_ACEOF
23373 #include <stdarg.h>
23374 void foo(char *f, ...)
23388 rm -f conftest.$ac_objext conftest$ac_exeext
23389 if { (ac_try="$ac_link"
23390 case "(($ac_try" in
23391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23392 *) ac_try_echo=$ac_try;;
23394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23395 (eval "$ac_link") 2>conftest.er1
23397 grep -v '^
*+' conftest.er1 >conftest.err
23399 cat conftest.err >&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } && {
23402 test -z "$ac_cxx_werror_flag" ||
23403 test ! -s conftest.err
23404 } && test -s conftest$ac_exeext &&
23405 $as_test_x conftest$ac_exeext; then
23406 wx_cv_func_va_copy=yes
23408 echo "$as_me: failed program was:" >&5
23409 sed 's
/^
/| /' conftest.$ac_ext >&5
23411 wx_cv_func_va_copy=no
23415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23416 conftest$ac_exeext conftest.$ac_ext
23418 ac_cpp='$CPP $CPPFLAGS'
23419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23420 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23426 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23427 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23429 if test $wx_cv_func_va_copy = "yes"; then
23430 cat >>confdefs.h <<\_ACEOF
23431 #define HAVE_VA_COPY 1
23435 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23436 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23437 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23438 echo $ECHO_N "(cached) $ECHO_C" >&6
23441 if test "$cross_compiling" = yes; then
23442 wx_cv_type_va_list_lvalue=yes
23445 cat >conftest.$ac_ext <<_ACEOF
23447 #include <stdarg.h>
23448 int foo(char *f, ...)
23453 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23461 return foo("hi", 17);
23464 rm -f conftest$ac_exeext
23465 if { (ac_try="$ac_link"
23466 case "(($ac_try" in
23467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23468 *) ac_try_echo=$ac_try;;
23470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23471 (eval "$ac_link") 2>&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23475 { (case "(($ac_try" in
23476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23477 *) ac_try_echo=$ac_try;;
23479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23480 (eval "$ac_try") 2>&5
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); }; }; then
23484 wx_cv_type_va_list_lvalue=yes
23486 echo "$as_me: program exited with status $ac_status" >&5
23487 echo "$as_me: failed program was:" >&5
23488 sed 's
/^
/| /' conftest.$ac_ext >&5
23490 ( exit $ac_status )
23491 wx_cv_type_va_list_lvalue=no
23493 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23500 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23501 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23503 if test $wx_cv_type_va_list_lvalue != "yes"; then
23504 cat >>confdefs.h <<\_ACEOF
23505 #define VA_LIST_IS_ARRAY 1
23511 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23513 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23514 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23515 if test "${wx_cv_have_variadic_macros+set}" = set; then
23516 echo $ECHO_N "(cached) $ECHO_C" >&6
23520 ac_cpp='$CXXCPP $CPPFLAGS'
23521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23522 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23525 cat >conftest.$ac_ext <<_ACEOF
23528 cat confdefs.h >>conftest.$ac_ext
23529 cat >>conftest.$ac_ext <<_ACEOF
23530 /* end confdefs.h. */
23533 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23539 test("%s %d %p", "test", 1, 0);
23546 rm -f conftest.$ac_objext
23547 if { (ac_try="$ac_compile"
23548 case "(($ac_try" in
23549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23550 *) ac_try_echo=$ac_try;;
23552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23553 (eval "$ac_compile") 2>conftest.er1
23555 grep -v '^
*+' conftest.er1 >conftest.err
23557 cat conftest.err >&5
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); } && {
23560 test -z "$ac_cxx_werror_flag" ||
23561 test ! -s conftest.err
23562 } && test -s conftest.$ac_objext; then
23563 wx_cv_have_variadic_macros=yes
23565 echo "$as_me: failed program was:" >&5
23566 sed 's
/^
/| /' conftest.$ac_ext >&5
23568 wx_cv_have_variadic_macros=no
23572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23574 ac_cpp='$CPP $CPPFLAGS'
23575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23576 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23582 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23583 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23585 if test $wx_cv_have_variadic_macros = "yes"; then
23586 cat >>confdefs.h <<\_ACEOF
23587 #define HAVE_VARIADIC_MACROS 1
23594 LARGEFILE_CPPFLAGS=
23595 # Check whether --enable-largefile was given.
23596 if test "${enable_largefile+set}" = set; then
23597 enableval=$enable_largefile;
23600 if test "$enable_largefile" != no; then
23603 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23604 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23605 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23609 cat >conftest.$ac_ext <<_ACEOF
23612 cat confdefs.h >>conftest.$ac_ext
23613 cat >>conftest.$ac_ext <<_ACEOF
23614 /* end confdefs.h. */
23615 #define _FILE_OFFSET_BITS 64
23616 #include <sys/types.h>
23621 unsigned int field: sizeof(off_t) == 8;
23628 rm -f conftest.$ac_objext
23629 if { (ac_try="$ac_compile"
23630 case "(($ac_try" in
23631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23632 *) ac_try_echo=$ac_try;;
23634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23635 (eval "$ac_compile") 2>conftest.er1
23637 grep -v '^
*+' conftest.er1 >conftest.err
23639 cat conftest.err >&5
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); } && {
23642 test -z "$ac_c_werror_flag" ||
23643 test ! -s conftest.err
23644 } && test -s conftest.$ac_objext; then
23645 ac_cv_sys_file_offset_bits=64
23647 echo "$as_me: failed program was:" >&5
23648 sed 's
/^
/| /' conftest.$ac_ext >&5
23650 ac_cv_sys_file_offset_bits=no
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23657 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23658 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23660 if test "$ac_cv_sys_file_offset_bits" != no; then
23662 cat >>confdefs.h <<_ACEOF
23663 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23668 if test "x$wx_largefile" != "xyes"; then
23670 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23671 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23672 if test "${ac_cv_sys_large_files+set}" = set; then
23673 echo $ECHO_N "(cached) $ECHO_C" >&6
23676 cat >conftest.$ac_ext <<_ACEOF
23679 cat confdefs.h >>conftest.$ac_ext
23680 cat >>conftest.$ac_ext <<_ACEOF
23681 /* end confdefs.h. */
23682 #define _LARGE_FILES 1
23683 #include <sys/types.h>
23688 unsigned int field: sizeof(off_t) == 8;
23695 rm -f conftest.$ac_objext
23696 if { (ac_try="$ac_compile"
23697 case "(($ac_try" in
23698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23699 *) ac_try_echo=$ac_try;;
23701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23702 (eval "$ac_compile") 2>conftest.er1
23704 grep -v '^
*+' conftest.er1 >conftest.err
23706 cat conftest.err >&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); } && {
23709 test -z "$ac_c_werror_flag" ||
23710 test ! -s conftest.err
23711 } && test -s conftest.$ac_objext; then
23712 ac_cv_sys_large_files=1
23714 echo "$as_me: failed program was:" >&5
23715 sed 's
/^
/| /' conftest.$ac_ext >&5
23717 ac_cv_sys_large_files=no
23720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23724 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23725 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23727 if test "$ac_cv_sys_large_files" != no; then
23729 cat >>confdefs.h <<_ACEOF
23730 #define _LARGE_FILES $ac_cv_sys_large_files
23737 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23738 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23739 if test "x$wx_largefile" = "xyes"; then
23740 cat >>confdefs.h <<\_ACEOF
23741 #define HAVE_LARGEFILE_SUPPORT 1
23745 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23746 echo "${ECHO_T}$wx_largefile" >&6; }
23749 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23750 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23751 elif test "$ac_cv_sys_large_files" = 1; then
23752 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23755 if test -n "$LARGEFILE_CPPFLAGS"; then
23756 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23758 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23759 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23760 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23761 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23762 echo $ECHO_N "(cached) $ECHO_C" >&6
23766 ac_cpp='$CXXCPP $CPPFLAGS'
23767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23768 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23771 cat >conftest.$ac_ext <<_ACEOF
23774 cat confdefs.h >>conftest.$ac_ext
23775 cat >>conftest.$ac_ext <<_ACEOF
23776 /* end confdefs.h. */
23782 #ifndef __STDC_EXT__
23790 rm -f conftest.$ac_objext
23791 if { (ac_try="$ac_compile"
23792 case "(($ac_try" in
23793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794 *) ac_try_echo=$ac_try;;
23796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23797 (eval "$ac_compile") 2>conftest.er1
23799 grep -v '^
*+' conftest.er1 >conftest.err
23801 cat conftest.err >&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } && {
23804 test -z "$ac_cxx_werror_flag" ||
23805 test ! -s conftest.err
23806 } && test -s conftest.$ac_objext; then
23807 wx_cv_STDC_EXT_required=no
23809 echo "$as_me: failed program was:" >&5
23810 sed 's
/^
/| /' conftest.$ac_ext >&5
23812 wx_cv_STDC_EXT_required=yes
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23818 ac_cpp='$CPP $CPPFLAGS'
23819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23820 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23826 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23827 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23828 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23829 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23835 ac_cpp='$CXXCPP $CPPFLAGS'
23836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23837 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23840 old_CPPFLAGS="$CPPFLAGS"
23841 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23842 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23843 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23844 if test "${ac_cv_sys_largefile_source+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23848 cat >conftest.$ac_ext <<_ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854 #include <sys/types.h> /* for off_t */
23859 int (*fp) (FILE *, off_t, int) = fseeko;
23860 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23865 rm -f conftest.$ac_objext conftest$ac_exeext
23866 if { (ac_try="$ac_link"
23867 case "(($ac_try" in
23868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23869 *) ac_try_echo=$ac_try;;
23871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23872 (eval "$ac_link") 2>conftest.er1
23874 grep -v '^
*+' conftest.er1 >conftest.err
23876 cat conftest.err >&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } && {
23879 test -z "$ac_cxx_werror_flag" ||
23880 test ! -s conftest.err
23881 } && test -s conftest$ac_exeext &&
23882 $as_test_x conftest$ac_exeext; then
23883 ac_cv_sys_largefile_source=no; break
23885 echo "$as_me: failed program was:" >&5
23886 sed 's
/^
/| /' conftest.$ac_ext >&5
23891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23892 conftest$ac_exeext conftest.$ac_ext
23893 cat >conftest.$ac_ext <<_ACEOF
23896 cat confdefs.h >>conftest.$ac_ext
23897 cat >>conftest.$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899 #define _LARGEFILE_SOURCE 1
23900 #include <sys/types.h> /* for off_t */
23905 int (*fp) (FILE *, off_t, int) = fseeko;
23906 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23911 rm -f conftest.$ac_objext conftest$ac_exeext
23912 if { (ac_try="$ac_link"
23913 case "(($ac_try" in
23914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23915 *) ac_try_echo=$ac_try;;
23917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23918 (eval "$ac_link") 2>conftest.er1
23920 grep -v '^
*+' conftest.er1 >conftest.err
23922 cat conftest.err >&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); } && {
23925 test -z "$ac_cxx_werror_flag" ||
23926 test ! -s conftest.err
23927 } && test -s conftest$ac_exeext &&
23928 $as_test_x conftest$ac_exeext; then
23929 ac_cv_sys_largefile_source=1; break
23931 echo "$as_me: failed program was:" >&5
23932 sed 's
/^
/| /' conftest.$ac_ext >&5
23937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23938 conftest$ac_exeext conftest.$ac_ext
23939 ac_cv_sys_largefile_source=unknown
23943 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23944 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23945 case $ac_cv_sys_largefile_source in #(
23948 cat >>confdefs.h <<_ACEOF
23949 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23955 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23956 # in glibc 2.1.3, but that breaks too many other things.
23957 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23958 if test $ac_cv_sys_largefile_source != unknown; then
23960 cat >>confdefs.h <<\_ACEOF
23961 #define HAVE_FSEEKO 1
23966 CPPFLAGS="$old_CPPFLAGS"
23968 ac_cpp='$CPP $CPPFLAGS'
23969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23970 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23973 if test "$ac_cv_sys_largefile_source" != no; then
23974 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23977 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23978 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23979 if test "${ac_cv_c_bigendian+set}" = set; then
23980 echo $ECHO_N "(cached) $ECHO_C" >&6
23982 ac_cv_c_bigendian=unknown
23983 # See if sys/param.h defines the BYTE_ORDER macro.
23984 cat >conftest.$ac_ext <<_ACEOF
23987 cat confdefs.h >>conftest.$ac_ext
23988 cat >>conftest.$ac_ext <<_ACEOF
23989 /* end confdefs.h. */
23990 #include <sys/types.h>
23991 #include <sys/param.h>
23996 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23997 bogus endian macros
24003 rm -f conftest.$ac_objext
24004 if { (ac_try="$ac_compile"
24005 case "(($ac_try" in
24006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24007 *) ac_try_echo=$ac_try;;
24009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24010 (eval "$ac_compile") 2>conftest.er1
24012 grep -v '^
*+' conftest.er1 >conftest.err
24014 cat conftest.err >&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } && {
24017 test -z "$ac_c_werror_flag" ||
24018 test ! -s conftest.err
24019 } && test -s conftest.$ac_objext; then
24020 # It does; now see whether it defined to BIG_ENDIAN or not.
24021 cat >conftest.$ac_ext <<_ACEOF
24024 cat confdefs.h >>conftest.$ac_ext
24025 cat >>conftest.$ac_ext <<_ACEOF
24026 /* end confdefs.h. */
24027 #include <sys/types.h>
24028 #include <sys/param.h>
24033 #if BYTE_ORDER != BIG_ENDIAN
24040 rm -f conftest.$ac_objext
24041 if { (ac_try="$ac_compile"
24042 case "(($ac_try" in
24043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24044 *) ac_try_echo=$ac_try;;
24046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24047 (eval "$ac_compile") 2>conftest.er1
24049 grep -v '^
*+' conftest.er1 >conftest.err
24051 cat conftest.err >&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); } && {
24054 test -z "$ac_c_werror_flag" ||
24055 test ! -s conftest.err
24056 } && test -s conftest.$ac_objext; then
24057 ac_cv_c_bigendian=yes
24059 echo "$as_me: failed program was:" >&5
24060 sed 's
/^
/| /' conftest.$ac_ext >&5
24062 ac_cv_c_bigendian=no
24065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24067 echo "$as_me: failed program was:" >&5
24068 sed 's
/^
/| /' conftest.$ac_ext >&5
24073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24074 if test $ac_cv_c_bigendian = unknown; then
24075 if test "$cross_compiling" = yes; then
24076 ac_cv_c_bigendian=unknown
24078 cat >conftest.$ac_ext <<_ACEOF
24081 cat confdefs.h >>conftest.$ac_ext
24082 cat >>conftest.$ac_ext <<_ACEOF
24083 /* end confdefs.h. */
24085 /* Are we little or big endian? From Harbison&Steele. */
24089 char c[sizeof (long)];
24092 exit (u.c[sizeof (long) - 1] == 1);
24095 rm -f conftest$ac_exeext
24096 if { (ac_try="$ac_link"
24097 case "(($ac_try" in
24098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24099 *) ac_try_echo=$ac_try;;
24101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24102 (eval "$ac_link") 2>&5
24104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24105 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24106 { (case "(($ac_try" in
24107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24108 *) ac_try_echo=$ac_try;;
24110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24111 (eval "$ac_try") 2>&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; }; then
24115 ac_cv_c_bigendian=no
24117 echo "$as_me: program exited with status $ac_status" >&5
24118 echo "$as_me: failed program was:" >&5
24119 sed 's
/^
/| /' conftest.$ac_ext >&5
24121 ( exit $ac_status )
24122 ac_cv_c_bigendian=yes
24124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24130 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24131 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24132 if test $ac_cv_c_bigendian = unknown; then
24133 { 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
24134 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;}
24136 if test $ac_cv_c_bigendian = yes; then
24137 cat >>confdefs.h <<\_ACEOF
24138 #define WORDS_BIGENDIAN 1
24147 ac_cpp='$CXXCPP $CPPFLAGS'
24148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24149 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24154 for ac_header in iostream
24156 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24157 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24160 echo $ECHO_N "(cached) $ECHO_C" >&6
24162 cat >conftest.$ac_ext <<_ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24170 #include <$ac_header>
24172 rm -f conftest.$ac_objext
24173 if { (ac_try="$ac_compile"
24174 case "(($ac_try" in
24175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24176 *) ac_try_echo=$ac_try;;
24178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24179 (eval "$ac_compile") 2>conftest.er1
24181 grep -v '^
*+' conftest.er1 >conftest.err
24183 cat conftest.err >&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); } && {
24186 test -z "$ac_cxx_werror_flag" ||
24187 test ! -s conftest.err
24188 } && test -s conftest.$ac_objext; then
24189 eval "$as_ac_Header=yes"
24191 echo "$as_me: failed program was:" >&5
24192 sed 's
/^
/| /' conftest.$ac_ext >&5
24194 eval "$as_ac_Header=no"
24197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24199 ac_res=`eval echo '${'$as_ac_Header'}'`
24200 { echo "$as_me:$LINENO: result: $ac_res" >&5
24201 echo "${ECHO_T}$ac_res" >&6; }
24202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24203 cat >>confdefs.h <<_ACEOF
24204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24212 if test "$ac_cv_header_iostream" = "yes" ; then
24215 cat >>confdefs.h <<\_ACEOF
24216 #define wxUSE_IOSTREAMH 1
24222 ac_cpp='$CPP $CPPFLAGS'
24223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24224 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24230 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24231 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24232 if test "${wx_cv_explicit+set}" = set; then
24233 echo $ECHO_N "(cached) $ECHO_C" >&6
24238 ac_cpp='$CXXCPP $CPPFLAGS'
24239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24240 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24244 cat >conftest.$ac_ext <<_ACEOF
24247 cat confdefs.h >>conftest.$ac_ext
24248 cat >>conftest.$ac_ext <<_ACEOF
24249 /* end confdefs.h. */
24251 class Foo { public: explicit Foo(int) {} };
24263 rm -f conftest.$ac_objext
24264 if { (ac_try="$ac_compile"
24265 case "(($ac_try" in
24266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24267 *) ac_try_echo=$ac_try;;
24269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24270 (eval "$ac_compile") 2>conftest.er1
24272 grep -v '^
*+' conftest.er1 >conftest.err
24274 cat conftest.err >&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); } && {
24277 test -z "$ac_cxx_werror_flag" ||
24278 test ! -s conftest.err
24279 } && test -s conftest.$ac_objext; then
24281 cat >conftest.$ac_ext <<_ACEOF
24284 cat confdefs.h >>conftest.$ac_ext
24285 cat >>conftest.$ac_ext <<_ACEOF
24286 /* end confdefs.h. */
24288 class Foo { public: explicit Foo(int) {} };
24289 static void TakeFoo(const Foo& foo) { }
24302 rm -f conftest.$ac_objext
24303 if { (ac_try="$ac_compile"
24304 case "(($ac_try" in
24305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24306 *) ac_try_echo=$ac_try;;
24308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24309 (eval "$ac_compile") 2>conftest.er1
24311 grep -v '^
*+' conftest.er1 >conftest.err
24313 cat conftest.err >&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } && {
24316 test -z "$ac_cxx_werror_flag" ||
24317 test ! -s conftest.err
24318 } && test -s conftest.$ac_objext; then
24321 echo "$as_me: failed program was:" >&5
24322 sed 's
/^
/| /' conftest.$ac_ext >&5
24328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24331 echo "$as_me: failed program was:" >&5
24332 sed 's
/^
/| /' conftest.$ac_ext >&5
24338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24341 ac_cpp='$CPP $CPPFLAGS'
24342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24343 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24348 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24349 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24351 if test "$wx_cv_explicit" = "yes"; then
24352 cat >>confdefs.h <<\_ACEOF
24353 #define HAVE_EXPLICIT 1
24359 if test "x$SUNCXX" = xyes; then
24360 CXXFLAGS="-features=tmplife $CXXFLAGS"
24363 if test "x$SUNCC" = xyes; then
24364 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24367 if test "x$SGICC" = "xyes"; then
24368 CFLAGS="-woff 3970 $CFLAGS"
24370 if test "x$SGICXX" = "xyes"; then
24371 CXXFLAGS="-woff 3970 $CXXFLAGS"
24374 if test "x$HPCC" = "xyes"; then
24375 CFLAGS="+W 2011,2450 $CFLAGS"
24377 if test "x$HPCXX" = "xyes"; then
24378 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24381 if test "x$COMPAQCXX" = "xyes"; then
24382 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24386 ac_cpp='$CXXCPP $CPPFLAGS'
24387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24388 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24392 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24393 if test "$wxUSE_UNICODE" = "yes"; then
24394 std_string="std::wstring"
24395 char_type="wchar_t"
24397 std_string="std::string"
24401 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24402 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24403 if test "${wx_cv_class_stdstring+set}" = set; then
24404 echo $ECHO_N "(cached) $ECHO_C" >&6
24407 cat >conftest.$ac_ext <<_ACEOF
24410 cat confdefs.h >>conftest.$ac_ext
24411 cat >>conftest.$ac_ext <<_ACEOF
24412 /* end confdefs.h. */
24422 rm -f conftest.$ac_objext
24423 if { (ac_try="$ac_compile"
24424 case "(($ac_try" in
24425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24426 *) ac_try_echo=$ac_try;;
24428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24429 (eval "$ac_compile") 2>conftest.er1
24431 grep -v '^
*+' conftest.er1 >conftest.err
24433 cat conftest.err >&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); } && {
24436 test -z "$ac_cxx_werror_flag" ||
24437 test ! -s conftest.err
24438 } && test -s conftest.$ac_objext; then
24439 wx_cv_class_stdstring=yes
24441 echo "$as_me: failed program was:" >&5
24442 sed 's
/^
/| /' conftest.$ac_ext >&5
24444 wx_cv_class_stdstring=no
24448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24452 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24453 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24455 if test "$wx_cv_class_stdstring" = yes; then
24456 if test "$wxUSE_UNICODE" = "yes"; then
24457 cat >>confdefs.h <<\_ACEOF
24458 #define HAVE_STD_WSTRING 1
24463 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24464 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24465 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24466 echo $ECHO_N "(cached) $ECHO_C" >&6
24469 cat >conftest.$ac_ext <<_ACEOF
24472 cat confdefs.h >>conftest.$ac_ext
24473 cat >>conftest.$ac_ext <<_ACEOF
24474 /* end confdefs.h. */
24476 #ifdef HAVE_WCHAR_H
24478 # include <stddef.h>
24480 # include <wchar.h>
24482 #ifdef HAVE_STDLIB_H
24483 # include <stdlib.h>
24491 std::basic_string<$char_type> foo;
24492 const $char_type* dummy = foo.c_str();
24497 rm -f conftest.$ac_objext
24498 if { (ac_try="$ac_compile"
24499 case "(($ac_try" in
24500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24501 *) ac_try_echo=$ac_try;;
24503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24504 (eval "$ac_compile") 2>conftest.er1
24506 grep -v '^
*+' conftest.er1 >conftest.err
24508 cat conftest.err >&5
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); } && {
24511 test -z "$ac_cxx_werror_flag" ||
24512 test ! -s conftest.err
24513 } && test -s conftest.$ac_objext; then
24514 wx_cv_class_stdbasicstring=yes
24516 echo "$as_me: failed program was:" >&5
24517 sed 's
/^
/| /' conftest.$ac_ext >&5
24519 wx_cv_class_stdbasicstring=no
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24527 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24528 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24530 if test "$wx_cv_class_stdbasicstring" != yes; then
24531 if test "$wxUSE_STL" = "yes"; then
24532 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24533 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24534 { (exit 1); exit 1; }; }
24535 elif test "$wxUSE_STD_STRING" = "yes"; then
24536 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24537 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24538 { (exit 1); exit 1; }; }
24540 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24541 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24542 wxUSE_STD_STRING=no
24548 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24549 { echo "$as_me:$LINENO: checking for std::istream" >&5
24550 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24551 if test "${ac_cv_type_std__istream+set}" = set; then
24552 echo $ECHO_N "(cached) $ECHO_C" >&6
24554 cat >conftest.$ac_ext <<_ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24560 #include <iostream>
24562 typedef std::istream ac__type_new_;
24566 if ((ac__type_new_ *) 0)
24568 if (sizeof (ac__type_new_))
24574 rm -f conftest.$ac_objext
24575 if { (ac_try="$ac_compile"
24576 case "(($ac_try" in
24577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24578 *) ac_try_echo=$ac_try;;
24580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24581 (eval "$ac_compile") 2>conftest.er1
24583 grep -v '^
*+' conftest.er1 >conftest.err
24585 cat conftest.err >&5
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); } && {
24588 test -z "$ac_cxx_werror_flag" ||
24589 test ! -s conftest.err
24590 } && test -s conftest.$ac_objext; then
24591 ac_cv_type_std__istream=yes
24593 echo "$as_me: failed program was:" >&5
24594 sed 's
/^
/| /' conftest.$ac_ext >&5
24596 ac_cv_type_std__istream=no
24599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24601 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24602 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24603 if test $ac_cv_type_std__istream = yes; then
24605 cat >>confdefs.h <<_ACEOF
24606 #define HAVE_STD__ISTREAM 1
24611 wxUSE_STD_IOSTREAM=no
24613 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24614 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24615 if test "${ac_cv_type_std__ostream+set}" = set; then
24616 echo $ECHO_N "(cached) $ECHO_C" >&6
24618 cat >conftest.$ac_ext <<_ACEOF
24621 cat confdefs.h >>conftest.$ac_ext
24622 cat >>conftest.$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24624 #include <iostream>
24626 typedef std::ostream ac__type_new_;
24630 if ((ac__type_new_ *) 0)
24632 if (sizeof (ac__type_new_))
24638 rm -f conftest.$ac_objext
24639 if { (ac_try="$ac_compile"
24640 case "(($ac_try" in
24641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24642 *) ac_try_echo=$ac_try;;
24644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24645 (eval "$ac_compile") 2>conftest.er1
24647 grep -v '^
*+' conftest.er1 >conftest.err
24649 cat conftest.err >&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } && {
24652 test -z "$ac_cxx_werror_flag" ||
24653 test ! -s conftest.err
24654 } && test -s conftest.$ac_objext; then
24655 ac_cv_type_std__ostream=yes
24657 echo "$as_me: failed program was:" >&5
24658 sed 's
/^
/| /' conftest.$ac_ext >&5
24660 ac_cv_type_std__ostream=no
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24666 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24667 if test $ac_cv_type_std__ostream = yes; then
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE_STD__OSTREAM 1
24675 wxUSE_STD_IOSTREAM=no
24679 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24680 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24681 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24682 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24683 { (exit 1); exit 1; }; }
24685 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24686 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24691 if test "$wxUSE_STL" = "yes"; then
24692 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24693 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24694 if test "${wx_cv_lib_stl+set}" = set; then
24695 echo $ECHO_N "(cached) $ECHO_C" >&6
24697 cat >conftest.$ac_ext <<_ACEOF
24700 cat confdefs.h >>conftest.$ac_ext
24701 cat >>conftest.$ac_ext <<_ACEOF
24702 /* end confdefs.h. */
24704 #include <functional>
24705 #include <algorithm>
24711 std::vector<int> moo;
24712 std::list<int> foo;
24713 std::vector<int>::iterator it =
24714 std::find_if(moo.begin(), moo.end(),
24715 std::bind2nd(std::less<int>(), 3));
24720 rm -f conftest.$ac_objext
24721 if { (ac_try="$ac_compile"
24722 case "(($ac_try" in
24723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24724 *) ac_try_echo=$ac_try;;
24726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24727 (eval "$ac_compile") 2>conftest.er1
24729 grep -v '^
*+' conftest.er1 >conftest.err
24731 cat conftest.err >&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); } && {
24734 test -z "$ac_cxx_werror_flag" ||
24735 test ! -s conftest.err
24736 } && test -s conftest.$ac_objext; then
24739 echo "$as_me: failed program was:" >&5
24740 sed 's
/^
/| /' conftest.$ac_ext >&5
24746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24749 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24750 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24752 if test "$wx_cv_lib_stl" != yes; then
24753 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24754 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24755 { (exit 1); exit 1; }; }
24758 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24759 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24760 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24761 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 cat >conftest.$ac_ext <<_ACEOF
24766 cat confdefs.h >>conftest.$ac_ext
24767 cat >>conftest.$ac_ext <<_ACEOF
24768 /* end confdefs.h. */
24773 std::string foo, bar;
24775 foo.compare(1, 1, bar);
24776 foo.compare(1, 1, bar, 1, 1);
24778 foo.compare(1, 1, "");
24779 foo.compare(1, 1, "", 2);
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24793 grep -v '^
*+' conftest.er1 >conftest.err
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 wx_cv_func_stdstring_compare=yes
24803 echo "$as_me: failed program was:" >&5
24804 sed 's
/^
/| /' conftest.$ac_ext >&5
24806 wx_cv_func_stdstring_compare=no
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24813 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24814 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24816 if test "$wx_cv_func_stdstring_compare" = yes; then
24817 cat >>confdefs.h <<\_ACEOF
24818 #define HAVE_STD_STRING_COMPARE 1
24823 if test "$wx_cv_class_gnuhashmapset" = yes; then
24824 cat >>confdefs.h <<\_ACEOF
24825 #define HAVE_EXT_HASH_MAP 1
24828 cat >>confdefs.h <<\_ACEOF
24829 #define HAVE_GNU_CXX_HASH_MAP 1
24834 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24835 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24836 if test "${ac_cv_header_unordered_map+set}" = set; then
24837 echo $ECHO_N "(cached) $ECHO_C" >&6
24839 cat >conftest.$ac_ext <<_ACEOF
24842 cat confdefs.h >>conftest.$ac_ext
24843 cat >>conftest.$ac_ext <<_ACEOF
24844 /* end confdefs.h. */
24848 #include <unordered_map>
24850 rm -f conftest.$ac_objext
24851 if { (ac_try="$ac_compile"
24852 case "(($ac_try" in
24853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24854 *) ac_try_echo=$ac_try;;
24856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24857 (eval "$ac_compile") 2>conftest.er1
24859 grep -v '^
*+' conftest.er1 >conftest.err
24861 cat conftest.err >&5
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); } && {
24864 test -z "$ac_cxx_werror_flag" ||
24865 test ! -s conftest.err
24866 } && test -s conftest.$ac_objext; then
24867 ac_cv_header_unordered_map=yes
24869 echo "$as_me: failed program was:" >&5
24870 sed 's
/^
/| /' conftest.$ac_ext >&5
24872 ac_cv_header_unordered_map=no
24875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24877 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24878 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24879 if test $ac_cv_header_unordered_map = yes; then
24880 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24881 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24882 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24883 echo $ECHO_N "(cached) $ECHO_C" >&6
24885 cat >conftest.$ac_ext <<_ACEOF
24888 cat confdefs.h >>conftest.$ac_ext
24889 cat >>conftest.$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24891 #include <unordered_map>
24892 #include <unordered_set>
24896 std::unordered_map<double*, char*> test1;
24897 std::unordered_set<char*> test2;
24902 rm -f conftest.$ac_objext
24903 if { (ac_try="$ac_compile"
24904 case "(($ac_try" in
24905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_compile") 2>conftest.er1
24911 grep -v '^
*+' conftest.er1 >conftest.err
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } && {
24916 test -z "$ac_cxx_werror_flag" ||
24917 test ! -s conftest.err
24918 } && test -s conftest.$ac_objext; then
24919 wx_cv_class_stdunorderedmapset=yes
24921 echo "$as_me: failed program was:" >&5
24922 sed 's
/^
/| /' conftest.$ac_ext >&5
24924 wx_cv_class_stdunorderedmapset=no
24927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24931 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24932 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24937 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24938 cat >>confdefs.h <<\_ACEOF
24939 #define HAVE_STD_UNORDERED_MAP 1
24942 cat >>confdefs.h <<\_ACEOF
24943 #define HAVE_STD_UNORDERED_SET 1
24947 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24948 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24949 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24950 echo $ECHO_N "(cached) $ECHO_C" >&6
24952 cat >conftest.$ac_ext <<_ACEOF
24955 cat confdefs.h >>conftest.$ac_ext
24956 cat >>conftest.$ac_ext <<_ACEOF
24957 /* end confdefs.h. */
24961 #include <tr1/unordered_map>
24963 rm -f conftest.$ac_objext
24964 if { (ac_try="$ac_compile"
24965 case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967 *) ac_try_echo=$ac_try;;
24969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24970 (eval "$ac_compile") 2>conftest.er1
24972 grep -v '^
*+' conftest.er1 >conftest.err
24974 cat conftest.err >&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } && {
24977 test -z "$ac_cxx_werror_flag" ||
24978 test ! -s conftest.err
24979 } && test -s conftest.$ac_objext; then
24980 ac_cv_header_tr1_unordered_map=yes
24982 echo "$as_me: failed program was:" >&5
24983 sed 's
/^
/| /' conftest.$ac_ext >&5
24985 ac_cv_header_tr1_unordered_map=no
24988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24990 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24991 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24992 if test $ac_cv_header_tr1_unordered_map = yes; then
24993 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24994 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24995 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24996 echo $ECHO_N "(cached) $ECHO_C" >&6
24998 cat >conftest.$ac_ext <<_ACEOF
25001 cat confdefs.h >>conftest.$ac_ext
25002 cat >>conftest.$ac_ext <<_ACEOF
25003 /* end confdefs.h. */
25004 #include <tr1/unordered_map>
25005 #include <tr1/unordered_set>
25009 std::tr1::unordered_map<double*, char*> test1;
25010 std::tr1::unordered_set<char*> test2;
25011 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25012 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25018 rm -f conftest.
$ac_objext
25019 if { (ac_try
="$ac_compile"
25020 case "(($ac_try" in
25021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25022 *) ac_try_echo=$ac_try;;
25024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_compile") 2>conftest.er1
25027 grep -v '^ *+' conftest.er1 >conftest.err
25029 cat conftest.err >&5
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); } && {
25032 test -z "$ac_cxx_werror_flag" ||
25033 test ! -s conftest.err
25034 } && test -s conftest.$ac_objext; then
25035 wx_cv_class_tr1unorderedmapset=yes
25037 echo "$as_me: failed program was:" >&5
25038 sed 's/^/| /' conftest.$ac_ext >&5
25040 wx_cv_class_tr1unorderedmapset=no
25043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25047 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25048 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25053 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25054 cat >>confdefs.h <<\_ACEOF
25055 #define HAVE_TR1_UNORDERED_MAP 1
25058 cat >>confdefs.h <<\_ACEOF
25059 #define HAVE_TR1_UNORDERED_SET 1
25063 { echo "$as_me:$LINENO: checking for hash_map" >&5
25064 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25065 if test "${ac_cv_header_hash_map+set}" = set; then
25066 echo $ECHO_N "(cached) $ECHO_C" >&6
25068 cat >conftest.$ac_ext <<_ACEOF
25071 cat confdefs.h >>conftest.$ac_ext
25072 cat >>conftest.$ac_ext <<_ACEOF
25073 /* end confdefs.h. */
25077 #include <hash_map>
25079 rm -f conftest.$ac_objext
25080 if { (ac_try="$ac_compile"
25081 case "(($ac_try" in
25082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25083 *) ac_try_echo
=$ac_try;;
25085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25086 (eval "$ac_compile") 2>conftest.er1
25088 grep -v '^ *+' conftest.er1
>conftest.err
25090 cat conftest.err
>&5
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); } && {
25093 test -z "$ac_cxx_werror_flag" ||
25094 test ! -s conftest.err
25095 } && test -s conftest.
$ac_objext; then
25096 ac_cv_header_hash_map
=yes
25098 echo "$as_me: failed program was:" >&5
25099 sed 's/^/| /' conftest.
$ac_ext >&5
25101 ac_cv_header_hash_map
=no
25104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25106 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25107 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25108 if test $ac_cv_header_hash_map = yes; then
25109 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25110 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25111 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25112 echo $ECHO_N "(cached) $ECHO_C" >&6
25114 cat >conftest.
$ac_ext <<_ACEOF
25117 cat confdefs.h
>>conftest.
$ac_ext
25118 cat >>conftest.
$ac_ext <<_ACEOF
25119 /* end confdefs.h. */
25120 #include <hash_map>
25121 #include <hash_set>
25125 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25126 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25131 rm -f conftest.
$ac_objext
25132 if { (ac_try
="$ac_compile"
25133 case "(($ac_try" in
25134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25135 *) ac_try_echo=$ac_try;;
25137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25138 (eval "$ac_compile") 2>conftest.er1
25140 grep -v '^ *+' conftest.er1 >conftest.err
25142 cat conftest.err >&5
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); } && {
25145 test -z "$ac_cxx_werror_flag" ||
25146 test ! -s conftest.err
25147 } && test -s conftest.$ac_objext; then
25148 wx_cv_class_stdhashmapset=yes
25150 echo "$as_me: failed program was:" >&5
25151 sed 's/^/| /' conftest.$ac_ext >&5
25153 wx_cv_class_stdhashmapset=no
25156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25160 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25161 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25166 if test "$wx_cv_class_stdhashmapset" = yes; then
25167 cat >>confdefs.h <<\_ACEOF
25168 #define HAVE_HASH_MAP 1
25171 cat >>confdefs.h <<\_ACEOF
25172 #define HAVE_STD_HASH_MAP 1
25177 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25178 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25179 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25180 echo $ECHO_N "(cached) $ECHO_C" >&6
25182 cat >conftest.$ac_ext <<_ACEOF
25185 cat confdefs.h >>conftest.$ac_ext
25186 cat >>conftest.$ac_ext <<_ACEOF
25187 /* end confdefs.h. */
25191 #include <ext/hash_map>
25193 rm -f conftest.$ac_objext
25194 if { (ac_try="$ac_compile"
25195 case "(($ac_try" in
25196 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25197 *) ac_try_echo
=$ac_try;;
25199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25200 (eval "$ac_compile") 2>conftest.er1
25202 grep -v '^ *+' conftest.er1
>conftest.err
25204 cat conftest.err
>&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } && {
25207 test -z "$ac_cxx_werror_flag" ||
25208 test ! -s conftest.err
25209 } && test -s conftest.
$ac_objext; then
25210 ac_cv_header_ext_hash_map
=yes
25212 echo "$as_me: failed program was:" >&5
25213 sed 's/^/| /' conftest.
$ac_ext >&5
25215 ac_cv_header_ext_hash_map
=no
25218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25220 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25221 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25222 if test $ac_cv_header_ext_hash_map = yes; then
25223 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25224 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25225 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25226 echo $ECHO_N "(cached) $ECHO_C" >&6
25228 cat >conftest.
$ac_ext <<_ACEOF
25231 cat confdefs.h
>>conftest.
$ac_ext
25232 cat >>conftest.
$ac_ext <<_ACEOF
25233 /* end confdefs.h. */
25234 #include <ext/hash_map>
25235 #include <ext/hash_set>
25239 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25240 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25245 rm -f conftest.
$ac_objext
25246 if { (ac_try
="$ac_compile"
25247 case "(($ac_try" in
25248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25249 *) ac_try_echo=$ac_try;;
25251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25252 (eval "$ac_compile") 2>conftest.er1
25254 grep -v '^ *+' conftest.er1 >conftest.err
25256 cat conftest.err >&5
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); } && {
25259 test -z "$ac_cxx_werror_flag" ||
25260 test ! -s conftest.err
25261 } && test -s conftest.$ac_objext; then
25262 wx_cv_class_gnuhashmapset=yes
25264 echo "$as_me: failed program was:" >&5
25265 sed 's/^/| /' conftest.$ac_ext >&5
25267 wx_cv_class_gnuhashmapset=no
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25274 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25275 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25286 if test -n "$GCC"; then
25287 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25288 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25289 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25290 echo $ECHO_N "(cached) $ECHO_C" >&6
25293 cat >conftest.$ac_ext <<_ACEOF
25296 cat confdefs.h >>conftest.$ac_ext
25297 cat >>conftest.$ac_ext <<_ACEOF
25298 /* end confdefs.h. */
25304 unsigned int value=0;
25305 /* wxAtomicInc doesn't use return value here */
25306 __sync_fetch_and_add(&value, 2);
25307 __sync_sub_and_fetch(&value, 1);
25308 /* but wxAtomicDec does, so mimic that: */
25309 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25315 rm -f conftest.$ac_objext conftest$ac_exeext
25316 if { (ac_try="$ac_link"
25317 case "(($ac_try" in
25318 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25319 *) ac_try_echo
=$ac_try;;
25321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25322 (eval "$ac_link") 2>conftest.er1
25324 grep -v '^ *+' conftest.er1
>conftest.err
25326 cat conftest.err
>&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } && {
25329 test -z "$ac_cxx_werror_flag" ||
25330 test ! -s conftest.err
25331 } && test -s conftest
$ac_exeext &&
25332 $as_test_x conftest
$ac_exeext; then
25333 wx_cv_cc_gcc_atomic_builtins
=yes
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.
$ac_ext >&5
25338 wx_cv_cc_gcc_atomic_builtins
=no
25341 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25342 conftest
$ac_exeext conftest.
$ac_ext
25346 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25347 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25348 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25349 cat >>confdefs.h
<<\_ACEOF
25350 #define HAVE_GCC_ATOMIC_BUILTINS 1
25358 ac_cpp
='$CPP $CPPFLAGS'
25359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25366 /usr/local/include \
25367 /usr/local/X11/include \
25368 /usr/local/include/X11 \
25369 /usr/local/X11R6/include \
25370 /usr/local/include/X11R6 \
25372 /usr/Motif-2.1/include \
25373 /usr/Motif-1.2/include \
25374 /usr/include/Motif1.2 \
25377 /usr/openwin/include \
25381 /usr/X11R6/include \
25382 /usr/X11R6.4/include \
25384 /usr/include/X11R6 \
25389 /usr/XFree86/include/X11 \
25392 /usr/local/X1R5/include \
25393 /usr/local/include/X11R5 \
25394 /usr/X11R5/include \
25395 /usr/include/X11R5 \
25397 /usr/local/X11R4/include \
25398 /usr/local/include/X11R4 \
25399 /usr/X11R4/include \
25400 /usr/include/X11R4 \
25402 /usr/openwin/share/include"
25404 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25405 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25409 if test "${wx_cv_std_libpath+set}" = set; then
25410 echo $ECHO_N "(cached) $ECHO_C" >&6
25413 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25414 for e
in a so sl dylib dll.a
; do
25416 if test -f $libc; then
25419 cat >conftest.
$ac_ext <<_ACEOF
25420 int main() { return 0; }
25422 rm -f conftest.
$ac_objext conftest
$ac_exeext
25423 if { (ac_try
="$ac_link"
25424 case "(($ac_try" in
25425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25426 *) ac_try_echo=$ac_try;;
25428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25429 (eval "$ac_link") 2>conftest.er1
25431 grep -v '^ *+' conftest.er1 >conftest.err
25433 cat conftest.err >&5
25434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435 (exit $ac_status); } && {
25436 test -z "$ac_c_werror_flag" ||
25437 test ! -s conftest.err
25438 } && test -s conftest$ac_exeext &&
25439 $as_test_x conftest$ac_exeext; then
25440 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25442 echo "$as_me: failed program was:" >&5
25443 sed 's/^/| /' conftest.$ac_ext >&5
25448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25449 conftest$ac_exeext conftest.$ac_ext
25451 if test "x$wx_cv_std_libpath" != "x"; then
25457 if test "x$wx_cv_std_libpath" = "x"; then
25458 wx_cv_std_libpath="lib"
25467 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25468 wx_cv_std_libpath="lib/64"
25470 wx_cv_std_libpath="lib"
25475 if test "$ac_cv_sizeof_void_p" = 8 -a \
25476 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25477 wx_cv_std_libpath="lib64"
25479 wx_cv_std_libpath="lib"
25484 wx_cv_std_libpath="lib";
25488 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25489 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25491 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25493 if test "$build" != "$host" -a "$GCC" = yes; then
25494 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25495 cross_root=`dirname $cross_root`
25496 cross_root=`dirname $cross_root`
25498 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25499 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25500 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25502 if test -z "$PKG_CONFIG_PATH"; then
25503 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25504 export PKG_CONFIG_PATH
25507 if test -z "$x_includes" -o "$x_includes" = NONE; then
25510 for ac_dir in $SEARCH_INCLUDE /usr/include;
25512 if test -f "$ac_dir/X11/Intrinsic.h"; then
25513 ac_find_includes=$ac_dir
25518 x_includes=$ac_find_includes
25520 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25523 for ac_dir in $SEARCH_LIB;
25525 for ac_extension in a so sl dylib dll.a; do
25526 if test -f "$ac_dir/libXt.$ac_extension"; then
25527 ac_find_libraries=$ac_dir
25533 x_libraries=$ac_find_libraries
25539 cat >confcache <<\_ACEOF
25540 # This file is a shell script that caches the results of configure
25541 # tests run on this system so they can be shared between configure
25542 # scripts and configure runs, see configure's option --config-cache.
25543 # It is not useful on other systems. If it contains results you don't
25544 # want to keep, you may remove or edit it.
25546 # config.status only pays attention to the cache file if you give it
25547 # the --recheck option to rerun configure.
25549 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25550 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25551 # following values.
25555 # The following way of writing the cache mishandles newlines in values,
25556 # but we know of no workaround that is simple, portable, and efficient.
25557 # So, we kill variables containing newlines.
25558 # Ultrix sh set writes to stderr and can't be redirected directly,
25559 # and sets the high bit in the cache file unless we assign to the vars.
25561 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25562 eval ac_val
=\$
$ac_var
25566 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25567 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25570 _
| IFS
| as_nl
) ;; #(
25571 *) $as_unset $ac_var ;;
25577 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25578 *${as_nl}ac_space
=\
*)
25579 # `set' does not quote correctly, so add quotes (double-quote
25580 # substitution turns \\\\ into \\, and sed turns \\ into \).
25583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25586 # `set' quotes correctly as required by POSIX, so do not add quotes.
25587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25596 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25598 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25600 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25601 if test -w "$cache_file"; then
25602 test "x$cache_file" != "x/dev/null" &&
25603 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25604 echo "$as_me: updating cache $cache_file" >&6;}
25605 cat confcache
>$cache_file
25607 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25608 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25613 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25614 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25615 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25616 if test "${wx_cv_lib_glibc21+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25620 cat >conftest.
$ac_ext <<_ACEOF
25623 cat confdefs.h
>>conftest.
$ac_ext
25624 cat >>conftest.
$ac_ext <<_ACEOF
25625 /* end confdefs.h. */
25626 #include <features.h>
25631 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25639 rm -f conftest.
$ac_objext
25640 if { (ac_try
="$ac_compile"
25641 case "(($ac_try" in
25642 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25643 *) ac_try_echo=$ac_try;;
25645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25646 (eval "$ac_compile") 2>conftest.er1
25648 grep -v '^ *+' conftest.er1 >conftest.err
25650 cat conftest.err >&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); } && {
25653 test -z "$ac_c_werror_flag" ||
25654 test ! -s conftest.err
25655 } && test -s conftest.$ac_objext; then
25657 wx_cv_lib_glibc21=yes
25660 echo "$as_me: failed program was:" >&5
25661 sed 's/^/| /' conftest.$ac_ext >&5
25664 wx_cv_lib_glibc21=no
25669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25672 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25673 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25674 if test "$wx_cv_lib_glibc21" = "yes"; then
25675 cat >>confdefs.h <<\_ACEOF
25676 #define wxHAVE_GLIBC2 1
25682 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25683 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25684 cat >>confdefs.h <<\_ACEOF
25685 #define _GNU_SOURCE 1
25696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25697 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25699 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25700 echo $ECHO_N "(cached) $ECHO_C" >&6
25702 cat >conftest.$ac_ext <<_ACEOF
25705 cat confdefs.h >>conftest.$ac_ext
25706 cat >>conftest.$ac_ext <<_ACEOF
25707 /* end confdefs.h. */
25708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25710 #define $ac_func innocuous_$ac_func
25712 /* System header to define __stub macros and hopefully few prototypes,
25713 which can conflict with char $ac_func (); below.
25714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25715 <limits.h> exists even on freestanding compilers. */
25718 # include <limits.h>
25720 # include <assert.h>
25725 /* Override any GCC internal prototype to avoid an error.
25726 Use char because int might match the return type of a GCC
25727 builtin and then its argument prototype would still apply. */
25732 /* The GNU C library defines this for functions which it implements
25733 to always fail with ENOSYS. Some functions are actually named
25734 something starting with __ and the normal name is an alias. */
25735 #if defined __stub_$ac_func || defined __stub___$ac_func
25742 return $ac_func ();
25747 rm -f conftest.$ac_objext conftest$ac_exeext
25748 if { (ac_try="$ac_link"
25749 case "(($ac_try" in
25750 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25751 *) ac_try_echo
=$ac_try;;
25753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25754 (eval "$ac_link") 2>conftest.er1
25756 grep -v '^ *+' conftest.er1
>conftest.err
25758 cat conftest.err
>&5
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); } && {
25761 test -z "$ac_c_werror_flag" ||
25762 test ! -s conftest.err
25763 } && test -s conftest
$ac_exeext &&
25764 $as_test_x conftest
$ac_exeext; then
25765 eval "$as_ac_var=yes"
25767 echo "$as_me: failed program was:" >&5
25768 sed 's/^/| /' conftest.
$ac_ext >&5
25770 eval "$as_ac_var=no"
25773 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25774 conftest
$ac_exeext conftest.
$ac_ext
25776 ac_res
=`eval echo '${'$as_ac_var'}'`
25777 { echo "$as_me:$LINENO: result: $ac_res" >&5
25778 echo "${ECHO_T}$ac_res" >&6; }
25779 if test `eval echo '${'$as_ac_var'}'` = yes; then
25780 cat >>confdefs.h
<<_ACEOF
25781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25788 for ac_func
in floor
25790 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25791 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25793 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 cat >conftest.
$ac_ext <<_ACEOF
25799 cat confdefs.h
>>conftest.
$ac_ext
25800 cat >>conftest.
$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25804 #define $ac_func innocuous_$ac_func
25806 /* System header to define __stub macros and hopefully few prototypes,
25807 which can conflict with char $ac_func (); below.
25808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25809 <limits.h> exists even on freestanding compilers. */
25812 # include <limits.h>
25814 # include <assert.h>
25819 /* Override any GCC internal prototype to avoid an error.
25820 Use char because int might match the return type of a GCC
25821 builtin and then its argument prototype would still apply. */
25826 /* The GNU C library defines this for functions which it implements
25827 to always fail with ENOSYS. Some functions are actually named
25828 something starting with __ and the normal name is an alias. */
25829 #if defined __stub_$ac_func || defined __stub___$ac_func
25836 return $ac_func ();
25841 rm -f conftest.
$ac_objext conftest
$ac_exeext
25842 if { (ac_try
="$ac_link"
25843 case "(($ac_try" in
25844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25845 *) ac_try_echo=$ac_try;;
25847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25848 (eval "$ac_link") 2>conftest.er1
25850 grep -v '^ *+' conftest.er1 >conftest.err
25852 cat conftest.err >&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); } && {
25855 test -z "$ac_c_werror_flag" ||
25856 test ! -s conftest.err
25857 } && test -s conftest$ac_exeext &&
25858 $as_test_x conftest$ac_exeext; then
25859 eval "$as_ac_var=yes"
25861 echo "$as_me: failed program was:" >&5
25862 sed 's/^/| /' conftest.$ac_ext >&5
25864 eval "$as_ac_var=no"
25867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25868 conftest$ac_exeext conftest.$ac_ext
25870 ac_res=`eval echo '${'$as_ac_var'}'`
25871 { echo "$as_me:$LINENO: result: $ac_res" >&5
25872 echo "${ECHO_T}$ac_res" >&6; }
25873 if test `eval echo '${'$as_ac_var'}'` = yes; then
25874 cat >>confdefs.h <<_ACEOF
25875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25881 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25882 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25883 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25884 { echo "$as_me:$LINENO: result: yes" >&5
25885 echo "${ECHO_T}yes" >&6; }
25887 { echo "$as_me:$LINENO: result: no" >&5
25888 echo "${ECHO_T}no" >&6; }
25890 # use different functions to avoid configure caching
25896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25897 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25899 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25900 echo $ECHO_N "(cached) $ECHO_C" >&6
25902 cat >conftest.$ac_ext <<_ACEOF
25905 cat confdefs.h >>conftest.$ac_ext
25906 cat >>conftest.$ac_ext <<_ACEOF
25907 /* end confdefs.h. */
25908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25910 #define $ac_func innocuous_$ac_func
25912 /* System header to define __stub macros and hopefully few prototypes,
25913 which can conflict with char $ac_func (); below.
25914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25915 <limits.h> exists even on freestanding compilers. */
25918 # include <limits.h>
25920 # include <assert.h>
25925 /* Override any GCC internal prototype to avoid an error.
25926 Use char because int might match the return type of a GCC
25927 builtin and then its argument prototype would still apply. */
25932 /* The GNU C library defines this for functions which it implements
25933 to always fail with ENOSYS. Some functions are actually named
25934 something starting with __ and the normal name is an alias. */
25935 #if defined __stub_$ac_func || defined __stub___$ac_func
25942 return $ac_func ();
25947 rm -f conftest.$ac_objext conftest$ac_exeext
25948 if { (ac_try="$ac_link"
25949 case "(($ac_try" in
25950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25951 *) ac_try_echo
=$ac_try;;
25953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25954 (eval "$ac_link") 2>conftest.er1
25956 grep -v '^ *+' conftest.er1
>conftest.err
25958 cat conftest.err
>&5
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); } && {
25961 test -z "$ac_c_werror_flag" ||
25962 test ! -s conftest.err
25963 } && test -s conftest
$ac_exeext &&
25964 $as_test_x conftest
$ac_exeext; then
25965 eval "$as_ac_var=yes"
25967 echo "$as_me: failed program was:" >&5
25968 sed 's/^/| /' conftest.
$ac_ext >&5
25970 eval "$as_ac_var=no"
25973 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25974 conftest
$ac_exeext conftest.
$ac_ext
25976 ac_res
=`eval echo '${'$as_ac_var'}'`
25977 { echo "$as_me:$LINENO: result: $ac_res" >&5
25978 echo "${ECHO_T}$ac_res" >&6; }
25979 if test `eval echo '${'$as_ac_var'}'` = yes; then
25980 cat >>confdefs.h
<<_ACEOF
25981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25988 for ac_func
in ceil
25990 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25993 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25994 echo $ECHO_N "(cached) $ECHO_C" >&6
25996 cat >conftest.
$ac_ext <<_ACEOF
25999 cat confdefs.h
>>conftest.
$ac_ext
26000 cat >>conftest.
$ac_ext <<_ACEOF
26001 /* end confdefs.h. */
26002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26004 #define $ac_func innocuous_$ac_func
26006 /* System header to define __stub macros and hopefully few prototypes,
26007 which can conflict with char $ac_func (); below.
26008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26009 <limits.h> exists even on freestanding compilers. */
26012 # include <limits.h>
26014 # include <assert.h>
26019 /* Override any GCC internal prototype to avoid an error.
26020 Use char because int might match the return type of a GCC
26021 builtin and then its argument prototype would still apply. */
26026 /* The GNU C library defines this for functions which it implements
26027 to always fail with ENOSYS. Some functions are actually named
26028 something starting with __ and the normal name is an alias. */
26029 #if defined __stub_$ac_func || defined __stub___$ac_func
26036 return $ac_func ();
26041 rm -f conftest.
$ac_objext conftest
$ac_exeext
26042 if { (ac_try
="$ac_link"
26043 case "(($ac_try" in
26044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26045 *) ac_try_echo=$ac_try;;
26047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26048 (eval "$ac_link") 2>conftest.er1
26050 grep -v '^ *+' conftest.er1 >conftest.err
26052 cat conftest.err >&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } && {
26055 test -z "$ac_c_werror_flag" ||
26056 test ! -s conftest.err
26057 } && test -s conftest$ac_exeext &&
26058 $as_test_x conftest$ac_exeext; then
26059 eval "$as_ac_var=yes"
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.$ac_ext >&5
26064 eval "$as_ac_var=no"
26067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26068 conftest$ac_exeext conftest.$ac_ext
26070 ac_res=`eval echo '${'$as_ac_var'}'`
26071 { echo "$as_me:$LINENO: result: $ac_res" >&5
26072 echo "${ECHO_T}$ac_res" >&6; }
26073 if test `eval echo '${'$as_ac_var'}'` = yes; then
26074 cat >>confdefs.h <<_ACEOF
26075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26081 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26082 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26083 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26084 { echo "$as_me:$LINENO: result: yes" >&5
26085 echo "${ECHO_T}yes" >&6; }
26087 { echo "$as_me:$LINENO: result: no" >&5
26088 echo "${ECHO_T}no" >&6; }
26089 # not sure we should warn the user, crash, etc.
26094 ac_cpp='$CXXCPP $CPPFLAGS'
26095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26099 if test "wxUSE_UNICODE" = "yes"; then
26101 for wx_func in wcstoull
26103 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26104 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26105 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26106 echo $ECHO_N "(cached) $ECHO_C" >&6
26109 cat >conftest.$ac_ext <<_ACEOF
26113 cat confdefs.h >>conftest.$ac_ext
26114 cat >>conftest.$ac_ext <<_ACEOF
26115 /* end confdefs.h. */
26118 $ac_includes_default
26134 rm -f conftest.$ac_objext conftest$ac_exeext
26135 if { (ac_try="$ac_link"
26136 case "(($ac_try" in
26137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26138 *) ac_try_echo
=$ac_try;;
26140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26141 (eval "$ac_link") 2>conftest.er1
26143 grep -v '^ *+' conftest.er1
>conftest.err
26145 cat conftest.err
>&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); } && {
26148 test -z "$ac_cxx_werror_flag" ||
26149 test ! -s conftest.err
26150 } && test -s conftest
$ac_exeext &&
26151 $as_test_x conftest
$ac_exeext; then
26152 eval wx_cv_func_
$wx_func=yes
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.
$ac_ext >&5
26157 eval wx_cv_func_
$wx_func=no
26160 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26161 conftest
$ac_exeext conftest.
$ac_ext
26164 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26165 { echo "$as_me:$LINENO: result: $ac_res" >&5
26166 echo "${ECHO_T}$ac_res" >&6; }
26168 if eval test \
$wx_cv_func_$wx_func = yes
26170 cat >>confdefs.h
<<_ACEOF
26171 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26183 for wx_func
in strtoull
26185 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26186 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26187 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26188 echo $ECHO_N "(cached) $ECHO_C" >&6
26191 cat >conftest.
$ac_ext <<_ACEOF
26195 cat confdefs.h
>>conftest.
$ac_ext
26196 cat >>conftest.
$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26200 $ac_includes_default
26216 rm -f conftest.
$ac_objext conftest
$ac_exeext
26217 if { (ac_try
="$ac_link"
26218 case "(($ac_try" in
26219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26220 *) ac_try_echo=$ac_try;;
26222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26223 (eval "$ac_link") 2>conftest.er1
26225 grep -v '^ *+' conftest.er1 >conftest.err
26227 cat conftest.err >&5
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); } && {
26230 test -z "$ac_cxx_werror_flag" ||
26231 test ! -s conftest.err
26232 } && test -s conftest$ac_exeext &&
26233 $as_test_x conftest$ac_exeext; then
26234 eval wx_cv_func_$wx_func=yes
26236 echo "$as_me: failed program was:" >&5
26237 sed 's/^/| /' conftest.$ac_ext >&5
26239 eval wx_cv_func_$wx_func=no
26242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26243 conftest$ac_exeext conftest.$ac_ext
26246 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26247 { echo "$as_me:$LINENO: result: $ac_res" >&5
26248 echo "${ECHO_T}$ac_res" >&6; }
26250 if eval test \$wx_cv_func_$wx_func = yes
26252 cat >>confdefs.h <<_ACEOF
26253 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26265 ac_cpp='$CPP $CPPFLAGS'
26266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26273 if test "$wxUSE_REGEX" != "no"; then
26274 cat >>confdefs.h <<\_ACEOF
26275 #define wxUSE_REGEX 1
26279 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26280 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26281 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26282 wxUSE_REGEX=builtin
26285 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26286 { echo "$as_me:$LINENO: checking for regex.h" >&5
26287 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26288 if test "${ac_cv_header_regex_h+set}" = set; then
26289 echo $ECHO_N "(cached) $ECHO_C" >&6
26291 cat >conftest.$ac_ext <<_ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26301 rm -f conftest.$ac_objext
26302 if { (ac_try="$ac_compile"
26303 case "(($ac_try" in
26304 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26305 *) ac_try_echo
=$ac_try;;
26307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26308 (eval "$ac_compile") 2>conftest.er1
26310 grep -v '^ *+' conftest.er1
>conftest.err
26312 cat conftest.err
>&5
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); } && {
26315 test -z "$ac_c_werror_flag" ||
26316 test ! -s conftest.err
26317 } && test -s conftest.
$ac_objext; then
26318 ac_cv_header_regex_h
=yes
26320 echo "$as_me: failed program was:" >&5
26321 sed 's/^/| /' conftest.
$ac_ext >&5
26323 ac_cv_header_regex_h
=no
26326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26328 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26329 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26330 if test $ac_cv_header_regex_h = yes; then
26333 for ac_func
in regcomp re_search
26335 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26338 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26339 echo $ECHO_N "(cached) $ECHO_C" >&6
26341 cat >conftest.
$ac_ext <<_ACEOF
26344 cat confdefs.h
>>conftest.
$ac_ext
26345 cat >>conftest.
$ac_ext <<_ACEOF
26346 /* end confdefs.h. */
26347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26349 #define $ac_func innocuous_$ac_func
26351 /* System header to define __stub macros and hopefully few prototypes,
26352 which can conflict with char $ac_func (); below.
26353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26354 <limits.h> exists even on freestanding compilers. */
26357 # include <limits.h>
26359 # include <assert.h>
26364 /* Override any GCC internal prototype to avoid an error.
26365 Use char because int might match the return type of a GCC
26366 builtin and then its argument prototype would still apply. */
26371 /* The GNU C library defines this for functions which it implements
26372 to always fail with ENOSYS. Some functions are actually named
26373 something starting with __ and the normal name is an alias. */
26374 #if defined __stub_$ac_func || defined __stub___$ac_func
26381 return $ac_func ();
26386 rm -f conftest.
$ac_objext conftest
$ac_exeext
26387 if { (ac_try
="$ac_link"
26388 case "(($ac_try" in
26389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26390 *) ac_try_echo=$ac_try;;
26392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26393 (eval "$ac_link") 2>conftest.er1
26395 grep -v '^ *+' conftest.er1 >conftest.err
26397 cat conftest.err >&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } && {
26400 test -z "$ac_c_werror_flag" ||
26401 test ! -s conftest.err
26402 } && test -s conftest$ac_exeext &&
26403 $as_test_x conftest$ac_exeext; then
26404 eval "$as_ac_var=yes"
26406 echo "$as_me: failed program was:" >&5
26407 sed 's/^/| /' conftest.$ac_ext >&5
26409 eval "$as_ac_var=no"
26412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26413 conftest$ac_exeext conftest.$ac_ext
26415 ac_res=`eval echo '${'$as_ac_var'}'`
26416 { echo "$as_me:$LINENO: result: $ac_res" >&5
26417 echo "${ECHO_T}$ac_res" >&6; }
26418 if test `eval echo '${'$as_ac_var'}'` = yes; then
26419 cat >>confdefs.h <<_ACEOF
26420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26430 if test "x$ac_cv_func_regcomp" != "xyes"; then
26431 if test "$wxUSE_REGEX" = "sys" ; then
26432 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26433 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26434 { (exit 1); exit 1; }; }
26436 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26437 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26438 wxUSE_REGEX=builtin
26442 cat >>confdefs.h <<\_ACEOF
26443 #define WX_NO_REGEX_ADVANCED 1
26452 if test "$wxUSE_ZLIB" != "no" ; then
26453 cat >>confdefs.h <<\_ACEOF
26454 #define wxUSE_ZLIB 1
26458 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26459 if test "$USE_DARWIN" = 1; then
26460 system_zlib_h_ok="yes"
26462 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26463 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26464 if test "${ac_cv_header_zlib_h+set}" = set; then
26465 echo $ECHO_N "(cached) $ECHO_C" >&6
26467 if test "$cross_compiling" = yes; then
26468 unset ac_cv_header_zlib_h
26471 cat >conftest.$ac_ext <<_ACEOF
26474 cat confdefs.h >>conftest.$ac_ext
26475 cat >>conftest.$ac_ext <<_ACEOF
26476 /* end confdefs.h. */
26483 FILE *f=fopen("conftestval", "w");
26486 ZLIB_VERSION[0] == '1' &&
26487 (ZLIB_VERSION[2] > '1' ||
26488 (ZLIB_VERSION[2] == '1' &&
26489 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26494 rm -f conftest$ac_exeext
26495 if { (ac_try="$ac_link"
26496 case "(($ac_try" in
26497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26498 *) ac_try_echo
=$ac_try;;
26500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26501 (eval "$ac_link") 2>&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26505 { (case "(($ac_try" in
26506 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26507 *) ac_try_echo=$ac_try;;
26509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26510 (eval "$ac_try") 2>&5
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); }; }; then
26514 ac_cv_header_zlib_h=`cat conftestval
`
26516 echo "$as_me: program exited with status $ac_status" >&5
26517 echo "$as_me: failed program was:" >&5
26518 sed 's/^/| /' conftest.$ac_ext >&5
26520 ( exit $ac_status )
26521 ac_cv_header_zlib_h=no
26523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26529 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26530 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26531 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26532 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26533 if test "${ac_cv_header_zlib_h+set}" = set; then
26534 echo $ECHO_N "(cached) $ECHO_C" >&6
26536 cat >conftest.$ac_ext <<_ACEOF
26539 cat confdefs.h >>conftest.$ac_ext
26540 cat >>conftest.$ac_ext <<_ACEOF
26541 /* end confdefs.h. */
26546 rm -f conftest.$ac_objext
26547 if { (ac_try="$ac_compile"
26548 case "(($ac_try" in
26549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26550 *) ac_try_echo
=$ac_try;;
26552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26553 (eval "$ac_compile") 2>conftest.er1
26555 grep -v '^ *+' conftest.er1
>conftest.err
26557 cat conftest.err
>&5
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); } && {
26560 test -z "$ac_c_werror_flag" ||
26561 test ! -s conftest.err
26562 } && test -s conftest.
$ac_objext; then
26563 ac_cv_header_zlib_h
=yes
26565 echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.
$ac_ext >&5
26568 ac_cv_header_zlib_h
=no
26571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26573 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26574 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26578 system_zlib_h_ok
=$ac_cv_header_zlib_h
26581 if test "$system_zlib_h_ok" = "yes"; then
26582 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26583 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26584 if test "${ac_cv_lib_z_deflate+set}" = set; then
26585 echo $ECHO_N "(cached) $ECHO_C" >&6
26587 ac_check_lib_save_LIBS
=$LIBS
26589 cat >conftest.
$ac_ext <<_ACEOF
26592 cat confdefs.h
>>conftest.
$ac_ext
26593 cat >>conftest.
$ac_ext <<_ACEOF
26594 /* end confdefs.h. */
26596 /* Override any GCC internal prototype to avoid an error.
26597 Use char because int might match the return type of a GCC
26598 builtin and then its argument prototype would still apply. */
26611 rm -f conftest.
$ac_objext conftest
$ac_exeext
26612 if { (ac_try
="$ac_link"
26613 case "(($ac_try" in
26614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26615 *) ac_try_echo=$ac_try;;
26617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26618 (eval "$ac_link") 2>conftest.er1
26620 grep -v '^ *+' conftest.er1 >conftest.err
26622 cat conftest.err >&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); } && {
26625 test -z "$ac_c_werror_flag" ||
26626 test ! -s conftest.err
26627 } && test -s conftest$ac_exeext &&
26628 $as_test_x conftest$ac_exeext; then
26629 ac_cv_lib_z_deflate=yes
26631 echo "$as_me: failed program was:" >&5
26632 sed 's/^/| /' conftest.$ac_ext >&5
26634 ac_cv_lib_z_deflate=no
26637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26638 conftest$ac_exeext conftest.$ac_ext
26639 LIBS=$ac_check_lib_save_LIBS
26641 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26642 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26643 if test $ac_cv_lib_z_deflate = yes; then
26649 if test "x$ZLIB_LINK" = "x" ; then
26650 if test "$wxUSE_ZLIB" = "sys" ; then
26651 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26652 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26653 { (exit 1); exit 1; }; }
26655 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26656 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26667 if test "$wxUSE_LIBPNG" != "no" ; then
26668 cat >>confdefs.h <<\_ACEOF
26669 #define wxUSE_LIBPNG 1
26673 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26674 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26675 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26679 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26680 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26681 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26682 wxUSE_LIBPNG=builtin
26685 if test "$wxUSE_MGL" != 1 ; then
26686 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26687 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26688 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26689 if test "${ac_cv_header_png_h+set}" = set; then
26690 echo $ECHO_N "(cached) $ECHO_C" >&6
26692 if test "$cross_compiling" = yes; then
26693 unset ac_cv_header_png_h
26696 cat >conftest.$ac_ext <<_ACEOF
26699 cat confdefs.h >>conftest.$ac_ext
26700 cat >>conftest.$ac_ext <<_ACEOF
26701 /* end confdefs.h. */
26708 FILE *f=fopen("conftestval", "w");
26711 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26716 rm -f conftest$ac_exeext
26717 if { (ac_try="$ac_link"
26718 case "(($ac_try" in
26719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26720 *) ac_try_echo
=$ac_try;;
26722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26723 (eval "$ac_link") 2>&5
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26727 { (case "(($ac_try" in
26728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26729 *) ac_try_echo=$ac_try;;
26731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26732 (eval "$ac_try") 2>&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); }; }; then
26736 ac_cv_header_png_h=`cat conftestval
`
26738 echo "$as_me: program exited with status $ac_status" >&5
26739 echo "$as_me: failed program was:" >&5
26740 sed 's/^/| /' conftest.$ac_ext >&5
26742 ( exit $ac_status )
26743 ac_cv_header_png_h=no
26745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26751 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26752 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26753 { echo "$as_me:$LINENO: checking for png.h" >&5
26754 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26755 if test "${ac_cv_header_png_h+set}" = set; then
26756 echo $ECHO_N "(cached) $ECHO_C" >&6
26758 cat >conftest.$ac_ext <<_ACEOF
26761 cat confdefs.h >>conftest.$ac_ext
26762 cat >>conftest.$ac_ext <<_ACEOF
26763 /* end confdefs.h. */
26768 rm -f conftest.$ac_objext
26769 if { (ac_try="$ac_compile"
26770 case "(($ac_try" in
26771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26772 *) ac_try_echo
=$ac_try;;
26774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26775 (eval "$ac_compile") 2>conftest.er1
26777 grep -v '^ *+' conftest.er1
>conftest.err
26779 cat conftest.err
>&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); } && {
26782 test -z "$ac_c_werror_flag" ||
26783 test ! -s conftest.err
26784 } && test -s conftest.
$ac_objext; then
26785 ac_cv_header_png_h
=yes
26787 echo "$as_me: failed program was:" >&5
26788 sed 's/^/| /' conftest.
$ac_ext >&5
26790 ac_cv_header_png_h
=no
26793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26795 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26796 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26800 if test "$ac_cv_header_png_h" = "yes"; then
26801 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26802 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26803 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26804 echo $ECHO_N "(cached) $ECHO_C" >&6
26806 ac_check_lib_save_LIBS
=$LIBS
26807 LIBS
="-lpng -lz -lm $LIBS"
26808 cat >conftest.
$ac_ext <<_ACEOF
26811 cat confdefs.h
>>conftest.
$ac_ext
26812 cat >>conftest.
$ac_ext <<_ACEOF
26813 /* end confdefs.h. */
26815 /* Override any GCC internal prototype to avoid an error.
26816 Use char because int might match the return type of a GCC
26817 builtin and then its argument prototype would still apply. */
26821 char png_check_sig ();
26825 return png_check_sig ();
26830 rm -f conftest.
$ac_objext conftest
$ac_exeext
26831 if { (ac_try
="$ac_link"
26832 case "(($ac_try" in
26833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26834 *) ac_try_echo=$ac_try;;
26836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26837 (eval "$ac_link") 2>conftest.er1
26839 grep -v '^ *+' conftest.er1 >conftest.err
26841 cat conftest.err >&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); } && {
26844 test -z "$ac_c_werror_flag" ||
26845 test ! -s conftest.err
26846 } && test -s conftest$ac_exeext &&
26847 $as_test_x conftest$ac_exeext; then
26848 ac_cv_lib_png_png_check_sig=yes
26850 echo "$as_me: failed program was:" >&5
26851 sed 's/^/| /' conftest.$ac_ext >&5
26853 ac_cv_lib_png_png_check_sig=no
26856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26857 conftest$ac_exeext conftest.$ac_ext
26858 LIBS=$ac_check_lib_save_LIBS
26860 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26861 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26862 if test $ac_cv_lib_png_png_check_sig = yes; then
26863 PNG_LINK=" -lpng -lz"
26868 if test "x$PNG_LINK" = "x" ; then
26869 if test "$wxUSE_LIBPNG" = "sys" ; then
26870 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26871 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26872 { (exit 1); exit 1; }; }
26874 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26875 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26876 wxUSE_LIBPNG=builtin
26887 if test "$wxUSE_LIBJPEG" != "no" ; then
26888 cat >>confdefs.h <<\_ACEOF
26889 #define wxUSE_LIBJPEG 1
26893 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26894 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26895 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26899 if test "$wxUSE_MGL" != 1 ; then
26900 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26901 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26902 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26903 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26904 echo $ECHO_N "(cached) $ECHO_C" >&6
26906 cat >conftest.$ac_ext <<_ACEOF
26909 cat confdefs.h >>conftest.$ac_ext
26910 cat >>conftest.$ac_ext <<_ACEOF
26911 /* end confdefs.h. */
26913 #undef HAVE_STDLIB_H
26915 #include <jpeglib.h>
26926 rm -f conftest.$ac_objext
26927 if { (ac_try="$ac_compile"
26928 case "(($ac_try" in
26929 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26930 *) ac_try_echo
=$ac_try;;
26932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26933 (eval "$ac_compile") 2>conftest.er1
26935 grep -v '^ *+' conftest.er1
>conftest.err
26937 cat conftest.err
>&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } && {
26940 test -z "$ac_c_werror_flag" ||
26941 test ! -s conftest.err
26942 } && test -s conftest.
$ac_objext; then
26943 ac_cv_header_jpeglib_h
=yes
26945 echo "$as_me: failed program was:" >&5
26946 sed 's/^/| /' conftest.
$ac_ext >&5
26948 ac_cv_header_jpeglib_h
=no
26952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26956 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26957 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26959 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26960 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26961 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26962 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26963 echo $ECHO_N "(cached) $ECHO_C" >&6
26965 ac_check_lib_save_LIBS
=$LIBS
26966 LIBS
="-ljpeg $LIBS"
26967 cat >conftest.
$ac_ext <<_ACEOF
26970 cat confdefs.h
>>conftest.
$ac_ext
26971 cat >>conftest.
$ac_ext <<_ACEOF
26972 /* end confdefs.h. */
26974 /* Override any GCC internal prototype to avoid an error.
26975 Use char because int might match the return type of a GCC
26976 builtin and then its argument prototype would still apply. */
26980 char jpeg_read_header ();
26984 return jpeg_read_header ();
26989 rm -f conftest.
$ac_objext conftest
$ac_exeext
26990 if { (ac_try
="$ac_link"
26991 case "(($ac_try" in
26992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26993 *) ac_try_echo=$ac_try;;
26995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26996 (eval "$ac_link") 2>conftest.er1
26998 grep -v '^ *+' conftest.er1 >conftest.err
27000 cat conftest.err >&5
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); } && {
27003 test -z "$ac_c_werror_flag" ||
27004 test ! -s conftest.err
27005 } && test -s conftest$ac_exeext &&
27006 $as_test_x conftest$ac_exeext; then
27007 ac_cv_lib_jpeg_jpeg_read_header=yes
27009 echo "$as_me: failed program was:" >&5
27010 sed 's/^/| /' conftest.$ac_ext >&5
27012 ac_cv_lib_jpeg_jpeg_read_header=no
27015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27016 conftest$ac_exeext conftest.$ac_ext
27017 LIBS=$ac_check_lib_save_LIBS
27019 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27020 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27021 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27022 JPEG_LINK=" -ljpeg"
27027 if test "x$JPEG_LINK" = "x" ; then
27028 if test "$wxUSE_LIBJPEG" = "sys" ; then
27029 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27030 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27031 { (exit 1); exit 1; }; }
27033 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27034 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27035 wxUSE_LIBJPEG=builtin
27040 if test "$wxUSE_MSW" = 1; then
27041 { echo "$as_me:$LINENO: checking for boolean" >&5
27042 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27043 if test "${ac_cv_type_boolean+set}" = set; then
27044 echo $ECHO_N "(cached) $ECHO_C" >&6
27046 cat >conftest.$ac_ext <<_ACEOF
27049 cat confdefs.h >>conftest.$ac_ext
27050 cat >>conftest.$ac_ext <<_ACEOF
27051 /* end confdefs.h. */
27052 #include <windows.h>
27054 typedef boolean ac__type_new_;
27058 if ((ac__type_new_ *) 0)
27060 if (sizeof (ac__type_new_))
27066 rm -f conftest.$ac_objext
27067 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
27075 grep -v '^ *+' conftest.er1
>conftest.err
27077 cat conftest.err
>&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); } && {
27080 test -z "$ac_c_werror_flag" ||
27081 test ! -s conftest.err
27082 } && test -s conftest.
$ac_objext; then
27083 ac_cv_type_boolean
=yes
27085 echo "$as_me: failed program was:" >&5
27086 sed 's/^/| /' conftest.
$ac_ext >&5
27088 ac_cv_type_boolean
=no
27091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27093 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27094 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27095 if test $ac_cv_type_boolean = yes; then
27097 cat >>confdefs.h
<<_ACEOF
27098 #define HAVE_BOOLEAN 1
27102 { echo "$as_me:$LINENO: checking for boolean" >&5
27103 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27104 if test "${ac_cv_type_boolean+set}" = set; then
27105 echo $ECHO_N "(cached) $ECHO_C" >&6
27107 cat >conftest.
$ac_ext <<_ACEOF
27110 cat confdefs.h
>>conftest.
$ac_ext
27111 cat >>conftest.
$ac_ext <<_ACEOF
27112 /* end confdefs.h. */
27114 #undef HAVE_BOOLEAN
27116 #include <jpeglib.h>
27119 typedef boolean ac__type_new_;
27123 if ((ac__type_new_ *) 0)
27125 if (sizeof (ac__type_new_))
27131 rm -f conftest.
$ac_objext
27132 if { (ac_try
="$ac_compile"
27133 case "(($ac_try" in
27134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27135 *) ac_try_echo=$ac_try;;
27137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27138 (eval "$ac_compile") 2>conftest.er1
27140 grep -v '^ *+' conftest.er1 >conftest.err
27142 cat conftest.err >&5
27143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144 (exit $ac_status); } && {
27145 test -z "$ac_c_werror_flag" ||
27146 test ! -s conftest.err
27147 } && test -s conftest.$ac_objext; then
27148 ac_cv_type_boolean=yes
27150 echo "$as_me: failed program was:" >&5
27151 sed 's/^/| /' conftest.$ac_ext >&5
27153 ac_cv_type_boolean=no
27156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27158 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27159 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27161 # The cast to long int works around a bug in the HP C Compiler
27162 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27163 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27164 # This bug is HP SR number 8606223364.
27165 { echo "$as_me:$LINENO: checking size of boolean" >&5
27166 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27167 if test "${ac_cv_sizeof_boolean+set}" = set; then
27168 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 if test "$cross_compiling" = yes; then
27171 # Depending upon the size, compute the lo and hi bounds.
27172 cat >conftest.$ac_ext <<_ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27179 #undef HAVE_BOOLEAN
27181 #include <jpeglib.h>
27184 typedef boolean ac__type_sizeof_;
27188 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27195 rm -f conftest.$ac_objext
27196 if { (ac_try="$ac_compile"
27197 case "(($ac_try" in
27198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27199 *) ac_try_echo=$ac_try;;
27201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27202 (eval "$ac_compile") 2>conftest.er1
27204 grep -v '^
*+' conftest.er1 >conftest.err
27206 cat conftest.err >&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } && {
27209 test -z "$ac_c_werror_flag" ||
27210 test ! -s conftest.err
27211 } && test -s conftest.$ac_objext; then
27214 cat >conftest.$ac_ext <<_ACEOF
27217 cat confdefs.h >>conftest.$ac_ext
27218 cat >>conftest.$ac_ext <<_ACEOF
27219 /* end confdefs.h. */
27221 #undef HAVE_BOOLEAN
27223 #include <jpeglib.h>
27226 typedef boolean ac__type_sizeof_;
27230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27237 rm -f conftest.$ac_objext
27238 if { (ac_try="$ac_compile"
27239 case "(($ac_try" in
27240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27241 *) ac_try_echo=$ac_try;;
27243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27244 (eval "$ac_compile") 2>conftest.er1
27246 grep -v '^
*+' conftest.er1 >conftest.err
27248 cat conftest.err >&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } && {
27251 test -z "$ac_c_werror_flag" ||
27252 test ! -s conftest.err
27253 } && test -s conftest.$ac_objext; then
27254 ac_hi=$ac_mid; break
27256 echo "$as_me: failed program was:" >&5
27257 sed 's
/^
/| /' conftest.$ac_ext >&5
27259 ac_lo=`expr $ac_mid + 1`
27260 if test $ac_lo -le $ac_mid; then
27264 ac_mid=`expr 2 '*' $ac_mid + 1`
27267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27270 echo "$as_me: failed program was:" >&5
27271 sed 's
/^
/| /' conftest.$ac_ext >&5
27273 cat >conftest.$ac_ext <<_ACEOF
27276 cat confdefs.h >>conftest.$ac_ext
27277 cat >>conftest.$ac_ext <<_ACEOF
27278 /* end confdefs.h. */
27280 #undef HAVE_BOOLEAN
27282 #include <jpeglib.h>
27285 typedef boolean ac__type_sizeof_;
27289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27296 rm -f conftest.$ac_objext
27297 if { (ac_try="$ac_compile"
27298 case "(($ac_try" in
27299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27300 *) ac_try_echo=$ac_try;;
27302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27303 (eval "$ac_compile") 2>conftest.er1
27305 grep -v '^
*+' conftest.er1 >conftest.err
27307 cat conftest.err >&5
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); } && {
27310 test -z "$ac_c_werror_flag" ||
27311 test ! -s conftest.err
27312 } && test -s conftest.$ac_objext; then
27315 cat >conftest.$ac_ext <<_ACEOF
27318 cat confdefs.h >>conftest.$ac_ext
27319 cat >>conftest.$ac_ext <<_ACEOF
27320 /* end confdefs.h. */
27322 #undef HAVE_BOOLEAN
27324 #include <jpeglib.h>
27327 typedef boolean ac__type_sizeof_;
27331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27338 rm -f conftest.$ac_objext
27339 if { (ac_try="$ac_compile"
27340 case "(($ac_try" in
27341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27342 *) ac_try_echo=$ac_try;;
27344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27345 (eval "$ac_compile") 2>conftest.er1
27347 grep -v '^
*+' conftest.er1 >conftest.err
27349 cat conftest.err >&5
27350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27351 (exit $ac_status); } && {
27352 test -z "$ac_c_werror_flag" ||
27353 test ! -s conftest.err
27354 } && test -s conftest.$ac_objext; then
27355 ac_lo=$ac_mid; break
27357 echo "$as_me: failed program was:" >&5
27358 sed 's
/^
/| /' conftest.$ac_ext >&5
27360 ac_hi=`expr '(' $ac_mid ')' - 1`
27361 if test $ac_mid -le $ac_hi; then
27365 ac_mid=`expr 2 '*' $ac_mid`
27368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27371 echo "$as_me: failed program was:" >&5
27372 sed 's
/^
/| /' conftest.$ac_ext >&5
27377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27381 # Binary search between lo and hi bounds.
27382 while test "x$ac_lo" != "x$ac_hi"; do
27383 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27384 cat >conftest.$ac_ext <<_ACEOF
27387 cat confdefs.h >>conftest.$ac_ext
27388 cat >>conftest.$ac_ext <<_ACEOF
27389 /* end confdefs.h. */
27391 #undef HAVE_BOOLEAN
27393 #include <jpeglib.h>
27396 typedef boolean ac__type_sizeof_;
27400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27407 rm -f conftest.$ac_objext
27408 if { (ac_try="$ac_compile"
27409 case "(($ac_try" in
27410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27411 *) ac_try_echo=$ac_try;;
27413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27414 (eval "$ac_compile") 2>conftest.er1
27416 grep -v '^
*+' conftest.er1 >conftest.err
27418 cat conftest.err >&5
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); } && {
27421 test -z "$ac_c_werror_flag" ||
27422 test ! -s conftest.err
27423 } && test -s conftest.$ac_objext; then
27426 echo "$as_me: failed program was:" >&5
27427 sed 's
/^
/| /' conftest.$ac_ext >&5
27429 ac_lo=`expr '(' $ac_mid ')' + 1`
27432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27435 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27436 '') if test "$ac_cv_type_boolean" = yes; then
27437 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27438 See \`config.log' for more details.
" >&5
27439 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27440 See \
`config.log' for more details." >&2;}
27441 { (exit 77); exit 77; }; }
27443 ac_cv_sizeof_boolean=0
27447 cat >conftest.$ac_ext <<_ACEOF
27450 cat confdefs.h >>conftest.$ac_ext
27451 cat >>conftest.$ac_ext <<_ACEOF
27452 /* end confdefs.h. */
27454 #undef HAVE_BOOLEAN
27456 #include <jpeglib.h>
27459 typedef boolean ac__type_sizeof_;
27460 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27461 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27463 #include <stdlib.h>
27468 FILE *f = fopen ("conftest.val", "w");
27471 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27473 long int i = longval ();
27474 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27476 fprintf (f, "%ld\n", i);
27480 unsigned long int i = ulongval ();
27481 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27483 fprintf (f, "%lu\n", i);
27485 return ferror (f) || fclose (f) != 0;
27491 rm -f conftest$ac_exeext
27492 if { (ac_try="$ac_link"
27493 case "(($ac_try" in
27494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27495 *) ac_try_echo
=$ac_try;;
27497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27498 (eval "$ac_link") 2>&5
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27502 { (case "(($ac_try" in
27503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27504 *) ac_try_echo=$ac_try;;
27506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27507 (eval "$ac_try") 2>&5
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); }; }; then
27511 ac_cv_sizeof_boolean=`cat conftest.val
`
27513 echo "$as_me: program exited with status $ac_status" >&5
27514 echo "$as_me: failed program was:" >&5
27515 sed 's/^/| /' conftest.$ac_ext >&5
27517 ( exit $ac_status )
27518 if test "$ac_cv_type_boolean" = yes; then
27519 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27520 See \`config.log
' for more details." >&5
27521 echo "$as_me: error: cannot compute sizeof (boolean)
27522 See \`config.log' for more details.
" >&2;}
27523 { (exit 77); exit 77; }; }
27525 ac_cv_sizeof_boolean=0
27528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27532 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27533 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27537 cat >>confdefs.h <<_ACEOF
27538 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27542 cat >>confdefs.h <<_ACEOF
27543 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27557 TIFF_PREREQ_LINKS=-lm
27558 if test "$wxUSE_LIBTIFF" != "no
" ; then
27559 cat >>confdefs.h <<\_ACEOF
27560 #define wxUSE_LIBTIFF 1
27564 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27565 if test "$wxUSE_LIBJPEG" = "sys
"; then
27566 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27568 if test "$wxUSE_ZLIB" = "sys
"; then
27569 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27571 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27572 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27573 if test "${ac_cv_header_tiffio_h+set}" = set; then
27574 echo $ECHO_N "(cached
) $ECHO_C" >&6
27576 cat >conftest.$ac_ext <<_ACEOF
27579 cat confdefs.h >>conftest.$ac_ext
27580 cat >>conftest.$ac_ext <<_ACEOF
27581 /* end confdefs.h. */
27585 #include <tiffio.h>
27587 rm -f conftest.$ac_objext
27588 if { (ac_try="$ac_compile"
27589 case "(($ac_try" in
27590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27591 *) ac_try_echo=$ac_try;;
27593 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27594 (eval "$ac_compile") 2>conftest.er1
27596 grep -v '^ *+' conftest.er1 >conftest.err
27598 cat conftest.err >&5
27599 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27600 (exit $ac_status); } && {
27601 test -z "$ac_c_werror_flag" ||
27602 test ! -s conftest.err
27603 } && test -s conftest.$ac_objext; then
27604 ac_cv_header_tiffio_h=yes
27606 echo "$as_me: failed program was
:" >&5
27607 sed 's/^/| /' conftest.$ac_ext >&5
27609 ac_cv_header_tiffio_h=no
27612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27614 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27615 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27616 if test $ac_cv_header_tiffio_h = yes; then
27618 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27619 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27620 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27621 echo $ECHO_N "(cached
) $ECHO_C" >&6
27623 ac_check_lib_save_LIBS=$LIBS
27624 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27625 cat >conftest.$ac_ext <<_ACEOF
27628 cat confdefs.h >>conftest.$ac_ext
27629 cat >>conftest.$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27632 /* Override any GCC internal prototype to avoid an error.
27633 Use char because int might match the return type of a GCC
27634 builtin and then its argument prototype would still apply. */
27642 return TIFFError ();
27647 rm -f conftest.$ac_objext conftest$ac_exeext
27648 if { (ac_try="$ac_link"
27649 case "(($ac_try" in
27650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27651 *) ac_try_echo=$ac_try;;
27653 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27654 (eval "$ac_link") 2>conftest.er1
27656 grep -v '^ *+' conftest.er1 >conftest.err
27658 cat conftest.err >&5
27659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27660 (exit $ac_status); } && {
27661 test -z "$ac_c_werror_flag" ||
27662 test ! -s conftest.err
27663 } && test -s conftest$ac_exeext &&
27664 $as_test_x conftest$ac_exeext; then
27665 ac_cv_lib_tiff_TIFFError=yes
27667 echo "$as_me: failed program was
:" >&5
27668 sed 's/^/| /' conftest.$ac_ext >&5
27670 ac_cv_lib_tiff_TIFFError=no
27673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27674 conftest$ac_exeext conftest.$ac_ext
27675 LIBS=$ac_check_lib_save_LIBS
27677 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27678 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27679 if test $ac_cv_lib_tiff_TIFFError = yes; then
27680 TIFF_LINK=" -ltiff"
27688 if test "x
$TIFF_LINK" = "x
" ; then
27689 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27690 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27691 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27692 { (exit 1); exit 1; }; }
27694 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27695 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27696 wxUSE_LIBTIFF=builtin
27702 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27703 if test "$wxUSE_LIBJPEG" = "no
"; then
27704 ac_configure_args="$ac_configure_args --disable-jpeg"
27706 subdirs="$subdirs src
/tiff
"
27712 if test "$wxUSE_WCHAR_T" != "yes"; then
27713 if test "$wxUSE_EXPAT" != "no
"; then
27714 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27715 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27718 if test "$wxUSE_XML" != "no
"; then
27719 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27720 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27725 if test "$wxUSE_EXPAT" != "no
"; then
27727 cat >>confdefs.h <<\_ACEOF
27728 #define wxUSE_EXPAT 1
27731 cat >>confdefs.h <<\_ACEOF
27732 #define wxUSE_XML 1
27736 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27737 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27738 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27739 if test "${ac_cv_header_expat_h+set}" = set; then
27740 echo $ECHO_N "(cached
) $ECHO_C" >&6
27742 cat >conftest.$ac_ext <<_ACEOF
27745 cat confdefs.h >>conftest.$ac_ext
27746 cat >>conftest.$ac_ext <<_ACEOF
27747 /* end confdefs.h. */
27752 rm -f conftest.$ac_objext
27753 if { (ac_try="$ac_compile"
27754 case "(($ac_try" in
27755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27756 *) ac_try_echo=$ac_try;;
27758 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27759 (eval "$ac_compile") 2>conftest.er1
27761 grep -v '^ *+' conftest.er1 >conftest.err
27763 cat conftest.err >&5
27764 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27765 (exit $ac_status); } && {
27766 test -z "$ac_c_werror_flag" ||
27767 test ! -s conftest.err
27768 } && test -s conftest.$ac_objext; then
27769 ac_cv_header_expat_h=yes
27771 echo "$as_me: failed program was
:" >&5
27772 sed 's/^/| /' conftest.$ac_ext >&5
27774 ac_cv_header_expat_h=no
27777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27779 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27780 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27781 if test $ac_cv_header_expat_h = yes; then
27786 if test "x
$found_expat_h" = "x1
"; then
27787 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27788 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27789 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27790 echo $ECHO_N "(cached
) $ECHO_C" >&6
27794 ac_cpp='$CXXCPP $CPPFLAGS'
27795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27799 cat >conftest.$ac_ext <<_ACEOF
27802 cat confdefs.h >>conftest.$ac_ext
27803 cat >>conftest.$ac_ext <<_ACEOF
27804 /* end confdefs.h. */
27814 rm -f conftest.$ac_objext
27815 if { (ac_try="$ac_compile"
27816 case "(($ac_try" in
27817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27818 *) ac_try_echo=$ac_try;;
27820 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27821 (eval "$ac_compile") 2>conftest.er1
27823 grep -v '^ *+' conftest.er1 >conftest.err
27825 cat conftest.err >&5
27826 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27827 (exit $ac_status); } && {
27828 test -z "$ac_cxx_werror_flag" ||
27829 test ! -s conftest.err
27830 } && test -s conftest.$ac_objext; then
27831 wx_cv_expat_is_not_broken=yes
27833 echo "$as_me: failed program was
:" >&5
27834 sed 's/^/| /' conftest.$ac_ext >&5
27836 wx_cv_expat_is_not_broken=no
27840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27842 ac_cpp='$CPP $CPPFLAGS'
27843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27850 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27851 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27852 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27853 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27854 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27855 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27856 echo $ECHO_N "(cached
) $ECHO_C" >&6
27858 ac_check_lib_save_LIBS=$LIBS
27859 LIBS="-lexpat $LIBS"
27860 cat >conftest.$ac_ext <<_ACEOF
27863 cat confdefs.h >>conftest.$ac_ext
27864 cat >>conftest.$ac_ext <<_ACEOF
27865 /* end confdefs.h. */
27867 /* Override any GCC internal prototype to avoid an error.
27868 Use char because int might match the return type of a GCC
27869 builtin and then its argument prototype would still apply. */
27873 char XML_ParserCreate ();
27877 return XML_ParserCreate ();
27882 rm -f conftest.$ac_objext conftest$ac_exeext
27883 if { (ac_try="$ac_link"
27884 case "(($ac_try" in
27885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27886 *) ac_try_echo=$ac_try;;
27888 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27889 (eval "$ac_link") 2>conftest.er1
27891 grep -v '^ *+' conftest.er1 >conftest.err
27893 cat conftest.err >&5
27894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27895 (exit $ac_status); } && {
27896 test -z "$ac_c_werror_flag" ||
27897 test ! -s conftest.err
27898 } && test -s conftest$ac_exeext &&
27899 $as_test_x conftest$ac_exeext; then
27900 ac_cv_lib_expat_XML_ParserCreate=yes
27902 echo "$as_me: failed program was
:" >&5
27903 sed 's/^/| /' conftest.$ac_ext >&5
27905 ac_cv_lib_expat_XML_ParserCreate=no
27908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27909 conftest$ac_exeext conftest.$ac_ext
27910 LIBS=$ac_check_lib_save_LIBS
27912 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27913 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27914 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27915 EXPAT_LINK=" -lexpat"
27920 if test "x
$EXPAT_LINK" = "x
" ; then
27921 if test "$wxUSE_EXPAT" = "sys
" ; then
27922 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27923 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27924 { (exit 1); exit 1; }; }
27926 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27927 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27928 wxUSE_EXPAT=builtin
27934 if test "$wxUSE_EXPAT" = "builtin" ; then
27935 subdirs="$subdirs src
/expat
"
27942 if test "$wxUSE_LIBMSPACK" != "no
"; then
27943 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27944 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27945 if test "${ac_cv_header_mspack_h+set}" = set; then
27946 echo $ECHO_N "(cached
) $ECHO_C" >&6
27948 cat >conftest.$ac_ext <<_ACEOF
27951 cat confdefs.h >>conftest.$ac_ext
27952 cat >>conftest.$ac_ext <<_ACEOF
27953 /* end confdefs.h. */
27956 #include <mspack.h>
27958 rm -f conftest.$ac_objext
27959 if { (ac_try="$ac_compile"
27960 case "(($ac_try" in
27961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27962 *) ac_try_echo=$ac_try;;
27964 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27965 (eval "$ac_compile") 2>conftest.er1
27967 grep -v '^ *+' conftest.er1 >conftest.err
27969 cat conftest.err >&5
27970 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27971 (exit $ac_status); } && {
27972 test -z "$ac_c_werror_flag" ||
27973 test ! -s conftest.err
27974 } && test -s conftest.$ac_objext; then
27975 ac_cv_header_mspack_h=yes
27977 echo "$as_me: failed program was
:" >&5
27978 sed 's/^/| /' conftest.$ac_ext >&5
27980 ac_cv_header_mspack_h=no
27983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27985 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27986 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27987 if test $ac_cv_header_mspack_h = yes; then
27992 if test "x
$found_mspack_h" = "x1
"; then
27993 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27994 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27995 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27996 echo $ECHO_N "(cached
) $ECHO_C" >&6
27998 ac_check_lib_save_LIBS=$LIBS
27999 LIBS="-lmspack $LIBS"
28000 cat >conftest.$ac_ext <<_ACEOF
28003 cat confdefs.h >>conftest.$ac_ext
28004 cat >>conftest.$ac_ext <<_ACEOF
28005 /* end confdefs.h. */
28007 /* Override any GCC internal prototype to avoid an error.
28008 Use char because int might match the return type of a GCC
28009 builtin and then its argument prototype would still apply. */
28013 char mspack_create_chm_decompressor ();
28017 return mspack_create_chm_decompressor ();
28022 rm -f conftest.$ac_objext conftest$ac_exeext
28023 if { (ac_try="$ac_link"
28024 case "(($ac_try" in
28025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28026 *) ac_try_echo=$ac_try;;
28028 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28029 (eval "$ac_link") 2>conftest.er1
28031 grep -v '^ *+' conftest.er1 >conftest.err
28033 cat conftest.err >&5
28034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28035 (exit $ac_status); } && {
28036 test -z "$ac_c_werror_flag" ||
28037 test ! -s conftest.err
28038 } && test -s conftest$ac_exeext &&
28039 $as_test_x conftest$ac_exeext; then
28040 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28042 echo "$as_me: failed program was
:" >&5
28043 sed 's/^/| /' conftest.$ac_ext >&5
28045 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28049 conftest$ac_exeext conftest.$ac_ext
28050 LIBS=$ac_check_lib_save_LIBS
28052 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28053 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28054 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28055 MSPACK_LINK=" -lmspack"
28059 if test "x
$MSPACK_LINK" = "x
" ; then
28064 if test "$wxUSE_LIBMSPACK" != "no
"; then
28065 cat >>confdefs.h <<\_ACEOF
28066 #define wxUSE_LIBMSPACK 1
28080 if test "$USE_WIN32" = 1 ; then
28082 for ac_header in w32api.h
28084 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28085 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28086 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28087 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28088 echo $ECHO_N "(cached
) $ECHO_C" >&6
28090 cat >conftest.$ac_ext <<_ACEOF
28093 cat confdefs.h >>conftest.$ac_ext
28094 cat >>conftest.$ac_ext <<_ACEOF
28095 /* end confdefs.h. */
28098 #include <$ac_header>
28100 rm -f conftest.$ac_objext
28101 if { (ac_try="$ac_compile"
28102 case "(($ac_try" in
28103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28104 *) ac_try_echo=$ac_try;;
28106 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28107 (eval "$ac_compile") 2>conftest.er1
28109 grep -v '^ *+' conftest.er1 >conftest.err
28111 cat conftest.err >&5
28112 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28113 (exit $ac_status); } && {
28114 test -z "$ac_c_werror_flag" ||
28115 test ! -s conftest.err
28116 } && test -s conftest.$ac_objext; then
28117 eval "$as_ac_Header=yes"
28119 echo "$as_me: failed program was
:" >&5
28120 sed 's/^/| /' conftest.$ac_ext >&5
28122 eval "$as_ac_Header=no
"
28125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28127 ac_res=`eval echo '${'$as_ac_Header'}'`
28128 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28129 echo "${ECHO_T}$ac_res" >&6; }
28130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28131 cat >>confdefs.h <<_ACEOF
28132 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28139 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28140 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28141 if test "${ac_cv_header_windows_h+set}" = set; then
28142 echo $ECHO_N "(cached
) $ECHO_C" >&6
28144 cat >conftest.$ac_ext <<_ACEOF
28147 cat confdefs.h >>conftest.$ac_ext
28148 cat >>conftest.$ac_ext <<_ACEOF
28149 /* end confdefs.h. */
28152 #include <windows.h>
28154 rm -f conftest.$ac_objext
28155 if { (ac_try="$ac_compile"
28156 case "(($ac_try" in
28157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28158 *) ac_try_echo=$ac_try;;
28160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28161 (eval "$ac_compile") 2>conftest.er1
28163 grep -v '^ *+' conftest.er1 >conftest.err
28165 cat conftest.err >&5
28166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28167 (exit $ac_status); } && {
28168 test -z "$ac_c_werror_flag" ||
28169 test ! -s conftest.err
28170 } && test -s conftest.$ac_objext; then
28171 ac_cv_header_windows_h=yes
28173 echo "$as_me: failed program was
:" >&5
28174 sed 's/^/| /' conftest.$ac_ext >&5
28176 ac_cv_header_windows_h=no
28179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28181 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28182 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28183 if test $ac_cv_header_windows_h = yes; then
28187 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28188 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28189 { (exit 1); exit 1; }; }
28196 x86_64-*-mingw32* )
28197 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28200 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28203 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28204 LIBS="$LIBS -loleacc"
28209 LIBS="$LIBS -lkernel32 -luser32"
28212 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28213 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28215 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28217 WIN32INSTALL=win32install
28219 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28220 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28221 if test "${ac_cv_header_pbt_h+set}" = set; then
28222 echo $ECHO_N "(cached
) $ECHO_C" >&6
28224 cat >conftest.$ac_ext <<_ACEOF
28227 cat confdefs.h >>conftest.$ac_ext
28228 cat >>conftest.$ac_ext <<_ACEOF
28229 /* end confdefs.h. */
28234 rm -f conftest.$ac_objext
28235 if { (ac_try="$ac_compile"
28236 case "(($ac_try" in
28237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28238 *) ac_try_echo=$ac_try;;
28240 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28241 (eval "$ac_compile") 2>conftest.er1
28243 grep -v '^ *+' conftest.er1 >conftest.err
28245 cat conftest.err >&5
28246 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28247 (exit $ac_status); } && {
28248 test -z "$ac_c_werror_flag" ||
28249 test ! -s conftest.err
28250 } && test -s conftest.$ac_objext; then
28251 ac_cv_header_pbt_h=yes
28253 echo "$as_me: failed program was
:" >&5
28254 sed 's/^/| /' conftest.$ac_ext >&5
28256 ac_cv_header_pbt_h=no
28259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28261 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28262 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28263 if test $ac_cv_header_pbt_h = yes; then
28266 cat >>confdefs.h <<\_ACEOF
28267 #define NEED_PBT_H 1
28275 if test "$wxUSE_GUI" = "yes"; then
28285 if test "$wxUSE_COCOA" = 1 ; then
28286 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28287 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28288 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28289 wxUSE_PRINTING_ARCHITECTURE=no
28291 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28292 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28293 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28294 wxUSE_DRAG_AND_DROP=no
28296 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28297 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28298 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28303 if test "$wxUSE_MSW" = 1 ; then
28309 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28313 if test "$wxUSE_GTK" = 1; then
28314 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28315 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28317 gtk_version_cached=1
28318 if test "${wx_cv_lib_gtk+set}" = set; then
28319 echo $ECHO_N "(cached
) $ECHO_C" >&6
28322 gtk_version_cached=0
28323 { echo "$as_me:$LINENO: result
: " >&5
28324 echo "${ECHO_T}" >&6; }
28327 if test "$wxUSE_THREADS" = "yes"; then
28328 GTK_MODULES=gthread
28332 if test "x
$wxGTK_VERSION" != "x1
"
28336 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28341 # Check whether --enable-gtktest was given.
28342 if test "${enable_gtktest+set}" = set; then
28343 enableval=$enable_gtktest;
28349 pkg_config_args=gtk+-2.0
28350 for module in . $GTK_MODULES
28354 pkg_config_args="$pkg_config_args gthread
-2.0
"
28361 # Extract the first word of "pkg
-config", so it can be a program name with args.
28362 set dummy pkg-config; ac_word=$2
28363 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28364 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28365 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28366 echo $ECHO_N "(cached
) $ECHO_C" >&6
28368 case $PKG_CONFIG in
28370 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28374 for as_dir in $PATH
28377 test -z "$as_dir" && as_dir=.
28378 for ac_exec_ext in '' $ac_executable_extensions; do
28379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28380 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28381 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28388 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28392 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28393 if test -n "$PKG_CONFIG"; then
28394 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28395 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28397 { echo "$as_me:$LINENO: result
: no
" >&5
28398 echo "${ECHO_T}no
" >&6; }
28403 if test x$PKG_CONFIG != xno ; then
28404 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28407 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28415 min_gtk_version=2.4.0
28416 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28417 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28419 if test x$PKG_CONFIG != xno ; then
28420 ## don't try to run the test against uninstalled libtool libs
28421 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28422 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28426 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28433 if test x"$no_gtk" = x ; then
28434 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28435 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28436 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28438 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28440 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28442 if test "x
$enable_gtktest" = "xyes
" ; then
28443 ac_save_CFLAGS="$CFLAGS"
28444 ac_save_LIBS="$LIBS"
28445 CFLAGS="$CFLAGS $GTK_CFLAGS"
28446 LIBS="$GTK_LIBS $LIBS"
28448 if test "$cross_compiling" = yes; then
28449 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28451 cat >conftest.$ac_ext <<_ACEOF
28454 cat confdefs.h >>conftest.$ac_ext
28455 cat >>conftest.$ac_ext <<_ACEOF
28456 /* end confdefs.h. */
28458 #include <gtk/gtk.h>
28460 #include <stdlib.h>
28465 int major, minor, micro;
28468 system ("touch conf.gtktest
");
28470 /* HP/UX 9 (%@#!) writes to sscanf strings */
28471 tmp_version = g_strdup("$min_gtk_version");
28472 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28473 printf("%s
, bad version string
\n", "$min_gtk_version");
28477 if ((gtk_major_version != $gtk_config_major_version) ||
28478 (gtk_minor_version != $gtk_config_minor_version) ||
28479 (gtk_micro_version != $gtk_config_micro_version))
28481 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28482 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28483 gtk_major_version, gtk_minor_version, gtk_micro_version);
28484 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28485 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28486 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28487 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28488 printf("*** required on your system.
\n");
28489 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28490 printf("*** to point to the correct configuration files
\n");
28492 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28493 (gtk_minor_version != GTK_MINOR_VERSION) ||
28494 (gtk_micro_version != GTK_MICRO_VERSION))
28496 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28497 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28498 printf("*** library
(version
%d.
%d.
%d
)\n",
28499 gtk_major_version, gtk_minor_version, gtk_micro_version);
28503 if ((gtk_major_version > major) ||
28504 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28505 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28511 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28512 gtk_major_version, gtk_minor_version, gtk_micro_version);
28513 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28514 major, minor, micro);
28515 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28517 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28518 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28519 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28520 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28521 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28522 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28523 printf("*** so that the correct libraries are found
at run
-time))\n");
28530 rm -f conftest$ac_exeext
28531 if { (ac_try="$ac_link"
28532 case "(($ac_try" in
28533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28534 *) ac_try_echo=$ac_try;;
28536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28537 (eval "$ac_link") 2>&5
28539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28541 { (case "(($ac_try" in
28542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28543 *) ac_try_echo=$ac_try;;
28545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28546 (eval "$ac_try") 2>&5
28548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28549 (exit $ac_status); }; }; then
28552 echo "$as_me: program exited with status
$ac_status" >&5
28553 echo "$as_me: failed program was
:" >&5
28554 sed 's/^/| /' conftest.$ac_ext >&5
28556 ( exit $ac_status )
28559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28563 CFLAGS="$ac_save_CFLAGS"
28564 LIBS="$ac_save_LIBS"
28567 if test "x
$no_gtk" = x ; then
28568 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28569 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28572 { echo "$as_me:$LINENO: result
: no
" >&5
28573 echo "${ECHO_T}no
" >&6; }
28574 if test "$PKG_CONFIG" = "no
" ; then
28575 echo "*** A new enough version of pkg
-config was not found.
"
28576 echo "*** See http
://pkgconfig.sourceforge.net
"
28578 if test -f conf.gtktest ; then
28581 echo "*** Could not run GTK
+ test program
, checking why...
"
28582 ac_save_CFLAGS="$CFLAGS"
28583 ac_save_LIBS="$LIBS"
28584 CFLAGS="$CFLAGS $GTK_CFLAGS"
28585 LIBS="$LIBS $GTK_LIBS"
28586 cat >conftest.$ac_ext <<_ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28593 #include <gtk/gtk.h>
28599 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28604 rm -f conftest.$ac_objext conftest$ac_exeext
28605 if { (ac_try="$ac_link"
28606 case "(($ac_try" in
28607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28608 *) ac_try_echo=$ac_try;;
28610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28611 (eval "$ac_link") 2>conftest.er1
28613 grep -v '^ *+' conftest.er1 >conftest.err
28615 cat conftest.err >&5
28616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28617 (exit $ac_status); } && {
28618 test -z "$ac_c_werror_flag" ||
28619 test ! -s conftest.err
28620 } && test -s conftest$ac_exeext &&
28621 $as_test_x conftest$ac_exeext; then
28622 echo "*** The
test program compiled
, but did not run. This usually means
"
28623 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28624 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28625 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28626 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28627 echo "*** is required on your system"
28629 echo "*** If you have an old version installed, it is best to remove it, although"
28630 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28632 echo "$as_me: failed program was:" >&5
28633 sed 's
/^
/| /' conftest.$ac_ext >&5
28635 echo "*** The test program failed to compile or link. See the file config.log for the"
28636 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28640 conftest$ac_exeext conftest.$ac_ext
28641 CFLAGS="$ac_save_CFLAGS"
28642 LIBS="$ac_save_LIBS"
28656 if test "$wxUSE_SHARED" != "yes"; then
28657 GTK_LIBS="$GTK_LIBS -lX11"
28662 if test -z "$wx_cv_lib_gtk"; then
28663 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28665 # Check whether --with-gtk-prefix was given.
28666 if test "${with_gtk_prefix+set}" = set; then
28667 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28669 gtk_config_prefix=""
28673 # Check whether --with-gtk-exec-prefix was given.
28674 if test "${with_gtk_exec_prefix+set}" = set; then
28675 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28677 gtk_config_exec_prefix=""
28680 # Check whether --enable-gtktest was given.
28681 if test "${enable_gtktest+set}" = set; then
28682 enableval=$enable_gtktest;
28688 for module in . $GTK_MODULES
28692 gtk_config_args="$gtk_config_args gthread"
28697 if test x$gtk_config_exec_prefix != x ; then
28698 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28699 if test x${GTK_CONFIG+set} != xset ; then
28700 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28703 if test x$gtk_config_prefix != x ; then
28704 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28705 if test x${GTK_CONFIG+set} != xset ; then
28706 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28710 # Extract the first word of "gtk-config", so it can be a program name with args.
28711 set dummy gtk-config; ac_word=$2
28712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28714 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28715 echo $ECHO_N "(cached) $ECHO_C" >&6
28717 case $GTK_CONFIG in
28719 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28723 for as_dir in $PATH
28726 test -z "$as_dir" && as_dir=.
28727 for ac_exec_ext in '' $ac_executable_extensions; do
28728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28729 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28737 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28741 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28742 if test -n "$GTK_CONFIG"; then
28743 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28744 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28746 { echo "$as_me:$LINENO: result: no" >&5
28747 echo "${ECHO_T}no" >&6; }
28751 min_gtk_version=1.2.7
28752 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28753 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28755 if test "$GTK_CONFIG" = "no" ; then
28758 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28759 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28760 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28761 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28762 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28763 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28764 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28765 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28766 if test "x$enable_gtktest" = "xyes" ; then
28767 ac_save_CFLAGS="$CFLAGS"
28768 ac_save_LIBS="$LIBS"
28769 CFLAGS="$CFLAGS $GTK_CFLAGS"
28770 LIBS="$GTK_LIBS $LIBS"
28772 if test "$cross_compiling" = yes; then
28773 echo $ac_n "cross compiling; assumed OK... $ac_c"
28775 cat >conftest.$ac_ext <<_ACEOF
28778 cat confdefs.h >>conftest.$ac_ext
28779 cat >>conftest.$ac_ext <<_ACEOF
28780 /* end confdefs.h. */
28782 #include <gtk/gtk.h>
28784 #include <stdlib.h>
28789 int major, minor, micro;
28792 system ("touch conf.gtktest");
28794 /* HP/UX 9 (%@#!) writes to sscanf strings */
28795 tmp_version = g_strdup("$min_gtk_version");
28796 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28797 printf("%s, bad version string\n", "$min_gtk_version");
28801 if ((gtk_major_version != $gtk_config_major_version) ||
28802 (gtk_minor_version != $gtk_config_minor_version) ||
28803 (gtk_micro_version != $gtk_config_micro_version))
28805 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28806 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28807 gtk_major_version, gtk_minor_version, gtk_micro_version);
28808 printf ("*** was found! If gtk-config was correct, then it is best\n");
28809 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28810 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28811 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28812 printf("*** required on your system.\n");
28813 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28814 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28815 printf("*** before re-running configure\n");
28817 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28818 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28819 (gtk_minor_version != GTK_MINOR_VERSION) ||
28820 (gtk_micro_version != GTK_MICRO_VERSION))
28822 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28823 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28824 printf("*** library (version %d.%d.%d)\n",
28825 gtk_major_version, gtk_minor_version, gtk_micro_version);
28827 #endif /* defined (GTK_MAJOR_VERSION) ... */
28830 if ((gtk_major_version > major) ||
28831 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28832 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28838 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28839 gtk_major_version, gtk_minor_version, gtk_micro_version);
28840 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28841 major, minor, micro);
28842 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28844 printf("*** If you have already installed a sufficiently new version, this error\n");
28845 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28846 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28847 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28848 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28849 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28850 printf("*** so that the correct libraries are found at run-time))\n");
28857 rm -f conftest$ac_exeext
28858 if { (ac_try="$ac_link"
28859 case "(($ac_try" in
28860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28861 *) ac_try_echo=$ac_try;;
28863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28864 (eval "$ac_link") 2>&5
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28868 { (case "(($ac_try" in
28869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28870 *) ac_try_echo=$ac_try;;
28872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28873 (eval "$ac_try") 2>&5
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; }; then
28879 echo "$as_me: program exited with status $ac_status" >&5
28880 echo "$as_me: failed program was:" >&5
28881 sed 's
/^
/| /' conftest.$ac_ext >&5
28883 ( exit $ac_status )
28886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28890 CFLAGS="$ac_save_CFLAGS"
28891 LIBS="$ac_save_LIBS"
28894 if test "x$no_gtk" = x ; then
28895 { echo "$as_me:$LINENO: result: yes" >&5
28896 echo "${ECHO_T}yes" >&6; }
28897 wx_cv_lib_gtk=1.2.7
28899 { echo "$as_me:$LINENO: result: no" >&5
28900 echo "${ECHO_T}no" >&6; }
28901 if test "$GTK_CONFIG" = "no" ; then
28902 echo "*** The gtk-config script installed by GTK could not be found"
28903 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28904 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28905 echo "*** full path to gtk-config."
28907 if test -f conf.gtktest ; then
28910 echo "*** Could not run GTK test program, checking why..."
28911 CFLAGS="$CFLAGS $GTK_CFLAGS"
28912 LIBS="$LIBS $GTK_LIBS"
28913 cat >conftest.$ac_ext <<_ACEOF
28916 cat confdefs.h >>conftest.$ac_ext
28917 cat >>conftest.$ac_ext <<_ACEOF
28918 /* end confdefs.h. */
28920 #include <gtk/gtk.h>
28926 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28931 rm -f conftest.$ac_objext conftest$ac_exeext
28932 if { (ac_try="$ac_link"
28933 case "(($ac_try" in
28934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28935 *) ac_try_echo=$ac_try;;
28937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28938 (eval "$ac_link") 2>conftest.er1
28940 grep -v '^
*+' conftest.er1 >conftest.err
28942 cat conftest.err >&5
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); } && {
28945 test -z "$ac_c_werror_flag" ||
28946 test ! -s conftest.err
28947 } && test -s conftest$ac_exeext &&
28948 $as_test_x conftest$ac_exeext; then
28949 echo "*** The test program compiled, but did not run. This usually means"
28950 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28951 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28952 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28953 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28954 echo "*** is required on your system
"
28956 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28957 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28959 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28960 echo "*** came with the system with the
command"
28962 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28964 echo "$as_me: failed program was
:" >&5
28965 sed 's/^/| /' conftest.$ac_ext >&5
28967 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28968 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28969 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28970 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28974 conftest$ac_exeext conftest.$ac_ext
28975 CFLAGS="$ac_save_CFLAGS"
28976 LIBS="$ac_save_LIBS"
28988 if test -z "$wx_cv_lib_gtk"; then
28990 # Check whether --with-gtk-prefix was given.
28991 if test "${with_gtk_prefix+set}" = set; then
28992 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28994 gtk_config_prefix=""
28998 # Check whether --with-gtk-exec-prefix was given.
28999 if test "${with_gtk_exec_prefix+set}" = set; then
29000 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29002 gtk_config_exec_prefix=""
29005 # Check whether --enable-gtktest was given.
29006 if test "${enable_gtktest+set}" = set; then
29007 enableval=$enable_gtktest;
29013 for module in . $GTK_MODULES
29017 gtk_config_args="$gtk_config_args gthread
"
29022 if test x$gtk_config_exec_prefix != x ; then
29023 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29024 if test x${GTK_CONFIG+set} != xset ; then
29025 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29028 if test x$gtk_config_prefix != x ; then
29029 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29030 if test x${GTK_CONFIG+set} != xset ; then
29031 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29035 # Extract the first word of "gtk
-config", so it can be a program name with args.
29036 set dummy gtk-config; ac_word=$2
29037 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29038 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29039 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29040 echo $ECHO_N "(cached
) $ECHO_C" >&6
29042 case $GTK_CONFIG in
29044 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29048 for as_dir in $PATH
29051 test -z "$as_dir" && as_dir=.
29052 for ac_exec_ext in '' $ac_executable_extensions; do
29053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29054 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29055 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29062 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29066 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29067 if test -n "$GTK_CONFIG"; then
29068 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29069 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29071 { echo "$as_me:$LINENO: result
: no
" >&5
29072 echo "${ECHO_T}no
" >&6; }
29076 min_gtk_version=1.2.3
29077 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29078 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29080 if test "$GTK_CONFIG" = "no
" ; then
29083 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29084 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29085 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29086 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29087 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29089 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29091 if test "x
$enable_gtktest" = "xyes
" ; then
29092 ac_save_CFLAGS="$CFLAGS"
29093 ac_save_LIBS="$LIBS"
29094 CFLAGS="$CFLAGS $GTK_CFLAGS"
29095 LIBS="$GTK_LIBS $LIBS"
29097 if test "$cross_compiling" = yes; then
29098 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29100 cat >conftest.$ac_ext <<_ACEOF
29103 cat confdefs.h >>conftest.$ac_ext
29104 cat >>conftest.$ac_ext <<_ACEOF
29105 /* end confdefs.h. */
29107 #include <gtk/gtk.h>
29109 #include <stdlib.h>
29114 int major, minor, micro;
29117 system ("touch conf.gtktest
");
29119 /* HP/UX 9 (%@#!) writes to sscanf strings */
29120 tmp_version = g_strdup("$min_gtk_version");
29121 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29122 printf("%s
, bad version string
\n", "$min_gtk_version");
29126 if ((gtk_major_version != $gtk_config_major_version) ||
29127 (gtk_minor_version != $gtk_config_minor_version) ||
29128 (gtk_micro_version != $gtk_config_micro_version))
29130 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29131 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29132 gtk_major_version, gtk_minor_version, gtk_micro_version);
29133 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29134 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29135 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29136 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29137 printf("*** required on your system.
\n");
29138 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29139 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29140 printf("*** before re
-running configure
\n");
29142 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29143 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29144 (gtk_minor_version != GTK_MINOR_VERSION) ||
29145 (gtk_micro_version != GTK_MICRO_VERSION))
29147 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29148 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29149 printf("*** library
(version
%d.
%d.
%d
)\n",
29150 gtk_major_version, gtk_minor_version, gtk_micro_version);
29152 #endif /* defined (GTK_MAJOR_VERSION) ... */
29155 if ((gtk_major_version > major) ||
29156 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29157 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29163 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29164 gtk_major_version, gtk_minor_version, gtk_micro_version);
29165 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29166 major, minor, micro);
29167 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29169 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29170 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29171 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29172 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29173 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29174 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29175 printf("*** so that the correct libraries are found
at run
-time))\n");
29182 rm -f conftest$ac_exeext
29183 if { (ac_try="$ac_link"
29184 case "(($ac_try" in
29185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29186 *) ac_try_echo=$ac_try;;
29188 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29189 (eval "$ac_link") 2>&5
29191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29193 { (case "(($ac_try" in
29194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29195 *) ac_try_echo=$ac_try;;
29197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29198 (eval "$ac_try") 2>&5
29200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29201 (exit $ac_status); }; }; then
29204 echo "$as_me: program exited with status
$ac_status" >&5
29205 echo "$as_me: failed program was
:" >&5
29206 sed 's/^/| /' conftest.$ac_ext >&5
29208 ( exit $ac_status )
29211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29215 CFLAGS="$ac_save_CFLAGS"
29216 LIBS="$ac_save_LIBS"
29219 if test "x
$no_gtk" = x ; then
29220 { echo "$as_me:$LINENO: result
: yes" >&5
29221 echo "${ECHO_T}yes" >&6; }
29222 wx_cv_lib_gtk=1.2.3
29224 { echo "$as_me:$LINENO: result
: no
" >&5
29225 echo "${ECHO_T}no
" >&6; }
29226 if test "$GTK_CONFIG" = "no
" ; then
29227 echo "*** The gtk
-config script installed by GTK could not be found
"
29228 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29229 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29230 echo "*** full path to gtk
-config.
"
29232 if test -f conf.gtktest ; then
29235 echo "*** Could not run GTK
test program
, checking why...
"
29236 CFLAGS="$CFLAGS $GTK_CFLAGS"
29237 LIBS="$LIBS $GTK_LIBS"
29238 cat >conftest.$ac_ext <<_ACEOF
29241 cat confdefs.h >>conftest.$ac_ext
29242 cat >>conftest.$ac_ext <<_ACEOF
29243 /* end confdefs.h. */
29245 #include <gtk/gtk.h>
29251 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29256 rm -f conftest.$ac_objext conftest$ac_exeext
29257 if { (ac_try="$ac_link"
29258 case "(($ac_try" in
29259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29260 *) ac_try_echo=$ac_try;;
29262 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29263 (eval "$ac_link") 2>conftest.er1
29265 grep -v '^ *+' conftest.er1 >conftest.err
29267 cat conftest.err >&5
29268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29269 (exit $ac_status); } && {
29270 test -z "$ac_c_werror_flag" ||
29271 test ! -s conftest.err
29272 } && test -s conftest$ac_exeext &&
29273 $as_test_x conftest$ac_exeext; then
29274 echo "*** The
test program compiled
, but did not run. This usually means
"
29275 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29276 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29277 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29278 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29279 echo "*** is required on your system"
29281 echo "*** If you have an old version installed, it is best to remove it, although"
29282 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29284 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29285 echo "*** came with the system with the command"
29287 echo "*** rpm --erase --nodeps gtk gtk-devel"
29289 echo "$as_me: failed program was:" >&5
29290 sed 's
/^
/| /' conftest.$ac_ext >&5
29292 echo "*** The test program failed to compile or link. See the file config.log for the"
29293 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29294 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29295 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29299 conftest$ac_exeext conftest.$ac_ext
29300 CFLAGS="$ac_save_CFLAGS"
29301 LIBS="$ac_save_LIBS"
29316 if test -z "$wx_cv_lib_gtk"; then
29319 wx_cv_cflags_gtk=$GTK_CFLAGS
29320 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29327 if test "$gtk_version_cached" = 1; then
29328 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29329 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29332 case "$wx_cv_lib_gtk" in
29341 *) { { echo "$as_me:$LINENO: error:
29342 The development files for GTK+ were not found. For GTK+ 2, please
29343 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29344 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29345 and that the version is 1.2.3 or above. Also check that the
29346 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29347 --libs' are in the LD_LIBRARY_PATH or equivalent.
29349 echo "$as_me: error:
29350 The development files for GTK+ were not found. For GTK+ 2, please
29351 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29352 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29353 and that the version is 1.2.3 or above. Also check that the
29354 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29355 --libs' are in the LD_LIBRARY_PATH or equivalent.
29357 { (exit 1); exit 1; }; }
29361 if test "$WXGTK2" = 1; then
29362 save_CFLAGS="$CFLAGS"
29364 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29365 LIBS="$LIBS $wx_cv_libs_gtk"
29367 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29368 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29369 cat >conftest.$ac_ext <<_ACEOF
29372 cat confdefs.h >>conftest.$ac_ext
29373 cat >>conftest.$ac_ext <<_ACEOF
29374 /* end confdefs.h. */
29376 #include <gtk/gtk.h>
29382 #if !GTK_CHECK_VERSION(2,10,0)
29390 rm -f conftest.$ac_objext
29391 if { (ac_try="$ac_compile"
29392 case "(($ac_try" in
29393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29394 *) ac_try_echo=$ac_try;;
29396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29397 (eval "$ac_compile") 2>conftest.er1
29399 grep -v '^
*+' conftest.er1 >conftest.err
29401 cat conftest.err >&5
29402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403 (exit $ac_status); } && {
29404 test -z "$ac_c_werror_flag" ||
29405 test ! -s conftest.err
29406 } && test -s conftest.$ac_objext; then
29408 cat >>confdefs.h <<\_ACEOF
29409 #define __WXGTK210__ 1
29412 cat >>confdefs.h <<\_ACEOF
29413 #define __WXGTK26__ 1
29416 { echo "$as_me:$LINENO: result: yes" >&5
29417 echo "${ECHO_T}yes" >&6; }
29421 echo "$as_me: failed program was:" >&5
29422 sed 's
/^
/| /' conftest.$ac_ext >&5
29425 { echo "$as_me:$LINENO: result: no" >&5
29426 echo "${ECHO_T}no" >&6; }
29431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29433 if test "$ac_wxgtk210" = 0; then
29434 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29435 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29436 cat >conftest.$ac_ext <<_ACEOF
29439 cat confdefs.h >>conftest.$ac_ext
29440 cat >>conftest.$ac_ext <<_ACEOF
29441 /* end confdefs.h. */
29443 #include <gtk/gtk.h>
29449 #if !GTK_CHECK_VERSION(2,6,0)
29457 rm -f conftest.$ac_objext
29458 if { (ac_try="$ac_compile"
29459 case "(($ac_try" in
29460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29461 *) ac_try_echo=$ac_try;;
29463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29464 (eval "$ac_compile") 2>conftest.er1
29466 grep -v '^
*+' conftest.er1 >conftest.err
29468 cat conftest.err >&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } && {
29471 test -z "$ac_c_werror_flag" ||
29472 test ! -s conftest.err
29473 } && test -s conftest.$ac_objext; then
29475 cat >>confdefs.h <<\_ACEOF
29476 #define __WXGTK26__ 1
29479 { echo "$as_me:$LINENO: result: yes" >&5
29480 echo "${ECHO_T}yes" >&6; }
29484 echo "$as_me: failed program was:" >&5
29485 sed 's
/^
/| /' conftest.$ac_ext >&5
29488 { echo "$as_me:$LINENO: result: no" >&5
29489 echo "${ECHO_T}no" >&6; }
29494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29497 CFLAGS="$save_CFLAGS"
29500 if test "$wxUSE_UNICODE" = "yes"; then
29501 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29502 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29506 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29507 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29508 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29509 echo $ECHO_N "(cached) $ECHO_C" >&6
29511 ac_check_lib_save_LIBS=$LIBS
29513 cat >conftest.$ac_ext <<_ACEOF
29516 cat confdefs.h >>conftest.$ac_ext
29517 cat >>conftest.$ac_ext <<_ACEOF
29518 /* end confdefs.h. */
29520 /* Override any GCC internal prototype to avoid an error.
29521 Use char because int might match the return type of a GCC
29522 builtin and then its argument prototype would still apply. */
29526 char gdk_im_open ();
29530 return gdk_im_open ();
29535 rm -f conftest.$ac_objext conftest$ac_exeext
29536 if { (ac_try="$ac_link"
29537 case "(($ac_try" in
29538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29539 *) ac_try_echo=$ac_try;;
29541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29542 (eval "$ac_link") 2>conftest.er1
29544 grep -v '^
*+' conftest.er1 >conftest.err
29546 cat conftest.err >&5
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); } && {
29549 test -z "$ac_c_werror_flag" ||
29550 test ! -s conftest.err
29551 } && test -s conftest$ac_exeext &&
29552 $as_test_x conftest$ac_exeext; then
29553 ac_cv_lib_gdk_gdk_im_open=yes
29555 echo "$as_me: failed program was:" >&5
29556 sed 's
/^
/| /' conftest.$ac_ext >&5
29558 ac_cv_lib_gdk_gdk_im_open=no
29561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29562 conftest$ac_exeext conftest.$ac_ext
29563 LIBS=$ac_check_lib_save_LIBS
29565 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29566 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29567 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29568 cat >>confdefs.h <<\_ACEOF
29575 if test "$USE_DARWIN" != 1; then
29577 for ac_func in poll
29579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29580 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29582 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29583 echo $ECHO_N "(cached) $ECHO_C" >&6
29585 cat >conftest.$ac_ext <<_ACEOF
29588 cat confdefs.h >>conftest.$ac_ext
29589 cat >>conftest.$ac_ext <<_ACEOF
29590 /* end confdefs.h. */
29591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29593 #define $ac_func innocuous_$ac_func
29595 /* System header to define __stub macros and hopefully few prototypes,
29596 which can conflict with char $ac_func (); below.
29597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29598 <limits.h> exists even on freestanding compilers. */
29601 # include <limits.h>
29603 # include <assert.h>
29608 /* Override any GCC internal prototype to avoid an error.
29609 Use char because int might match the return type of a GCC
29610 builtin and then its argument prototype would still apply. */
29615 /* The GNU C library defines this for functions which it implements
29616 to always fail with ENOSYS. Some functions are actually named
29617 something starting with __ and the normal name is an alias. */
29618 #if defined __stub_$ac_func || defined __stub___$ac_func
29625 return $ac_func ();
29630 rm -f conftest.$ac_objext conftest$ac_exeext
29631 if { (ac_try="$ac_link"
29632 case "(($ac_try" in
29633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29634 *) ac_try_echo=$ac_try;;
29636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29637 (eval "$ac_link") 2>conftest.er1
29639 grep -v '^
*+' conftest.er1 >conftest.err
29641 cat conftest.err >&5
29642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 (exit $ac_status); } && {
29644 test -z "$ac_c_werror_flag" ||
29645 test ! -s conftest.err
29646 } && test -s conftest$ac_exeext &&
29647 $as_test_x conftest$ac_exeext; then
29648 eval "$as_ac_var=yes"
29650 echo "$as_me: failed program was:" >&5
29651 sed 's
/^
/| /' conftest.$ac_ext >&5
29653 eval "$as_ac_var=no"
29656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29657 conftest$ac_exeext conftest.$ac_ext
29659 ac_res=`eval echo '${'$as_ac_var'}'`
29660 { echo "$as_me:$LINENO: result: $ac_res" >&5
29661 echo "${ECHO_T}$ac_res" >&6; }
29662 if test `eval echo '${'$as_ac_var'}'` = yes; then
29663 cat >>confdefs.h <<_ACEOF
29664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29673 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29674 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29676 AFMINSTALL=afminstall
29680 if test "$wxUSE_GPE" = "yes"; then
29681 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29682 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29685 for ac_dir in $SEARCH_LIB;
29687 for ac_extension in a so sl dylib dll.a; do
29688 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29689 ac_find_libraries=$ac_dir
29695 if test "$ac_find_libraries" != "" ; then
29697 if test "$ac_find_libraries" = "default location"; then
29700 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29702 if test $result = 0; then
29705 ac_path_to_link=" -L$ac_find_libraries"
29709 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29711 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29712 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29714 { echo "$as_me:$LINENO: result: not found" >&5
29715 echo "${ECHO_T}not found" >&6; }
29721 if test "$wxUSE_MGL" = 1; then
29722 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29723 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29724 if test "x$MGL_ROOT" = x ; then
29725 { echo "$as_me:$LINENO: result: not found" >&5
29726 echo "${ECHO_T}not found" >&6; }
29727 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29728 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29729 { (exit 1); exit 1; }; }
29731 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29732 echo "${ECHO_T}$MGL_ROOT" >&6; }
29735 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29736 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29739 if test "x$wxUSE_SHARED" = xyes ; then
29740 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29742 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29746 mgl_os_candidates="dos32/dj2"
29749 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29750 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29751 { (exit 1); exit 1; }; }
29757 for mgl_os_i in $mgl_os_candidates ; do
29758 if test "x$mgl_os" = x ; then
29759 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29760 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29761 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29766 if test "x$mgl_lib_type" = x ; then
29767 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29768 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29769 mgl_lib_type=release
29776 if test "x$mgl_os" = x ; then
29777 { echo "$as_me:$LINENO: result: not found" >&5
29778 echo "${ECHO_T}not found" >&6; }
29779 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29780 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29781 { (exit 1); exit 1; }; }
29783 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29784 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29786 wxUSE_UNIVERSAL="yes"
29788 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29789 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29791 AFMINSTALL=afminstall
29796 if test "$wxUSE_DFB" = 1; then
29799 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29800 if test -n "$ac_tool_prefix"; then
29801 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29802 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29805 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29808 case $PKG_CONFIG in
29810 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29814 for as_dir in $PATH
29817 test -z "$as_dir" && as_dir=.
29818 for ac_exec_ext in '' $ac_executable_extensions; do
29819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29820 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29831 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29832 if test -n "$PKG_CONFIG"; then
29833 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29834 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29836 { echo "$as_me:$LINENO: result: no" >&5
29837 echo "${ECHO_T}no" >&6; }
29842 if test -z "$ac_cv_path_PKG_CONFIG"; then
29843 ac_pt_PKG_CONFIG=$PKG_CONFIG
29844 # Extract the first word of "pkg-config", so it can be a program name with args.
29845 set dummy pkg-config; ac_word=$2
29846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29848 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29849 echo $ECHO_N "(cached) $ECHO_C" >&6
29851 case $ac_pt_PKG_CONFIG in
29853 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29857 for as_dir in $PATH
29860 test -z "$as_dir" && as_dir=.
29861 for ac_exec_ext in '' $ac_executable_extensions; do
29862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29863 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29874 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29875 if test -n "$ac_pt_PKG_CONFIG"; then
29876 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29877 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29879 { echo "$as_me:$LINENO: result: no" >&5
29880 echo "${ECHO_T}no" >&6; }
29883 if test "x$ac_pt_PKG_CONFIG" = x; then
29886 case $cross_compiling:$ac_tool_warned in
29888 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29889 whose name does not start with the host triplet. If you think this
29890 configuration is useful to you, please write to autoconf@gnu.org." >&5
29891 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29892 whose name does not start with the host triplet. If you think this
29893 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29894 ac_tool_warned=yes ;;
29896 PKG_CONFIG=$ac_pt_PKG_CONFIG
29899 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29903 if test -n "$PKG_CONFIG"; then
29904 _pkg_min_version=0.9.0
29905 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29906 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29907 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29908 { echo "$as_me:$LINENO: result: yes" >&5
29909 echo "${ECHO_T}yes" >&6; }
29911 { echo "$as_me:$LINENO: result: no" >&5
29912 echo "${ECHO_T}no" >&6; }
29920 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29921 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29923 if test -n "$PKG_CONFIG"; then
29924 if test -n "$DIRECTFB_CFLAGS"; then
29925 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29927 if test -n "$PKG_CONFIG" && \
29928 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29929 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932 (exit $ac_status); }; then
29933 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29941 if test -n "$PKG_CONFIG"; then
29942 if test -n "$DIRECTFB_LIBS"; then
29943 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29945 if test -n "$PKG_CONFIG" && \
29946 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29947 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); }; then
29951 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29962 if test $pkg_failed = yes; then
29964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29965 _pkg_short_errors_supported=yes
29967 _pkg_short_errors_supported=no
29969 if test $_pkg_short_errors_supported = yes; then
29970 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29972 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29974 # Put the nasty error message in config.log where it belongs
29975 echo "$DIRECTFB_PKG_ERRORS" >&5
29978 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29979 echo "$as_me: error: DirectFB not found." >&2;}
29980 { (exit 1); exit 1; }; }
29983 elif test $pkg_failed = untried; then
29985 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29986 echo "$as_me: error: DirectFB not found." >&2;}
29987 { (exit 1); exit 1; }; }
29991 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29992 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29993 { echo "$as_me:$LINENO: result: yes" >&5
29994 echo "${ECHO_T}yes" >&6; }
29996 wxUSE_UNIVERSAL="yes"
29997 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29998 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30005 if test "$wxUSE_MICROWIN" = 1; then
30006 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30007 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30008 if test "x$MICROWINDOWS" = x ; then
30009 { echo "$as_me:$LINENO: result: not found" >&5
30010 echo "${ECHO_T}not found" >&6; }
30011 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30012 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30013 { (exit 1); exit 1; }; }
30015 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30016 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30019 if test -f $MICROWINDOWS/lib/libmwin.a; then
30020 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30021 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30023 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30024 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30025 { (exit 1); exit 1; }; }
30028 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30029 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30031 wxUSE_UNIVERSAL="yes"
30033 AFMINSTALL=afminstall
30035 GUIDIST=MICROWIN_DIST
30037 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30040 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30041 { echo "$as_me:$LINENO: checking for X" >&5
30042 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30045 # Check whether --with-x was given.
30046 if test "${with_x+set}" = set; then
30050 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30051 if test "x$with_x" = xno; then
30052 # The user explicitly disabled X.
30055 case $x_includes,$x_libraries in #(
30056 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30057 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30058 { (exit 1); exit 1; }; };; #(
30059 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30060 echo $ECHO_N "(cached) $ECHO_C" >&6
30062 # One or both of the vars are not set, and there is no cached value.
30063 ac_x_includes=no ac_x_libraries=no
30064 rm -f -r conftest.dir
30065 if mkdir conftest.dir; then
30067 cat >Imakefile <<'_ACEOF'
30069 @echo incroot='${INCROOT}'
30071 @echo usrlibdir='${USRLIBDIR}'
30073 @echo libdir='${LIBDIR}'
30075 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30076 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30077 for ac_var in incroot usrlibdir libdir; do
30078 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30080 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30081 for ac_extension in a so sl; do
30082 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30083 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30084 ac_im_usrlibdir=$ac_im_libdir; break
30087 # Screen out bogus values from the imake configuration. They are
30088 # bogus both because they are the default anyway, and because
30089 # using them would break gcc on systems where it needs fixed includes.
30090 case $ac_im_incroot in
30091 /usr/include) ac_x_includes= ;;
30092 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30094 case $ac_im_usrlibdir in
30095 /usr/lib | /lib) ;;
30096 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30100 rm -f -r conftest.dir
30103 # Standard set of common directories for X headers.
30104 # Check X11 before X11Rn because it is often a symlink to the current release.
30116 /usr
/local
/X
11/include
30117 /usr
/local
/X
11R
6/include
30118 /usr
/local
/X
11R
5/include
30119 /usr
/local
/X
11R
4/include
30121 /usr
/local
/include
/X11
30122 /usr
/local
/include
/X11R6
30123 /usr
/local
/include
/X11R5
30124 /usr
/local
/include
/X11R4
30128 /usr
/XFree
86/include
/X11
30132 /usr
/unsupported
/include
30133 /usr
/athena
/include
30134 /usr
/local
/x
11r
5/include
30135 /usr
/lpp
/Xamples
/include
30137 /usr
/openwin
/include
30138 /usr
/openwin
/share
/include
'
30140 if test "$ac_x_includes" = no; then
30141 # Guess where to find include files, by looking for Xlib.h.
30142 # First, try using that file with no special directory specified.
30143 cat >conftest.$ac_ext <<_ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149 #include <X11/Xlib.h>
30151 if { (ac_try="$ac_cpp conftest.$ac_ext"
30152 case "(($ac_try" in
30153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30154 *) ac_try_echo=$ac_try;;
30156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30157 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30159 grep -v '^
*+' conftest.er1 >conftest.err
30161 cat conftest.err >&5
30162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30163 (exit $ac_status); } >/dev/null && {
30164 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30165 test ! -s conftest.err
30167 # We can compile using X headers with no special include directory.
30170 echo "$as_me: failed program was:" >&5
30171 sed 's
/^
/| /' conftest.$ac_ext >&5
30173 for ac_dir in $ac_x_header_dirs; do
30174 if test -r "$ac_dir/X11/Xlib.h"; then
30175 ac_x_includes=$ac_dir
30181 rm -f conftest.err conftest.$ac_ext
30182 fi # $ac_x_includes = no
30184 if test "$ac_x_libraries" = no; then
30185 # Check for the libraries.
30186 # See if we find them without any special options.
30187 # Don't add to
$LIBS permanently.
30190 cat >conftest.
$ac_ext <<_ACEOF
30193 cat confdefs.h
>>conftest.
$ac_ext
30194 cat >>conftest.
$ac_ext <<_ACEOF
30195 /* end confdefs.h. */
30196 #include <X11/Xlib.h>
30205 rm -f conftest.
$ac_objext conftest
$ac_exeext
30206 if { (ac_try
="$ac_link"
30207 case "(($ac_try" in
30208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30209 *) ac_try_echo=$ac_try;;
30211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30212 (eval "$ac_link") 2>conftest.er1
30214 grep -v '^ *+' conftest.er1 >conftest.err
30216 cat conftest.err >&5
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); } && {
30219 test -z "$ac_c_werror_flag" ||
30220 test ! -s conftest.err
30221 } && test -s conftest$ac_exeext &&
30222 $as_test_x conftest$ac_exeext; then
30224 # We can link X programs with no special library path.
30227 echo "$as_me: failed program was:" >&5
30228 sed 's/^/| /' conftest.$ac_ext >&5
30231 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30233 # Don't even attempt the hair of trying to link an X program!
30234 for ac_extension in a so sl; do
30235 if test -r "$ac_dir/libX11.$ac_extension"; then
30236 ac_x_libraries=$ac_dir
30243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30244 conftest$ac_exeext conftest.$ac_ext
30245 fi # $ac_x_libraries = no
30247 case $ac_x_includes,$ac_x_libraries in #(
30248 no,* | *,no | *\'*)
30249 # Didn't find X, or a directory has "'" in its name.
30250 ac_cv_have_x="have_x=no";; #(
30252 # Record where we found X for the cache.
30253 ac_cv_have_x="have_x=yes\
30254 ac_x_includes='$ac_x_includes'\
30255 ac_x_libraries='$ac_x_libraries'"
30261 eval "$ac_cv_have_x"
30264 if test "$have_x" != yes; then
30265 { echo "$as_me:$LINENO: result: $have_x" >&5
30266 echo "${ECHO_T}$have_x" >&6; }
30269 # If each of the values was on the command line, it overrides each guess.
30270 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30271 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30272 # Update the cache value to reflect the command line values.
30273 ac_cv_have_x="have_x=yes\
30274 ac_x_includes='$x_includes'\
30275 ac_x_libraries='$x_libraries'"
30276 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30277 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30280 if test "$no_x" = yes; then
30281 # Not all programs may use this symbol, but it does not hurt to define it.
30283 cat >>confdefs.h <<\_ACEOF
30284 #define X_DISPLAY_MISSING 1
30287 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30289 if test -n "$x_includes"; then
30290 X_CFLAGS="$X_CFLAGS -I$x_includes"
30293 # It would also be nice to do this for all -L options, not just this one.
30294 if test -n "$x_libraries"; then
30295 X_LIBS="$X_LIBS -L$x_libraries"
30296 # For Solaris; some versions of Sun CC require a space after -R and
30297 # others require no space. Words are not sufficient . . . .
30298 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30299 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30300 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30301 ac_xsave_c_werror_flag=$ac_c_werror_flag
30302 ac_c_werror_flag=yes
30303 cat >conftest.$ac_ext <<_ACEOF
30306 cat confdefs.h >>conftest.$ac_ext
30307 cat >>conftest.$ac_ext <<_ACEOF
30308 /* end confdefs.h. */
30318 rm -f conftest.$ac_objext conftest$ac_exeext
30319 if { (ac_try="$ac_link"
30320 case "(($ac_try" in
30321 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30322 *) ac_try_echo
=$ac_try;;
30324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30325 (eval "$ac_link") 2>conftest.er1
30327 grep -v '^ *+' conftest.er1
>conftest.err
30329 cat conftest.err
>&5
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); } && {
30332 test -z "$ac_c_werror_flag" ||
30333 test ! -s conftest.err
30334 } && test -s conftest
$ac_exeext &&
30335 $as_test_x conftest
$ac_exeext; then
30336 { echo "$as_me:$LINENO: result: no" >&5
30337 echo "${ECHO_T}no" >&6; }
30338 X_LIBS
="$X_LIBS -R$x_libraries"
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.
$ac_ext >&5
30343 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30344 cat >conftest.
$ac_ext <<_ACEOF
30347 cat confdefs.h
>>conftest.
$ac_ext
30348 cat >>conftest.
$ac_ext <<_ACEOF
30349 /* end confdefs.h. */
30359 rm -f conftest.
$ac_objext conftest
$ac_exeext
30360 if { (ac_try
="$ac_link"
30361 case "(($ac_try" in
30362 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30363 *) ac_try_echo=$ac_try;;
30365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30366 (eval "$ac_link") 2>conftest.er1
30368 grep -v '^ *+' conftest.er1 >conftest.err
30370 cat conftest.err >&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } && {
30373 test -z "$ac_c_werror_flag" ||
30374 test ! -s conftest.err
30375 } && test -s conftest$ac_exeext &&
30376 $as_test_x conftest$ac_exeext; then
30377 { echo "$as_me:$LINENO: result: yes" >&5
30378 echo "${ECHO_T}yes" >&6; }
30379 X_LIBS="$X_LIBS -R $x_libraries"
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30384 { echo "$as_me:$LINENO: result: neither works" >&5
30385 echo "${ECHO_T}neither works" >&6; }
30388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30389 conftest$ac_exeext conftest.$ac_ext
30392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30393 conftest$ac_exeext conftest.$ac_ext
30394 ac_c_werror_flag=$ac_xsave_c_werror_flag
30395 LIBS=$ac_xsave_LIBS
30398 # Check for system-dependent libraries X programs must link with.
30399 # Do this before checking for the system-independent R6 libraries
30400 # (-lICE), since we may need -lsocket or whatever for X linking.
30402 if test "$ISC" = yes; then
30403 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30405 # Martyn Johnson says this is needed for Ultrix, if the X
30406 # libraries were built with DECnet support. And Karl Berry says
30407 # the Alpha needs dnet_stub (dnet does not exist).
30408 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30409 cat >conftest.$ac_ext <<_ACEOF
30412 cat confdefs.h >>conftest.$ac_ext
30413 cat >>conftest.$ac_ext <<_ACEOF
30414 /* end confdefs.h. */
30416 /* Override any GCC internal prototype to avoid an error.
30417 Use char because int might match the return type of a GCC
30418 builtin and then its argument prototype would still apply. */
30422 char XOpenDisplay ();
30426 return XOpenDisplay ();
30431 rm -f conftest.$ac_objext conftest$ac_exeext
30432 if { (ac_try="$ac_link"
30433 case "(($ac_try" in
30434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30435 *) ac_try_echo
=$ac_try;;
30437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30438 (eval "$ac_link") 2>conftest.er1
30440 grep -v '^ *+' conftest.er1
>conftest.err
30442 cat conftest.err
>&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); } && {
30445 test -z "$ac_c_werror_flag" ||
30446 test ! -s conftest.err
30447 } && test -s conftest
$ac_exeext &&
30448 $as_test_x conftest
$ac_exeext; then
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.
$ac_ext >&5
30454 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30455 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30456 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30459 ac_check_lib_save_LIBS
=$LIBS
30460 LIBS
="-ldnet $LIBS"
30461 cat >conftest.
$ac_ext <<_ACEOF
30464 cat confdefs.h
>>conftest.
$ac_ext
30465 cat >>conftest.
$ac_ext <<_ACEOF
30466 /* end confdefs.h. */
30468 /* Override any GCC internal prototype to avoid an error.
30469 Use char because int might match the return type of a GCC
30470 builtin and then its argument prototype would still apply. */
30478 return dnet_ntoa ();
30483 rm -f conftest.
$ac_objext conftest
$ac_exeext
30484 if { (ac_try
="$ac_link"
30485 case "(($ac_try" in
30486 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30487 *) ac_try_echo=$ac_try;;
30489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30490 (eval "$ac_link") 2>conftest.er1
30492 grep -v '^ *+' conftest.er1 >conftest.err
30494 cat conftest.err >&5
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); } && {
30497 test -z "$ac_c_werror_flag" ||
30498 test ! -s conftest.err
30499 } && test -s conftest$ac_exeext &&
30500 $as_test_x conftest$ac_exeext; then
30501 ac_cv_lib_dnet_dnet_ntoa=yes
30503 echo "$as_me: failed program was:" >&5
30504 sed 's/^/| /' conftest.$ac_ext >&5
30506 ac_cv_lib_dnet_dnet_ntoa=no
30509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30510 conftest$ac_exeext conftest.$ac_ext
30511 LIBS=$ac_check_lib_save_LIBS
30513 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30514 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30515 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30516 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30519 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30520 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30521 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30522 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30523 echo $ECHO_N "(cached) $ECHO_C" >&6
30525 ac_check_lib_save_LIBS=$LIBS
30526 LIBS="-ldnet_stub $LIBS"
30527 cat >conftest.$ac_ext <<_ACEOF
30530 cat confdefs.h >>conftest.$ac_ext
30531 cat >>conftest.$ac_ext <<_ACEOF
30532 /* end confdefs.h. */
30534 /* Override any GCC internal prototype to avoid an error.
30535 Use char because int might match the return type of a GCC
30536 builtin and then its argument prototype would still apply. */
30544 return dnet_ntoa ();
30549 rm -f conftest.$ac_objext conftest$ac_exeext
30550 if { (ac_try="$ac_link"
30551 case "(($ac_try" in
30552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30553 *) ac_try_echo
=$ac_try;;
30555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30556 (eval "$ac_link") 2>conftest.er1
30558 grep -v '^ *+' conftest.er1
>conftest.err
30560 cat conftest.err
>&5
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); } && {
30563 test -z "$ac_c_werror_flag" ||
30564 test ! -s conftest.err
30565 } && test -s conftest
$ac_exeext &&
30566 $as_test_x conftest
$ac_exeext; then
30567 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30569 echo "$as_me: failed program was:" >&5
30570 sed 's/^/| /' conftest.
$ac_ext >&5
30572 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30575 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30576 conftest
$ac_exeext conftest.
$ac_ext
30577 LIBS
=$ac_check_lib_save_LIBS
30579 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30580 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30581 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30582 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30588 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30589 conftest
$ac_exeext conftest.
$ac_ext
30590 LIBS
="$ac_xsave_LIBS"
30592 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30593 # to get the SysV transport functions.
30594 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30596 # The nsl library prevents programs from opening the X display
30597 # on Irix 5.2, according to T.E. Dickey.
30598 # The functions gethostbyname, getservbyname, and inet_addr are
30599 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30600 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30601 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30602 if test "${ac_cv_func_gethostbyname+set}" = set; then
30603 echo $ECHO_N "(cached) $ECHO_C" >&6
30605 cat >conftest.
$ac_ext <<_ACEOF
30608 cat confdefs.h
>>conftest.
$ac_ext
30609 cat >>conftest.
$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30611 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30613 #define gethostbyname innocuous_gethostbyname
30615 /* System header to define __stub macros and hopefully few prototypes,
30616 which can conflict with char gethostbyname (); below.
30617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30618 <limits.h> exists even on freestanding compilers. */
30621 # include <limits.h>
30623 # include <assert.h>
30626 #undef gethostbyname
30628 /* Override any GCC internal prototype to avoid an error.
30629 Use char because int might match the return type of a GCC
30630 builtin and then its argument prototype would still apply. */
30634 char gethostbyname ();
30635 /* The GNU C library defines this for functions which it implements
30636 to always fail with ENOSYS. Some functions are actually named
30637 something starting with __ and the normal name is an alias. */
30638 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30645 return gethostbyname ();
30650 rm -f conftest.
$ac_objext conftest
$ac_exeext
30651 if { (ac_try
="$ac_link"
30652 case "(($ac_try" in
30653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30654 *) ac_try_echo=$ac_try;;
30656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30657 (eval "$ac_link") 2>conftest.er1
30659 grep -v '^ *+' conftest.er1 >conftest.err
30661 cat conftest.err >&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } && {
30664 test -z "$ac_c_werror_flag" ||
30665 test ! -s conftest.err
30666 } && test -s conftest$ac_exeext &&
30667 $as_test_x conftest$ac_exeext; then
30668 ac_cv_func_gethostbyname=yes
30670 echo "$as_me: failed program was:" >&5
30671 sed 's/^/| /' conftest.$ac_ext >&5
30673 ac_cv_func_gethostbyname=no
30676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30677 conftest$ac_exeext conftest.$ac_ext
30679 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30680 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30682 if test $ac_cv_func_gethostbyname = no; then
30683 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30684 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30685 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30686 echo $ECHO_N "(cached) $ECHO_C" >&6
30688 ac_check_lib_save_LIBS=$LIBS
30690 cat >conftest.$ac_ext <<_ACEOF
30693 cat confdefs.h >>conftest.$ac_ext
30694 cat >>conftest.$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30697 /* Override any GCC internal prototype to avoid an error.
30698 Use char because int might match the return type of a GCC
30699 builtin and then its argument prototype would still apply. */
30703 char gethostbyname ();
30707 return gethostbyname ();
30712 rm -f conftest.$ac_objext conftest$ac_exeext
30713 if { (ac_try="$ac_link"
30714 case "(($ac_try" in
30715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30716 *) ac_try_echo
=$ac_try;;
30718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30719 (eval "$ac_link") 2>conftest.er1
30721 grep -v '^ *+' conftest.er1
>conftest.err
30723 cat conftest.err
>&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); } && {
30726 test -z "$ac_c_werror_flag" ||
30727 test ! -s conftest.err
30728 } && test -s conftest
$ac_exeext &&
30729 $as_test_x conftest
$ac_exeext; then
30730 ac_cv_lib_nsl_gethostbyname
=yes
30732 echo "$as_me: failed program was:" >&5
30733 sed 's/^/| /' conftest.
$ac_ext >&5
30735 ac_cv_lib_nsl_gethostbyname
=no
30738 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30739 conftest
$ac_exeext conftest.
$ac_ext
30740 LIBS
=$ac_check_lib_save_LIBS
30742 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30743 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30744 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30745 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30748 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30749 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30750 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30751 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30752 echo $ECHO_N "(cached) $ECHO_C" >&6
30754 ac_check_lib_save_LIBS
=$LIBS
30756 cat >conftest.
$ac_ext <<_ACEOF
30759 cat confdefs.h
>>conftest.
$ac_ext
30760 cat >>conftest.
$ac_ext <<_ACEOF
30761 /* end confdefs.h. */
30763 /* Override any GCC internal prototype to avoid an error.
30764 Use char because int might match the return type of a GCC
30765 builtin and then its argument prototype would still apply. */
30769 char gethostbyname ();
30773 return gethostbyname ();
30778 rm -f conftest.
$ac_objext conftest
$ac_exeext
30779 if { (ac_try
="$ac_link"
30780 case "(($ac_try" in
30781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30782 *) ac_try_echo=$ac_try;;
30784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30785 (eval "$ac_link") 2>conftest.er1
30787 grep -v '^ *+' conftest.er1 >conftest.err
30789 cat conftest.err >&5
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); } && {
30792 test -z "$ac_c_werror_flag" ||
30793 test ! -s conftest.err
30794 } && test -s conftest$ac_exeext &&
30795 $as_test_x conftest$ac_exeext; then
30796 ac_cv_lib_bsd_gethostbyname=yes
30798 echo "$as_me: failed program was:" >&5
30799 sed 's/^/| /' conftest.$ac_ext >&5
30801 ac_cv_lib_bsd_gethostbyname=no
30804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30805 conftest$ac_exeext conftest.$ac_ext
30806 LIBS=$ac_check_lib_save_LIBS
30808 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30809 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30810 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30811 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30817 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30818 # socket/setsockopt and other routines are undefined under SCO ODT
30819 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30820 # on later versions), says Simon Leinen: it contains gethostby*
30821 # variants that don't use the name server (or something). -lsocket
30822 # must be given before -lnsl if both are needed. We assume that
30823 # if connect needs -lnsl, so does gethostbyname.
30824 { echo "$as_me:$LINENO: checking for connect" >&5
30825 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30826 if test "${ac_cv_func_connect+set}" = set; then
30827 echo $ECHO_N "(cached) $ECHO_C" >&6
30829 cat >conftest.$ac_ext <<_ACEOF
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30835 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30837 #define connect innocuous_connect
30839 /* System header to define __stub macros and hopefully few prototypes,
30840 which can conflict with char connect (); below.
30841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30842 <limits.h> exists even on freestanding compilers. */
30845 # include <limits.h>
30847 # include <assert.h>
30852 /* Override any GCC internal prototype to avoid an error.
30853 Use char because int might match the return type of a GCC
30854 builtin and then its argument prototype would still apply. */
30859 /* The GNU C library defines this for functions which it implements
30860 to always fail with ENOSYS. Some functions are actually named
30861 something starting with __ and the normal name is an alias. */
30862 #if defined __stub_connect || defined __stub___connect
30874 rm -f conftest.$ac_objext conftest$ac_exeext
30875 if { (ac_try="$ac_link"
30876 case "(($ac_try" in
30877 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30878 *) ac_try_echo
=$ac_try;;
30880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30881 (eval "$ac_link") 2>conftest.er1
30883 grep -v '^ *+' conftest.er1
>conftest.err
30885 cat conftest.err
>&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } && {
30888 test -z "$ac_c_werror_flag" ||
30889 test ! -s conftest.err
30890 } && test -s conftest
$ac_exeext &&
30891 $as_test_x conftest
$ac_exeext; then
30892 ac_cv_func_connect
=yes
30894 echo "$as_me: failed program was:" >&5
30895 sed 's/^/| /' conftest.
$ac_ext >&5
30897 ac_cv_func_connect
=no
30900 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30901 conftest
$ac_exeext conftest.
$ac_ext
30903 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30904 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30906 if test $ac_cv_func_connect = no
; then
30907 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30908 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30909 if test "${ac_cv_lib_socket_connect+set}" = set; then
30910 echo $ECHO_N "(cached) $ECHO_C" >&6
30912 ac_check_lib_save_LIBS
=$LIBS
30913 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30914 cat >conftest.
$ac_ext <<_ACEOF
30917 cat confdefs.h
>>conftest.
$ac_ext
30918 cat >>conftest.
$ac_ext <<_ACEOF
30919 /* end confdefs.h. */
30921 /* Override any GCC internal prototype to avoid an error.
30922 Use char because int might match the return type of a GCC
30923 builtin and then its argument prototype would still apply. */
30936 rm -f conftest.
$ac_objext conftest
$ac_exeext
30937 if { (ac_try
="$ac_link"
30938 case "(($ac_try" in
30939 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30940 *) ac_try_echo=$ac_try;;
30942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30943 (eval "$ac_link") 2>conftest.er1
30945 grep -v '^ *+' conftest.er1 >conftest.err
30947 cat conftest.err >&5
30948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30949 (exit $ac_status); } && {
30950 test -z "$ac_c_werror_flag" ||
30951 test ! -s conftest.err
30952 } && test -s conftest$ac_exeext &&
30953 $as_test_x conftest$ac_exeext; then
30954 ac_cv_lib_socket_connect=yes
30956 echo "$as_me: failed program was:" >&5
30957 sed 's/^/| /' conftest.$ac_ext >&5
30959 ac_cv_lib_socket_connect=no
30962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30963 conftest$ac_exeext conftest.$ac_ext
30964 LIBS=$ac_check_lib_save_LIBS
30966 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30967 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30968 if test $ac_cv_lib_socket_connect = yes; then
30969 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30974 # Guillermo Gomez says -lposix is necessary on A/UX.
30975 { echo "$as_me:$LINENO: checking for remove" >&5
30976 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30977 if test "${ac_cv_func_remove+set}" = set; then
30978 echo $ECHO_N "(cached) $ECHO_C" >&6
30980 cat >conftest.$ac_ext <<_ACEOF
30983 cat confdefs.h >>conftest.$ac_ext
30984 cat >>conftest.$ac_ext <<_ACEOF
30985 /* end confdefs.h. */
30986 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30988 #define remove innocuous_remove
30990 /* System header to define __stub macros and hopefully few prototypes,
30991 which can conflict with char remove (); below.
30992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30993 <limits.h> exists even on freestanding compilers. */
30996 # include <limits.h>
30998 # include <assert.h>
31003 /* Override any GCC internal prototype to avoid an error.
31004 Use char because int might match the return type of a GCC
31005 builtin and then its argument prototype would still apply. */
31010 /* The GNU C library defines this for functions which it implements
31011 to always fail with ENOSYS. Some functions are actually named
31012 something starting with __ and the normal name is an alias. */
31013 #if defined __stub_remove || defined __stub___remove
31025 rm -f conftest.$ac_objext conftest$ac_exeext
31026 if { (ac_try="$ac_link"
31027 case "(($ac_try" in
31028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31029 *) ac_try_echo
=$ac_try;;
31031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31032 (eval "$ac_link") 2>conftest.er1
31034 grep -v '^ *+' conftest.er1
>conftest.err
31036 cat conftest.err
>&5
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); } && {
31039 test -z "$ac_c_werror_flag" ||
31040 test ! -s conftest.err
31041 } && test -s conftest
$ac_exeext &&
31042 $as_test_x conftest
$ac_exeext; then
31043 ac_cv_func_remove
=yes
31045 echo "$as_me: failed program was:" >&5
31046 sed 's/^/| /' conftest.
$ac_ext >&5
31048 ac_cv_func_remove
=no
31051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31052 conftest
$ac_exeext conftest.
$ac_ext
31054 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31055 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31057 if test $ac_cv_func_remove = no
; then
31058 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31059 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31060 if test "${ac_cv_lib_posix_remove+set}" = set; then
31061 echo $ECHO_N "(cached) $ECHO_C" >&6
31063 ac_check_lib_save_LIBS
=$LIBS
31064 LIBS
="-lposix $LIBS"
31065 cat >conftest.
$ac_ext <<_ACEOF
31068 cat confdefs.h
>>conftest.
$ac_ext
31069 cat >>conftest.
$ac_ext <<_ACEOF
31070 /* end confdefs.h. */
31072 /* Override any GCC internal prototype to avoid an error.
31073 Use char because int might match the return type of a GCC
31074 builtin and then its argument prototype would still apply. */
31087 rm -f conftest.
$ac_objext conftest
$ac_exeext
31088 if { (ac_try
="$ac_link"
31089 case "(($ac_try" in
31090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31091 *) ac_try_echo=$ac_try;;
31093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31094 (eval "$ac_link") 2>conftest.er1
31096 grep -v '^ *+' conftest.er1 >conftest.err
31098 cat conftest.err >&5
31099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100 (exit $ac_status); } && {
31101 test -z "$ac_c_werror_flag" ||
31102 test ! -s conftest.err
31103 } && test -s conftest$ac_exeext &&
31104 $as_test_x conftest$ac_exeext; then
31105 ac_cv_lib_posix_remove=yes
31107 echo "$as_me: failed program was:" >&5
31108 sed 's/^/| /' conftest.$ac_ext >&5
31110 ac_cv_lib_posix_remove=no
31113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31114 conftest$ac_exeext conftest.$ac_ext
31115 LIBS=$ac_check_lib_save_LIBS
31117 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31118 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31119 if test $ac_cv_lib_posix_remove = yes; then
31120 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31125 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31126 { echo "$as_me:$LINENO: checking for shmat" >&5
31127 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31128 if test "${ac_cv_func_shmat+set}" = set; then
31129 echo $ECHO_N "(cached) $ECHO_C" >&6
31131 cat >conftest.$ac_ext <<_ACEOF
31134 cat confdefs.h >>conftest.$ac_ext
31135 cat >>conftest.$ac_ext <<_ACEOF
31136 /* end confdefs.h. */
31137 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31139 #define shmat innocuous_shmat
31141 /* System header to define __stub macros and hopefully few prototypes,
31142 which can conflict with char shmat (); below.
31143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31144 <limits.h> exists even on freestanding compilers. */
31147 # include <limits.h>
31149 # include <assert.h>
31154 /* Override any GCC internal prototype to avoid an error.
31155 Use char because int might match the return type of a GCC
31156 builtin and then its argument prototype would still apply. */
31161 /* The GNU C library defines this for functions which it implements
31162 to always fail with ENOSYS. Some functions are actually named
31163 something starting with __ and the normal name is an alias. */
31164 #if defined __stub_shmat || defined __stub___shmat
31176 rm -f conftest.$ac_objext conftest$ac_exeext
31177 if { (ac_try="$ac_link"
31178 case "(($ac_try" in
31179 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31180 *) ac_try_echo
=$ac_try;;
31182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31183 (eval "$ac_link") 2>conftest.er1
31185 grep -v '^ *+' conftest.er1
>conftest.err
31187 cat conftest.err
>&5
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); } && {
31190 test -z "$ac_c_werror_flag" ||
31191 test ! -s conftest.err
31192 } && test -s conftest
$ac_exeext &&
31193 $as_test_x conftest
$ac_exeext; then
31194 ac_cv_func_shmat
=yes
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.
$ac_ext >&5
31199 ac_cv_func_shmat
=no
31202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31203 conftest
$ac_exeext conftest.
$ac_ext
31205 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31206 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31208 if test $ac_cv_func_shmat = no
; then
31209 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31210 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31211 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31212 echo $ECHO_N "(cached) $ECHO_C" >&6
31214 ac_check_lib_save_LIBS
=$LIBS
31216 cat >conftest.
$ac_ext <<_ACEOF
31219 cat confdefs.h
>>conftest.
$ac_ext
31220 cat >>conftest.
$ac_ext <<_ACEOF
31221 /* end confdefs.h. */
31223 /* Override any GCC internal prototype to avoid an error.
31224 Use char because int might match the return type of a GCC
31225 builtin and then its argument prototype would still apply. */
31238 rm -f conftest.
$ac_objext conftest
$ac_exeext
31239 if { (ac_try
="$ac_link"
31240 case "(($ac_try" in
31241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31242 *) ac_try_echo=$ac_try;;
31244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31245 (eval "$ac_link") 2>conftest.er1
31247 grep -v '^ *+' conftest.er1 >conftest.err
31249 cat conftest.err >&5
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); } && {
31252 test -z "$ac_c_werror_flag" ||
31253 test ! -s conftest.err
31254 } && test -s conftest$ac_exeext &&
31255 $as_test_x conftest$ac_exeext; then
31256 ac_cv_lib_ipc_shmat=yes
31258 echo "$as_me: failed program was:" >&5
31259 sed 's/^/| /' conftest.$ac_ext >&5
31261 ac_cv_lib_ipc_shmat=no
31264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31265 conftest$ac_exeext conftest.$ac_ext
31266 LIBS=$ac_check_lib_save_LIBS
31268 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31269 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31270 if test $ac_cv_lib_ipc_shmat = yes; then
31271 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31277 # Check for libraries that X11R6 Xt/Xaw programs need.
31278 ac_save_LDFLAGS=$LDFLAGS
31279 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31280 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31281 # check for ICE first), but we must link in the order -lSM -lICE or
31282 # we get undefined symbols. So assume we have SM if we have ICE.
31283 # These have to be linked with before -lX11, unlike the other
31284 # libraries we check for below, so use a different variable.
31285 # John Interrante, Karl Berry
31286 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31287 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31288 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31289 echo $ECHO_N "(cached) $ECHO_C" >&6
31291 ac_check_lib_save_LIBS=$LIBS
31292 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31293 cat >conftest.$ac_ext <<_ACEOF
31296 cat confdefs.h >>conftest.$ac_ext
31297 cat >>conftest.$ac_ext <<_ACEOF
31298 /* end confdefs.h. */
31300 /* Override any GCC internal prototype to avoid an error.
31301 Use char because int might match the return type of a GCC
31302 builtin and then its argument prototype would still apply. */
31306 char IceConnectionNumber ();
31310 return IceConnectionNumber ();
31315 rm -f conftest.$ac_objext conftest$ac_exeext
31316 if { (ac_try="$ac_link"
31317 case "(($ac_try" in
31318 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31319 *) ac_try_echo
=$ac_try;;
31321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31322 (eval "$ac_link") 2>conftest.er1
31324 grep -v '^ *+' conftest.er1
>conftest.err
31326 cat conftest.err
>&5
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); } && {
31329 test -z "$ac_c_werror_flag" ||
31330 test ! -s conftest.err
31331 } && test -s conftest
$ac_exeext &&
31332 $as_test_x conftest
$ac_exeext; then
31333 ac_cv_lib_ICE_IceConnectionNumber
=yes
31335 echo "$as_me: failed program was:" >&5
31336 sed 's/^/| /' conftest.
$ac_ext >&5
31338 ac_cv_lib_ICE_IceConnectionNumber
=no
31341 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31342 conftest
$ac_exeext conftest.
$ac_ext
31343 LIBS
=$ac_check_lib_save_LIBS
31345 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31346 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31347 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31348 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31351 LDFLAGS
=$ac_save_LDFLAGS
31356 if test "$no_x" = "yes"; then
31357 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31358 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31359 { (exit 1); exit 1; }; }
31362 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31363 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31364 AFMINSTALL
=afminstall
31365 COMPILED_X_PROGRAM
=0
31369 if test "$wxUSE_X11" = 1; then
31370 if test "$wxUSE_NANOX" = "yes"; then
31371 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31372 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31373 if test "x$MICROWIN" = x
; then
31374 { echo "$as_me:$LINENO: result: not found" >&5
31375 echo "${ECHO_T}not found" >&6; }
31376 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31377 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31378 { (exit 1); exit 1; }; }
31380 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31381 echo "${ECHO_T}$MICROWIN" >&6; }
31382 cat >>confdefs.h
<<\_ACEOF
31383 #define wxUSE_NANOX 1
31389 if test "$wxUSE_UNICODE" = "yes"; then
31392 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31393 if test -n "$ac_tool_prefix"; then
31394 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31395 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31398 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31399 echo $ECHO_N "(cached) $ECHO_C" >&6
31401 case $PKG_CONFIG in
31403 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31407 for as_dir
in $PATH
31410 test -z "$as_dir" && as_dir
=.
31411 for ac_exec_ext
in '' $ac_executable_extensions; do
31412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31413 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31424 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31425 if test -n "$PKG_CONFIG"; then
31426 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31427 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31429 { echo "$as_me:$LINENO: result: no" >&5
31430 echo "${ECHO_T}no" >&6; }
31435 if test -z "$ac_cv_path_PKG_CONFIG"; then
31436 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31437 # Extract the first word of "pkg-config", so it can be a program name with args.
31438 set dummy pkg
-config; ac_word
=$2
31439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31441 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31442 echo $ECHO_N "(cached) $ECHO_C" >&6
31444 case $ac_pt_PKG_CONFIG in
31446 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31450 for as_dir
in $PATH
31453 test -z "$as_dir" && as_dir
=.
31454 for ac_exec_ext
in '' $ac_executable_extensions; do
31455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31456 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31467 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31468 if test -n "$ac_pt_PKG_CONFIG"; then
31469 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31470 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31472 { echo "$as_me:$LINENO: result: no" >&5
31473 echo "${ECHO_T}no" >&6; }
31476 if test "x$ac_pt_PKG_CONFIG" = x
; then
31479 case $cross_compiling:$ac_tool_warned in
31481 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31482 whose name does not start with the host triplet. If you think this
31483 configuration is useful to you, please write to autoconf@gnu.org." >&5
31484 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31485 whose name does not start with the host triplet. If you think this
31486 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31487 ac_tool_warned
=yes ;;
31489 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31492 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31496 if test -n "$PKG_CONFIG"; then
31497 _pkg_min_version
=0.9.0
31498 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31499 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31500 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31501 { echo "$as_me:$LINENO: result: yes" >&5
31502 echo "${ECHO_T}yes" >&6; }
31504 { echo "$as_me:$LINENO: result: no" >&5
31505 echo "${ECHO_T}no" >&6; }
31513 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31514 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31516 if test -n "$PKG_CONFIG"; then
31517 if test -n "$PANGOX_CFLAGS"; then
31518 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31520 if test -n "$PKG_CONFIG" && \
31521 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31522 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); }; then
31526 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31534 if test -n "$PKG_CONFIG"; then
31535 if test -n "$PANGOX_LIBS"; then
31536 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31538 if test -n "$PKG_CONFIG" && \
31539 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31540 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); }; then
31544 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31555 if test $pkg_failed = yes; then
31557 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31558 _pkg_short_errors_supported
=yes
31560 _pkg_short_errors_supported
=no
31562 if test $_pkg_short_errors_supported = yes; then
31563 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31565 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31567 # Put the nasty error message in config.log where it belongs
31568 echo "$PANGOX_PKG_ERRORS" >&5
31571 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31572 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31573 { (exit 1); exit 1; }; }
31576 elif test $pkg_failed = untried
; then
31578 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31579 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31580 { (exit 1); exit 1; }; }
31584 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31585 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31586 { echo "$as_me:$LINENO: result: yes" >&5
31587 echo "${ECHO_T}yes" >&6; }
31589 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31590 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31591 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31596 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31597 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31599 if test -n "$PKG_CONFIG"; then
31600 if test -n "$PANGOFT2_CFLAGS"; then
31601 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31603 if test -n "$PKG_CONFIG" && \
31604 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31605 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); }; then
31609 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31617 if test -n "$PKG_CONFIG"; then
31618 if test -n "$PANGOFT2_LIBS"; then
31619 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31621 if test -n "$PKG_CONFIG" && \
31622 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31623 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31626 (exit $ac_status); }; then
31627 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31638 if test $pkg_failed = yes; then
31640 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31641 _pkg_short_errors_supported
=yes
31643 _pkg_short_errors_supported
=no
31645 if test $_pkg_short_errors_supported = yes; then
31646 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31648 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31650 # Put the nasty error message in config.log where it belongs
31651 echo "$PANGOFT2_PKG_ERRORS" >&5
31654 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31655 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31656 wxUSE_PRINTING_ARCHITECTURE
="no"
31659 elif test $pkg_failed = untried
; then
31661 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31662 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31663 wxUSE_PRINTING_ARCHITECTURE
="no"
31667 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31668 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31669 { echo "$as_me:$LINENO: result: yes" >&5
31670 echo "${ECHO_T}yes" >&6; }
31672 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31673 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31674 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31679 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31680 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31682 if test -n "$PKG_CONFIG"; then
31683 if test -n "$PANGOXFT_CFLAGS"; then
31684 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31686 if test -n "$PKG_CONFIG" && \
31687 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31688 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31691 (exit $ac_status); }; then
31692 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31700 if test -n "$PKG_CONFIG"; then
31701 if test -n "$PANGOXFT_LIBS"; then
31702 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31704 if test -n "$PKG_CONFIG" && \
31705 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31706 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; then
31710 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31721 if test $pkg_failed = yes; then
31723 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31724 _pkg_short_errors_supported
=yes
31726 _pkg_short_errors_supported
=no
31728 if test $_pkg_short_errors_supported = yes; then
31729 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31731 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31733 # Put the nasty error message in config.log where it belongs
31734 echo "$PANGOXFT_PKG_ERRORS" >&5
31737 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31738 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31741 elif test $pkg_failed = untried
; then
31743 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31744 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31748 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31749 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31750 { echo "$as_me:$LINENO: result: yes" >&5
31751 echo "${ECHO_T}yes" >&6; }
31753 cat >>confdefs.h
<<\_ACEOF
31754 #define HAVE_PANGO_XFT 1
31757 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31758 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31759 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31763 LIBS
="$LIBS $PANGOX_LIBS"
31765 for ac_func
in pango_font_family_is_monospace
31767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31768 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31770 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31771 echo $ECHO_N "(cached) $ECHO_C" >&6
31773 cat >conftest.
$ac_ext <<_ACEOF
31776 cat confdefs.h
>>conftest.
$ac_ext
31777 cat >>conftest.
$ac_ext <<_ACEOF
31778 /* end confdefs.h. */
31779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31781 #define $ac_func innocuous_$ac_func
31783 /* System header to define __stub macros and hopefully few prototypes,
31784 which can conflict with char $ac_func (); below.
31785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31786 <limits.h> exists even on freestanding compilers. */
31789 # include <limits.h>
31791 # include <assert.h>
31796 /* Override any GCC internal prototype to avoid an error.
31797 Use char because int might match the return type of a GCC
31798 builtin and then its argument prototype would still apply. */
31803 /* The GNU C library defines this for functions which it implements
31804 to always fail with ENOSYS. Some functions are actually named
31805 something starting with __ and the normal name is an alias. */
31806 #if defined __stub_$ac_func || defined __stub___$ac_func
31813 return $ac_func ();
31818 rm -f conftest.
$ac_objext conftest
$ac_exeext
31819 if { (ac_try
="$ac_link"
31820 case "(($ac_try" in
31821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31822 *) ac_try_echo=$ac_try;;
31824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31825 (eval "$ac_link") 2>conftest.er1
31827 grep -v '^ *+' conftest.er1 >conftest.err
31829 cat conftest.err >&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); } && {
31832 test -z "$ac_c_werror_flag" ||
31833 test ! -s conftest.err
31834 } && test -s conftest$ac_exeext &&
31835 $as_test_x conftest$ac_exeext; then
31836 eval "$as_ac_var=yes"
31838 echo "$as_me: failed program was:" >&5
31839 sed 's/^/| /' conftest.$ac_ext >&5
31841 eval "$as_ac_var=no"
31844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31845 conftest$ac_exeext conftest.$ac_ext
31847 ac_res=`eval echo '${'$as_ac_var'}'`
31848 { echo "$as_me:$LINENO: result: $ac_res" >&5
31849 echo "${ECHO_T}$ac_res" >&6; }
31850 if test `eval echo '${'$as_ac_var'}'` = yes; then
31851 cat >>confdefs.h <<_ACEOF
31852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31861 wxUSE_UNIVERSAL="yes"
31863 if test "$wxUSE_NANOX" = "yes"; then
31864 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31865 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"
31866 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31868 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31875 if test "$wxUSE_MOTIF" = 1; then
31876 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31877 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31880 for ac_dir in $SEARCH_INCLUDE /usr/include;
31882 if test -f "$ac_dir/Xm/Xm.h"; then
31883 ac_find_includes=$ac_dir
31888 if test "$ac_find_includes" != "" ; then
31889 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31890 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31892 if test "x$ac_find_includes" = "x/usr/include"; then
31893 ac_path_to_include=""
31895 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31897 if test $result = 0; then
31898 ac_path_to_include=""
31900 ac_path_to_include=" -I$ac_find_includes"
31904 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31906 save_CFLAGS=$CFLAGS
31907 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31909 cat >conftest.$ac_ext <<_ACEOF
31912 cat confdefs.h >>conftest.$ac_ext
31913 cat >>conftest.$ac_ext <<_ACEOF
31914 /* end confdefs.h. */
31923 version = xmUseVersion;
31929 rm -f conftest.$ac_objext
31930 if { (ac_try="$ac_compile"
31931 case "(($ac_try" in
31932 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31933 *) ac_try_echo
=$ac_try;;
31935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31936 (eval "$ac_compile") 2>conftest.er1
31938 grep -v '^ *+' conftest.er1
>conftest.err
31940 cat conftest.err
>&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); } && {
31943 test -z "$ac_c_werror_flag" ||
31944 test ! -s conftest.err
31945 } && test -s conftest.
$ac_objext; then
31947 { echo "$as_me:$LINENO: result: found in default search path" >&5
31948 echo "${ECHO_T}found in default search path" >&6; }
31949 COMPILED_X_PROGRAM
=1
31952 echo "$as_me: failed program was:" >&5
31953 sed 's/^/| /' conftest.
$ac_ext >&5
31956 { echo "$as_me:$LINENO: result: no" >&5
31957 echo "${ECHO_T}no" >&6; }
31958 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31959 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31960 { (exit 1); exit 1; }; }
31965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31967 CFLAGS
=$save_CFLAGS
31971 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31972 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31975 for ac_dir
in $SEARCH_LIB;
31977 for ac_extension
in a so sl dylib dll.a
; do
31978 if test -f "$ac_dir/libXm.$ac_extension"; then
31979 ac_find_libraries
=$ac_dir
31986 if test "x$ac_find_libraries" != "x" ; then
31987 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31988 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31991 if test "$ac_find_libraries" = "default location"; then
31994 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31996 if test $result = 0; then
31999 ac_path_to_link
=" -L$ac_find_libraries"
32003 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32005 save_CFLAGS
=$CFLAGS
32006 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32008 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32010 cat >conftest.
$ac_ext <<_ACEOF
32013 cat confdefs.h
>>conftest.
$ac_ext
32014 cat >>conftest.
$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32024 version = xmUseVersion;
32030 rm -f conftest.
$ac_objext conftest
$ac_exeext
32031 if { (ac_try
="$ac_link"
32032 case "(($ac_try" in
32033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32034 *) ac_try_echo=$ac_try;;
32036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32037 (eval "$ac_link") 2>conftest.er1
32039 grep -v '^ *+' conftest.er1 >conftest.err
32041 cat conftest.err >&5
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); } && {
32044 test -z "$ac_c_werror_flag" ||
32045 test ! -s conftest.err
32046 } && test -s conftest$ac_exeext &&
32047 $as_test_x conftest$ac_exeext; then
32049 { echo "$as_me:$LINENO: result: found in default search path" >&5
32050 echo "${ECHO_T}found in default search path" >&6; }
32051 COMPILED_X_PROGRAM=1
32054 echo "$as_me: failed program was:" >&5
32055 sed 's/^/| /' conftest.$ac_ext >&5
32058 { echo "$as_me:$LINENO: result: no" >&5
32059 echo "${ECHO_T}no" >&6; }
32060 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32061 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32062 { (exit 1); exit 1; }; }
32067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32068 conftest$ac_exeext conftest.$ac_ext
32070 CFLAGS=$save_CFLAGS
32074 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32075 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32079 for libp in "" " -lXp"; do
32080 if test "$libs_found" = 0; then
32081 for libsm_ice in "" " -lSM -lICE"; do
32082 if test "$libs_found" = 0; then
32084 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32085 save_CFLAGS=$CFLAGS
32086 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32088 cat >conftest.$ac_ext <<_ACEOF
32091 cat confdefs.h >>conftest.$ac_ext
32092 cat >>conftest.$ac_ext <<_ACEOF
32093 /* end confdefs.h. */
32096 #include <Xm/List.h>
32102 XmString string = NULL;
32105 XmListAddItem(w, string, position);
32111 rm -f conftest.$ac_objext conftest$ac_exeext
32112 if { (ac_try="$ac_link"
32113 case "(($ac_try" in
32114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32115 *) ac_try_echo
=$ac_try;;
32117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32118 (eval "$ac_link") 2>conftest.er1
32120 grep -v '^ *+' conftest.er1
>conftest.err
32122 cat conftest.err
>&5
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); } && {
32125 test -z "$ac_c_werror_flag" ||
32126 test ! -s conftest.err
32127 } && test -s conftest
$ac_exeext &&
32128 $as_test_x conftest
$ac_exeext; then
32131 libsm_ice_link
="$libsm_ice"
32132 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32133 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32137 echo "$as_me: failed program was:" >&5
32138 sed 's/^/| /' conftest.
$ac_ext >&5
32144 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32145 conftest
$ac_exeext conftest.
$ac_ext
32148 CFLAGS
=$save_CFLAGS
32154 if test "$libs_found" = 0; then
32155 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32156 echo "${ECHO_T}can't find the right libraries" >&6; }
32157 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32158 echo "$as_me: error: can't link a simple motif program" >&2;}
32159 { (exit 1); exit 1; }; }
32162 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32163 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32164 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32165 echo $ECHO_N "(cached) $ECHO_C" >&6
32167 ac_check_lib_save_LIBS
=$LIBS
32169 cat >conftest.
$ac_ext <<_ACEOF
32172 cat confdefs.h
>>conftest.
$ac_ext
32173 cat >>conftest.
$ac_ext <<_ACEOF
32174 /* end confdefs.h. */
32176 /* Override any GCC internal prototype to avoid an error.
32177 Use char because int might match the return type of a GCC
32178 builtin and then its argument prototype would still apply. */
32182 char SgCreateList ();
32186 return SgCreateList ();
32191 rm -f conftest.
$ac_objext conftest
$ac_exeext
32192 if { (ac_try
="$ac_link"
32193 case "(($ac_try" in
32194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32195 *) ac_try_echo=$ac_try;;
32197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32198 (eval "$ac_link") 2>conftest.er1
32200 grep -v '^ *+' conftest.er1 >conftest.err
32202 cat conftest.err >&5
32203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204 (exit $ac_status); } && {
32205 test -z "$ac_c_werror_flag" ||
32206 test ! -s conftest.err
32207 } && test -s conftest$ac_exeext &&
32208 $as_test_x conftest$ac_exeext; then
32209 ac_cv_lib_Sgm_SgCreateList=yes
32211 echo "$as_me: failed program was:" >&5
32212 sed 's/^/| /' conftest.$ac_ext >&5
32214 ac_cv_lib_Sgm_SgCreateList=no
32217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32218 conftest$ac_exeext conftest.$ac_ext
32219 LIBS=$ac_check_lib_save_LIBS
32221 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32222 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32223 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32224 libsgm_link=" -lSgm"
32228 save_CFLAGS=$CFLAGS
32229 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32231 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32232 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32233 if test "${wx_cv_lib_motif2+set}" = set; then
32234 echo $ECHO_N "(cached) $ECHO_C" >&6
32236 cat >conftest.$ac_ext <<_ACEOF
32239 cat confdefs.h >>conftest.$ac_ext
32240 cat >>conftest.$ac_ext <<_ACEOF
32241 /* end confdefs.h. */
32249 #if XmVersion < 2000
32257 rm -f conftest.$ac_objext
32258 if { (ac_try="$ac_compile"
32259 case "(($ac_try" in
32260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32261 *) ac_try_echo
=$ac_try;;
32263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32264 (eval "$ac_compile") 2>conftest.er1
32266 grep -v '^ *+' conftest.er1
>conftest.err
32268 cat conftest.err
>&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); } && {
32271 test -z "$ac_c_werror_flag" ||
32272 test ! -s conftest.err
32273 } && test -s conftest.
$ac_objext; then
32274 wx_cv_lib_motif2
="yes"
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.
$ac_ext >&5
32279 wx_cv_lib_motif2
="no"
32282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32284 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32285 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32286 if test "$wx_cv_lib_motif2" = "yes"; then
32287 cat >>confdefs.h
<<\_ACEOF
32288 #define __WXMOTIF20__ 1
32292 cat >>confdefs.h
<<\_ACEOF
32293 #define __WXMOTIF20__ 0
32298 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32299 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32300 if test "${wx_cv_lib_lesstif+set}" = set; then
32301 echo $ECHO_N "(cached) $ECHO_C" >&6
32303 cat >conftest.
$ac_ext <<_ACEOF
32306 cat confdefs.h
>>conftest.
$ac_ext
32307 cat >>conftest.
$ac_ext <<_ACEOF
32308 /* end confdefs.h. */
32316 #if !defined(LesstifVersion) || LesstifVersion <= 0
32324 rm -f conftest.
$ac_objext
32325 if { (ac_try
="$ac_compile"
32326 case "(($ac_try" in
32327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32328 *) ac_try_echo=$ac_try;;
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_compile") 2>conftest.er1
32333 grep -v '^ *+' conftest.er1 >conftest.err
32335 cat conftest.err >&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } && {
32338 test -z "$ac_c_werror_flag" ||
32339 test ! -s conftest.err
32340 } && test -s conftest.$ac_objext; then
32341 wx_cv_lib_lesstif="yes"
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.$ac_ext >&5
32346 wx_cv_lib_lesstif="no"
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32352 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32353 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32354 if test "$wx_cv_lib_lesstif" = "yes"; then
32355 cat >>confdefs.h <<\_ACEOF
32356 #define __WXLESSTIF__ 1
32360 cat >>confdefs.h <<\_ACEOF
32361 #define __WXLESSTIF__ 0
32366 CFLAGS=$save_CFLAGS
32368 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32373 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32374 if test "$wxUSE_LIBXPM" = "sys"; then
32375 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32376 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32379 for ac_dir in $SEARCH_LIB;
32381 for ac_extension in a so sl dylib dll.a; do
32382 if test -f "$ac_dir/libXpm.$ac_extension"; then
32383 ac_find_libraries=$ac_dir
32389 if test "$ac_find_libraries" != "" ; then
32391 if test "$ac_find_libraries" = "default location"; then
32394 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32396 if test $result = 0; then
32399 ac_path_to_link=" -L$ac_find_libraries"
32403 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32404 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32405 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32407 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32408 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32409 if test "${wx_cv_x11_xpm_h+set}" = set; then
32410 echo $ECHO_N "(cached) $ECHO_C" >&6
32413 save_CFLAGS=$CFLAGS
32414 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32416 cat >conftest.$ac_ext <<_ACEOF
32419 cat confdefs.h >>conftest.$ac_ext
32420 cat >>conftest.$ac_ext <<_ACEOF
32421 /* end confdefs.h. */
32423 #include <X11/xpm.h>
32430 version = XpmLibraryVersion();
32436 rm -f conftest.$ac_objext
32437 if { (ac_try="$ac_compile"
32438 case "(($ac_try" in
32439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32440 *) ac_try_echo
=$ac_try;;
32442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32443 (eval "$ac_compile") 2>conftest.er1
32445 grep -v '^ *+' conftest.er1
>conftest.err
32447 cat conftest.err
>&5
32448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32449 (exit $ac_status); } && {
32450 test -z "$ac_c_werror_flag" ||
32451 test ! -s conftest.err
32452 } && test -s conftest.
$ac_objext; then
32453 wx_cv_x11_xpm_h
=yes
32455 echo "$as_me: failed program was:" >&5
32456 sed 's/^/| /' conftest.
$ac_ext >&5
32462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32464 CFLAGS
=$save_CFLAGS
32468 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32469 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32471 if test $wx_cv_x11_xpm_h = "yes"; then
32472 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32473 cat >>confdefs.h
<<\_ACEOF
32474 #define wxHAVE_LIB_XPM 1
32478 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32479 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32485 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32486 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32487 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32488 echo $ECHO_N "(cached) $ECHO_C" >&6
32490 ac_check_lib_save_LIBS
=$LIBS
32491 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32492 cat >conftest.
$ac_ext <<_ACEOF
32495 cat confdefs.h
>>conftest.
$ac_ext
32496 cat >>conftest.
$ac_ext <<_ACEOF
32497 /* end confdefs.h. */
32499 /* Override any GCC internal prototype to avoid an error.
32500 Use char because int might match the return type of a GCC
32501 builtin and then its argument prototype would still apply. */
32505 char XShapeQueryExtension ();
32509 return XShapeQueryExtension ();
32514 rm -f conftest.
$ac_objext conftest
$ac_exeext
32515 if { (ac_try
="$ac_link"
32516 case "(($ac_try" in
32517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32518 *) ac_try_echo=$ac_try;;
32520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32521 (eval "$ac_link") 2>conftest.er1
32523 grep -v '^ *+' conftest.er1 >conftest.err
32525 cat conftest.err >&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); } && {
32528 test -z "$ac_c_werror_flag" ||
32529 test ! -s conftest.err
32530 } && test -s conftest$ac_exeext &&
32531 $as_test_x conftest$ac_exeext; then
32532 ac_cv_lib_Xext_XShapeQueryExtension=yes
32534 echo "$as_me: failed program was:" >&5
32535 sed 's/^/| /' conftest.$ac_ext >&5
32537 ac_cv_lib_Xext_XShapeQueryExtension=no
32540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32541 conftest$ac_exeext conftest.$ac_ext
32542 LIBS=$ac_check_lib_save_LIBS
32544 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32545 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32546 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32548 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32554 if test "$wxHAVE_XEXT_LIB" = 1; then
32555 save_CFLAGS="$CFLAGS"
32556 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32558 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32559 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32560 cat >conftest.$ac_ext <<_ACEOF
32563 cat confdefs.h >>conftest.$ac_ext
32564 cat >>conftest.$ac_ext <<_ACEOF
32565 /* end confdefs.h. */
32567 #include <X11/Xlib.h>
32568 #include <X11/extensions/shape.h>
32574 int dummy1, dummy2;
32575 XShapeQueryExtension((Display*)NULL,
32576 (int*)NULL, (int*)NULL);
32582 rm -f conftest.$ac_objext
32583 if { (ac_try="$ac_compile"
32584 case "(($ac_try" in
32585 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32586 *) ac_try_echo
=$ac_try;;
32588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32589 (eval "$ac_compile") 2>conftest.er1
32591 grep -v '^ *+' conftest.er1
>conftest.err
32593 cat conftest.err
>&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); } && {
32596 test -z "$ac_c_werror_flag" ||
32597 test ! -s conftest.err
32598 } && test -s conftest.
$ac_objext; then
32600 cat >>confdefs.h
<<\_ACEOF
32601 #define HAVE_XSHAPE 1
32604 { echo "$as_me:$LINENO: result: found" >&5
32605 echo "${ECHO_T}found" >&6; }
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.
$ac_ext >&5
32612 { echo "$as_me:$LINENO: result: not found" >&5
32613 echo "${ECHO_T}not found" >&6; }
32617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32618 CFLAGS
="$save_CFLAGS"
32623 if test "$wxUSE_OSX_CARBON" = 1; then
32624 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32625 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32626 if test "$GCC" = yes; then
32627 { echo "$as_me:$LINENO: result: gcc" >&5
32628 echo "${ECHO_T}gcc" >&6; }
32629 CPPFLAGS_PASCAL
="-fpascal-strings"
32630 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32631 { echo "$as_me:$LINENO: result: xlc" >&5
32632 echo "${ECHO_T}xlc" >&6; }
32633 CPPFLAGS_PASCAL
="-qmacpstr"
32635 { echo "$as_me:$LINENO: result: none" >&5
32636 echo "${ECHO_T}none" >&6; }
32639 if test "x$wxUSE_UNIX" = "xyes"; then
32640 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32642 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32646 GUIDIST
=OSX_CARBON_DIST
32647 WXBASEPORT
="_carbon"
32650 if test "$wxUSE_OSX_COCOA" = 1; then
32652 GUIDIST
=OSX_COCOA_DIST
32655 if test "$wxUSE_COCOA" = 1; then
32660 if test "$wxUSE_PM" = 1; then
32663 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32664 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32665 if test "${wx_cv_spbcdata+set}" = set; then
32666 echo $ECHO_N "(cached) $ECHO_C" >&6
32669 cat >conftest.
$ac_ext <<_ACEOF
32672 cat confdefs.h
>>conftest.
$ac_ext
32673 cat >>conftest.
$ac_ext <<_ACEOF
32674 /* end confdefs.h. */
32689 rm -f conftest.
$ac_objext
32690 if { (ac_try
="$ac_compile"
32691 case "(($ac_try" in
32692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32693 *) ac_try_echo=$ac_try;;
32695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32696 (eval "$ac_compile") 2>conftest.er1
32698 grep -v '^ *+' conftest.er1 >conftest.err
32700 cat conftest.err >&5
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); } && {
32703 test -z "$ac_c_werror_flag" ||
32704 test ! -s conftest.err
32705 } && test -s conftest.$ac_objext; then
32708 echo "$as_me: failed program was:" >&5
32709 sed 's/^/| /' conftest.$ac_ext >&5
32715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32719 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32720 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32722 if test $wx_cv_spbcdata = "yes"; then
32723 cat >>confdefs.h <<\_ACEOF
32724 #define HAVE_SPBCDATA 1
32730 if test "$TOOLKIT" = "PM" ; then
32733 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32736 if test "$wxUSE_UNIVERSAL" = "yes"; then
32737 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32741 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32742 DISTDIR="wx\$(TOOLKIT)"
32748 if test "$USE_WIN32" = 1 ; then
32752 GUIDIST="BASE_DIST"
32758 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32759 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32760 wxUSE_UNICODE_UTF8=yes
32761 elif test "$USE_OS2" = 1 ; then
32762 wxUSE_UNICODE_UTF8=yes
32764 wxUSE_UNICODE_UTF8=no
32769 if test "$wxUSE_GUI" = "yes"; then
32770 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32772 for ac_header in X11/Xlib.h
32774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32778 echo $ECHO_N "(cached) $ECHO_C" >&6
32780 cat >conftest.$ac_ext <<_ACEOF
32783 cat confdefs.h >>conftest.$ac_ext
32784 cat >>conftest.$ac_ext <<_ACEOF
32785 /* end confdefs.h. */
32788 #include <$ac_header>
32790 rm -f conftest.$ac_objext
32791 if { (ac_try="$ac_compile"
32792 case "(($ac_try" in
32793 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32794 *) ac_try_echo
=$ac_try;;
32796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32797 (eval "$ac_compile") 2>conftest.er1
32799 grep -v '^ *+' conftest.er1
>conftest.err
32801 cat conftest.err
>&5
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); } && {
32804 test -z "$ac_c_werror_flag" ||
32805 test ! -s conftest.err
32806 } && test -s conftest.
$ac_objext; then
32807 eval "$as_ac_Header=yes"
32809 echo "$as_me: failed program was:" >&5
32810 sed 's/^/| /' conftest.
$ac_ext >&5
32812 eval "$as_ac_Header=no"
32815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32817 ac_res
=`eval echo '${'$as_ac_Header'}'`
32818 { echo "$as_me:$LINENO: result: $ac_res" >&5
32819 echo "${ECHO_T}$ac_res" >&6; }
32820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32821 cat >>confdefs.h
<<_ACEOF
32822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32830 for ac_header
in X
11/XKBlib.h
32832 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32833 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32835 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32836 echo $ECHO_N "(cached) $ECHO_C" >&6
32838 cat >conftest.
$ac_ext <<_ACEOF
32841 cat confdefs.h
>>conftest.
$ac_ext
32842 cat >>conftest.
$ac_ext <<_ACEOF
32843 /* end confdefs.h. */
32845 #if HAVE_X11_XLIB_H
32846 #include <X11/Xlib.h>
32850 #include <$ac_header>
32852 rm -f conftest.
$ac_objext
32853 if { (ac_try
="$ac_compile"
32854 case "(($ac_try" in
32855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32856 *) ac_try_echo=$ac_try;;
32858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32859 (eval "$ac_compile") 2>conftest.er1
32861 grep -v '^ *+' conftest.er1 >conftest.err
32863 cat conftest.err >&5
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); } && {
32866 test -z "$ac_c_werror_flag" ||
32867 test ! -s conftest.err
32868 } && test -s conftest.$ac_objext; then
32869 eval "$as_ac_Header=yes"
32871 echo "$as_me: failed program was:" >&5
32872 sed 's/^/| /' conftest.$ac_ext >&5
32874 eval "$as_ac_Header=no"
32877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32879 ac_res=`eval echo '${'$as_ac_Header'}'`
32880 { echo "$as_me:$LINENO: result: $ac_res" >&5
32881 echo "${ECHO_T}$ac_res" >&6; }
32882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32883 cat >>confdefs.h <<_ACEOF
32884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32896 if test "$wxUSE_DISPLAY" = "yes"; then
32897 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32898 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32899 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32902 for ac_dir in $SEARCH_LIB;
32904 for ac_extension in a so sl dylib dll.a; do
32905 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32906 ac_find_libraries=$ac_dir
32912 if test "$ac_find_libraries" != "" ; then
32914 if test "$ac_find_libraries" = "default location"; then
32917 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32919 if test $result = 0; then
32922 ac_path_to_link=" -L$ac_find_libraries"
32926 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32927 LDFLAGS="$LDFLAGS $ac_path_to_link"
32929 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32930 { echo "$as_me:$LINENO: result: yes" >&5
32931 echo "${ECHO_T}yes" >&6; }
32933 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32934 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32937 for ac_dir in $SEARCH_LIB;
32939 for ac_extension in a so sl dylib dll.a; do
32940 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32941 ac_find_libraries=$ac_dir
32947 if test "$ac_find_libraries" != "" ; then
32948 { echo "$as_me:$LINENO: result: yes" >&5
32949 echo "${ECHO_T}yes" >&6; }
32951 for ac_header in X11/extensions/xf86vmode.h
32953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32954 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32956 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32957 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 cat >conftest.$ac_ext <<_ACEOF
32962 cat confdefs.h >>conftest.$ac_ext
32963 cat >>conftest.$ac_ext <<_ACEOF
32964 /* end confdefs.h. */
32966 #if HAVE_X11_XLIB_H
32967 #include <X11/Xlib.h>
32971 #include <$ac_header>
32973 rm -f conftest.$ac_objext
32974 if { (ac_try="$ac_compile"
32975 case "(($ac_try" in
32976 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32977 *) ac_try_echo
=$ac_try;;
32979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32980 (eval "$ac_compile") 2>conftest.er1
32982 grep -v '^ *+' conftest.er1
>conftest.err
32984 cat conftest.err
>&5
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); } && {
32987 test -z "$ac_c_werror_flag" ||
32988 test ! -s conftest.err
32989 } && test -s conftest.
$ac_objext; then
32990 eval "$as_ac_Header=yes"
32992 echo "$as_me: failed program was:" >&5
32993 sed 's/^/| /' conftest.
$ac_ext >&5
32995 eval "$as_ac_Header=no"
32998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33000 ac_res
=`eval echo '${'$as_ac_Header'}'`
33001 { echo "$as_me:$LINENO: result: $ac_res" >&5
33002 echo "${ECHO_T}$ac_res" >&6; }
33003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33004 cat >>confdefs.h
<<_ACEOF
33005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33008 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33015 { echo "$as_me:$LINENO: result: no" >&5
33016 echo "${ECHO_T}no" >&6; }
33020 { echo "$as_me:$LINENO: result: no" >&5
33021 echo "${ECHO_T}no" >&6; }
33022 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33023 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33026 elif test "$wxUSE_MSW" = 1; then
33027 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33028 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33029 if test "${ac_cv_header_ddraw_h+set}" = set; then
33030 echo $ECHO_N "(cached) $ECHO_C" >&6
33032 cat >conftest.
$ac_ext <<_ACEOF
33035 cat confdefs.h
>>conftest.
$ac_ext
33036 cat >>conftest.
$ac_ext <<_ACEOF
33037 /* end confdefs.h. */
33038 #include <windows.h>
33042 rm -f conftest.
$ac_objext
33043 if { (ac_try
="$ac_compile"
33044 case "(($ac_try" in
33045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33046 *) ac_try_echo=$ac_try;;
33048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33049 (eval "$ac_compile") 2>conftest.er1
33051 grep -v '^ *+' conftest.er1 >conftest.err
33053 cat conftest.err >&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); } && {
33056 test -z "$ac_c_werror_flag" ||
33057 test ! -s conftest.err
33058 } && test -s conftest.$ac_objext; then
33059 ac_cv_header_ddraw_h=yes
33061 echo "$as_me: failed program was:" >&5
33062 sed 's/^/| /' conftest.$ac_ext >&5
33064 ac_cv_header_ddraw_h=no
33067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33069 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33070 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33076 if test "$wxUSE_DETECT_SM" = "yes"; then
33077 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33078 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33079 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33082 for ac_dir in $SEARCH_LIB;
33084 for ac_extension in a so sl dylib dll.a; do
33085 if test -f "$ac_dir/libSM.$ac_extension"; then
33086 ac_find_libraries=$ac_dir
33092 if test "$ac_find_libraries" != "" ; then
33094 if test "$ac_find_libraries" = "default location"; then
33097 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33099 if test $result = 0; then
33102 ac_path_to_link=" -L$ac_find_libraries"
33106 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33107 LDFLAGS="$LDFLAGS $ac_path_to_link"
33109 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33110 { echo "$as_me:$LINENO: result: yes" >&5
33111 echo "${ECHO_T}yes" >&6; }
33113 { echo "$as_me:$LINENO: result: no" >&5
33114 echo "${ECHO_T}no" >&6; }
33115 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33116 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33117 wxUSE_DETECT_SM="no"
33120 wxUSE_DETECT_SM="no"
33127 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33130 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33131 OPENGL_LIBS="-framework OpenGL -framework AGL"
33132 elif test "$wxUSE_MSW" = 1; then
33133 OPENGL_LIBS="-lopengl32 -lglu32"
33134 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33136 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33137 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33140 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33142 if test -f "$ac_dir/GL/gl.h"; then
33143 ac_find_includes=$ac_dir
33148 if test "$ac_find_includes" != "" ; then
33149 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33150 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33152 if test "x$ac_find_includes" = "x/usr/include"; then
33153 ac_path_to_include=""
33155 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33157 if test $result = 0; then
33158 ac_path_to_include=""
33160 ac_path_to_include=" -I$ac_find_includes"
33164 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33166 { echo "$as_me:$LINENO: result: not found" >&5
33167 echo "${ECHO_T}not found" >&6; }
33170 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33171 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33172 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33173 echo $ECHO_N "(cached) $ECHO_C" >&6
33175 cat >conftest.$ac_ext <<_ACEOF
33178 cat confdefs.h >>conftest.$ac_ext
33179 cat >>conftest.$ac_ext <<_ACEOF
33180 /* end confdefs.h. */
33185 rm -f conftest.$ac_objext
33186 if { (ac_try="$ac_compile"
33187 case "(($ac_try" in
33188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33189 *) ac_try_echo
=$ac_try;;
33191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33192 (eval "$ac_compile") 2>conftest.er1
33194 grep -v '^ *+' conftest.er1
>conftest.err
33196 cat conftest.err
>&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); } && {
33199 test -z "$ac_c_werror_flag" ||
33200 test ! -s conftest.err
33201 } && test -s conftest.
$ac_objext; then
33202 ac_cv_header_GL_gl_h
=yes
33204 echo "$as_me: failed program was:" >&5
33205 sed 's/^/| /' conftest.
$ac_ext >&5
33207 ac_cv_header_GL_gl_h
=no
33210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33212 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33213 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33214 if test $ac_cv_header_GL_gl_h = yes; then
33216 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33217 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33218 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33219 echo $ECHO_N "(cached) $ECHO_C" >&6
33221 cat >conftest.
$ac_ext <<_ACEOF
33224 cat confdefs.h
>>conftest.
$ac_ext
33225 cat >>conftest.
$ac_ext <<_ACEOF
33226 /* end confdefs.h. */
33229 #include <GL/glu.h>
33231 rm -f conftest.
$ac_objext
33232 if { (ac_try
="$ac_compile"
33233 case "(($ac_try" in
33234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33235 *) ac_try_echo=$ac_try;;
33237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33238 (eval "$ac_compile") 2>conftest.er1
33240 grep -v '^ *+' conftest.er1 >conftest.err
33242 cat conftest.err >&5
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); } && {
33245 test -z "$ac_c_werror_flag" ||
33246 test ! -s conftest.err
33247 } && test -s conftest.$ac_objext; then
33248 ac_cv_header_GL_glu_h=yes
33250 echo "$as_me: failed program was:" >&5
33251 sed 's/^/| /' conftest.$ac_ext >&5
33253 ac_cv_header_GL_glu_h=no
33256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33258 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33259 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33260 if test $ac_cv_header_GL_glu_h = yes; then
33264 { echo "$as_me:$LINENO: checking for -lGL" >&5
33265 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33268 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33270 for ac_extension in a so sl dylib dll.a; do
33271 if test -f "$ac_dir/libGL.$ac_extension"; then
33272 ac_find_libraries=$ac_dir
33278 if test "$ac_find_libraries" != "" ; then
33279 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33280 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33283 if test "$ac_find_libraries" = "default location"; then
33286 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33288 if test $result = 0; then
33291 ac_path_to_link=" -L$ac_find_libraries"
33295 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33296 LDFLAGS_GL="$ac_path_to_link"
33299 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33300 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33303 for ac_dir in $SEARCH_LIB;
33305 for ac_extension in a so sl dylib dll.a; do
33306 if test -f "$ac_dir/libGLU.$ac_extension"; then
33307 ac_find_libraries=$ac_dir
33313 if test "$ac_find_libraries" != "" ; then
33315 if test "$ac_find_libraries" = "default location"; then
33318 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33320 if test $result = 0; then
33323 ac_path_to_link=" -L$ac_find_libraries"
33327 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33328 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33329 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33333 OPENGL_LIBS="-lGL -lGLU"
33334 { echo "$as_me:$LINENO: result: yes" >&5
33335 echo "${ECHO_T}yes" >&6; }
33337 { echo "$as_me:$LINENO: result: no" >&5
33338 echo "${ECHO_T}no" >&6; }
33341 { echo "$as_me:$LINENO: result: no" >&5
33342 echo "${ECHO_T}no" >&6; }
33345 if test "$found_gl" != 1; then
33346 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33347 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33350 for ac_dir in $SEARCH_LIB;
33352 for ac_extension in a so sl dylib dll.a; do
33353 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33354 ac_find_libraries=$ac_dir
33360 if test "$ac_find_libraries" != "" ; then
33362 if test "$ac_find_libraries" = "default location"; then
33365 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33367 if test $result = 0; then
33370 ac_path_to_link=" -L$ac_find_libraries"
33374 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33375 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33376 { echo "$as_me:$LINENO: result: yes" >&5
33377 echo "${ECHO_T}yes" >&6; }
33379 { echo "$as_me:$LINENO: result: no" >&5
33380 echo "${ECHO_T}no" >&6; }
33392 if test "x$OPENGL_LIBS" = "x"; then
33393 if test "$wxUSE_OPENGL" = "yes"; then
33394 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33395 echo "$as_me: error: OpenGL libraries not available" >&2;}
33396 { (exit 1); exit 1; }; }
33398 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33399 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33407 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33408 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33412 if test "$wxUSE_OPENGL" = "yes"; then
33414 cat >>confdefs.h <<\_ACEOF
33415 #define wxUSE_OPENGL 1
33418 cat >>confdefs.h <<\_ACEOF
33419 #define wxUSE_GLCANVAS 1
33422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33427 if test -n "$TOOLKIT" ; then
33428 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33433 if test "$wxUSE_SHARED" = "yes"; then
33437 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33438 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33443 if test "$wxUSE_SHARED" = "yes"; then
33447 *-*-cygwin* | *-*-mingw* )
33448 wx_cv_version_script=no
33452 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33453 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33454 if test "${wx_cv_version_script+set}" = set; then
33455 echo $ECHO_N "(cached) $ECHO_C" >&6
33458 echo "VER_1 { *; };" >conftest.sym
33459 echo "int main() { return 0; }" >conftest.cpp
33462 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33463 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33465 (eval $ac_try) 2>&5
33467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33468 (exit $ac_status); }; } ; then
33469 if test -s conftest.stderr ; then
33470 wx_cv_version_script=no
33472 wx_cv_version_script=yes
33475 wx_cv_version_script=no
33478 if test $wx_cv_version_script = yes
33480 echo "struct B { virtual ~B() { } }; \
33481 struct D : public B { }; \
33482 void F() { D d; }" > conftest.cpp
33485 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33486 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33488 (eval $ac_try) 2>&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); }; } &&
33493 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33494 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33496 (eval $ac_try) 2>&5
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); }; }
33502 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33503 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33505 (eval $ac_try) 2>&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); }; }
33510 wx_cv_version_script=yes
33512 wx_cv_version_script=no
33517 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33518 rm -f conftest1.output conftest2.output conftest3.output
33521 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33522 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33524 if test $wx_cv_version_script = yes ; then
33525 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33531 if test "$wxUSE_VISIBILITY" != "no"; then
33534 if test -n "$GCC"; then
33535 CFLAGS_VISIBILITY="-fvisibility=hidden"
33536 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33537 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33538 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33539 if test "${wx_cv_cc_visibility+set}" = set; then
33540 echo $ECHO_N "(cached) $ECHO_C" >&6
33543 wx_save_CXXFLAGS="$CXXFLAGS"
33544 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33546 ac_cpp='$CXXCPP $CPPFLAGS'
33547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33551 cat >conftest.$ac_ext <<_ACEOF
33554 cat confdefs.h >>conftest.$ac_ext
33555 cat >>conftest.$ac_ext <<_ACEOF
33556 /* end confdefs.h. */
33558 /* we need gcc >= 4.0, older versions with visibility support
33559 didn't have class visibility: */
33560 #if defined(__GNUC__) && __GNUC__ < 4
33561 error this gcc is too old;
33564 /* visibility only makes sense for ELF shared libs: */
33565 #if !defined(__ELF__) && !defined(__APPLE__)
33566 error this platform has no visibility;
33569 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33570 extern __attribute__((__visibility__("default"))) int exportedvar;
33571 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33572 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33573 class __attribute__((__visibility__("default"))) Foo {
33585 rm -f conftest.$ac_objext
33586 if { (ac_try="$ac_compile"
33587 case "(($ac_try" in
33588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33589 *) ac_try_echo
=$ac_try;;
33591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33592 (eval "$ac_compile") 2>conftest.er1
33594 grep -v '^ *+' conftest.er1
>conftest.err
33596 cat conftest.err
>&5
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); } && {
33599 test -z "$ac_cxx_werror_flag" ||
33600 test ! -s conftest.err
33601 } && test -s conftest.
$ac_objext; then
33602 wx_cv_cc_visibility
=yes
33604 echo "$as_me: failed program was:" >&5
33605 sed 's/^/| /' conftest.
$ac_ext >&5
33607 wx_cv_cc_visibility
=no
33610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33612 ac_cpp
='$CPP $CPPFLAGS'
33613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33617 CXXFLAGS
="$wx_save_CXXFLAGS"
33620 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33621 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33622 if test $wx_cv_cc_visibility = yes; then
33623 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33624 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33625 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33626 echo $ECHO_N "(cached) $ECHO_C" >&6
33629 wx_save_CXXFLAGS
="$CXXFLAGS"
33630 wx_save_LDFLAGS
="$LDFLAGS"
33631 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33632 LDFLAGS
="$LDFLAGS -shared -fPIC"
33634 ac_cpp
='$CXXCPP $CPPFLAGS'
33635 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33636 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33637 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33639 cat >conftest.
$ac_ext <<_ACEOF
33642 cat confdefs.h
>>conftest.
$ac_ext
33643 cat >>conftest.
$ac_ext <<_ACEOF
33644 /* end confdefs.h. */
33652 std::string s("hello");
33659 rm -f conftest.
$ac_objext conftest
$ac_exeext
33660 if { (ac_try
="$ac_link"
33661 case "(($ac_try" in
33662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33663 *) ac_try_echo=$ac_try;;
33665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33666 (eval "$ac_link") 2>conftest.er1
33668 grep -v '^ *+' conftest.er1 >conftest.err
33670 cat conftest.err >&5
33671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33672 (exit $ac_status); } && {
33673 test -z "$ac_cxx_werror_flag" ||
33674 test ! -s conftest.err
33675 } && test -s conftest$ac_exeext &&
33676 $as_test_x conftest$ac_exeext; then
33677 wx_cv_cc_broken_libstdcxx_visibility=no
33679 echo "$as_me: failed program was:" >&5
33680 sed 's/^/| /' conftest.$ac_ext >&5
33682 wx_cv_cc_broken_libstdcxx_visibility=yes
33685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33686 conftest$ac_exeext conftest.$ac_ext
33688 ac_cpp='$CPP $CPPFLAGS'
33689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33693 CXXFLAGS="$wx_save_CXXFLAGS"
33694 LDFLAGS="$wx_save_LDFLAGS"
33697 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33698 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33700 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33701 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33702 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33703 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33704 echo $ECHO_N "(cached) $ECHO_C" >&6
33708 ac_cpp='$CXXCPP $CPPFLAGS'
33709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33713 cat >conftest.$ac_ext <<_ACEOF
33716 cat confdefs.h >>conftest.$ac_ext
33717 cat >>conftest.$ac_ext <<_ACEOF
33718 /* end confdefs.h. */
33720 #pragma GCC visibility push(default)
33722 #pragma GCC visibility pop
33728 std::string s("hello");
33735 rm -f conftest.$ac_objext conftest$ac_exeext
33736 if { (ac_try="$ac_link"
33737 case "(($ac_try" in
33738 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33739 *) ac_try_echo
=$ac_try;;
33741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33742 (eval "$ac_link") 2>conftest.er1
33744 grep -v '^ *+' conftest.er1
>conftest.err
33746 cat conftest.err
>&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); } && {
33749 test -z "$ac_cxx_werror_flag" ||
33750 test ! -s conftest.err
33751 } && test -s conftest
$ac_exeext &&
33752 $as_test_x conftest
$ac_exeext; then
33753 wx_cv_cc_visibility_workaround
=no
33755 echo "$as_me: failed program was:" >&5
33756 sed 's/^/| /' conftest.
$ac_ext >&5
33758 wx_cv_cc_visibility_workaround
=yes
33761 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33762 conftest
$ac_exeext conftest.
$ac_ext
33764 ac_cpp
='$CPP $CPPFLAGS'
33765 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33766 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33767 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33772 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33773 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33775 if test $wx_cv_cc_visibility_workaround = no
; then
33776 wx_cv_cc_visibility
=no
33781 if test $wx_cv_cc_visibility = yes; then
33782 cat >>confdefs.h
<<\_ACEOF
33783 #define HAVE_VISIBILITY 1
33786 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33787 cat >>confdefs.h
<<\_ACEOF
33788 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33793 CFLAGS_VISIBILITY
=""
33794 CXXFLAGS_VISIBILITY
=""
33802 if test "x$SUNCXX" = xyes
; then
33803 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33804 WXCONFIG_RPATH
="-R\$libdir"
33807 *-*-linux* | *-*-gnu* )
33808 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33809 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33814 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33816 saveLdflags
="$LDFLAGS"
33817 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33818 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33819 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33820 cat >conftest.
$ac_ext <<_ACEOF
33823 cat confdefs.h
>>conftest.
$ac_ext
33824 cat >>conftest.
$ac_ext <<_ACEOF
33825 /* end confdefs.h. */
33835 rm -f conftest.
$ac_objext conftest
$ac_exeext
33836 if { (ac_try
="$ac_link"
33837 case "(($ac_try" in
33838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33839 *) ac_try_echo=$ac_try;;
33841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33842 (eval "$ac_link") 2>conftest.er1
33844 grep -v '^ *+' conftest.er1 >conftest.err
33846 cat conftest.err >&5
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); } && {
33849 test -z "$ac_c_werror_flag" ||
33850 test ! -s conftest.err
33851 } && test -s conftest$ac_exeext &&
33852 $as_test_x conftest$ac_exeext; then
33854 { echo "$as_me:$LINENO: result: yes" >&5
33855 echo "${ECHO_T}yes" >&6; }
33856 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33857 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33860 echo "$as_me: failed program was:" >&5
33861 sed 's/^/| /' conftest.$ac_ext >&5
33864 { echo "$as_me:$LINENO: result: no" >&5
33865 echo "${ECHO_T}no" >&6; }
33866 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33867 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33868 LDFLAGS="$saveLdflags -Wl,-R,/"
33869 cat >conftest.$ac_ext <<_ACEOF
33872 cat confdefs.h >>conftest.$ac_ext
33873 cat >>conftest.$ac_ext <<_ACEOF
33874 /* end confdefs.h. */
33884 rm -f conftest.$ac_objext conftest$ac_exeext
33885 if { (ac_try="$ac_link"
33886 case "(($ac_try" in
33887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33888 *) ac_try_echo
=$ac_try;;
33890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33891 (eval "$ac_link") 2>conftest.er1
33893 grep -v '^ *+' conftest.er1
>conftest.err
33895 cat conftest.err
>&5
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); } && {
33898 test -z "$ac_c_werror_flag" ||
33899 test ! -s conftest.err
33900 } && test -s conftest
$ac_exeext &&
33901 $as_test_x conftest
$ac_exeext; then
33903 { echo "$as_me:$LINENO: result: yes" >&5
33904 echo "${ECHO_T}yes" >&6; }
33905 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33906 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33909 echo "$as_me: failed program was:" >&5
33910 sed 's/^/| /' conftest.
$ac_ext >&5
33913 { echo "$as_me:$LINENO: result: no" >&5
33914 echo "${ECHO_T}no" >&6; }
33918 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33919 conftest
$ac_exeext conftest.
$ac_ext
33923 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33924 conftest
$ac_exeext conftest.
$ac_ext
33925 LDFLAGS
="$saveLdflags"
33929 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
33930 if test "$install_name_tool" -a -x "$install_name_tool"; then
33931 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
33932 cat <<EOF >change-install-names
33934 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33935 for i in \${libnames} ; do
33936 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
33937 for dep in \${libnames} ; do
33938 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
33942 chmod +x change
-install-names
33943 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
33946 HEADER_PAD_OPTION
="-headerpad_max_install_names"
33949 *-*-cygwin* | *-*-mingw32* )
33953 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33954 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33960 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33962 if test $wxUSE_RPATH = "no"; then
33963 SAMPLES_RPATH_FLAG
=''
33964 DYLIB_PATH_POSTLINK
=''
33972 config_linkage_component
="-static"
33979 lib_unicode_suffix
=
33981 if test "$wxUSE_UNICODE" = "yes"; then
33982 lib_unicode_suffix
=u
33983 WX_CHARTYPE
="unicode"
33988 WX_DEBUGTYPE
="release"
33990 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33992 WX_DEBUGTYPE
="debug"
33996 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33997 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34000 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34004 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34006 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34008 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34011 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34012 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34014 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34016 if test "${TOOLKIT_DIR}" = "os2"; then
34017 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34019 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34024 if test "$wxUSE_COCOA" = 1; then
34027 ac_cpp
='$CPP $CPPFLAGS'
34028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34034 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34035 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34036 cat >conftest.
$ac_ext <<_ACEOF
34039 cat confdefs.h
>>conftest.
$ac_ext
34040 cat >>conftest.
$ac_ext <<_ACEOF
34041 /* end confdefs.h. */
34042 #include <AppKit/NSEvent.h>
34043 #include <CoreFoundation/CoreFoundation.h>
34053 rm -f conftest.
$ac_objext
34054 if { (ac_try
="$ac_compile"
34055 case "(($ac_try" in
34056 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34057 *) ac_try_echo=$ac_try;;
34059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34060 (eval "$ac_compile") 2>conftest.er1
34062 grep -v '^ *+' conftest.er1 >conftest.err
34064 cat conftest.err >&5
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); } && {
34067 test -z "$ac_c_werror_flag" ||
34068 test ! -s conftest.err
34069 } && test -s conftest.$ac_objext; then
34070 { echo "$as_me:$LINENO: result: no" >&5
34071 echo "${ECHO_T}no" >&6; }
34073 echo "$as_me: failed program was:" >&5
34074 sed 's/^/| /' conftest.$ac_ext >&5
34076 { echo "$as_me:$LINENO: result: yes" >&5
34077 echo "${ECHO_T}yes" >&6; }
34078 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34079 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34080 cat >conftest.$ac_ext <<_ACEOF
34083 cat confdefs.h >>conftest.$ac_ext
34084 cat >>conftest.$ac_ext <<_ACEOF
34085 /* end confdefs.h. */
34086 #define __Point__ 1
34087 #include <AppKit/NSEvent.h>
34088 #include <CoreFoundation/CoreFoundation.h>
34098 rm -f conftest.$ac_objext
34099 if { (ac_try="$ac_compile"
34100 case "(($ac_try" in
34101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34102 *) ac_try_echo
=$ac_try;;
34104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34105 (eval "$ac_compile") 2>conftest.er1
34107 grep -v '^ *+' conftest.er1
>conftest.err
34109 cat conftest.err
>&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } && {
34112 test -z "$ac_c_werror_flag" ||
34113 test ! -s conftest.err
34114 } && test -s conftest.
$ac_objext; then
34115 { echo "$as_me:$LINENO: result: yes" >&5
34116 echo "${ECHO_T}yes" >&6; }
34117 cat >>confdefs.h
<<\_ACEOF
34118 #define __Point__ 1
34123 echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.
$ac_ext >&5
34126 { { echo "$as_me:$LINENO: error: no
34127 See \`config.log' for more details." >&5
34128 echo "$as_me: error: no
34129 See \`config.log' for more details." >&2;}
34130 { (exit 1); exit 1; }; }
34134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34140 ac_cpp
='$CPP $CPPFLAGS'
34141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34148 { echo "$as_me:$LINENO: checking for mode_t" >&5
34149 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34150 if test "${ac_cv_type_mode_t+set}" = set; then
34151 echo $ECHO_N "(cached) $ECHO_C" >&6
34153 cat >conftest.
$ac_ext <<_ACEOF
34156 cat confdefs.h
>>conftest.
$ac_ext
34157 cat >>conftest.
$ac_ext <<_ACEOF
34158 /* end confdefs.h. */
34159 $ac_includes_default
34160 typedef mode_t ac__type_new_;
34164 if ((ac__type_new_ *) 0)
34166 if (sizeof (ac__type_new_))
34172 rm -f conftest.
$ac_objext
34173 if { (ac_try
="$ac_compile"
34174 case "(($ac_try" in
34175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34176 *) ac_try_echo=$ac_try;;
34178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34179 (eval "$ac_compile") 2>conftest.er1
34181 grep -v '^ *+' conftest.er1 >conftest.err
34183 cat conftest.err >&5
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); } && {
34186 test -z "$ac_c_werror_flag" ||
34187 test ! -s conftest.err
34188 } && test -s conftest.$ac_objext; then
34189 ac_cv_type_mode_t=yes
34191 echo "$as_me: failed program was:" >&5
34192 sed 's/^/| /' conftest.$ac_ext >&5
34194 ac_cv_type_mode_t=no
34197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34199 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34200 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34201 if test $ac_cv_type_mode_t = yes; then
34205 cat >>confdefs.h <<_ACEOF
34211 { echo "$as_me:$LINENO: checking for off_t" >&5
34212 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34213 if test "${ac_cv_type_off_t+set}" = set; then
34214 echo $ECHO_N "(cached) $ECHO_C" >&6
34216 cat >conftest.$ac_ext <<_ACEOF
34219 cat confdefs.h >>conftest.$ac_ext
34220 cat >>conftest.$ac_ext <<_ACEOF
34221 /* end confdefs.h. */
34222 $ac_includes_default
34223 typedef off_t ac__type_new_;
34227 if ((ac__type_new_ *) 0)
34229 if (sizeof (ac__type_new_))
34235 rm -f conftest.$ac_objext
34236 if { (ac_try="$ac_compile"
34237 case "(($ac_try" in
34238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34239 *) ac_try_echo
=$ac_try;;
34241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34242 (eval "$ac_compile") 2>conftest.er1
34244 grep -v '^ *+' conftest.er1
>conftest.err
34246 cat conftest.err
>&5
34247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34248 (exit $ac_status); } && {
34249 test -z "$ac_c_werror_flag" ||
34250 test ! -s conftest.err
34251 } && test -s conftest.
$ac_objext; then
34252 ac_cv_type_off_t
=yes
34254 echo "$as_me: failed program was:" >&5
34255 sed 's/^/| /' conftest.
$ac_ext >&5
34257 ac_cv_type_off_t
=no
34260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34262 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34263 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34264 if test $ac_cv_type_off_t = yes; then
34268 cat >>confdefs.h
<<_ACEOF
34269 #define off_t long int
34274 { echo "$as_me:$LINENO: checking for pid_t" >&5
34275 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34276 if test "${ac_cv_type_pid_t+set}" = set; then
34277 echo $ECHO_N "(cached) $ECHO_C" >&6
34279 cat >conftest.
$ac_ext <<_ACEOF
34282 cat confdefs.h
>>conftest.
$ac_ext
34283 cat >>conftest.
$ac_ext <<_ACEOF
34284 /* end confdefs.h. */
34285 $ac_includes_default
34286 typedef pid_t ac__type_new_;
34290 if ((ac__type_new_ *) 0)
34292 if (sizeof (ac__type_new_))
34298 rm -f conftest.
$ac_objext
34299 if { (ac_try
="$ac_compile"
34300 case "(($ac_try" in
34301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34302 *) ac_try_echo=$ac_try;;
34304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34305 (eval "$ac_compile") 2>conftest.er1
34307 grep -v '^ *+' conftest.er1 >conftest.err
34309 cat conftest.err >&5
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); } && {
34312 test -z "$ac_c_werror_flag" ||
34313 test ! -s conftest.err
34314 } && test -s conftest.$ac_objext; then
34315 ac_cv_type_pid_t=yes
34317 echo "$as_me: failed program was:" >&5
34318 sed 's/^/| /' conftest.$ac_ext >&5
34320 ac_cv_type_pid_t=no
34323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34325 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34326 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34327 if test $ac_cv_type_pid_t = yes; then
34331 cat >>confdefs.h <<_ACEOF
34337 { echo "$as_me:$LINENO: checking for size_t" >&5
34338 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34339 if test "${ac_cv_type_size_t+set}" = set; then
34340 echo $ECHO_N "(cached) $ECHO_C" >&6
34342 cat >conftest.$ac_ext <<_ACEOF
34345 cat confdefs.h >>conftest.$ac_ext
34346 cat >>conftest.$ac_ext <<_ACEOF
34347 /* end confdefs.h. */
34348 $ac_includes_default
34349 typedef size_t ac__type_new_;
34353 if ((ac__type_new_ *) 0)
34355 if (sizeof (ac__type_new_))
34361 rm -f conftest.$ac_objext
34362 if { (ac_try="$ac_compile"
34363 case "(($ac_try" in
34364 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34365 *) ac_try_echo
=$ac_try;;
34367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34368 (eval "$ac_compile") 2>conftest.er1
34370 grep -v '^ *+' conftest.er1
>conftest.err
34372 cat conftest.err
>&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); } && {
34375 test -z "$ac_c_werror_flag" ||
34376 test ! -s conftest.err
34377 } && test -s conftest.
$ac_objext; then
34378 ac_cv_type_size_t
=yes
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.
$ac_ext >&5
34383 ac_cv_type_size_t
=no
34386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34388 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34389 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34390 if test $ac_cv_type_size_t = yes; then
34394 cat >>confdefs.h
<<_ACEOF
34395 #define size_t unsigned int
34401 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34402 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34403 if test "${ac_cv_type_ssize_t+set}" = set; then
34404 echo $ECHO_N "(cached) $ECHO_C" >&6
34406 cat >conftest.
$ac_ext <<_ACEOF
34409 cat confdefs.h
>>conftest.
$ac_ext
34410 cat >>conftest.
$ac_ext <<_ACEOF
34411 /* end confdefs.h. */
34412 $ac_includes_default
34413 typedef ssize_t ac__type_new_;
34417 if ((ac__type_new_ *) 0)
34419 if (sizeof (ac__type_new_))
34425 rm -f conftest.
$ac_objext
34426 if { (ac_try
="$ac_compile"
34427 case "(($ac_try" in
34428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34429 *) ac_try_echo=$ac_try;;
34431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34432 (eval "$ac_compile") 2>conftest.er1
34434 grep -v '^ *+' conftest.er1 >conftest.err
34436 cat conftest.err >&5
34437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34438 (exit $ac_status); } && {
34439 test -z "$ac_c_werror_flag" ||
34440 test ! -s conftest.err
34441 } && test -s conftest.$ac_objext; then
34442 ac_cv_type_ssize_t=yes
34444 echo "$as_me: failed program was:" >&5
34445 sed 's/^/| /' conftest.$ac_ext >&5
34447 ac_cv_type_ssize_t=no
34450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34452 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34453 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34454 if test $ac_cv_type_ssize_t = yes; then
34456 cat >>confdefs.h <<_ACEOF
34457 #define HAVE_SSIZE_T 1
34465 ac_cpp='$CXXCPP $CPPFLAGS'
34466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34469 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34470 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34471 if test "${wx_cv_size_t_is_uint+set}" = set; then
34472 echo $ECHO_N "(cached) $ECHO_C" >&6
34475 cat >conftest.$ac_ext <<_ACEOF
34478 cat confdefs.h >>conftest.$ac_ext
34479 cat >>conftest.$ac_ext <<_ACEOF
34480 /* end confdefs.h. */
34481 #include <stddef.h>
34488 struct Foo { void foo(size_t); void foo(unsigned int); };
34496 rm -f conftest.$ac_objext
34497 if { (ac_try="$ac_compile"
34498 case "(($ac_try" in
34499 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34500 *) ac_try_echo
=$ac_try;;
34502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34503 (eval "$ac_compile") 2>conftest.er1
34505 grep -v '^ *+' conftest.er1
>conftest.err
34507 cat conftest.err
>&5
34508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34509 (exit $ac_status); } && {
34510 test -z "$ac_cxx_werror_flag" ||
34511 test ! -s conftest.err
34512 } && test -s conftest.
$ac_objext; then
34513 wx_cv_size_t_is_uint
=no
34515 echo "$as_me: failed program was:" >&5
34516 sed 's/^/| /' conftest.
$ac_ext >&5
34518 wx_cv_size_t_is_uint
=yes
34522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34526 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34527 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34529 if test "$wx_cv_size_t_is_uint" = "yes"; then
34530 cat >>confdefs.h
<<\_ACEOF
34531 #define wxSIZE_T_IS_UINT 1
34535 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34536 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34537 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34538 echo $ECHO_N "(cached) $ECHO_C" >&6
34540 cat >conftest.
$ac_ext <<_ACEOF
34543 cat confdefs.h
>>conftest.
$ac_ext
34544 cat >>conftest.
$ac_ext <<_ACEOF
34545 /* end confdefs.h. */
34546 #include <stddef.h>
34553 struct Foo { void foo(size_t); void foo(unsigned long); };
34561 rm -f conftest.
$ac_objext
34562 if { (ac_try
="$ac_compile"
34563 case "(($ac_try" in
34564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34565 *) ac_try_echo=$ac_try;;
34567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34568 (eval "$ac_compile") 2>conftest.er1
34570 grep -v '^ *+' conftest.er1 >conftest.err
34572 cat conftest.err >&5
34573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34574 (exit $ac_status); } && {
34575 test -z "$ac_cxx_werror_flag" ||
34576 test ! -s conftest.err
34577 } && test -s conftest.$ac_objext; then
34578 wx_cv_size_t_is_ulong=no
34580 echo "$as_me: failed program was:" >&5
34581 sed 's/^/| /' conftest.$ac_ext >&5
34583 wx_cv_size_t_is_ulong=yes
34587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34590 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34591 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34593 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34594 cat >>confdefs.h <<\_ACEOF
34595 #define wxSIZE_T_IS_ULONG 1
34601 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34602 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34603 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34604 echo $ECHO_N "(cached) $ECHO_C" >&6
34606 cat >conftest.$ac_ext <<_ACEOF
34609 cat confdefs.h >>conftest.$ac_ext
34610 cat >>conftest.$ac_ext <<_ACEOF
34611 /* end confdefs.h. */
34619 struct Foo { void foo(wchar_t);
34620 void foo(unsigned short);
34621 void foo(unsigned int);
34622 void foo(unsigned long); };
34630 rm -f conftest.$ac_objext
34631 if { (ac_try="$ac_compile"
34632 case "(($ac_try" in
34633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34634 *) ac_try_echo
=$ac_try;;
34636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34637 (eval "$ac_compile") 2>conftest.er1
34639 grep -v '^ *+' conftest.er1
>conftest.err
34641 cat conftest.err
>&5
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); } && {
34644 test -z "$ac_cxx_werror_flag" ||
34645 test ! -s conftest.err
34646 } && test -s conftest.
$ac_objext; then
34647 wx_cv_wchar_t_is_separate_type
=yes
34649 echo "$as_me: failed program was:" >&5
34650 sed 's/^/| /' conftest.
$ac_ext >&5
34652 wx_cv_wchar_t_is_separate_type
=no
34656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34659 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34660 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34662 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34663 cat >>confdefs.h
<<\_ACEOF
34664 #define wxWCHAR_T_IS_REAL_TYPE 1
34668 cat >>confdefs.h
<<\_ACEOF
34669 #define wxWCHAR_T_IS_REAL_TYPE 0
34675 ac_cpp
='$CPP $CPPFLAGS'
34676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34681 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34682 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34683 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34684 echo $ECHO_N "(cached) $ECHO_C" >&6
34687 cat >conftest.
$ac_ext <<_ACEOF
34690 cat confdefs.h
>>conftest.
$ac_ext
34691 cat >>conftest.
$ac_ext <<_ACEOF
34692 /* end confdefs.h. */
34706 rm -f conftest.
$ac_objext
34707 if { (ac_try
="$ac_compile"
34708 case "(($ac_try" in
34709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34710 *) ac_try_echo=$ac_try;;
34712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34713 (eval "$ac_compile") 2>conftest.er1
34715 grep -v '^ *+' conftest.er1 >conftest.err
34717 cat conftest.err >&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); } && {
34720 test -z "$ac_c_werror_flag" ||
34721 test ! -s conftest.err
34722 } && test -s conftest.$ac_objext; then
34724 wx_cv_struct_pw_gecos=yes
34727 echo "$as_me: failed program was:" >&5
34728 sed 's/^/| /' conftest.$ac_ext >&5
34731 wx_cv_struct_pw_gecos=no
34736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34740 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34741 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34743 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34744 cat >>confdefs.h <<\_ACEOF
34745 #define HAVE_PW_GECOS 1
34751 if test "$wxUSE_WCHAR_T" = "yes"; then
34752 cat >>confdefs.h <<\_ACEOF
34753 #define wxUSE_WCHAR_T 1
34760 for ac_func in wcslen
34762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34763 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34765 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34766 echo $ECHO_N "(cached) $ECHO_C" >&6
34768 cat >conftest.$ac_ext <<_ACEOF
34771 cat confdefs.h >>conftest.$ac_ext
34772 cat >>conftest.$ac_ext <<_ACEOF
34773 /* end confdefs.h. */
34774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34776 #define $ac_func innocuous_$ac_func
34778 /* System header to define __stub macros and hopefully few prototypes,
34779 which can conflict with char $ac_func (); below.
34780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34781 <limits.h> exists even on freestanding compilers. */
34784 # include <limits.h>
34786 # include <assert.h>
34791 /* Override any GCC internal prototype to avoid an error.
34792 Use char because int might match the return type of a GCC
34793 builtin and then its argument prototype would still apply. */
34798 /* The GNU C library defines this for functions which it implements
34799 to always fail with ENOSYS. Some functions are actually named
34800 something starting with __ and the normal name is an alias. */
34801 #if defined __stub_$ac_func || defined __stub___$ac_func
34808 return $ac_func ();
34813 rm -f conftest.$ac_objext conftest$ac_exeext
34814 if { (ac_try="$ac_link"
34815 case "(($ac_try" in
34816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34817 *) ac_try_echo
=$ac_try;;
34819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34820 (eval "$ac_link") 2>conftest.er1
34822 grep -v '^ *+' conftest.er1
>conftest.err
34824 cat conftest.err
>&5
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); } && {
34827 test -z "$ac_c_werror_flag" ||
34828 test ! -s conftest.err
34829 } && test -s conftest
$ac_exeext &&
34830 $as_test_x conftest
$ac_exeext; then
34831 eval "$as_ac_var=yes"
34833 echo "$as_me: failed program was:" >&5
34834 sed 's/^/| /' conftest.
$ac_ext >&5
34836 eval "$as_ac_var=no"
34839 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34840 conftest
$ac_exeext conftest.
$ac_ext
34842 ac_res
=`eval echo '${'$as_ac_var'}'`
34843 { echo "$as_me:$LINENO: result: $ac_res" >&5
34844 echo "${ECHO_T}$ac_res" >&6; }
34845 if test `eval echo '${'$as_ac_var'}'` = yes; then
34846 cat >>confdefs.h
<<_ACEOF
34847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34854 if test "$WCSLEN_FOUND" = 0; then
34855 if test "$TOOLKIT" = "MSW"; then
34856 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34857 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34858 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34859 echo $ECHO_N "(cached) $ECHO_C" >&6
34861 ac_check_lib_save_LIBS
=$LIBS
34862 LIBS
="-lmsvcrt $LIBS"
34863 cat >conftest.
$ac_ext <<_ACEOF
34866 cat confdefs.h
>>conftest.
$ac_ext
34867 cat >>conftest.
$ac_ext <<_ACEOF
34868 /* end confdefs.h. */
34870 /* Override any GCC internal prototype to avoid an error.
34871 Use char because int might match the return type of a GCC
34872 builtin and then its argument prototype would still apply. */
34885 rm -f conftest.
$ac_objext conftest
$ac_exeext
34886 if { (ac_try
="$ac_link"
34887 case "(($ac_try" in
34888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34889 *) ac_try_echo=$ac_try;;
34891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34892 (eval "$ac_link") 2>conftest.er1
34894 grep -v '^ *+' conftest.er1 >conftest.err
34896 cat conftest.err >&5
34897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34898 (exit $ac_status); } && {
34899 test -z "$ac_c_werror_flag" ||
34900 test ! -s conftest.err
34901 } && test -s conftest$ac_exeext &&
34902 $as_test_x conftest$ac_exeext; then
34903 ac_cv_lib_msvcrt_wcslen=yes
34905 echo "$as_me: failed program was:" >&5
34906 sed 's/^/| /' conftest.$ac_ext >&5
34908 ac_cv_lib_msvcrt_wcslen=no
34911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34912 conftest$ac_exeext conftest.$ac_ext
34913 LIBS=$ac_check_lib_save_LIBS
34915 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34916 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34917 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34922 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34923 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34924 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34925 echo $ECHO_N "(cached) $ECHO_C" >&6
34927 ac_check_lib_save_LIBS=$LIBS
34929 cat >conftest.$ac_ext <<_ACEOF
34932 cat confdefs.h >>conftest.$ac_ext
34933 cat >>conftest.$ac_ext <<_ACEOF
34934 /* end confdefs.h. */
34936 /* Override any GCC internal prototype to avoid an error.
34937 Use char because int might match the return type of a GCC
34938 builtin and then its argument prototype would still apply. */
34951 rm -f conftest.$ac_objext conftest$ac_exeext
34952 if { (ac_try="$ac_link"
34953 case "(($ac_try" in
34954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34955 *) ac_try_echo
=$ac_try;;
34957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34958 (eval "$ac_link") 2>conftest.er1
34960 grep -v '^ *+' conftest.er1
>conftest.err
34962 cat conftest.err
>&5
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); } && {
34965 test -z "$ac_c_werror_flag" ||
34966 test ! -s conftest.err
34967 } && test -s conftest
$ac_exeext &&
34968 $as_test_x conftest
$ac_exeext; then
34969 ac_cv_lib_w_wcslen
=yes
34971 echo "$as_me: failed program was:" >&5
34972 sed 's/^/| /' conftest.
$ac_ext >&5
34974 ac_cv_lib_w_wcslen
=no
34977 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34978 conftest
$ac_exeext conftest.
$ac_ext
34979 LIBS
=$ac_check_lib_save_LIBS
34981 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34982 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34983 if test $ac_cv_lib_w_wcslen = yes; then
34993 if test "$WCSLEN_FOUND" = 1; then
34994 cat >>confdefs.h
<<\_ACEOF
34995 #define HAVE_WCSLEN 1
35005 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35007 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35008 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35010 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35011 echo $ECHO_N "(cached) $ECHO_C" >&6
35013 cat >conftest.
$ac_ext <<_ACEOF
35016 cat confdefs.h
>>conftest.
$ac_ext
35017 cat >>conftest.
$ac_ext <<_ACEOF
35018 /* end confdefs.h. */
35019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35021 #define $ac_func innocuous_$ac_func
35023 /* System header to define __stub macros and hopefully few prototypes,
35024 which can conflict with char $ac_func (); below.
35025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35026 <limits.h> exists even on freestanding compilers. */
35029 # include <limits.h>
35031 # include <assert.h>
35036 /* Override any GCC internal prototype to avoid an error.
35037 Use char because int might match the return type of a GCC
35038 builtin and then its argument prototype would still apply. */
35043 /* The GNU C library defines this for functions which it implements
35044 to always fail with ENOSYS. Some functions are actually named
35045 something starting with __ and the normal name is an alias. */
35046 #if defined __stub_$ac_func || defined __stub___$ac_func
35053 return $ac_func ();
35058 rm -f conftest.
$ac_objext conftest
$ac_exeext
35059 if { (ac_try
="$ac_link"
35060 case "(($ac_try" in
35061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35062 *) ac_try_echo=$ac_try;;
35064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35065 (eval "$ac_link") 2>conftest.er1
35067 grep -v '^ *+' conftest.er1 >conftest.err
35069 cat conftest.err >&5
35070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35071 (exit $ac_status); } && {
35072 test -z "$ac_c_werror_flag" ||
35073 test ! -s conftest.err
35074 } && test -s conftest$ac_exeext &&
35075 $as_test_x conftest$ac_exeext; then
35076 eval "$as_ac_var=yes"
35078 echo "$as_me: failed program was:" >&5
35079 sed 's/^/| /' conftest.$ac_ext >&5
35081 eval "$as_ac_var=no"
35084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35085 conftest$ac_exeext conftest.$ac_ext
35087 ac_res=`eval echo '${'$as_ac_var'}'`
35088 { echo "$as_me:$LINENO: result: $ac_res" >&5
35089 echo "${ECHO_T}$ac_res" >&6; }
35090 if test `eval echo '${'$as_ac_var'}'` = yes; then
35091 cat >>confdefs.h <<_ACEOF
35092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35099 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35100 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35103 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35104 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35105 if test "${ac_cv_type_mbstate_t+set}" = set; then
35106 echo $ECHO_N "(cached) $ECHO_C" >&6
35108 cat >conftest.$ac_ext <<_ACEOF
35111 cat confdefs.h >>conftest.$ac_ext
35112 cat >>conftest.$ac_ext <<_ACEOF
35113 /* end confdefs.h. */
35116 typedef mbstate_t ac__type_new_;
35120 if ((ac__type_new_ *) 0)
35122 if (sizeof (ac__type_new_))
35128 rm -f conftest.$ac_objext
35129 if { (ac_try="$ac_compile"
35130 case "(($ac_try" in
35131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35132 *) ac_try_echo
=$ac_try;;
35134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35135 (eval "$ac_compile") 2>conftest.er1
35137 grep -v '^ *+' conftest.er1
>conftest.err
35139 cat conftest.err
>&5
35140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35141 (exit $ac_status); } && {
35142 test -z "$ac_c_werror_flag" ||
35143 test ! -s conftest.err
35144 } && test -s conftest.
$ac_objext; then
35145 ac_cv_type_mbstate_t
=yes
35147 echo "$as_me: failed program was:" >&5
35148 sed 's/^/| /' conftest.
$ac_ext >&5
35150 ac_cv_type_mbstate_t
=no
35153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35155 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35156 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35157 if test $ac_cv_type_mbstate_t = yes; then
35159 cat >>confdefs.h
<<_ACEOF
35160 #define HAVE_MBSTATE_T 1
35164 for ac_func
in wcsrtombs
35166 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35167 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35169 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35170 echo $ECHO_N "(cached) $ECHO_C" >&6
35172 cat >conftest.
$ac_ext <<_ACEOF
35175 cat confdefs.h
>>conftest.
$ac_ext
35176 cat >>conftest.
$ac_ext <<_ACEOF
35177 /* end confdefs.h. */
35178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35180 #define $ac_func innocuous_$ac_func
35182 /* System header to define __stub macros and hopefully few prototypes,
35183 which can conflict with char $ac_func (); below.
35184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35185 <limits.h> exists even on freestanding compilers. */
35188 # include <limits.h>
35190 # include <assert.h>
35195 /* Override any GCC internal prototype to avoid an error.
35196 Use char because int might match the return type of a GCC
35197 builtin and then its argument prototype would still apply. */
35202 /* The GNU C library defines this for functions which it implements
35203 to always fail with ENOSYS. Some functions are actually named
35204 something starting with __ and the normal name is an alias. */
35205 #if defined __stub_$ac_func || defined __stub___$ac_func
35212 return $ac_func ();
35217 rm -f conftest.
$ac_objext conftest
$ac_exeext
35218 if { (ac_try
="$ac_link"
35219 case "(($ac_try" in
35220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35221 *) ac_try_echo=$ac_try;;
35223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35224 (eval "$ac_link") 2>conftest.er1
35226 grep -v '^ *+' conftest.er1 >conftest.err
35228 cat conftest.err >&5
35229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); } && {
35231 test -z "$ac_c_werror_flag" ||
35232 test ! -s conftest.err
35233 } && test -s conftest$ac_exeext &&
35234 $as_test_x conftest$ac_exeext; then
35235 eval "$as_ac_var=yes"
35237 echo "$as_me: failed program was:" >&5
35238 sed 's/^/| /' conftest.$ac_ext >&5
35240 eval "$as_ac_var=no"
35243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35244 conftest$ac_exeext conftest.$ac_ext
35246 ac_res=`eval echo '${'$as_ac_var'}'`
35247 { echo "$as_me:$LINENO: result: $ac_res" >&5
35248 echo "${ECHO_T}$ac_res" >&6; }
35249 if test `eval echo '${'$as_ac_var'}'` = yes; then
35250 cat >>confdefs.h <<_ACEOF
35251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35260 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35261 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35267 for ac_func in snprintf vsnprintf vsscanf
35269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35270 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35272 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35275 cat >conftest.$ac_ext <<_ACEOF
35278 cat confdefs.h >>conftest.$ac_ext
35279 cat >>conftest.$ac_ext <<_ACEOF
35280 /* end confdefs.h. */
35281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35283 #define $ac_func innocuous_$ac_func
35285 /* System header to define __stub macros and hopefully few prototypes,
35286 which can conflict with char $ac_func (); below.
35287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35288 <limits.h> exists even on freestanding compilers. */
35291 # include <limits.h>
35293 # include <assert.h>
35298 /* Override any GCC internal prototype to avoid an error.
35299 Use char because int might match the return type of a GCC
35300 builtin and then its argument prototype would still apply. */
35305 /* The GNU C library defines this for functions which it implements
35306 to always fail with ENOSYS. Some functions are actually named
35307 something starting with __ and the normal name is an alias. */
35308 #if defined __stub_$ac_func || defined __stub___$ac_func
35315 return $ac_func ();
35320 rm -f conftest.$ac_objext conftest$ac_exeext
35321 if { (ac_try="$ac_link"
35322 case "(($ac_try" in
35323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35324 *) ac_try_echo
=$ac_try;;
35326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35327 (eval "$ac_link") 2>conftest.er1
35329 grep -v '^ *+' conftest.er1
>conftest.err
35331 cat conftest.err
>&5
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); } && {
35334 test -z "$ac_c_werror_flag" ||
35335 test ! -s conftest.err
35336 } && test -s conftest
$ac_exeext &&
35337 $as_test_x conftest
$ac_exeext; then
35338 eval "$as_ac_var=yes"
35340 echo "$as_me: failed program was:" >&5
35341 sed 's/^/| /' conftest.
$ac_ext >&5
35343 eval "$as_ac_var=no"
35346 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35347 conftest
$ac_exeext conftest.
$ac_ext
35349 ac_res
=`eval echo '${'$as_ac_var'}'`
35350 { echo "$as_me:$LINENO: result: $ac_res" >&5
35351 echo "${ECHO_T}$ac_res" >&6; }
35352 if test `eval echo '${'$as_ac_var'}'` = yes; then
35353 cat >>confdefs.h
<<_ACEOF
35354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35362 ac_cpp
='$CXXCPP $CPPFLAGS'
35363 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35364 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35365 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35367 if test "$ac_cv_func_vsnprintf" = "yes"; then
35368 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35369 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35370 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35371 echo $ECHO_N "(cached) $ECHO_C" >&6
35374 cat >conftest.
$ac_ext <<_ACEOF
35377 cat confdefs.h
>>conftest.
$ac_ext
35378 cat >>conftest.
$ac_ext <<_ACEOF
35379 /* end confdefs.h. */
35382 #include <stdarg.h>
35384 #if __MSL__ >= 0x6000
35386 using namespace std;
35396 vsnprintf(buf, 10u, "%s", ap);
35402 rm -f conftest.
$ac_objext
35403 if { (ac_try
="$ac_compile"
35404 case "(($ac_try" in
35405 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35406 *) ac_try_echo=$ac_try;;
35408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35409 (eval "$ac_compile") 2>conftest.er1
35411 grep -v '^ *+' conftest.er1 >conftest.err
35413 cat conftest.err >&5
35414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35415 (exit $ac_status); } && {
35416 test -z "$ac_cxx_werror_flag" ||
35417 test ! -s conftest.err
35418 } && test -s conftest.$ac_objext; then
35419 wx_cv_func_vsnprintf_decl=yes
35421 echo "$as_me: failed program was:" >&5
35422 sed 's/^/| /' conftest.$ac_ext >&5
35424 wx_cv_func_vsnprintf_decl=no
35428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35432 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35433 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35435 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35436 cat >>confdefs.h <<\_ACEOF
35437 #define HAVE_VSNPRINTF_DECL 1
35441 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35442 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35443 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35444 echo $ECHO_N "(cached) $ECHO_C" >&6
35447 cat >conftest.$ac_ext <<_ACEOF
35450 cat confdefs.h >>conftest.$ac_ext
35451 cat >>conftest.$ac_ext <<_ACEOF
35452 /* end confdefs.h. */
35455 #include <stdarg.h>
35457 #if __MSL__ >= 0x6000
35459 using namespace std;
35469 const char *fmt = "%s";
35470 vsnprintf(buf, 10u, fmt, ap);
35476 rm -f conftest.$ac_objext
35477 if { (ac_try="$ac_compile"
35478 case "(($ac_try" in
35479 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35480 *) ac_try_echo
=$ac_try;;
35482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35483 (eval "$ac_compile") 2>conftest.er1
35485 grep -v '^ *+' conftest.er1
>conftest.err
35487 cat conftest.err
>&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); } && {
35490 test -z "$ac_cxx_werror_flag" ||
35491 test ! -s conftest.err
35492 } && test -s conftest.
$ac_objext; then
35493 wx_cv_func_broken_vsnprintf_decl
=no
35495 echo "$as_me: failed program was:" >&5
35496 sed 's/^/| /' conftest.
$ac_ext >&5
35498 wx_cv_func_broken_vsnprintf_decl
=yes
35502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35506 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35507 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35509 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35510 cat >>confdefs.h
<<\_ACEOF
35511 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35518 if test "$ac_cv_func_snprintf" = "yes"; then
35519 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35520 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35521 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35522 echo $ECHO_N "(cached) $ECHO_C" >&6
35525 cat >conftest.
$ac_ext <<_ACEOF
35528 cat confdefs.h
>>conftest.
$ac_ext
35529 cat >>conftest.
$ac_ext <<_ACEOF
35530 /* end confdefs.h. */
35533 #include <stdarg.h>
35535 #if __MSL__ >= 0x6000
35537 using namespace std;
35546 snprintf(buf, 10u, "%s", "wx");
35552 rm -f conftest.
$ac_objext
35553 if { (ac_try
="$ac_compile"
35554 case "(($ac_try" in
35555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35556 *) ac_try_echo=$ac_try;;
35558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35559 (eval "$ac_compile") 2>conftest.er1
35561 grep -v '^ *+' conftest.er1 >conftest.err
35563 cat conftest.err >&5
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); } && {
35566 test -z "$ac_cxx_werror_flag" ||
35567 test ! -s conftest.err
35568 } && test -s conftest.$ac_objext; then
35569 wx_cv_func_snprintf_decl=yes
35571 echo "$as_me: failed program was:" >&5
35572 sed 's/^/| /' conftest.$ac_ext >&5
35574 wx_cv_func_snprintf_decl=no
35578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35582 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35583 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35585 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35586 cat >>confdefs.h <<\_ACEOF
35587 #define HAVE_SNPRINTF_DECL 1
35592 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35594 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35595 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35596 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35597 echo $ECHO_N "(cached) $ECHO_C" >&6
35600 if test "$cross_compiling" = yes; then
35602 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35603 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35604 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35605 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35606 wx_cv_func_snprintf_pos_params=no
35610 cat >conftest.$ac_ext <<_ACEOF
35613 cat confdefs.h >>conftest.$ac_ext
35614 cat >>conftest.$ac_ext <<_ACEOF
35615 /* end confdefs.h. */
35622 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35623 if (strcmp ("2 3 1", buffer) == 0)
35629 rm -f conftest$ac_exeext
35630 if { (ac_try="$ac_link"
35631 case "(($ac_try" in
35632 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35633 *) ac_try_echo
=$ac_try;;
35635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35636 (eval "$ac_link") 2>&5
35638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35639 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35640 { (case "(($ac_try" in
35641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35642 *) ac_try_echo=$ac_try;;
35644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35645 (eval "$ac_try") 2>&5
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); }; }; then
35649 wx_cv_func_snprintf_pos_params=no
35651 echo "$as_me: program exited with status $ac_status" >&5
35652 echo "$as_me: failed program was:" >&5
35653 sed 's/^/| /' conftest.$ac_ext >&5
35655 ( exit $ac_status )
35656 wx_cv_func_snprintf_pos_params=yes
35658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35665 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35666 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35668 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35669 cat >>confdefs.h <<\_ACEOF
35670 #define HAVE_UNIX98_PRINTF 1
35677 if test "$ac_cv_func_vsscanf" = "yes"; then
35678 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35679 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35680 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35681 echo $ECHO_N "(cached) $ECHO_C" >&6
35684 cat >conftest.$ac_ext <<_ACEOF
35687 cat confdefs.h >>conftest.$ac_ext
35688 cat >>conftest.$ac_ext <<_ACEOF
35689 /* end confdefs.h. */
35692 #include <stdarg.h>
35694 #if __MSL__ >= 0x6000
35696 using namespace std;
35706 vsscanf(buf, "%s", args);
35712 rm -f conftest.$ac_objext
35713 if { (ac_try="$ac_compile"
35714 case "(($ac_try" in
35715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35716 *) ac_try_echo
=$ac_try;;
35718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35719 (eval "$ac_compile") 2>conftest.er1
35721 grep -v '^ *+' conftest.er1
>conftest.err
35723 cat conftest.err
>&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } && {
35726 test -z "$ac_cxx_werror_flag" ||
35727 test ! -s conftest.err
35728 } && test -s conftest.
$ac_objext; then
35729 wx_cv_func_vsscanf_decl
=yes
35731 echo "$as_me: failed program was:" >&5
35732 sed 's/^/| /' conftest.
$ac_ext >&5
35734 wx_cv_func_vsscanf_decl
=no
35738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35742 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35743 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35745 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35746 cat >>confdefs.h
<<\_ACEOF
35747 #define HAVE_VSSCANF_DECL 1
35753 ac_cpp
='$CPP $CPPFLAGS'
35754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35759 if test "$wxUSE_UNICODE" = yes; then
35761 wchar_headers
="#include <stdio.h>
35762 #include <wchar.h>"
35766 for ac_header
in widec.h
35768 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35771 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35772 echo $ECHO_N "(cached) $ECHO_C" >&6
35774 cat >conftest.
$ac_ext <<_ACEOF
35777 cat confdefs.h
>>conftest.
$ac_ext
35778 cat >>conftest.
$ac_ext <<_ACEOF
35779 /* end confdefs.h. */
35780 $ac_includes_default
35782 #include <$ac_header>
35784 rm -f conftest.
$ac_objext
35785 if { (ac_try
="$ac_compile"
35786 case "(($ac_try" in
35787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35788 *) ac_try_echo=$ac_try;;
35790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35791 (eval "$ac_compile") 2>conftest.er1
35793 grep -v '^ *+' conftest.er1 >conftest.err
35795 cat conftest.err >&5
35796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35797 (exit $ac_status); } && {
35798 test -z "$ac_c_werror_flag" ||
35799 test ! -s conftest.err
35800 } && test -s conftest.$ac_objext; then
35801 eval "$as_ac_Header=yes"
35803 echo "$as_me: failed program was:" >&5
35804 sed 's/^/| /' conftest.$ac_ext >&5
35806 eval "$as_ac_Header=no"
35809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35811 ac_res=`eval echo '${'$as_ac_Header'}'`
35812 { echo "$as_me:$LINENO: result: $ac_res" >&5
35813 echo "${ECHO_T}$ac_res" >&6; }
35814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35815 cat >>confdefs.h <<_ACEOF
35816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35823 if test "$ac_cv_header_widec_h" = "yes"; then
35824 wchar_headers="$wchar_headers
35825 #include <widec.h>"
35830 for wx_func in putws fputws wprintf vswprintf vswscanf
35832 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35833 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35834 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35835 echo $ECHO_N "(cached) $ECHO_C" >&6
35838 cat >conftest.$ac_ext <<_ACEOF
35842 cat confdefs.h >>conftest.$ac_ext
35843 cat >>conftest.$ac_ext <<_ACEOF
35844 /* end confdefs.h. */
35847 $ac_includes_default
35863 rm -f conftest.$ac_objext conftest$ac_exeext
35864 if { (ac_try="$ac_link"
35865 case "(($ac_try" in
35866 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35867 *) ac_try_echo
=$ac_try;;
35869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35870 (eval "$ac_link") 2>conftest.er1
35872 grep -v '^ *+' conftest.er1
>conftest.err
35874 cat conftest.err
>&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } && {
35877 test -z "$ac_c_werror_flag" ||
35878 test ! -s conftest.err
35879 } && test -s conftest
$ac_exeext &&
35880 $as_test_x conftest
$ac_exeext; then
35881 eval wx_cv_func_
$wx_func=yes
35883 echo "$as_me: failed program was:" >&5
35884 sed 's/^/| /' conftest.
$ac_ext >&5
35886 eval wx_cv_func_
$wx_func=no
35889 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35890 conftest
$ac_exeext conftest.
$ac_ext
35893 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35894 { echo "$as_me:$LINENO: result: $ac_res" >&5
35895 echo "${ECHO_T}$ac_res" >&6; }
35897 if eval test \
$wx_cv_func_$wx_func = yes
35899 cat >>confdefs.h
<<_ACEOF
35900 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35911 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35912 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35913 cat >conftest.
$ac_ext <<_ACEOF
35916 cat confdefs.h
>>conftest.
$ac_ext
35917 cat >>conftest.
$ac_ext <<_ACEOF
35918 /* end confdefs.h. */
35928 rm -f conftest.
$ac_objext
35929 if { (ac_try
="$ac_compile"
35930 case "(($ac_try" in
35931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35932 *) ac_try_echo=$ac_try;;
35934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35935 (eval "$ac_compile") 2>conftest.er1
35937 grep -v '^ *+' conftest.er1 >conftest.err
35939 cat conftest.err >&5
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); } && {
35942 test -z "$ac_c_werror_flag" ||
35943 test ! -s conftest.err
35944 } && test -s conftest.$ac_objext; then
35945 { echo "$as_me:$LINENO: result: yes" >&5
35946 echo "${ECHO_T}yes" >&6; }
35947 cat >>confdefs.h <<\_ACEOF
35948 #define HAVE__VSNWPRINTF 1
35952 echo "$as_me: failed program was:" >&5
35953 sed 's/^/| /' conftest.$ac_ext >&5
35955 { echo "$as_me:$LINENO: result: no" >&5
35956 echo "${ECHO_T}no" >&6; }
35959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35962 if test "$wxUSE_FILE" = "yes"; then
35964 for wx_func in fsync
35966 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35967 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35968 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35969 echo $ECHO_N "(cached) $ECHO_C" >&6
35972 cat >conftest.$ac_ext <<_ACEOF
35976 cat confdefs.h >>conftest.$ac_ext
35977 cat >>conftest.$ac_ext <<_ACEOF
35978 /* end confdefs.h. */
35981 $ac_includes_default
35997 rm -f conftest.$ac_objext conftest$ac_exeext
35998 if { (ac_try="$ac_link"
35999 case "(($ac_try" in
36000 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36001 *) ac_try_echo
=$ac_try;;
36003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36004 (eval "$ac_link") 2>conftest.er1
36006 grep -v '^ *+' conftest.er1
>conftest.err
36008 cat conftest.err
>&5
36009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36010 (exit $ac_status); } && {
36011 test -z "$ac_c_werror_flag" ||
36012 test ! -s conftest.err
36013 } && test -s conftest
$ac_exeext &&
36014 $as_test_x conftest
$ac_exeext; then
36015 eval wx_cv_func_
$wx_func=yes
36017 echo "$as_me: failed program was:" >&5
36018 sed 's/^/| /' conftest.
$ac_ext >&5
36020 eval wx_cv_func_
$wx_func=no
36023 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36024 conftest
$ac_exeext conftest.
$ac_ext
36027 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36028 { echo "$as_me:$LINENO: result: $ac_res" >&5
36029 echo "${ECHO_T}$ac_res" >&6; }
36031 if eval test \
$wx_cv_func_$wx_func = yes
36033 cat >>confdefs.h
<<_ACEOF
36034 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36047 ac_cpp
='$CXXCPP $CPPFLAGS'
36048 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36053 for wx_func
in round
36055 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36056 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36057 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36058 echo $ECHO_N "(cached) $ECHO_C" >&6
36061 cat >conftest.
$ac_ext <<_ACEOF
36065 cat confdefs.h
>>conftest.
$ac_ext
36066 cat >>conftest.
$ac_ext <<_ACEOF
36067 /* end confdefs.h. */
36070 $ac_includes_default
36086 rm -f conftest.
$ac_objext conftest
$ac_exeext
36087 if { (ac_try
="$ac_link"
36088 case "(($ac_try" in
36089 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36090 *) ac_try_echo=$ac_try;;
36092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36093 (eval "$ac_link") 2>conftest.er1
36095 grep -v '^ *+' conftest.er1 >conftest.err
36097 cat conftest.err >&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); } && {
36100 test -z "$ac_cxx_werror_flag" ||
36101 test ! -s conftest.err
36102 } && test -s conftest$ac_exeext &&
36103 $as_test_x conftest$ac_exeext; then
36104 eval wx_cv_func_$wx_func=yes
36106 echo "$as_me: failed program was:" >&5
36107 sed 's/^/| /' conftest.$ac_ext >&5
36109 eval wx_cv_func_$wx_func=no
36112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36113 conftest$ac_exeext conftest.$ac_ext
36116 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36117 { echo "$as_me:$LINENO: result: $ac_res" >&5
36118 echo "${ECHO_T}$ac_res" >&6; }
36120 if eval test \$wx_cv_func_$wx_func = yes
36122 cat >>confdefs.h <<_ACEOF
36123 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36134 ac_cpp='$CPP $CPPFLAGS'
36135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36140 if test "$TOOLKIT" != "MSW"; then
36142 if test "$wxUSE_LIBICONV" != "no" ; then
36146 # Check whether --with-libiconv-prefix was given.
36147 if test "${with_libiconv_prefix+set}" = set; then
36148 withval=$with_libiconv_prefix;
36149 for dir in `echo "$withval" | tr : ' '`; do
36150 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36151 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36157 { echo "$as_me:$LINENO: checking for iconv" >&5
36158 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36159 if test "${am_cv_func_iconv+set}" = set; then
36160 echo $ECHO_N "(cached) $ECHO_C" >&6
36163 am_cv_func_iconv="no, consider installing GNU libiconv"
36165 cat >conftest.$ac_ext <<_ACEOF
36168 cat confdefs.h >>conftest.$ac_ext
36169 cat >>conftest.$ac_ext <<_ACEOF
36170 /* end confdefs.h. */
36171 #include <stdlib.h>
36176 iconv_t cd = iconv_open("","");
36177 iconv(cd,NULL,NULL,NULL,NULL);
36183 rm -f conftest.$ac_objext conftest$ac_exeext
36184 if { (ac_try="$ac_link"
36185 case "(($ac_try" in
36186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36187 *) ac_try_echo
=$ac_try;;
36189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36190 (eval "$ac_link") 2>conftest.er1
36192 grep -v '^ *+' conftest.er1
>conftest.err
36194 cat conftest.err
>&5
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); } && {
36197 test -z "$ac_c_werror_flag" ||
36198 test ! -s conftest.err
36199 } && test -s conftest
$ac_exeext &&
36200 $as_test_x conftest
$ac_exeext; then
36201 am_cv_func_iconv
=yes
36203 echo "$as_me: failed program was:" >&5
36204 sed 's/^/| /' conftest.
$ac_ext >&5
36209 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36210 conftest
$ac_exeext conftest.
$ac_ext
36211 if test "$am_cv_func_iconv" != yes; then
36212 am_save_LIBS
="$LIBS"
36213 LIBS
="$LIBS -liconv"
36214 cat >conftest.
$ac_ext <<_ACEOF
36217 cat confdefs.h
>>conftest.
$ac_ext
36218 cat >>conftest.
$ac_ext <<_ACEOF
36219 /* end confdefs.h. */
36220 #include <stdlib.h>
36225 iconv_t cd = iconv_open("","");
36226 iconv(cd,NULL,NULL,NULL,NULL);
36232 rm -f conftest.
$ac_objext conftest
$ac_exeext
36233 if { (ac_try
="$ac_link"
36234 case "(($ac_try" in
36235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36236 *) ac_try_echo=$ac_try;;
36238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36239 (eval "$ac_link") 2>conftest.er1
36241 grep -v '^ *+' conftest.er1 >conftest.err
36243 cat conftest.err >&5
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); } && {
36246 test -z "$ac_c_werror_flag" ||
36247 test ! -s conftest.err
36248 } && test -s conftest$ac_exeext &&
36249 $as_test_x conftest$ac_exeext; then
36250 am_cv_lib_iconv=yes
36251 am_cv_func_iconv=yes
36253 echo "$as_me: failed program was:" >&5
36254 sed 's/^/| /' conftest.$ac_ext >&5
36259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36260 conftest$ac_exeext conftest.$ac_ext
36261 LIBS="$am_save_LIBS"
36265 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36266 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36267 if test "$am_cv_func_iconv" = yes; then
36269 cat >>confdefs.h <<\_ACEOF
36270 #define HAVE_ICONV 1
36273 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36274 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36275 if test "${wx_cv_func_iconv_const+set}" = set; then
36276 echo $ECHO_N "(cached) $ECHO_C" >&6
36278 cat >conftest.$ac_ext <<_ACEOF
36281 cat confdefs.h >>conftest.$ac_ext
36282 cat >>conftest.$ac_ext <<_ACEOF
36283 /* end confdefs.h. */
36285 #include <stdlib.h>
36291 #if defined(__STDC__) || defined(__cplusplus)
36292 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36305 rm -f conftest.$ac_objext
36306 if { (ac_try="$ac_compile"
36307 case "(($ac_try" in
36308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36309 *) ac_try_echo
=$ac_try;;
36311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36312 (eval "$ac_compile") 2>conftest.er1
36314 grep -v '^ *+' conftest.er1
>conftest.err
36316 cat conftest.err
>&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); } && {
36319 test -z "$ac_c_werror_flag" ||
36320 test ! -s conftest.err
36321 } && test -s conftest.
$ac_objext; then
36322 wx_cv_func_iconv_const
="no"
36324 echo "$as_me: failed program was:" >&5
36325 sed 's/^/| /' conftest.
$ac_ext >&5
36327 wx_cv_func_iconv_const
="yes"
36331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36334 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36335 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36338 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36339 iconv_const
="const"
36343 cat >>confdefs.h
<<_ACEOF
36344 #define ICONV_CONST $iconv_const
36349 if test "$am_cv_lib_iconv" = yes; then
36354 LIBS
="$LIBICONV $LIBS"
36357 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36359 for ac_func
in sigaction
36361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36362 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36364 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36365 echo $ECHO_N "(cached) $ECHO_C" >&6
36367 cat >conftest.
$ac_ext <<_ACEOF
36370 cat confdefs.h
>>conftest.
$ac_ext
36371 cat >>conftest.
$ac_ext <<_ACEOF
36372 /* end confdefs.h. */
36373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36375 #define $ac_func innocuous_$ac_func
36377 /* System header to define __stub macros and hopefully few prototypes,
36378 which can conflict with char $ac_func (); below.
36379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36380 <limits.h> exists even on freestanding compilers. */
36383 # include <limits.h>
36385 # include <assert.h>
36390 /* Override any GCC internal prototype to avoid an error.
36391 Use char because int might match the return type of a GCC
36392 builtin and then its argument prototype would still apply. */
36397 /* The GNU C library defines this for functions which it implements
36398 to always fail with ENOSYS. Some functions are actually named
36399 something starting with __ and the normal name is an alias. */
36400 #if defined __stub_$ac_func || defined __stub___$ac_func
36407 return $ac_func ();
36412 rm -f conftest.
$ac_objext conftest
$ac_exeext
36413 if { (ac_try
="$ac_link"
36414 case "(($ac_try" in
36415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36416 *) ac_try_echo=$ac_try;;
36418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36419 (eval "$ac_link") 2>conftest.er1
36421 grep -v '^ *+' conftest.er1 >conftest.err
36423 cat conftest.err >&5
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); } && {
36426 test -z "$ac_c_werror_flag" ||
36427 test ! -s conftest.err
36428 } && test -s conftest$ac_exeext &&
36429 $as_test_x conftest$ac_exeext; then
36430 eval "$as_ac_var=yes"
36432 echo "$as_me: failed program was:" >&5
36433 sed 's/^/| /' conftest.$ac_ext >&5
36435 eval "$as_ac_var=no"
36438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36439 conftest$ac_exeext conftest.$ac_ext
36441 ac_res=`eval echo '${'$as_ac_var'}'`
36442 { echo "$as_me:$LINENO: result: $ac_res" >&5
36443 echo "${ECHO_T}$ac_res" >&6; }
36444 if test `eval echo '${'$as_ac_var'}'` = yes; then
36445 cat >>confdefs.h <<_ACEOF
36446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36453 if test "$ac_cv_func_sigaction" = "no"; then
36454 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36455 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36456 wxUSE_ON_FATAL_EXCEPTION=no
36459 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36460 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36461 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36462 if test "${wx_cv_type_sa_handler+set}" = set; then
36463 echo $ECHO_N "(cached) $ECHO_C" >&6
36467 ac_cpp='$CXXCPP $CPPFLAGS'
36468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36472 cat >conftest.$ac_ext <<_ACEOF
36475 cat confdefs.h >>conftest.$ac_ext
36476 cat >>conftest.$ac_ext <<_ACEOF
36477 /* end confdefs.h. */
36478 #include <signal.h>
36483 extern void testSigHandler(int);
36485 struct sigaction sa;
36486 sa.sa_handler = testSigHandler;
36492 rm -f conftest.$ac_objext
36493 if { (ac_try="$ac_compile"
36494 case "(($ac_try" in
36495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36496 *) ac_try_echo
=$ac_try;;
36498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36499 (eval "$ac_compile") 2>conftest.er1
36501 grep -v '^ *+' conftest.er1
>conftest.err
36503 cat conftest.err
>&5
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); } && {
36506 test -z "$ac_cxx_werror_flag" ||
36507 test ! -s conftest.err
36508 } && test -s conftest.
$ac_objext; then
36510 wx_cv_type_sa_handler
=int
36513 echo "$as_me: failed program was:" >&5
36514 sed 's/^/| /' conftest.
$ac_ext >&5
36517 wx_cv_type_sa_handler
=void
36521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36523 ac_cpp
='$CPP $CPPFLAGS'
36524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36530 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36531 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36533 cat >>confdefs.h
<<_ACEOF
36534 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36540 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36541 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36542 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36543 if test "${wx_cv_func_backtrace+set}" = set; then
36544 echo $ECHO_N "(cached) $ECHO_C" >&6
36548 ac_cpp
='$CXXCPP $CPPFLAGS'
36549 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36553 cat >conftest.
$ac_ext <<_ACEOF
36556 cat confdefs.h
>>conftest.
$ac_ext
36557 cat >>conftest.
$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36559 #include <execinfo.h>
36567 backtrace(trace, 1);
36568 messages = backtrace_symbols(trace, 1);
36574 rm -f conftest.
$ac_objext
36575 if { (ac_try
="$ac_compile"
36576 case "(($ac_try" in
36577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36578 *) ac_try_echo=$ac_try;;
36580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36581 (eval "$ac_compile") 2>conftest.er1
36583 grep -v '^ *+' conftest.er1 >conftest.err
36585 cat conftest.err >&5
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); } && {
36588 test -z "$ac_cxx_werror_flag" ||
36589 test ! -s conftest.err
36590 } && test -s conftest.$ac_objext; then
36591 wx_cv_func_backtrace=yes
36593 echo "$as_me: failed program was:" >&5
36594 sed 's/^/| /' conftest.$ac_ext >&5
36596 wx_cv_func_backtrace=no
36600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36602 ac_cpp='$CPP $CPPFLAGS'
36603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36610 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36611 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36614 if test "$wx_cv_func_backtrace" = "no"; then
36615 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36616 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36617 wxUSE_STACKWALKER=no
36619 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36620 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36621 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36622 echo $ECHO_N "(cached) $ECHO_C" >&6
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36631 cat >conftest.$ac_ext <<_ACEOF
36634 cat confdefs.h >>conftest.$ac_ext
36635 cat >>conftest.$ac_ext <<_ACEOF
36636 /* end confdefs.h. */
36637 #include <cxxabi.h>
36643 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36649 rm -f conftest.$ac_objext conftest$ac_exeext
36650 if { (ac_try="$ac_link"
36651 case "(($ac_try" in
36652 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36653 *) ac_try_echo
=$ac_try;;
36655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36656 (eval "$ac_link") 2>conftest.er1
36658 grep -v '^ *+' conftest.er1
>conftest.err
36660 cat conftest.err
>&5
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); } && {
36663 test -z "$ac_cxx_werror_flag" ||
36664 test ! -s conftest.err
36665 } && test -s conftest
$ac_exeext &&
36666 $as_test_x conftest
$ac_exeext; then
36667 wx_cv_func_cxa_demangle
=yes
36669 echo "$as_me: failed program was:" >&5
36670 sed 's/^/| /' conftest.
$ac_ext >&5
36672 wx_cv_func_cxa_demangle
=no
36676 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36677 conftest
$ac_exeext conftest.
$ac_ext
36679 ac_cpp
='$CPP $CPPFLAGS'
36680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36687 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36688 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36690 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36691 cat >>confdefs.h
<<\_ACEOF
36692 #define HAVE_CXA_DEMANGLE 1
36699 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36700 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36701 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36702 wxUSE_STACKWALKER
=no
36708 for ac_func
in mkstemp mktemp
36710 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36711 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36713 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36714 echo $ECHO_N "(cached) $ECHO_C" >&6
36716 cat >conftest.
$ac_ext <<_ACEOF
36719 cat confdefs.h
>>conftest.
$ac_ext
36720 cat >>conftest.
$ac_ext <<_ACEOF
36721 /* end confdefs.h. */
36722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36724 #define $ac_func innocuous_$ac_func
36726 /* System header to define __stub macros and hopefully few prototypes,
36727 which can conflict with char $ac_func (); below.
36728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36729 <limits.h> exists even on freestanding compilers. */
36732 # include <limits.h>
36734 # include <assert.h>
36739 /* Override any GCC internal prototype to avoid an error.
36740 Use char because int might match the return type of a GCC
36741 builtin and then its argument prototype would still apply. */
36746 /* The GNU C library defines this for functions which it implements
36747 to always fail with ENOSYS. Some functions are actually named
36748 something starting with __ and the normal name is an alias. */
36749 #if defined __stub_$ac_func || defined __stub___$ac_func
36756 return $ac_func ();
36761 rm -f conftest.
$ac_objext conftest
$ac_exeext
36762 if { (ac_try
="$ac_link"
36763 case "(($ac_try" in
36764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36765 *) ac_try_echo=$ac_try;;
36767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36768 (eval "$ac_link") 2>conftest.er1
36770 grep -v '^ *+' conftest.er1 >conftest.err
36772 cat conftest.err >&5
36773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774 (exit $ac_status); } && {
36775 test -z "$ac_c_werror_flag" ||
36776 test ! -s conftest.err
36777 } && test -s conftest$ac_exeext &&
36778 $as_test_x conftest$ac_exeext; then
36779 eval "$as_ac_var=yes"
36781 echo "$as_me: failed program was:" >&5
36782 sed 's/^/| /' conftest.$ac_ext >&5
36784 eval "$as_ac_var=no"
36787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36788 conftest$ac_exeext conftest.$ac_ext
36790 ac_res=`eval echo '${'$as_ac_var'}'`
36791 { echo "$as_me:$LINENO: result: $ac_res" >&5
36792 echo "${ECHO_T}$ac_res" >&6; }
36793 if test `eval echo '${'$as_ac_var'}'` = yes; then
36794 cat >>confdefs.h <<_ACEOF
36795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36802 { echo "$as_me:$LINENO: checking for statfs" >&5
36803 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36804 if test "${wx_cv_func_statfs+set}" = set; then
36805 echo $ECHO_N "(cached) $ECHO_C" >&6
36807 cat >conftest.$ac_ext <<_ACEOF
36810 cat confdefs.h >>conftest.$ac_ext
36811 cat >>conftest.$ac_ext <<_ACEOF
36812 /* end confdefs.h. */
36814 #if defined(__BSD__)
36815 #include <sys/param.h>
36816 #include <sys/mount.h>
36818 #include <sys/vfs.h>
36836 rm -f conftest.$ac_objext
36837 if { (ac_try="$ac_compile"
36838 case "(($ac_try" in
36839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36840 *) ac_try_echo
=$ac_try;;
36842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36843 (eval "$ac_compile") 2>conftest.er1
36845 grep -v '^ *+' conftest.er1
>conftest.err
36847 cat conftest.err
>&5
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); } && {
36850 test -z "$ac_c_werror_flag" ||
36851 test ! -s conftest.err
36852 } && test -s conftest.
$ac_objext; then
36853 wx_cv_func_statfs
=yes
36855 echo "$as_me: failed program was:" >&5
36856 sed 's/^/| /' conftest.
$ac_ext >&5
36858 wx_cv_func_statfs
=no
36862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36865 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36866 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36868 if test "$wx_cv_func_statfs" = "yes"; then
36869 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36870 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36871 if test "${wx_cv_func_statfs_decl+set}" = set; then
36872 echo $ECHO_N "(cached) $ECHO_C" >&6
36875 ac_cpp
='$CXXCPP $CPPFLAGS'
36876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36880 cat >conftest.
$ac_ext <<_ACEOF
36883 cat confdefs.h
>>conftest.
$ac_ext
36884 cat >>conftest.
$ac_ext <<_ACEOF
36885 /* end confdefs.h. */
36887 #if defined(__BSD__)
36888 #include <sys/param.h>
36889 #include <sys/mount.h>
36891 #include <sys/vfs.h>
36905 rm -f conftest.
$ac_objext
36906 if { (ac_try
="$ac_compile"
36907 case "(($ac_try" in
36908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36909 *) ac_try_echo=$ac_try;;
36911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36912 (eval "$ac_compile") 2>conftest.er1
36914 grep -v '^ *+' conftest.er1 >conftest.err
36916 cat conftest.err >&5
36917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918 (exit $ac_status); } && {
36919 test -z "$ac_cxx_werror_flag" ||
36920 test ! -s conftest.err
36921 } && test -s conftest.$ac_objext; then
36922 wx_cv_func_statfs_decl=yes
36924 echo "$as_me: failed program was:" >&5
36925 sed 's/^/| /' conftest.$ac_ext >&5
36927 wx_cv_func_statfs_decl=no
36931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36933 ac_cpp='$CPP $CPPFLAGS'
36934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36940 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36941 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36943 if test "$wx_cv_func_statfs_decl" = "yes"; then
36944 cat >>confdefs.h <<\_ACEOF
36945 #define HAVE_STATFS_DECL 1
36950 wx_cv_type_statvfs_t="struct statfs"
36951 cat >>confdefs.h <<\_ACEOF
36952 #define HAVE_STATFS 1
36956 { echo "$as_me:$LINENO: checking for statvfs" >&5
36957 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36958 if test "${wx_cv_func_statvfs+set}" = set; then
36959 echo $ECHO_N "(cached) $ECHO_C" >&6
36961 cat >conftest.$ac_ext <<_ACEOF
36964 cat confdefs.h >>conftest.$ac_ext
36965 cat >>conftest.$ac_ext <<_ACEOF
36966 /* end confdefs.h. */
36968 #include <stddef.h>
36969 #include <sys/statvfs.h>
36975 statvfs("/", NULL);
36981 rm -f conftest.$ac_objext
36982 if { (ac_try="$ac_compile"
36983 case "(($ac_try" in
36984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36985 *) ac_try_echo
=$ac_try;;
36987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36988 (eval "$ac_compile") 2>conftest.er1
36990 grep -v '^ *+' conftest.er1
>conftest.err
36992 cat conftest.err
>&5
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); } && {
36995 test -z "$ac_c_werror_flag" ||
36996 test ! -s conftest.err
36997 } && test -s conftest.
$ac_objext; then
36998 wx_cv_func_statvfs
=yes
37000 echo "$as_me: failed program was:" >&5
37001 sed 's/^/| /' conftest.
$ac_ext >&5
37003 wx_cv_func_statvfs
=no
37007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37010 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37011 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37013 if test "$wx_cv_func_statvfs" = "yes"; then
37014 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37015 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37016 if test "${wx_cv_type_statvfs_t+set}" = set; then
37017 echo $ECHO_N "(cached) $ECHO_C" >&6
37020 ac_cpp
='$CXXCPP $CPPFLAGS'
37021 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37022 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37023 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37025 cat >conftest.
$ac_ext <<_ACEOF
37028 cat confdefs.h
>>conftest.
$ac_ext
37029 cat >>conftest.
$ac_ext <<_ACEOF
37030 /* end confdefs.h. */
37032 #include <sys/statvfs.h>
37049 rm -f conftest.
$ac_objext
37050 if { (ac_try
="$ac_compile"
37051 case "(($ac_try" in
37052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37053 *) ac_try_echo=$ac_try;;
37055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37056 (eval "$ac_compile") 2>conftest.er1
37058 grep -v '^ *+' conftest.er1 >conftest.err
37060 cat conftest.err >&5
37061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37062 (exit $ac_status); } && {
37063 test -z "$ac_cxx_werror_flag" ||
37064 test ! -s conftest.err
37065 } && test -s conftest.$ac_objext; then
37066 wx_cv_type_statvfs_t=statvfs_t
37068 echo "$as_me: failed program was:" >&5
37069 sed 's/^/| /' conftest.$ac_ext >&5
37072 cat >conftest.$ac_ext <<_ACEOF
37075 cat confdefs.h >>conftest.$ac_ext
37076 cat >>conftest.$ac_ext <<_ACEOF
37077 /* end confdefs.h. */
37079 #include <sys/statvfs.h>
37096 rm -f conftest.$ac_objext
37097 if { (ac_try="$ac_compile"
37098 case "(($ac_try" in
37099 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37100 *) ac_try_echo
=$ac_try;;
37102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37103 (eval "$ac_compile") 2>conftest.er1
37105 grep -v '^ *+' conftest.er1
>conftest.err
37107 cat conftest.err
>&5
37108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109 (exit $ac_status); } && {
37110 test -z "$ac_cxx_werror_flag" ||
37111 test ! -s conftest.err
37112 } && test -s conftest.
$ac_objext; then
37113 wx_cv_type_statvfs_t
="struct statvfs"
37115 echo "$as_me: failed program was:" >&5
37116 sed 's/^/| /' conftest.
$ac_ext >&5
37118 wx_cv_type_statvfs_t
="unknown"
37122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37129 ac_cpp
='$CPP $CPPFLAGS'
37130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37136 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37137 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37139 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37140 cat >>confdefs.h
<<\_ACEOF
37141 #define HAVE_STATVFS 1
37146 wx_cv_type_statvfs_t
="unknown"
37150 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37151 cat >>confdefs.h
<<_ACEOF
37152 #define WX_STATFS_T $wx_cv_type_statvfs_t
37156 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37157 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37160 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37163 for ac_func
in fcntl flock
37165 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37166 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37168 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37169 echo $ECHO_N "(cached) $ECHO_C" >&6
37171 cat >conftest.
$ac_ext <<_ACEOF
37174 cat confdefs.h
>>conftest.
$ac_ext
37175 cat >>conftest.
$ac_ext <<_ACEOF
37176 /* end confdefs.h. */
37177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37179 #define $ac_func innocuous_$ac_func
37181 /* System header to define __stub macros and hopefully few prototypes,
37182 which can conflict with char $ac_func (); below.
37183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37184 <limits.h> exists even on freestanding compilers. */
37187 # include <limits.h>
37189 # include <assert.h>
37194 /* Override any GCC internal prototype to avoid an error.
37195 Use char because int might match the return type of a GCC
37196 builtin and then its argument prototype would still apply. */
37201 /* The GNU C library defines this for functions which it implements
37202 to always fail with ENOSYS. Some functions are actually named
37203 something starting with __ and the normal name is an alias. */
37204 #if defined __stub_$ac_func || defined __stub___$ac_func
37211 return $ac_func ();
37216 rm -f conftest.
$ac_objext conftest
$ac_exeext
37217 if { (ac_try
="$ac_link"
37218 case "(($ac_try" in
37219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37220 *) ac_try_echo=$ac_try;;
37222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37223 (eval "$ac_link") 2>conftest.er1
37225 grep -v '^ *+' conftest.er1 >conftest.err
37227 cat conftest.err >&5
37228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37229 (exit $ac_status); } && {
37230 test -z "$ac_c_werror_flag" ||
37231 test ! -s conftest.err
37232 } && test -s conftest$ac_exeext &&
37233 $as_test_x conftest$ac_exeext; then
37234 eval "$as_ac_var=yes"
37236 echo "$as_me: failed program was:" >&5
37237 sed 's/^/| /' conftest.$ac_ext >&5
37239 eval "$as_ac_var=no"
37242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37243 conftest$ac_exeext conftest.$ac_ext
37245 ac_res=`eval echo '${'$as_ac_var'}'`
37246 { echo "$as_me:$LINENO: result: $ac_res" >&5
37247 echo "${ECHO_T}$ac_res" >&6; }
37248 if test `eval echo '${'$as_ac_var'}'` = yes; then
37249 cat >>confdefs.h <<_ACEOF
37250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37257 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37258 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37259 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37260 wxUSE_SNGLINST_CHECKER=no
37266 for ac_func in setenv putenv
37268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37271 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37272 echo $ECHO_N "(cached) $ECHO_C" >&6
37274 cat >conftest.$ac_ext <<_ACEOF
37277 cat confdefs.h >>conftest.$ac_ext
37278 cat >>conftest.$ac_ext <<_ACEOF
37279 /* end confdefs.h. */
37280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37282 #define $ac_func innocuous_$ac_func
37284 /* System header to define __stub macros and hopefully few prototypes,
37285 which can conflict with char $ac_func (); below.
37286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37287 <limits.h> exists even on freestanding compilers. */
37290 # include <limits.h>
37292 # include <assert.h>
37297 /* Override any GCC internal prototype to avoid an error.
37298 Use char because int might match the return type of a GCC
37299 builtin and then its argument prototype would still apply. */
37304 /* The GNU C library defines this for functions which it implements
37305 to always fail with ENOSYS. Some functions are actually named
37306 something starting with __ and the normal name is an alias. */
37307 #if defined __stub_$ac_func || defined __stub___$ac_func
37314 return $ac_func ();
37319 rm -f conftest.$ac_objext conftest$ac_exeext
37320 if { (ac_try="$ac_link"
37321 case "(($ac_try" in
37322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37323 *) ac_try_echo
=$ac_try;;
37325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37326 (eval "$ac_link") 2>conftest.er1
37328 grep -v '^ *+' conftest.er1
>conftest.err
37330 cat conftest.err
>&5
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); } && {
37333 test -z "$ac_c_werror_flag" ||
37334 test ! -s conftest.err
37335 } && test -s conftest
$ac_exeext &&
37336 $as_test_x conftest
$ac_exeext; then
37337 eval "$as_ac_var=yes"
37339 echo "$as_me: failed program was:" >&5
37340 sed 's/^/| /' conftest.
$ac_ext >&5
37342 eval "$as_ac_var=no"
37345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37346 conftest
$ac_exeext conftest.
$ac_ext
37348 ac_res
=`eval echo '${'$as_ac_var'}'`
37349 { echo "$as_me:$LINENO: result: $ac_res" >&5
37350 echo "${ECHO_T}$ac_res" >&6; }
37351 if test `eval echo '${'$as_ac_var'}'` = yes; then
37352 cat >>confdefs.h
<<_ACEOF
37353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37359 if test "$ac_cv_func_setenv" = "yes"; then
37361 for ac_func
in unsetenv
37363 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37364 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37366 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37367 echo $ECHO_N "(cached) $ECHO_C" >&6
37369 cat >conftest.
$ac_ext <<_ACEOF
37372 cat confdefs.h
>>conftest.
$ac_ext
37373 cat >>conftest.
$ac_ext <<_ACEOF
37374 /* end confdefs.h. */
37375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37377 #define $ac_func innocuous_$ac_func
37379 /* System header to define __stub macros and hopefully few prototypes,
37380 which can conflict with char $ac_func (); below.
37381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37382 <limits.h> exists even on freestanding compilers. */
37385 # include <limits.h>
37387 # include <assert.h>
37392 /* Override any GCC internal prototype to avoid an error.
37393 Use char because int might match the return type of a GCC
37394 builtin and then its argument prototype would still apply. */
37399 /* The GNU C library defines this for functions which it implements
37400 to always fail with ENOSYS. Some functions are actually named
37401 something starting with __ and the normal name is an alias. */
37402 #if defined __stub_$ac_func || defined __stub___$ac_func
37409 return $ac_func ();
37414 rm -f conftest.
$ac_objext conftest
$ac_exeext
37415 if { (ac_try
="$ac_link"
37416 case "(($ac_try" in
37417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37418 *) ac_try_echo=$ac_try;;
37420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37421 (eval "$ac_link") 2>conftest.er1
37423 grep -v '^ *+' conftest.er1 >conftest.err
37425 cat conftest.err >&5
37426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37427 (exit $ac_status); } && {
37428 test -z "$ac_c_werror_flag" ||
37429 test ! -s conftest.err
37430 } && test -s conftest$ac_exeext &&
37431 $as_test_x conftest$ac_exeext; then
37432 eval "$as_ac_var=yes"
37434 echo "$as_me: failed program was:" >&5
37435 sed 's/^/| /' conftest.$ac_ext >&5
37437 eval "$as_ac_var=no"
37440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37441 conftest$ac_exeext conftest.$ac_ext
37443 ac_res=`eval echo '${'$as_ac_var'}'`
37444 { echo "$as_me:$LINENO: result: $ac_res" >&5
37445 echo "${ECHO_T}$ac_res" >&6; }
37446 if test `eval echo '${'$as_ac_var'}'` = yes; then
37447 cat >>confdefs.h <<_ACEOF
37448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37456 HAVE_SOME_SLEEP_FUNC=0
37457 if test "$USE_BEOS" = 1; then
37458 cat >>confdefs.h <<\_ACEOF
37459 #define HAVE_SLEEP 1
37462 HAVE_SOME_SLEEP_FUNC=1
37465 if test "$USE_DARWIN" = 1; then
37466 cat >>confdefs.h <<\_ACEOF
37467 #define HAVE_USLEEP 1
37470 HAVE_SOME_SLEEP_FUNC=1
37473 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37476 for ac_func in nanosleep
37478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37481 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37482 echo $ECHO_N "(cached) $ECHO_C" >&6
37484 cat >conftest.$ac_ext <<_ACEOF
37487 cat confdefs.h >>conftest.$ac_ext
37488 cat >>conftest.$ac_ext <<_ACEOF
37489 /* end confdefs.h. */
37490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37492 #define $ac_func innocuous_$ac_func
37494 /* System header to define __stub macros and hopefully few prototypes,
37495 which can conflict with char $ac_func (); below.
37496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37497 <limits.h> exists even on freestanding compilers. */
37500 # include <limits.h>
37502 # include <assert.h>
37507 /* Override any GCC internal prototype to avoid an error.
37508 Use char because int might match the return type of a GCC
37509 builtin and then its argument prototype would still apply. */
37514 /* The GNU C library defines this for functions which it implements
37515 to always fail with ENOSYS. Some functions are actually named
37516 something starting with __ and the normal name is an alias. */
37517 #if defined __stub_$ac_func || defined __stub___$ac_func
37524 return $ac_func ();
37529 rm -f conftest.$ac_objext conftest$ac_exeext
37530 if { (ac_try="$ac_link"
37531 case "(($ac_try" in
37532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37533 *) ac_try_echo
=$ac_try;;
37535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37536 (eval "$ac_link") 2>conftest.er1
37538 grep -v '^ *+' conftest.er1
>conftest.err
37540 cat conftest.err
>&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } && {
37543 test -z "$ac_c_werror_flag" ||
37544 test ! -s conftest.err
37545 } && test -s conftest
$ac_exeext &&
37546 $as_test_x conftest
$ac_exeext; then
37547 eval "$as_ac_var=yes"
37549 echo "$as_me: failed program was:" >&5
37550 sed 's/^/| /' conftest.
$ac_ext >&5
37552 eval "$as_ac_var=no"
37555 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37556 conftest
$ac_exeext conftest.
$ac_ext
37558 ac_res
=`eval echo '${'$as_ac_var'}'`
37559 { echo "$as_me:$LINENO: result: $ac_res" >&5
37560 echo "${ECHO_T}$ac_res" >&6; }
37561 if test `eval echo '${'$as_ac_var'}'` = yes; then
37562 cat >>confdefs.h
<<_ACEOF
37563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37565 cat >>confdefs.h
<<\_ACEOF
37566 #define HAVE_NANOSLEEP 1
37571 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37572 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37573 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37574 echo $ECHO_N "(cached) $ECHO_C" >&6
37576 ac_check_lib_save_LIBS
=$LIBS
37577 LIBS
="-lposix4 $LIBS"
37578 cat >conftest.
$ac_ext <<_ACEOF
37581 cat confdefs.h
>>conftest.
$ac_ext
37582 cat >>conftest.
$ac_ext <<_ACEOF
37583 /* end confdefs.h. */
37585 /* Override any GCC internal prototype to avoid an error.
37586 Use char because int might match the return type of a GCC
37587 builtin and then its argument prototype would still apply. */
37595 return nanosleep ();
37600 rm -f conftest.
$ac_objext conftest
$ac_exeext
37601 if { (ac_try
="$ac_link"
37602 case "(($ac_try" in
37603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37604 *) ac_try_echo=$ac_try;;
37606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37607 (eval "$ac_link") 2>conftest.er1
37609 grep -v '^ *+' conftest.er1 >conftest.err
37611 cat conftest.err >&5
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); } && {
37614 test -z "$ac_c_werror_flag" ||
37615 test ! -s conftest.err
37616 } && test -s conftest$ac_exeext &&
37617 $as_test_x conftest$ac_exeext; then
37618 ac_cv_lib_posix4_nanosleep=yes
37620 echo "$as_me: failed program was:" >&5
37621 sed 's/^/| /' conftest.$ac_ext >&5
37623 ac_cv_lib_posix4_nanosleep=no
37626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37627 conftest$ac_exeext conftest.$ac_ext
37628 LIBS=$ac_check_lib_save_LIBS
37630 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37631 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37632 if test $ac_cv_lib_posix4_nanosleep = yes; then
37634 cat >>confdefs.h <<\_ACEOF
37635 #define HAVE_NANOSLEEP 1
37638 POSIX4_LINK=" -lposix4"
37643 for wx_func in usleep
37645 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37646 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37647 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37648 echo $ECHO_N "(cached) $ECHO_C" >&6
37651 cat >conftest.$ac_ext <<_ACEOF
37655 cat confdefs.h >>conftest.$ac_ext
37656 cat >>conftest.$ac_ext <<_ACEOF
37657 /* end confdefs.h. */
37660 $ac_includes_default
37676 rm -f conftest.$ac_objext conftest$ac_exeext
37677 if { (ac_try="$ac_link"
37678 case "(($ac_try" in
37679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37680 *) ac_try_echo
=$ac_try;;
37682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37683 (eval "$ac_link") 2>conftest.er1
37685 grep -v '^ *+' conftest.er1
>conftest.err
37687 cat conftest.err
>&5
37688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689 (exit $ac_status); } && {
37690 test -z "$ac_c_werror_flag" ||
37691 test ! -s conftest.err
37692 } && test -s conftest
$ac_exeext &&
37693 $as_test_x conftest
$ac_exeext; then
37694 eval wx_cv_func_
$wx_func=yes
37696 echo "$as_me: failed program was:" >&5
37697 sed 's/^/| /' conftest.
$ac_ext >&5
37699 eval wx_cv_func_
$wx_func=no
37702 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37703 conftest
$ac_exeext conftest.
$ac_ext
37706 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37707 { echo "$as_me:$LINENO: result: $ac_res" >&5
37708 echo "${ECHO_T}$ac_res" >&6; }
37710 if eval test \
$wx_cv_func_$wx_func = yes
37712 cat >>confdefs.h
<<_ACEOF
37713 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37719 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37720 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37737 for wx_func
in uname
37739 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37740 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37741 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37742 echo $ECHO_N "(cached) $ECHO_C" >&6
37745 cat >conftest.
$ac_ext <<_ACEOF
37749 cat confdefs.h
>>conftest.
$ac_ext
37750 cat >>conftest.
$ac_ext <<_ACEOF
37751 /* end confdefs.h. */
37753 #include <sys/utsname.h>
37754 $ac_includes_default
37770 rm -f conftest.
$ac_objext conftest
$ac_exeext
37771 if { (ac_try
="$ac_link"
37772 case "(($ac_try" in
37773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37774 *) ac_try_echo=$ac_try;;
37776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37777 (eval "$ac_link") 2>conftest.er1
37779 grep -v '^ *+' conftest.er1 >conftest.err
37781 cat conftest.err >&5
37782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37783 (exit $ac_status); } && {
37784 test -z "$ac_c_werror_flag" ||
37785 test ! -s conftest.err
37786 } && test -s conftest$ac_exeext &&
37787 $as_test_x conftest$ac_exeext; then
37788 eval wx_cv_func_$wx_func=yes
37790 echo "$as_me: failed program was:" >&5
37791 sed 's/^/| /' conftest.$ac_ext >&5
37793 eval wx_cv_func_$wx_func=no
37796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37797 conftest$ac_exeext conftest.$ac_ext
37800 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37801 { echo "$as_me:$LINENO: result: $ac_res" >&5
37802 echo "${ECHO_T}$ac_res" >&6; }
37804 if eval test \$wx_cv_func_$wx_func = yes
37806 cat >>confdefs.h <<_ACEOF
37807 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37817 if test "$wx_cv_func_uname" != yes; then
37819 for wx_func in gethostname
37821 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37822 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37823 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37824 echo $ECHO_N "(cached) $ECHO_C" >&6
37827 cat >conftest.$ac_ext <<_ACEOF
37831 cat confdefs.h >>conftest.$ac_ext
37832 cat >>conftest.$ac_ext <<_ACEOF
37833 /* end confdefs.h. */
37836 $ac_includes_default
37852 rm -f conftest.$ac_objext conftest$ac_exeext
37853 if { (ac_try="$ac_link"
37854 case "(($ac_try" in
37855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37856 *) ac_try_echo
=$ac_try;;
37858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37859 (eval "$ac_link") 2>conftest.er1
37861 grep -v '^ *+' conftest.er1
>conftest.err
37863 cat conftest.err
>&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); } && {
37866 test -z "$ac_c_werror_flag" ||
37867 test ! -s conftest.err
37868 } && test -s conftest
$ac_exeext &&
37869 $as_test_x conftest
$ac_exeext; then
37870 eval wx_cv_func_
$wx_func=yes
37872 echo "$as_me: failed program was:" >&5
37873 sed 's/^/| /' conftest.
$ac_ext >&5
37875 eval wx_cv_func_
$wx_func=no
37878 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37879 conftest
$ac_exeext conftest.
$ac_ext
37882 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37883 { echo "$as_me:$LINENO: result: $ac_res" >&5
37884 echo "${ECHO_T}$ac_res" >&6; }
37886 if eval test \
$wx_cv_func_$wx_func = yes
37888 cat >>confdefs.h
<<_ACEOF
37889 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37902 for wx_func
in strtok_r
37904 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37905 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37906 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37907 echo $ECHO_N "(cached) $ECHO_C" >&6
37910 cat >conftest.
$ac_ext <<_ACEOF
37914 cat confdefs.h
>>conftest.
$ac_ext
37915 cat >>conftest.
$ac_ext <<_ACEOF
37916 /* end confdefs.h. */
37919 $ac_includes_default
37935 rm -f conftest.
$ac_objext conftest
$ac_exeext
37936 if { (ac_try
="$ac_link"
37937 case "(($ac_try" in
37938 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37939 *) ac_try_echo=$ac_try;;
37941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37942 (eval "$ac_link") 2>conftest.er1
37944 grep -v '^ *+' conftest.er1 >conftest.err
37946 cat conftest.err >&5
37947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37948 (exit $ac_status); } && {
37949 test -z "$ac_c_werror_flag" ||
37950 test ! -s conftest.err
37951 } && test -s conftest$ac_exeext &&
37952 $as_test_x conftest$ac_exeext; then
37953 eval wx_cv_func_$wx_func=yes
37955 echo "$as_me: failed program was:" >&5
37956 sed 's/^/| /' conftest.$ac_ext >&5
37958 eval wx_cv_func_$wx_func=no
37961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37962 conftest$ac_exeext conftest.$ac_ext
37965 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37966 { echo "$as_me:$LINENO: result: $ac_res" >&5
37967 echo "${ECHO_T}$ac_res" >&6; }
37969 if eval test \$wx_cv_func_$wx_func = yes
37971 cat >>confdefs.h <<_ACEOF
37972 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37985 for ac_func in inet_addr
37987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37988 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37990 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37991 echo $ECHO_N "(cached) $ECHO_C" >&6
37993 cat >conftest.$ac_ext <<_ACEOF
37996 cat confdefs.h >>conftest.$ac_ext
37997 cat >>conftest.$ac_ext <<_ACEOF
37998 /* end confdefs.h. */
37999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38001 #define $ac_func innocuous_$ac_func
38003 /* System header to define __stub macros and hopefully few prototypes,
38004 which can conflict with char $ac_func (); below.
38005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38006 <limits.h> exists even on freestanding compilers. */
38009 # include <limits.h>
38011 # include <assert.h>
38016 /* Override any GCC internal prototype to avoid an error.
38017 Use char because int might match the return type of a GCC
38018 builtin and then its argument prototype would still apply. */
38023 /* The GNU C library defines this for functions which it implements
38024 to always fail with ENOSYS. Some functions are actually named
38025 something starting with __ and the normal name is an alias. */
38026 #if defined __stub_$ac_func || defined __stub___$ac_func
38033 return $ac_func ();
38038 rm -f conftest.$ac_objext conftest$ac_exeext
38039 if { (ac_try="$ac_link"
38040 case "(($ac_try" in
38041 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38042 *) ac_try_echo
=$ac_try;;
38044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38045 (eval "$ac_link") 2>conftest.er1
38047 grep -v '^ *+' conftest.er1
>conftest.err
38049 cat conftest.err
>&5
38050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38051 (exit $ac_status); } && {
38052 test -z "$ac_c_werror_flag" ||
38053 test ! -s conftest.err
38054 } && test -s conftest
$ac_exeext &&
38055 $as_test_x conftest
$ac_exeext; then
38056 eval "$as_ac_var=yes"
38058 echo "$as_me: failed program was:" >&5
38059 sed 's/^/| /' conftest.
$ac_ext >&5
38061 eval "$as_ac_var=no"
38064 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38065 conftest
$ac_exeext conftest.
$ac_ext
38067 ac_res
=`eval echo '${'$as_ac_var'}'`
38068 { echo "$as_me:$LINENO: result: $ac_res" >&5
38069 echo "${ECHO_T}$ac_res" >&6; }
38070 if test `eval echo '${'$as_ac_var'}'` = yes; then
38071 cat >>confdefs.h
<<_ACEOF
38072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38074 cat >>confdefs.h
<<\_ACEOF
38075 #define HAVE_INET_ADDR 1
38080 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38081 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38082 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 ac_check_lib_save_LIBS
=$LIBS
38087 cat >conftest.
$ac_ext <<_ACEOF
38090 cat confdefs.h
>>conftest.
$ac_ext
38091 cat >>conftest.
$ac_ext <<_ACEOF
38092 /* end confdefs.h. */
38094 /* Override any GCC internal prototype to avoid an error.
38095 Use char because int might match the return type of a GCC
38096 builtin and then its argument prototype would still apply. */
38104 return inet_addr ();
38109 rm -f conftest.
$ac_objext conftest
$ac_exeext
38110 if { (ac_try
="$ac_link"
38111 case "(($ac_try" in
38112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38113 *) ac_try_echo=$ac_try;;
38115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38116 (eval "$ac_link") 2>conftest.er1
38118 grep -v '^ *+' conftest.er1 >conftest.err
38120 cat conftest.err >&5
38121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122 (exit $ac_status); } && {
38123 test -z "$ac_c_werror_flag" ||
38124 test ! -s conftest.err
38125 } && test -s conftest$ac_exeext &&
38126 $as_test_x conftest$ac_exeext; then
38127 ac_cv_lib_nsl_inet_addr=yes
38129 echo "$as_me: failed program was:" >&5
38130 sed 's/^/| /' conftest.$ac_ext >&5
38132 ac_cv_lib_nsl_inet_addr=no
38135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38136 conftest$ac_exeext conftest.$ac_ext
38137 LIBS=$ac_check_lib_save_LIBS
38139 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38140 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38141 if test $ac_cv_lib_nsl_inet_addr = yes; then
38145 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38146 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38147 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38148 echo $ECHO_N "(cached) $ECHO_C" >&6
38150 ac_check_lib_save_LIBS=$LIBS
38151 LIBS="-lresolv $LIBS"
38152 cat >conftest.$ac_ext <<_ACEOF
38155 cat confdefs.h >>conftest.$ac_ext
38156 cat >>conftest.$ac_ext <<_ACEOF
38157 /* end confdefs.h. */
38159 /* Override any GCC internal prototype to avoid an error.
38160 Use char because int might match the return type of a GCC
38161 builtin and then its argument prototype would still apply. */
38169 return inet_addr ();
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 ac_cv_lib_resolv_inet_addr
=yes
38194 echo "$as_me: failed program was:" >&5
38195 sed 's/^/| /' conftest.
$ac_ext >&5
38197 ac_cv_lib_resolv_inet_addr
=no
38200 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38201 conftest
$ac_exeext conftest.
$ac_ext
38202 LIBS
=$ac_check_lib_save_LIBS
38204 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38205 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38206 if test $ac_cv_lib_resolv_inet_addr = yes; then
38210 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38211 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38212 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38213 echo $ECHO_N "(cached) $ECHO_C" >&6
38215 ac_check_lib_save_LIBS
=$LIBS
38216 LIBS
="-lsocket $LIBS"
38217 cat >conftest.
$ac_ext <<_ACEOF
38220 cat confdefs.h
>>conftest.
$ac_ext
38221 cat >>conftest.
$ac_ext <<_ACEOF
38222 /* end confdefs.h. */
38224 /* Override any GCC internal prototype to avoid an error.
38225 Use char because int might match the return type of a GCC
38226 builtin and then its argument prototype would still apply. */
38234 return inet_addr ();
38239 rm -f conftest.
$ac_objext conftest
$ac_exeext
38240 if { (ac_try
="$ac_link"
38241 case "(($ac_try" in
38242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38243 *) ac_try_echo=$ac_try;;
38245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38246 (eval "$ac_link") 2>conftest.er1
38248 grep -v '^ *+' conftest.er1 >conftest.err
38250 cat conftest.err >&5
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); } && {
38253 test -z "$ac_c_werror_flag" ||
38254 test ! -s conftest.err
38255 } && test -s conftest$ac_exeext &&
38256 $as_test_x conftest$ac_exeext; then
38257 ac_cv_lib_socket_inet_addr=yes
38259 echo "$as_me: failed program was:" >&5
38260 sed 's/^/| /' conftest.$ac_ext >&5
38262 ac_cv_lib_socket_inet_addr=no
38265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38266 conftest$ac_exeext conftest.$ac_ext
38267 LIBS=$ac_check_lib_save_LIBS
38269 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38270 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38271 if test $ac_cv_lib_socket_inet_addr = yes; then
38291 for ac_func in inet_aton
38293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38297 echo $ECHO_N "(cached) $ECHO_C" >&6
38299 cat >conftest.$ac_ext <<_ACEOF
38302 cat confdefs.h >>conftest.$ac_ext
38303 cat >>conftest.$ac_ext <<_ACEOF
38304 /* end confdefs.h. */
38305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38307 #define $ac_func innocuous_$ac_func
38309 /* System header to define __stub macros and hopefully few prototypes,
38310 which can conflict with char $ac_func (); below.
38311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38312 <limits.h> exists even on freestanding compilers. */
38315 # include <limits.h>
38317 # include <assert.h>
38322 /* Override any GCC internal prototype to avoid an error.
38323 Use char because int might match the return type of a GCC
38324 builtin and then its argument prototype would still apply. */
38329 /* The GNU C library defines this for functions which it implements
38330 to always fail with ENOSYS. Some functions are actually named
38331 something starting with __ and the normal name is an alias. */
38332 #if defined __stub_$ac_func || defined __stub___$ac_func
38339 return $ac_func ();
38344 rm -f conftest.$ac_objext conftest$ac_exeext
38345 if { (ac_try="$ac_link"
38346 case "(($ac_try" in
38347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38348 *) ac_try_echo
=$ac_try;;
38350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38351 (eval "$ac_link") 2>conftest.er1
38353 grep -v '^ *+' conftest.er1
>conftest.err
38355 cat conftest.err
>&5
38356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38357 (exit $ac_status); } && {
38358 test -z "$ac_c_werror_flag" ||
38359 test ! -s conftest.err
38360 } && test -s conftest
$ac_exeext &&
38361 $as_test_x conftest
$ac_exeext; then
38362 eval "$as_ac_var=yes"
38364 echo "$as_me: failed program was:" >&5
38365 sed 's/^/| /' conftest.
$ac_ext >&5
38367 eval "$as_ac_var=no"
38370 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38371 conftest
$ac_exeext conftest.
$ac_ext
38373 ac_res
=`eval echo '${'$as_ac_var'}'`
38374 { echo "$as_me:$LINENO: result: $ac_res" >&5
38375 echo "${ECHO_T}$ac_res" >&6; }
38376 if test `eval echo '${'$as_ac_var'}'` = yes; then
38377 cat >>confdefs.h
<<_ACEOF
38378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38380 cat >>confdefs.h
<<\_ACEOF
38381 #define HAVE_INET_ATON 1
38386 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38387 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38388 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38389 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38390 echo $ECHO_N "(cached) $ECHO_C" >&6
38392 ac_check_lib_save_LIBS
=$LIBS
38393 LIBS
="-l$INET_LINK $LIBS"
38394 cat >conftest.
$ac_ext <<_ACEOF
38397 cat confdefs.h
>>conftest.
$ac_ext
38398 cat >>conftest.
$ac_ext <<_ACEOF
38399 /* end confdefs.h. */
38401 /* Override any GCC internal prototype to avoid an error.
38402 Use char because int might match the return type of a GCC
38403 builtin and then its argument prototype would still apply. */
38411 return inet_aton ();
38416 rm -f conftest.
$ac_objext conftest
$ac_exeext
38417 if { (ac_try
="$ac_link"
38418 case "(($ac_try" in
38419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38420 *) ac_try_echo=$ac_try;;
38422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38423 (eval "$ac_link") 2>conftest.er1
38425 grep -v '^ *+' conftest.er1 >conftest.err
38427 cat conftest.err >&5
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); } && {
38430 test -z "$ac_c_werror_flag" ||
38431 test ! -s conftest.err
38432 } && test -s conftest$ac_exeext &&
38433 $as_test_x conftest$ac_exeext; then
38434 eval "$as_ac_Lib=yes"
38436 echo "$as_me: failed program was:" >&5
38437 sed 's/^/| /' conftest.$ac_ext >&5
38439 eval "$as_ac_Lib=no"
38442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38443 conftest$ac_exeext conftest.$ac_ext
38444 LIBS=$ac_check_lib_save_LIBS
38446 ac_res=`eval echo '${'$as_ac_Lib'}'`
38447 { echo "$as_me:$LINENO: result: $ac_res" >&5
38448 echo "${ECHO_T}$ac_res" >&6; }
38449 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38450 cat >>confdefs.h <<\_ACEOF
38451 #define HAVE_INET_ATON 1
38461 if test "x$INET_LINK" != "x"; then
38462 cat >>confdefs.h <<\_ACEOF
38463 #define HAVE_INET_ADDR 1
38466 INET_LINK=" -l$INET_LINK"
38470 for wx_func in fdopen
38472 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38473 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38474 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38475 echo $ECHO_N "(cached) $ECHO_C" >&6
38478 cat >conftest.$ac_ext <<_ACEOF
38482 cat confdefs.h >>conftest.$ac_ext
38483 cat >>conftest.$ac_ext <<_ACEOF
38484 /* end confdefs.h. */
38487 $ac_includes_default
38503 rm -f conftest.$ac_objext conftest$ac_exeext
38504 if { (ac_try="$ac_link"
38505 case "(($ac_try" in
38506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38507 *) ac_try_echo
=$ac_try;;
38509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38510 (eval "$ac_link") 2>conftest.er1
38512 grep -v '^ *+' conftest.er1
>conftest.err
38514 cat conftest.err
>&5
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); } && {
38517 test -z "$ac_c_werror_flag" ||
38518 test ! -s conftest.err
38519 } && test -s conftest
$ac_exeext &&
38520 $as_test_x conftest
$ac_exeext; then
38521 eval wx_cv_func_
$wx_func=yes
38523 echo "$as_me: failed program was:" >&5
38524 sed 's/^/| /' conftest.
$ac_ext >&5
38526 eval wx_cv_func_
$wx_func=no
38529 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38530 conftest
$ac_exeext conftest.
$ac_ext
38533 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38534 { echo "$as_me:$LINENO: result: $ac_res" >&5
38535 echo "${ECHO_T}$ac_res" >&6; }
38537 if eval test \
$wx_cv_func_$wx_func = yes
38539 cat >>confdefs.h
<<_ACEOF
38540 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38551 if test "$wxUSE_TARSTREAM" = "yes"; then
38553 for wx_func
in sysconf
38555 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38556 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38557 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38558 echo $ECHO_N "(cached) $ECHO_C" >&6
38561 cat >conftest.
$ac_ext <<_ACEOF
38565 cat confdefs.h
>>conftest.
$ac_ext
38566 cat >>conftest.
$ac_ext <<_ACEOF
38567 /* end confdefs.h. */
38570 $ac_includes_default
38586 rm -f conftest.
$ac_objext conftest
$ac_exeext
38587 if { (ac_try
="$ac_link"
38588 case "(($ac_try" in
38589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38590 *) ac_try_echo=$ac_try;;
38592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38593 (eval "$ac_link") 2>conftest.er1
38595 grep -v '^ *+' conftest.er1 >conftest.err
38597 cat conftest.err >&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } && {
38600 test -z "$ac_c_werror_flag" ||
38601 test ! -s conftest.err
38602 } && test -s conftest$ac_exeext &&
38603 $as_test_x conftest$ac_exeext; then
38604 eval wx_cv_func_$wx_func=yes
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.$ac_ext >&5
38609 eval wx_cv_func_$wx_func=no
38612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38613 conftest$ac_exeext conftest.$ac_ext
38616 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38617 { echo "$as_me:$LINENO: result: $ac_res" >&5
38618 echo "${ECHO_T}$ac_res" >&6; }
38620 if eval test \$wx_cv_func_$wx_func = yes
38622 cat >>confdefs.h <<_ACEOF
38623 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38635 for wx_func in getpwuid_r
38637 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38638 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38639 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38640 echo $ECHO_N "(cached) $ECHO_C" >&6
38643 cat >conftest.$ac_ext <<_ACEOF
38647 cat confdefs.h >>conftest.$ac_ext
38648 cat >>conftest.$ac_ext <<_ACEOF
38649 /* end confdefs.h. */
38655 $ac_includes_default
38665 struct passwd pw, *ppw;
38667 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38675 rm -f conftest.$ac_objext conftest$ac_exeext
38676 if { (ac_try="$ac_link"
38677 case "(($ac_try" in
38678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38679 *) ac_try_echo
=$ac_try;;
38681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38682 (eval "$ac_link") 2>conftest.er1
38684 grep -v '^ *+' conftest.er1
>conftest.err
38686 cat conftest.err
>&5
38687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38688 (exit $ac_status); } && {
38689 test -z "$ac_c_werror_flag" ||
38690 test ! -s conftest.err
38691 } && test -s conftest
$ac_exeext &&
38692 $as_test_x conftest
$ac_exeext; then
38693 eval wx_cv_func_
$wx_func=yes
38695 echo "$as_me: failed program was:" >&5
38696 sed 's/^/| /' conftest.
$ac_ext >&5
38698 eval wx_cv_func_
$wx_func=no
38701 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38702 conftest
$ac_exeext conftest.
$ac_ext
38705 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38706 { echo "$as_me:$LINENO: result: $ac_res" >&5
38707 echo "${ECHO_T}$ac_res" >&6; }
38709 if eval test \
$wx_cv_func_$wx_func = yes
38711 cat >>confdefs.h
<<_ACEOF
38712 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38724 for wx_func
in getgrgid_r
38726 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38727 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38728 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38732 cat >conftest.
$ac_ext <<_ACEOF
38736 cat confdefs.h
>>conftest.
$ac_ext
38737 cat >>conftest.
$ac_ext <<_ACEOF
38738 /* end confdefs.h. */
38744 $ac_includes_default
38754 struct group grp, *pgrp;
38756 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38764 rm -f conftest.
$ac_objext conftest
$ac_exeext
38765 if { (ac_try
="$ac_link"
38766 case "(($ac_try" in
38767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38768 *) ac_try_echo=$ac_try;;
38770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38771 (eval "$ac_link") 2>conftest.er1
38773 grep -v '^ *+' conftest.er1 >conftest.err
38775 cat conftest.err >&5
38776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38777 (exit $ac_status); } && {
38778 test -z "$ac_c_werror_flag" ||
38779 test ! -s conftest.err
38780 } && test -s conftest$ac_exeext &&
38781 $as_test_x conftest$ac_exeext; then
38782 eval wx_cv_func_$wx_func=yes
38784 echo "$as_me: failed program was:" >&5
38785 sed 's/^/| /' conftest.$ac_ext >&5
38787 eval wx_cv_func_$wx_func=no
38790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38791 conftest$ac_exeext conftest.$ac_ext
38794 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38795 { echo "$as_me:$LINENO: result: $ac_res" >&5
38796 echo "${ECHO_T}$ac_res" >&6; }
38798 if eval test \$wx_cv_func_$wx_func = yes
38800 cat >>confdefs.h <<_ACEOF
38801 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38817 cat >confcache <<\_ACEOF
38818 # This file is a shell script that caches the results of configure
38819 # tests run on this system so they can be shared between configure
38820 # scripts and configure runs, see configure's option --config-cache.
38821 # It is not useful on other systems. If it contains results you don't
38822 # want to keep, you may remove or edit it.
38824 # config.status only pays attention to the cache file if you give it
38825 # the --recheck option to rerun configure.
38827 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38829 # following values.
38833 # The following way of writing the cache mishandles newlines in values,
38834 # but we know of no workaround that is simple, portable, and efficient.
38835 # So, we kill variables containing newlines.
38836 # Ultrix sh set writes to stderr and can't be redirected directly,
38837 # and sets the high bit in the cache file unless we assign to the vars.
38839 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38840 eval ac_val
=\$
$ac_var
38844 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38845 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38848 _
| IFS
| as_nl
) ;; #(
38849 *) $as_unset $ac_var ;;
38855 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38856 *${as_nl}ac_space
=\
*)
38857 # `set' does not quote correctly, so add quotes (double-quote
38858 # substitution turns \\\\ into \\, and sed turns \\ into \).
38861 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38864 # `set' quotes correctly as required by POSIX, so do not add quotes.
38865 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38874 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38876 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38878 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38879 if test -w "$cache_file"; then
38880 test "x$cache_file" != "x/dev/null" &&
38881 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38882 echo "$as_me: updating cache $cache_file" >&6;}
38883 cat confcache
>$cache_file
38885 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38886 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38892 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38898 if test "$wxUSE_THREADS" = "yes" ; then
38899 if test "$USE_BEOS" = 1; then
38900 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38901 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38906 if test "$wxUSE_THREADS" = "yes" ; then
38909 THREAD_OPTS
="-pthread"
38910 if test "x$SUNCXX" = xyes
; then
38911 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38915 *-*-solaris2* | *-*-sunos4* )
38916 if test "x$GCC" = "xyes"; then
38917 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38921 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38923 *-*-darwin* | *-*-cygwin* )
38927 THREAD_OPTS
="pthreads"
38930 if test "x$GCC" = "xyes"; then
38931 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38939 if test "x$GCC" = "xyes"; then
38945 if test "x$GCC" != "xyes"; then
38946 THREAD_OPTS
="-Ethread"
38951 THREAD_OPTS
="$THREAD_OPTS pthread none"
38954 for flag
in $THREAD_OPTS; do
38957 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38958 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38962 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38963 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38964 THREADS_CFLAGS
="$flag"
38968 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38969 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38970 THREADS_LINK
="-l$flag"
38975 save_CFLAGS
="$CFLAGS"
38976 LIBS
="$THREADS_LINK $LIBS"
38977 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38979 cat >conftest.
$ac_ext <<_ACEOF
38982 cat confdefs.h
>>conftest.
$ac_ext
38983 cat >>conftest.
$ac_ext <<_ACEOF
38984 /* end confdefs.h. */
38985 #include <pthread.h>
38989 pthread_create(0,0,0,0);
38994 rm -f conftest.
$ac_objext conftest
$ac_exeext
38995 if { (ac_try
="$ac_link"
38996 case "(($ac_try" in
38997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38998 *) ac_try_echo=$ac_try;;
39000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39001 (eval "$ac_link") 2>conftest.er1
39003 grep -v '^ *+' conftest.er1 >conftest.err
39005 cat conftest.err >&5
39006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39007 (exit $ac_status); } && {
39008 test -z "$ac_c_werror_flag" ||
39009 test ! -s conftest.err
39010 } && test -s conftest$ac_exeext &&
39011 $as_test_x conftest$ac_exeext; then
39014 echo "$as_me: failed program was:" >&5
39015 sed 's/^/| /' conftest.$ac_ext >&5
39020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39021 conftest$ac_exeext conftest.$ac_ext
39024 CFLAGS="$save_CFLAGS"
39026 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39027 echo "${ECHO_T}$THREADS_OK" >&6; }
39028 if test "x$THREADS_OK" = "xyes"; then
39036 if test "x$THREADS_OK" != "xyes"; then
39038 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39039 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39041 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39042 LIBS="$THREADS_LINK $LIBS"
39044 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39045 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39049 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39050 flag="-D_THREAD_SAFE"
39053 flag="-D_THREAD_SAFE"
39056 flag="-D_REENTRANT"
39057 if test "x$GCC" != "xyes"; then
39058 flag="$flag -D_RWSTD_MULTI_THREAD"
39061 *solaris* | alpha*-osf*)
39062 flag="-D_REENTRANT"
39065 { echo "$as_me:$LINENO: result: ${flag}" >&5
39066 echo "${ECHO_T}${flag}" >&6; }
39067 if test "x$flag" != xno; then
39068 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39071 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39075 if test "$wxUSE_THREADS" = "yes" ; then
39077 for ac_func in thr_setconcurrency
39079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39080 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39082 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39083 echo $ECHO_N "(cached) $ECHO_C" >&6
39085 cat >conftest.$ac_ext <<_ACEOF
39088 cat confdefs.h >>conftest.$ac_ext
39089 cat >>conftest.$ac_ext <<_ACEOF
39090 /* end confdefs.h. */
39091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39093 #define $ac_func innocuous_$ac_func
39095 /* System header to define __stub macros and hopefully few prototypes,
39096 which can conflict with char $ac_func (); below.
39097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39098 <limits.h> exists even on freestanding compilers. */
39101 # include <limits.h>
39103 # include <assert.h>
39108 /* Override any GCC internal prototype to avoid an error.
39109 Use char because int might match the return type of a GCC
39110 builtin and then its argument prototype would still apply. */
39115 /* The GNU C library defines this for functions which it implements
39116 to always fail with ENOSYS. Some functions are actually named
39117 something starting with __ and the normal name is an alias. */
39118 #if defined __stub_$ac_func || defined __stub___$ac_func
39125 return $ac_func ();
39130 rm -f conftest.$ac_objext conftest$ac_exeext
39131 if { (ac_try="$ac_link"
39132 case "(($ac_try" in
39133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39134 *) ac_try_echo
=$ac_try;;
39136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39137 (eval "$ac_link") 2>conftest.er1
39139 grep -v '^ *+' conftest.er1
>conftest.err
39141 cat conftest.err
>&5
39142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39143 (exit $ac_status); } && {
39144 test -z "$ac_c_werror_flag" ||
39145 test ! -s conftest.err
39146 } && test -s conftest
$ac_exeext &&
39147 $as_test_x conftest
$ac_exeext; then
39148 eval "$as_ac_var=yes"
39150 echo "$as_me: failed program was:" >&5
39151 sed 's/^/| /' conftest.
$ac_ext >&5
39153 eval "$as_ac_var=no"
39156 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39157 conftest
$ac_exeext conftest.
$ac_ext
39159 ac_res
=`eval echo '${'$as_ac_var'}'`
39160 { echo "$as_me:$LINENO: result: $ac_res" >&5
39161 echo "${ECHO_T}$ac_res" >&6; }
39162 if test `eval echo '${'$as_ac_var'}'` = yes; then
39163 cat >>confdefs.h
<<_ACEOF
39164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39171 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39172 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39173 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39174 echo $ECHO_N "(cached) $ECHO_C" >&6
39178 ac_cpp
='$CXXCPP $CPPFLAGS'
39179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39183 cat >conftest.
$ac_ext <<_ACEOF
39186 cat confdefs.h
>>conftest.
$ac_ext
39187 cat >>conftest.
$ac_ext <<_ACEOF
39188 /* end confdefs.h. */
39189 #include <pthread.h>
39190 void ThreadCleanupFunc(void *p);
39197 pthread_cleanup_push(ThreadCleanupFunc, p);
39198 pthread_cleanup_pop(0);
39204 rm -f conftest.
$ac_objext
39205 if { (ac_try
="$ac_compile"
39206 case "(($ac_try" in
39207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39208 *) ac_try_echo=$ac_try;;
39210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39211 (eval "$ac_compile") 2>conftest.er1
39213 grep -v '^ *+' conftest.er1 >conftest.err
39215 cat conftest.err >&5
39216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39217 (exit $ac_status); } && {
39218 test -z "$ac_cxx_werror_flag" ||
39219 test ! -s conftest.err
39220 } && test -s conftest.$ac_objext; then
39222 wx_cv_func_pthread_cleanup=yes
39225 echo "$as_me: failed program was:" >&5
39226 sed 's/^/| /' conftest.$ac_ext >&5
39229 wx_cv_func_pthread_cleanup=no
39234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39236 ac_cpp='$CPP $CPPFLAGS'
39237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39243 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39244 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39245 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39246 cat >>confdefs.h <<\_ACEOF
39247 #define wxHAVE_PTHREAD_CLEANUP 1
39253 for ac_header in sched.h
39255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39259 echo $ECHO_N "(cached) $ECHO_C" >&6
39261 cat >conftest.$ac_ext <<_ACEOF
39264 cat confdefs.h >>conftest.$ac_ext
39265 cat >>conftest.$ac_ext <<_ACEOF
39266 /* end confdefs.h. */
39267 $ac_includes_default
39269 #include <$ac_header>
39271 rm -f conftest.$ac_objext
39272 if { (ac_try="$ac_compile"
39273 case "(($ac_try" in
39274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39275 *) ac_try_echo
=$ac_try;;
39277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39278 (eval "$ac_compile") 2>conftest.er1
39280 grep -v '^ *+' conftest.er1
>conftest.err
39282 cat conftest.err
>&5
39283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39284 (exit $ac_status); } && {
39285 test -z "$ac_c_werror_flag" ||
39286 test ! -s conftest.err
39287 } && test -s conftest.
$ac_objext; then
39288 eval "$as_ac_Header=yes"
39290 echo "$as_me: failed program was:" >&5
39291 sed 's/^/| /' conftest.
$ac_ext >&5
39293 eval "$as_ac_Header=no"
39296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39298 ac_res
=`eval echo '${'$as_ac_Header'}'`
39299 { echo "$as_me:$LINENO: result: $ac_res" >&5
39300 echo "${ECHO_T}$ac_res" >&6; }
39301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39302 cat >>confdefs.h
<<_ACEOF
39303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39310 if test "$ac_cv_header_sched_h" = "yes"; then
39311 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39312 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39313 if test "${ac_cv_func_sched_yield+set}" = set; then
39314 echo $ECHO_N "(cached) $ECHO_C" >&6
39316 cat >conftest.
$ac_ext <<_ACEOF
39319 cat confdefs.h
>>conftest.
$ac_ext
39320 cat >>conftest.
$ac_ext <<_ACEOF
39321 /* end confdefs.h. */
39322 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39324 #define sched_yield innocuous_sched_yield
39326 /* System header to define __stub macros and hopefully few prototypes,
39327 which can conflict with char sched_yield (); below.
39328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39329 <limits.h> exists even on freestanding compilers. */
39332 # include <limits.h>
39334 # include <assert.h>
39339 /* Override any GCC internal prototype to avoid an error.
39340 Use char because int might match the return type of a GCC
39341 builtin and then its argument prototype would still apply. */
39345 char sched_yield ();
39346 /* The GNU C library defines this for functions which it implements
39347 to always fail with ENOSYS. Some functions are actually named
39348 something starting with __ and the normal name is an alias. */
39349 #if defined __stub_sched_yield || defined __stub___sched_yield
39356 return sched_yield ();
39361 rm -f conftest.
$ac_objext conftest
$ac_exeext
39362 if { (ac_try
="$ac_link"
39363 case "(($ac_try" in
39364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39365 *) ac_try_echo=$ac_try;;
39367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39368 (eval "$ac_link") 2>conftest.er1
39370 grep -v '^ *+' conftest.er1 >conftest.err
39372 cat conftest.err >&5
39373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39374 (exit $ac_status); } && {
39375 test -z "$ac_c_werror_flag" ||
39376 test ! -s conftest.err
39377 } && test -s conftest$ac_exeext &&
39378 $as_test_x conftest$ac_exeext; then
39379 ac_cv_func_sched_yield=yes
39381 echo "$as_me: failed program was:" >&5
39382 sed 's/^/| /' conftest.$ac_ext >&5
39384 ac_cv_func_sched_yield=no
39387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39388 conftest$ac_exeext conftest.$ac_ext
39390 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39391 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39392 if test $ac_cv_func_sched_yield = yes; then
39393 cat >>confdefs.h <<\_ACEOF
39394 #define HAVE_SCHED_YIELD 1
39399 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39400 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39401 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39402 echo $ECHO_N "(cached) $ECHO_C" >&6
39404 ac_check_lib_save_LIBS=$LIBS
39405 LIBS="-lposix4 $LIBS"
39406 cat >conftest.$ac_ext <<_ACEOF
39409 cat confdefs.h >>conftest.$ac_ext
39410 cat >>conftest.$ac_ext <<_ACEOF
39411 /* end confdefs.h. */
39413 /* Override any GCC internal prototype to avoid an error.
39414 Use char because int might match the return type of a GCC
39415 builtin and then its argument prototype would still apply. */
39419 char sched_yield ();
39423 return sched_yield ();
39428 rm -f conftest.$ac_objext conftest$ac_exeext
39429 if { (ac_try="$ac_link"
39430 case "(($ac_try" in
39431 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39432 *) ac_try_echo
=$ac_try;;
39434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39435 (eval "$ac_link") 2>conftest.er1
39437 grep -v '^ *+' conftest.er1
>conftest.err
39439 cat conftest.err
>&5
39440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39441 (exit $ac_status); } && {
39442 test -z "$ac_c_werror_flag" ||
39443 test ! -s conftest.err
39444 } && test -s conftest
$ac_exeext &&
39445 $as_test_x conftest
$ac_exeext; then
39446 ac_cv_lib_posix4_sched_yield
=yes
39448 echo "$as_me: failed program was:" >&5
39449 sed 's/^/| /' conftest.
$ac_ext >&5
39451 ac_cv_lib_posix4_sched_yield
=no
39454 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39455 conftest
$ac_exeext conftest.
$ac_ext
39456 LIBS
=$ac_check_lib_save_LIBS
39458 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39459 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39460 if test $ac_cv_lib_posix4_sched_yield = yes; then
39461 cat >>confdefs.h
<<\_ACEOF
39462 #define HAVE_SCHED_YIELD 1
39464 POSIX4_LINK
=" -lposix4"
39466 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39467 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39478 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39479 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39480 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39481 echo $ECHO_N "(cached) $ECHO_C" >&6
39483 cat >conftest.
$ac_ext <<_ACEOF
39486 cat confdefs.h
>>conftest.
$ac_ext
39487 cat >>conftest.
$ac_ext <<_ACEOF
39488 /* end confdefs.h. */
39489 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39491 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39493 /* System header to define __stub macros and hopefully few prototypes,
39494 which can conflict with char pthread_attr_getschedpolicy (); below.
39495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39496 <limits.h> exists even on freestanding compilers. */
39499 # include <limits.h>
39501 # include <assert.h>
39504 #undef pthread_attr_getschedpolicy
39506 /* Override any GCC internal prototype to avoid an error.
39507 Use char because int might match the return type of a GCC
39508 builtin and then its argument prototype would still apply. */
39512 char pthread_attr_getschedpolicy ();
39513 /* The GNU C library defines this for functions which it implements
39514 to always fail with ENOSYS. Some functions are actually named
39515 something starting with __ and the normal name is an alias. */
39516 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39523 return pthread_attr_getschedpolicy ();
39528 rm -f conftest.
$ac_objext conftest
$ac_exeext
39529 if { (ac_try
="$ac_link"
39530 case "(($ac_try" in
39531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39532 *) ac_try_echo=$ac_try;;
39534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39535 (eval "$ac_link") 2>conftest.er1
39537 grep -v '^ *+' conftest.er1 >conftest.err
39539 cat conftest.err >&5
39540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39541 (exit $ac_status); } && {
39542 test -z "$ac_c_werror_flag" ||
39543 test ! -s conftest.err
39544 } && test -s conftest$ac_exeext &&
39545 $as_test_x conftest$ac_exeext; then
39546 ac_cv_func_pthread_attr_getschedpolicy=yes
39548 echo "$as_me: failed program was:" >&5
39549 sed 's/^/| /' conftest.$ac_ext >&5
39551 ac_cv_func_pthread_attr_getschedpolicy=no
39554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39555 conftest$ac_exeext conftest.$ac_ext
39557 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39558 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39559 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39560 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39561 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39562 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39563 echo $ECHO_N "(cached) $ECHO_C" >&6
39565 cat >conftest.$ac_ext <<_ACEOF
39568 cat confdefs.h >>conftest.$ac_ext
39569 cat >>conftest.$ac_ext <<_ACEOF
39570 /* end confdefs.h. */
39571 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39573 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39575 /* System header to define __stub macros and hopefully few prototypes,
39576 which can conflict with char pthread_attr_setschedparam (); below.
39577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39578 <limits.h> exists even on freestanding compilers. */
39581 # include <limits.h>
39583 # include <assert.h>
39586 #undef pthread_attr_setschedparam
39588 /* Override any GCC internal prototype to avoid an error.
39589 Use char because int might match the return type of a GCC
39590 builtin and then its argument prototype would still apply. */
39594 char pthread_attr_setschedparam ();
39595 /* The GNU C library defines this for functions which it implements
39596 to always fail with ENOSYS. Some functions are actually named
39597 something starting with __ and the normal name is an alias. */
39598 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39605 return pthread_attr_setschedparam ();
39610 rm -f conftest.$ac_objext conftest$ac_exeext
39611 if { (ac_try="$ac_link"
39612 case "(($ac_try" in
39613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39614 *) ac_try_echo
=$ac_try;;
39616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39617 (eval "$ac_link") 2>conftest.er1
39619 grep -v '^ *+' conftest.er1
>conftest.err
39621 cat conftest.err
>&5
39622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39623 (exit $ac_status); } && {
39624 test -z "$ac_c_werror_flag" ||
39625 test ! -s conftest.err
39626 } && test -s conftest
$ac_exeext &&
39627 $as_test_x conftest
$ac_exeext; then
39628 ac_cv_func_pthread_attr_setschedparam
=yes
39630 echo "$as_me: failed program was:" >&5
39631 sed 's/^/| /' conftest.
$ac_ext >&5
39633 ac_cv_func_pthread_attr_setschedparam
=no
39636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39637 conftest
$ac_exeext conftest.
$ac_ext
39639 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39640 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39641 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39642 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39643 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39644 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39645 echo $ECHO_N "(cached) $ECHO_C" >&6
39647 cat >conftest.
$ac_ext <<_ACEOF
39650 cat confdefs.h
>>conftest.
$ac_ext
39651 cat >>conftest.
$ac_ext <<_ACEOF
39652 /* end confdefs.h. */
39653 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39655 #define sched_get_priority_max innocuous_sched_get_priority_max
39657 /* System header to define __stub macros and hopefully few prototypes,
39658 which can conflict with char sched_get_priority_max (); below.
39659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39660 <limits.h> exists even on freestanding compilers. */
39663 # include <limits.h>
39665 # include <assert.h>
39668 #undef sched_get_priority_max
39670 /* Override any GCC internal prototype to avoid an error.
39671 Use char because int might match the return type of a GCC
39672 builtin and then its argument prototype would still apply. */
39676 char sched_get_priority_max ();
39677 /* The GNU C library defines this for functions which it implements
39678 to always fail with ENOSYS. Some functions are actually named
39679 something starting with __ and the normal name is an alias. */
39680 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39687 return sched_get_priority_max ();
39692 rm -f conftest.
$ac_objext conftest
$ac_exeext
39693 if { (ac_try
="$ac_link"
39694 case "(($ac_try" in
39695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39696 *) ac_try_echo=$ac_try;;
39698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39699 (eval "$ac_link") 2>conftest.er1
39701 grep -v '^ *+' conftest.er1 >conftest.err
39703 cat conftest.err >&5
39704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39705 (exit $ac_status); } && {
39706 test -z "$ac_c_werror_flag" ||
39707 test ! -s conftest.err
39708 } && test -s conftest$ac_exeext &&
39709 $as_test_x conftest$ac_exeext; then
39710 ac_cv_func_sched_get_priority_max=yes
39712 echo "$as_me: failed program was:" >&5
39713 sed 's/^/| /' conftest.$ac_ext >&5
39715 ac_cv_func_sched_get_priority_max=no
39718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39719 conftest$ac_exeext conftest.$ac_ext
39721 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39722 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39723 if test $ac_cv_func_sched_get_priority_max = yes; then
39726 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39727 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39728 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39729 echo $ECHO_N "(cached) $ECHO_C" >&6
39731 ac_check_lib_save_LIBS=$LIBS
39732 LIBS="-lposix4 $LIBS"
39733 cat >conftest.$ac_ext <<_ACEOF
39736 cat confdefs.h >>conftest.$ac_ext
39737 cat >>conftest.$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39740 /* Override any GCC internal prototype to avoid an error.
39741 Use char because int might match the return type of a GCC
39742 builtin and then its argument prototype would still apply. */
39746 char sched_get_priority_max ();
39750 return sched_get_priority_max ();
39755 rm -f conftest.$ac_objext conftest$ac_exeext
39756 if { (ac_try="$ac_link"
39757 case "(($ac_try" in
39758 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39759 *) ac_try_echo
=$ac_try;;
39761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39762 (eval "$ac_link") 2>conftest.er1
39764 grep -v '^ *+' conftest.er1
>conftest.err
39766 cat conftest.err
>&5
39767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39768 (exit $ac_status); } && {
39769 test -z "$ac_c_werror_flag" ||
39770 test ! -s conftest.err
39771 } && test -s conftest
$ac_exeext &&
39772 $as_test_x conftest
$ac_exeext; then
39773 ac_cv_lib_posix4_sched_get_priority_max
=yes
39775 echo "$as_me: failed program was:" >&5
39776 sed 's/^/| /' conftest.
$ac_ext >&5
39778 ac_cv_lib_posix4_sched_get_priority_max
=no
39781 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39782 conftest
$ac_exeext conftest.
$ac_ext
39783 LIBS
=$ac_check_lib_save_LIBS
39785 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39786 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39787 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39790 POSIX4_LINK
=" -lposix4"
39804 if test "$HAVE_PRIOR_FUNCS" = 1; then
39805 cat >>confdefs.h
<<\_ACEOF
39806 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39810 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39811 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39814 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39815 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39816 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39817 echo $ECHO_N "(cached) $ECHO_C" >&6
39819 cat >conftest.
$ac_ext <<_ACEOF
39822 cat confdefs.h
>>conftest.
$ac_ext
39823 cat >>conftest.
$ac_ext <<_ACEOF
39824 /* end confdefs.h. */
39825 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39827 #define pthread_cancel innocuous_pthread_cancel
39829 /* System header to define __stub macros and hopefully few prototypes,
39830 which can conflict with char pthread_cancel (); below.
39831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39832 <limits.h> exists even on freestanding compilers. */
39835 # include <limits.h>
39837 # include <assert.h>
39840 #undef pthread_cancel
39842 /* Override any GCC internal prototype to avoid an error.
39843 Use char because int might match the return type of a GCC
39844 builtin and then its argument prototype would still apply. */
39848 char pthread_cancel ();
39849 /* The GNU C library defines this for functions which it implements
39850 to always fail with ENOSYS. Some functions are actually named
39851 something starting with __ and the normal name is an alias. */
39852 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39859 return pthread_cancel ();
39864 rm -f conftest.
$ac_objext conftest
$ac_exeext
39865 if { (ac_try
="$ac_link"
39866 case "(($ac_try" in
39867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39868 *) ac_try_echo=$ac_try;;
39870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39871 (eval "$ac_link") 2>conftest.er1
39873 grep -v '^ *+' conftest.er1 >conftest.err
39875 cat conftest.err >&5
39876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39877 (exit $ac_status); } && {
39878 test -z "$ac_c_werror_flag" ||
39879 test ! -s conftest.err
39880 } && test -s conftest$ac_exeext &&
39881 $as_test_x conftest$ac_exeext; then
39882 ac_cv_func_pthread_cancel=yes
39884 echo "$as_me: failed program was:" >&5
39885 sed 's/^/| /' conftest.$ac_ext >&5
39887 ac_cv_func_pthread_cancel=no
39890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39891 conftest$ac_exeext conftest.$ac_ext
39893 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39894 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39895 if test $ac_cv_func_pthread_cancel = yes; then
39896 cat >>confdefs.h <<\_ACEOF
39897 #define HAVE_PTHREAD_CANCEL 1
39901 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39902 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39906 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39907 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39908 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39909 echo $ECHO_N "(cached) $ECHO_C" >&6
39911 cat >conftest.$ac_ext <<_ACEOF
39914 cat confdefs.h >>conftest.$ac_ext
39915 cat >>conftest.$ac_ext <<_ACEOF
39916 /* end confdefs.h. */
39917 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39919 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39921 /* System header to define __stub macros and hopefully few prototypes,
39922 which can conflict with char pthread_mutex_timedlock (); below.
39923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39924 <limits.h> exists even on freestanding compilers. */
39927 # include <limits.h>
39929 # include <assert.h>
39932 #undef pthread_mutex_timedlock
39934 /* Override any GCC internal prototype to avoid an error.
39935 Use char because int might match the return type of a GCC
39936 builtin and then its argument prototype would still apply. */
39940 char pthread_mutex_timedlock ();
39941 /* The GNU C library defines this for functions which it implements
39942 to always fail with ENOSYS. Some functions are actually named
39943 something starting with __ and the normal name is an alias. */
39944 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39951 return pthread_mutex_timedlock ();
39956 rm -f conftest.$ac_objext conftest$ac_exeext
39957 if { (ac_try="$ac_link"
39958 case "(($ac_try" in
39959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39960 *) ac_try_echo
=$ac_try;;
39962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39963 (eval "$ac_link") 2>conftest.er1
39965 grep -v '^ *+' conftest.er1
>conftest.err
39967 cat conftest.err
>&5
39968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39969 (exit $ac_status); } && {
39970 test -z "$ac_c_werror_flag" ||
39971 test ! -s conftest.err
39972 } && test -s conftest
$ac_exeext &&
39973 $as_test_x conftest
$ac_exeext; then
39974 ac_cv_func_pthread_mutex_timedlock
=yes
39976 echo "$as_me: failed program was:" >&5
39977 sed 's/^/| /' conftest.
$ac_ext >&5
39979 ac_cv_func_pthread_mutex_timedlock
=no
39982 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39983 conftest
$ac_exeext conftest.
$ac_ext
39985 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39986 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39987 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39988 cat >>confdefs.h
<<\_ACEOF
39989 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39993 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39994 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39998 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39999 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40000 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40001 echo $ECHO_N "(cached) $ECHO_C" >&6
40003 cat >conftest.
$ac_ext <<_ACEOF
40006 cat confdefs.h
>>conftest.
$ac_ext
40007 cat >>conftest.
$ac_ext <<_ACEOF
40008 /* end confdefs.h. */
40009 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40011 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40013 /* System header to define __stub macros and hopefully few prototypes,
40014 which can conflict with char pthread_attr_setstacksize (); below.
40015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40016 <limits.h> exists even on freestanding compilers. */
40019 # include <limits.h>
40021 # include <assert.h>
40024 #undef pthread_attr_setstacksize
40026 /* Override any GCC internal prototype to avoid an error.
40027 Use char because int might match the return type of a GCC
40028 builtin and then its argument prototype would still apply. */
40032 char pthread_attr_setstacksize ();
40033 /* The GNU C library defines this for functions which it implements
40034 to always fail with ENOSYS. Some functions are actually named
40035 something starting with __ and the normal name is an alias. */
40036 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40043 return pthread_attr_setstacksize ();
40048 rm -f conftest.
$ac_objext conftest
$ac_exeext
40049 if { (ac_try
="$ac_link"
40050 case "(($ac_try" in
40051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40052 *) ac_try_echo=$ac_try;;
40054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40055 (eval "$ac_link") 2>conftest.er1
40057 grep -v '^ *+' conftest.er1 >conftest.err
40059 cat conftest.err >&5
40060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40061 (exit $ac_status); } && {
40062 test -z "$ac_c_werror_flag" ||
40063 test ! -s conftest.err
40064 } && test -s conftest$ac_exeext &&
40065 $as_test_x conftest$ac_exeext; then
40066 ac_cv_func_pthread_attr_setstacksize=yes
40068 echo "$as_me: failed program was:" >&5
40069 sed 's/^/| /' conftest.$ac_ext >&5
40071 ac_cv_func_pthread_attr_setstacksize=no
40074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40075 conftest$ac_exeext conftest.$ac_ext
40077 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40078 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40079 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40080 cat >>confdefs.h <<\_ACEOF
40081 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40088 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40089 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40090 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40091 echo $ECHO_N "(cached) $ECHO_C" >&6
40094 cat >conftest.$ac_ext <<_ACEOF
40097 cat confdefs.h >>conftest.$ac_ext
40098 cat >>conftest.$ac_ext <<_ACEOF
40099 /* end confdefs.h. */
40100 #include <pthread.h>
40105 pthread_mutexattr_t attr;
40106 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40112 rm -f conftest.$ac_objext
40113 if { (ac_try="$ac_compile"
40114 case "(($ac_try" in
40115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40116 *) ac_try_echo
=$ac_try;;
40118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40119 (eval "$ac_compile") 2>conftest.er1
40121 grep -v '^ *+' conftest.er1
>conftest.err
40123 cat conftest.err
>&5
40124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40125 (exit $ac_status); } && {
40126 test -z "$ac_c_werror_flag" ||
40127 test ! -s conftest.err
40128 } && test -s conftest.
$ac_objext; then
40129 wx_cv_type_pthread_mutexattr_t
=yes
40131 echo "$as_me: failed program was:" >&5
40132 sed 's/^/| /' conftest.
$ac_ext >&5
40134 wx_cv_type_pthread_mutexattr_t
=no
40138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40141 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40142 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40144 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40145 cat >>confdefs.h
<<\_ACEOF
40146 #define HAVE_PTHREAD_MUTEXATTR_T 1
40150 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40151 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40152 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40153 echo $ECHO_N "(cached) $ECHO_C" >&6
40156 cat >conftest.
$ac_ext <<_ACEOF
40159 cat confdefs.h
>>conftest.
$ac_ext
40160 cat >>conftest.
$ac_ext <<_ACEOF
40161 /* end confdefs.h. */
40162 #include <pthread.h>
40167 pthread_mutexattr_t attr;
40168 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40174 rm -f conftest.
$ac_objext
40175 if { (ac_try
="$ac_compile"
40176 case "(($ac_try" in
40177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40178 *) ac_try_echo=$ac_try;;
40180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40181 (eval "$ac_compile") 2>conftest.er1
40183 grep -v '^ *+' conftest.er1 >conftest.err
40185 cat conftest.err >&5
40186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40187 (exit $ac_status); } && {
40188 test -z "$ac_c_werror_flag" ||
40189 test ! -s conftest.err
40190 } && test -s conftest.$ac_objext; then
40191 wx_cv_func_pthread_mutexattr_settype_decl=yes
40193 echo "$as_me: failed program was:" >&5
40194 sed 's/^/| /' conftest.$ac_ext >&5
40196 wx_cv_func_pthread_mutexattr_settype_decl=no
40200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40203 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40204 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40205 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40206 cat >>confdefs.h <<\_ACEOF
40207 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40212 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40213 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40214 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40215 echo $ECHO_N "(cached) $ECHO_C" >&6
40218 cat >conftest.$ac_ext <<_ACEOF
40221 cat confdefs.h >>conftest.$ac_ext
40222 cat >>conftest.$ac_ext <<_ACEOF
40223 /* end confdefs.h. */
40224 #include <pthread.h>
40229 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40235 rm -f conftest.$ac_objext
40236 if { (ac_try="$ac_compile"
40237 case "(($ac_try" in
40238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40239 *) ac_try_echo
=$ac_try;;
40241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40242 (eval "$ac_compile") 2>conftest.er1
40244 grep -v '^ *+' conftest.er1
>conftest.err
40246 cat conftest.err
>&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); } && {
40249 test -z "$ac_c_werror_flag" ||
40250 test ! -s conftest.err
40251 } && test -s conftest.
$ac_objext; then
40253 wx_cv_type_pthread_rec_mutex_init
=yes
40256 echo "$as_me: failed program was:" >&5
40257 sed 's/^/| /' conftest.
$ac_ext >&5
40260 wx_cv_type_pthread_rec_mutex_init
=no
40265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40268 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40269 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40270 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40271 cat >>confdefs.h
<<\_ACEOF
40272 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40276 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40277 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40281 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40282 if test "$USE_NETBSD" = 1; then
40283 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40284 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40285 wxUSE_COMPILER_TLS
=no
40287 wxUSE_COMPILER_TLS
=yes
40291 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40292 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40293 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40294 if test "${wx_cv_cc___thread+set}" = set; then
40295 echo $ECHO_N "(cached) $ECHO_C" >&6
40298 cat >conftest.
$ac_ext <<_ACEOF
40301 cat confdefs.h
>>conftest.
$ac_ext
40302 cat >>conftest.
$ac_ext <<_ACEOF
40303 /* end confdefs.h. */
40304 #include <pthread.h>
40309 static __thread int n = 0;
40310 static __thread int *p = 0;
40316 rm -f conftest.
$ac_objext
40317 if { (ac_try
="$ac_compile"
40318 case "(($ac_try" in
40319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40320 *) ac_try_echo=$ac_try;;
40322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40323 (eval "$ac_compile") 2>conftest.er1
40325 grep -v '^ *+' conftest.er1 >conftest.err
40327 cat conftest.err >&5
40328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329 (exit $ac_status); } && {
40330 test -z "$ac_c_werror_flag" ||
40331 test ! -s conftest.err
40332 } && test -s conftest.$ac_objext; then
40333 wx_cv_cc___thread=yes
40335 echo "$as_me: failed program was:" >&5
40336 sed 's/^/| /' conftest.$ac_ext >&5
40338 wx_cv_cc___thread=no
40342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40346 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40347 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40349 if test "$wx_cv_cc___thread" = "yes"; then
40355 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40356 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40358 if test "x$GCC" = "xyes" ; then
40360 if test -z "" ; then
40362 ax_gcc_option_test="int main()
40369 ax_gcc_option_test=""
40374 # Dump the test program to file
40375 cat <<EOF > conftest.c
40376 $ax_gcc_option_test
40379 # Dump back the file to the log, useful for debugging purposes
40380 { ac_try='cat conftest.c 1>&5'
40381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40382 (eval $ac_try) 2>&5
40384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40385 (exit $ac_status); }; }
40387 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40389 (eval $ac_try) 2>&5
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); }; } ; then
40394 { echo "$as_me:$LINENO: result: yes" >&5
40395 echo "${ECHO_T}yes" >&6; }
40397 ax_gcc_version_option=yes
40402 { echo "$as_me:$LINENO: result: no" >&5
40403 echo "${ECHO_T}no" >&6; }
40405 ax_gcc_version_option=no
40413 { echo "$as_me:$LINENO: result: no gcc available" >&5
40414 echo "${ECHO_T}no gcc available" >&6; }
40419 if test "x$GXX" = "xyes"; then
40421 if test "x$ax_gxx_version_option" != "no"; then
40423 { echo "$as_me:$LINENO: checking gxx version" >&5
40424 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40425 if test "${ax_cv_gxx_version+set}" = set; then
40426 echo $ECHO_N "(cached) $ECHO_C" >&6
40429 ax_cv_gxx_version="`$CXX -dumpversion`"
40430 if test "x$ax_cv_gxx_version" = "x"; then
40432 ax_cv_gxx_version=""
40438 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40439 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40440 GXX_VERSION=$ax_cv_gxx_version
40449 if test -n "$ax_cv_gxx_version"; then
40450 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40451 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40452 case "$ax_cv_gxx_version" in
40454 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40455 echo "${ECHO_T}no, it's broken" >&6; }
40456 wx_cv_cc___thread=no
40459 { echo "$as_me:$LINENO: result: yes, it works" >&5
40460 echo "${ECHO_T}yes, it works" >&6; }
40466 if test "$wx_cv_cc___thread" = "yes"; then
40467 cat >>confdefs.h <<\_ACEOF
40468 #define HAVE___THREAD_KEYWORD 1
40476 if test "$wxUSE_THREADS" = "yes" ; then
40478 x86_64-*-mingw32* )
40481 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40482 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40483 if test "${wx_cv_cflags_mthread+set}" = set; then
40484 echo $ECHO_N "(cached) $ECHO_C" >&6
40487 CFLAGS_OLD="$CFLAGS"
40488 CFLAGS="-mthreads $CFLAGS"
40489 cat >conftest.$ac_ext <<_ACEOF
40492 cat confdefs.h >>conftest.$ac_ext
40493 cat >>conftest.$ac_ext <<_ACEOF
40494 /* end confdefs.h. */
40504 rm -f conftest.$ac_objext
40505 if { (ac_try="$ac_compile"
40506 case "(($ac_try" in
40507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40508 *) ac_try_echo
=$ac_try;;
40510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40511 (eval "$ac_compile") 2>conftest.er1
40513 grep -v '^ *+' conftest.er1
>conftest.err
40515 cat conftest.err
>&5
40516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40517 (exit $ac_status); } && {
40518 test -z "$ac_c_werror_flag" ||
40519 test ! -s conftest.err
40520 } && test -s conftest.
$ac_objext; then
40521 wx_cv_cflags_mthread
=yes
40523 echo "$as_me: failed program was:" >&5
40524 sed 's/^/| /' conftest.
$ac_ext >&5
40526 wx_cv_cflags_mthread
=no
40530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40534 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40535 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40537 if test "$wx_cv_cflags_mthread" = "yes"; then
40538 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40539 LDFLAGS
="$LDFLAGS -mthreads"
40541 CFLAGS
="$CFLAGS_OLD"
40545 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40546 LDFLAGS
="$LDFLAGS -Zmt"
40552 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40553 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40554 if test "${ac_cv_func_localtime_r+set}" = set; then
40555 echo $ECHO_N "(cached) $ECHO_C" >&6
40557 cat >conftest.
$ac_ext <<_ACEOF
40560 cat confdefs.h
>>conftest.
$ac_ext
40561 cat >>conftest.
$ac_ext <<_ACEOF
40562 /* end confdefs.h. */
40563 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40565 #define localtime_r innocuous_localtime_r
40567 /* System header to define __stub macros and hopefully few prototypes,
40568 which can conflict with char localtime_r (); below.
40569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40570 <limits.h> exists even on freestanding compilers. */
40573 # include <limits.h>
40575 # include <assert.h>
40580 /* Override any GCC internal prototype to avoid an error.
40581 Use char because int might match the return type of a GCC
40582 builtin and then its argument prototype would still apply. */
40586 char localtime_r ();
40587 /* The GNU C library defines this for functions which it implements
40588 to always fail with ENOSYS. Some functions are actually named
40589 something starting with __ and the normal name is an alias. */
40590 #if defined __stub_localtime_r || defined __stub___localtime_r
40597 return localtime_r ();
40602 rm -f conftest.
$ac_objext conftest
$ac_exeext
40603 if { (ac_try
="$ac_link"
40604 case "(($ac_try" in
40605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40606 *) ac_try_echo=$ac_try;;
40608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40609 (eval "$ac_link") 2>conftest.er1
40611 grep -v '^ *+' conftest.er1 >conftest.err
40613 cat conftest.err >&5
40614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40615 (exit $ac_status); } && {
40616 test -z "$ac_c_werror_flag" ||
40617 test ! -s conftest.err
40618 } && test -s conftest$ac_exeext &&
40619 $as_test_x conftest$ac_exeext; then
40620 ac_cv_func_localtime_r=yes
40622 echo "$as_me: failed program was:" >&5
40623 sed 's/^/| /' conftest.$ac_ext >&5
40625 ac_cv_func_localtime_r=no
40628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40629 conftest$ac_exeext conftest.$ac_ext
40631 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40632 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40633 if test $ac_cv_func_localtime_r = yes; then
40634 cat >>confdefs.h <<\_ACEOF
40635 #define HAVE_LOCALTIME_R 1
40640 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40641 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40642 if test "${ac_cv_func_gmtime_r+set}" = set; then
40643 echo $ECHO_N "(cached) $ECHO_C" >&6
40645 cat >conftest.$ac_ext <<_ACEOF
40648 cat confdefs.h >>conftest.$ac_ext
40649 cat >>conftest.$ac_ext <<_ACEOF
40650 /* end confdefs.h. */
40651 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40653 #define gmtime_r innocuous_gmtime_r
40655 /* System header to define __stub macros and hopefully few prototypes,
40656 which can conflict with char gmtime_r (); below.
40657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40658 <limits.h> exists even on freestanding compilers. */
40661 # include <limits.h>
40663 # include <assert.h>
40668 /* Override any GCC internal prototype to avoid an error.
40669 Use char because int might match the return type of a GCC
40670 builtin and then its argument prototype would still apply. */
40675 /* The GNU C library defines this for functions which it implements
40676 to always fail with ENOSYS. Some functions are actually named
40677 something starting with __ and the normal name is an alias. */
40678 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40685 return gmtime_r ();
40690 rm -f conftest.$ac_objext conftest$ac_exeext
40691 if { (ac_try="$ac_link"
40692 case "(($ac_try" in
40693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40694 *) ac_try_echo
=$ac_try;;
40696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40697 (eval "$ac_link") 2>conftest.er1
40699 grep -v '^ *+' conftest.er1
>conftest.err
40701 cat conftest.err
>&5
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); } && {
40704 test -z "$ac_c_werror_flag" ||
40705 test ! -s conftest.err
40706 } && test -s conftest
$ac_exeext &&
40707 $as_test_x conftest
$ac_exeext; then
40708 ac_cv_func_gmtime_r
=yes
40710 echo "$as_me: failed program was:" >&5
40711 sed 's/^/| /' conftest.
$ac_ext >&5
40713 ac_cv_func_gmtime_r
=no
40716 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40717 conftest
$ac_exeext conftest.
$ac_ext
40719 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40720 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40721 if test $ac_cv_func_gmtime_r = yes; then
40722 cat >>confdefs.h
<<\_ACEOF
40723 #define HAVE_GMTIME_R 1
40732 ac_cpp
='$CPP $CPPFLAGS'
40733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40737 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40738 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40740 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40741 echo $ECHO_N "(cached) $ECHO_C" >&6
40745 ################################################################
40747 ac_cv_func_which_gethostbyname_r
=unknown
40750 # ONE ARGUMENT (sanity check)
40753 # This should fail, as there is no variant of gethostbyname_r() that takes
40754 # a single argument. If it actually compiles, then we can assume that
40755 # netdb.h is not declaring the function, and the compiler is thereby
40756 # assuming an implicit prototype. In which case, we're out of luck.
40758 cat >conftest.
$ac_ext <<_ACEOF
40761 cat confdefs.h
>>conftest.
$ac_ext
40762 cat >>conftest.
$ac_ext <<_ACEOF
40763 /* end confdefs.h. */
40769 char *name = "www.gnu.org";
40770 (void)gethostbyname_r(name) /* ; */
40776 rm -f conftest.
$ac_objext
40777 if { (ac_try
="$ac_compile"
40778 case "(($ac_try" in
40779 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40780 *) ac_try_echo=$ac_try;;
40782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40783 (eval "$ac_compile") 2>conftest.er1
40785 grep -v '^ *+' conftest.er1 >conftest.err
40787 cat conftest.err >&5
40788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40789 (exit $ac_status); } && {
40790 test -z "$ac_c_werror_flag" ||
40791 test ! -s conftest.err
40792 } && test -s conftest.$ac_objext; then
40793 ac_cv_func_which_gethostbyname_r=no
40795 echo "$as_me: failed program was:" >&5
40796 sed 's/^/| /' conftest.$ac_ext >&5
40801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40808 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40810 cat >conftest.$ac_ext <<_ACEOF
40813 cat confdefs.h >>conftest.$ac_ext
40814 cat >>conftest.$ac_ext <<_ACEOF
40815 /* end confdefs.h. */
40821 char *name = "www.gnu.org";
40822 struct hostent ret, *retp;
40826 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40832 rm -f conftest.$ac_objext
40833 if { (ac_try="$ac_compile"
40834 case "(($ac_try" in
40835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40836 *) ac_try_echo
=$ac_try;;
40838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40839 (eval "$ac_compile") 2>conftest.er1
40841 grep -v '^ *+' conftest.er1
>conftest.err
40843 cat conftest.err
>&5
40844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40845 (exit $ac_status); } && {
40846 test -z "$ac_c_werror_flag" ||
40847 test ! -s conftest.err
40848 } && test -s conftest.
$ac_objext; then
40849 ac_cv_func_which_gethostbyname_r
=six
40851 echo "$as_me: failed program was:" >&5
40852 sed 's/^/| /' conftest.
$ac_ext >&5
40857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40866 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40868 cat >conftest.
$ac_ext <<_ACEOF
40871 cat confdefs.h
>>conftest.
$ac_ext
40872 cat >>conftest.
$ac_ext <<_ACEOF
40873 /* end confdefs.h. */
40879 char *name = "www.gnu.org";
40880 struct hostent ret;
40884 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40890 rm -f conftest.
$ac_objext
40891 if { (ac_try
="$ac_compile"
40892 case "(($ac_try" in
40893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40894 *) ac_try_echo=$ac_try;;
40896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40897 (eval "$ac_compile") 2>conftest.er1
40899 grep -v '^ *+' conftest.er1 >conftest.err
40901 cat conftest.err >&5
40902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903 (exit $ac_status); } && {
40904 test -z "$ac_c_werror_flag" ||
40905 test ! -s conftest.err
40906 } && test -s conftest.$ac_objext; then
40907 ac_cv_func_which_gethostbyname_r=five
40909 echo "$as_me: failed program was:" >&5
40910 sed 's/^/| /' conftest.$ac_ext >&5
40915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40921 # (e.g. AIX, HP-UX, Tru64)
40924 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40926 cat >conftest.$ac_ext <<_ACEOF
40929 cat confdefs.h >>conftest.$ac_ext
40930 cat >>conftest.$ac_ext <<_ACEOF
40931 /* end confdefs.h. */
40937 char *name = "www.gnu.org";
40938 struct hostent ret;
40939 struct hostent_data data;
40940 (void)gethostbyname_r(name, &ret, &data) /* ; */
40946 rm -f conftest.$ac_objext
40947 if { (ac_try="$ac_compile"
40948 case "(($ac_try" in
40949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40950 *) ac_try_echo
=$ac_try;;
40952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40953 (eval "$ac_compile") 2>conftest.er1
40955 grep -v '^ *+' conftest.er1
>conftest.err
40957 cat conftest.err
>&5
40958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40959 (exit $ac_status); } && {
40960 test -z "$ac_c_werror_flag" ||
40961 test ! -s conftest.err
40962 } && test -s conftest.
$ac_objext; then
40963 ac_cv_func_which_gethostbyname_r
=three
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.
$ac_ext >&5
40971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40975 ################################################################
40980 case "$ac_cv_func_which_gethostbyname_r" in
40982 { echo "$as_me:$LINENO: result: three" >&5
40983 echo "${ECHO_T}three" >&6; }
40984 cat >>confdefs.h
<<\_ACEOF
40985 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40991 { echo "$as_me:$LINENO: result: five" >&5
40992 echo "${ECHO_T}five" >&6; }
40993 cat >>confdefs.h
<<\_ACEOF
40994 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41000 { echo "$as_me:$LINENO: result: six" >&5
41001 echo "${ECHO_T}six" >&6; }
41002 cat >>confdefs.h
<<\_ACEOF
41003 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41009 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41010 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41014 { echo "$as_me:$LINENO: result: can't tell" >&5
41015 echo "${ECHO_T}can't tell" >&6; }
41019 { { echo "$as_me:$LINENO: error: internal error" >&5
41020 echo "$as_me: error: internal error" >&2;}
41021 { (exit 1); exit 1; }; }
41026 ac_cpp
='$CPP $CPPFLAGS'
41027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41033 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41034 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41035 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41036 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41037 if test "${ac_cv_func_gethostbyname+set}" = set; then
41038 echo $ECHO_N "(cached) $ECHO_C" >&6
41040 cat >conftest.
$ac_ext <<_ACEOF
41043 cat confdefs.h
>>conftest.
$ac_ext
41044 cat >>conftest.
$ac_ext <<_ACEOF
41045 /* end confdefs.h. */
41046 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41048 #define gethostbyname innocuous_gethostbyname
41050 /* System header to define __stub macros and hopefully few prototypes,
41051 which can conflict with char gethostbyname (); below.
41052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41053 <limits.h> exists even on freestanding compilers. */
41056 # include <limits.h>
41058 # include <assert.h>
41061 #undef gethostbyname
41063 /* Override any GCC internal prototype to avoid an error.
41064 Use char because int might match the return type of a GCC
41065 builtin and then its argument prototype would still apply. */
41069 char gethostbyname ();
41070 /* The GNU C library defines this for functions which it implements
41071 to always fail with ENOSYS. Some functions are actually named
41072 something starting with __ and the normal name is an alias. */
41073 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41080 return gethostbyname ();
41085 rm -f conftest.
$ac_objext conftest
$ac_exeext
41086 if { (ac_try
="$ac_link"
41087 case "(($ac_try" in
41088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41089 *) ac_try_echo=$ac_try;;
41091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41092 (eval "$ac_link") 2>conftest.er1
41094 grep -v '^ *+' conftest.er1 >conftest.err
41096 cat conftest.err >&5
41097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41098 (exit $ac_status); } && {
41099 test -z "$ac_c_werror_flag" ||
41100 test ! -s conftest.err
41101 } && test -s conftest$ac_exeext &&
41102 $as_test_x conftest$ac_exeext; then
41103 ac_cv_func_gethostbyname=yes
41105 echo "$as_me: failed program was:" >&5
41106 sed 's/^/| /' conftest.$ac_ext >&5
41108 ac_cv_func_gethostbyname=no
41111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41112 conftest$ac_exeext conftest.$ac_ext
41114 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41115 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41116 if test $ac_cv_func_gethostbyname = yes; then
41117 cat >>confdefs.h <<\_ACEOF
41118 #define HAVE_GETHOSTBYNAME 1
41125 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41126 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41127 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41128 echo $ECHO_N "(cached) $ECHO_C" >&6
41132 ac_cpp='$CXXCPP $CPPFLAGS'
41133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41138 cat >conftest.$ac_ext <<_ACEOF
41141 cat confdefs.h >>conftest.$ac_ext
41142 cat >>conftest.$ac_ext <<_ACEOF
41143 /* end confdefs.h. */
41151 struct servent *se, *res;
41154 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41160 rm -f conftest.$ac_objext
41161 if { (ac_try="$ac_compile"
41162 case "(($ac_try" in
41163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41164 *) ac_try_echo
=$ac_try;;
41166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41167 (eval "$ac_compile") 2>conftest.er1
41169 grep -v '^ *+' conftest.er1
>conftest.err
41171 cat conftest.err
>&5
41172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41173 (exit $ac_status); } && {
41174 test -z "$ac_cxx_werror_flag" ||
41175 test ! -s conftest.err
41176 } && test -s conftest.
$ac_objext; then
41177 ac_cv_func_which_getservbyname_r
=six
41179 echo "$as_me: failed program was:" >&5
41180 sed 's/^/| /' conftest.
$ac_ext >&5
41183 cat >conftest.
$ac_ext <<_ACEOF
41186 cat confdefs.h
>>conftest.
$ac_ext
41187 cat >>conftest.
$ac_ext <<_ACEOF
41188 /* end confdefs.h. */
41196 struct servent *se;
41199 (void) getservbyname_r(name, proto, se, buffer, buflen)
41205 rm -f conftest.
$ac_objext
41206 if { (ac_try
="$ac_compile"
41207 case "(($ac_try" in
41208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41209 *) ac_try_echo=$ac_try;;
41211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41212 (eval "$ac_compile") 2>conftest.er1
41214 grep -v '^ *+' conftest.er1 >conftest.err
41216 cat conftest.err >&5
41217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41218 (exit $ac_status); } && {
41219 test -z "$ac_cxx_werror_flag" ||
41220 test ! -s conftest.err
41221 } && test -s conftest.$ac_objext; then
41222 ac_cv_func_which_getservbyname_r=five
41224 echo "$as_me: failed program was:" >&5
41225 sed 's/^/| /' conftest.$ac_ext >&5
41228 cat >conftest.$ac_ext <<_ACEOF
41231 cat confdefs.h >>conftest.$ac_ext
41232 cat >>conftest.$ac_ext <<_ACEOF
41233 /* end confdefs.h. */
41241 struct servent *se;
41242 struct servent_data data;
41243 (void) getservbyname_r(name, proto, se, &data);
41249 rm -f conftest.$ac_objext
41250 if { (ac_try="$ac_compile"
41251 case "(($ac_try" in
41252 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41253 *) ac_try_echo
=$ac_try;;
41255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41256 (eval "$ac_compile") 2>conftest.er1
41258 grep -v '^ *+' conftest.er1
>conftest.err
41260 cat conftest.err
>&5
41261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41262 (exit $ac_status); } && {
41263 test -z "$ac_cxx_werror_flag" ||
41264 test ! -s conftest.err
41265 } && test -s conftest.
$ac_objext; then
41266 ac_cv_func_which_getservbyname_r
=four
41268 echo "$as_me: failed program was:" >&5
41269 sed 's/^/| /' conftest.
$ac_ext >&5
41271 ac_cv_func_which_getservbyname_r
=no
41275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41287 ac_cpp
='$CPP $CPPFLAGS'
41288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41295 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41296 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41298 if test $ac_cv_func_which_getservbyname_r = six
; then
41299 cat >>confdefs.h
<<\_ACEOF
41300 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41303 elif test $ac_cv_func_which_getservbyname_r = five
; then
41304 cat >>confdefs.h
<<\_ACEOF
41305 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41308 elif test $ac_cv_func_which_getservbyname_r = four
; then
41309 cat >>confdefs.h
<<\_ACEOF
41310 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41316 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41317 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41319 for ac_func
in getservbyname
41321 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41322 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41324 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41325 echo $ECHO_N "(cached) $ECHO_C" >&6
41327 cat >conftest.
$ac_ext <<_ACEOF
41330 cat confdefs.h
>>conftest.
$ac_ext
41331 cat >>conftest.
$ac_ext <<_ACEOF
41332 /* end confdefs.h. */
41333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41335 #define $ac_func innocuous_$ac_func
41337 /* System header to define __stub macros and hopefully few prototypes,
41338 which can conflict with char $ac_func (); below.
41339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41340 <limits.h> exists even on freestanding compilers. */
41343 # include <limits.h>
41345 # include <assert.h>
41350 /* Override any GCC internal prototype to avoid an error.
41351 Use char because int might match the return type of a GCC
41352 builtin and then its argument prototype would still apply. */
41357 /* The GNU C library defines this for functions which it implements
41358 to always fail with ENOSYS. Some functions are actually named
41359 something starting with __ and the normal name is an alias. */
41360 #if defined __stub_$ac_func || defined __stub___$ac_func
41367 return $ac_func ();
41372 rm -f conftest.
$ac_objext conftest
$ac_exeext
41373 if { (ac_try
="$ac_link"
41374 case "(($ac_try" in
41375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41376 *) ac_try_echo=$ac_try;;
41378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41379 (eval "$ac_link") 2>conftest.er1
41381 grep -v '^ *+' conftest.er1 >conftest.err
41383 cat conftest.err >&5
41384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41385 (exit $ac_status); } && {
41386 test -z "$ac_c_werror_flag" ||
41387 test ! -s conftest.err
41388 } && test -s conftest$ac_exeext &&
41389 $as_test_x conftest$ac_exeext; then
41390 eval "$as_ac_var=yes"
41392 echo "$as_me: failed program was:" >&5
41393 sed 's/^/| /' conftest.$ac_ext >&5
41395 eval "$as_ac_var=no"
41398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41399 conftest$ac_exeext conftest.$ac_ext
41401 ac_res=`eval echo '${'$as_ac_var'}'`
41402 { echo "$as_me:$LINENO: result: $ac_res" >&5
41403 echo "${ECHO_T}$ac_res" >&6; }
41404 if test `eval echo '${'$as_ac_var'}'` = yes; then
41405 cat >>confdefs.h <<_ACEOF
41406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41408 cat >>confdefs.h <<\_ACEOF
41409 #define HAVE_GETSERVBYNAME 1
41417 if test "$wxUSE_THREADS" = "yes"; then
41418 cat >>confdefs.h <<\_ACEOF
41419 #define wxUSE_THREADS 1
41423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41425 if test "$wx_cv_func_strtok_r" = "yes"; then
41426 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41427 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41428 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41429 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41430 { echo "$as_me:$LINENO: result: yes" >&5
41431 echo "${ECHO_T}yes" >&6; }
41433 { echo "$as_me:$LINENO: result: no" >&5
41434 echo "${ECHO_T}no" >&6; }
41439 if test "$WXGTK2" = 1 ; then
41440 cat >>confdefs.h <<_ACEOF
41441 #define __WXGTK20__ $WXGTK2
41447 if test "$WXGTK12" = 1 ; then
41448 cat >>confdefs.h <<_ACEOF
41449 #define __WXGTK12__ $WXGTK12
41454 if test "$WXGTK127" = 1 ; then
41455 cat >>confdefs.h <<_ACEOF
41456 #define __WXGTK127__ $WXGTK127
41461 if test "$WXGPE" = 1 ; then
41462 cat >>confdefs.h <<_ACEOF
41463 #define __WXGPE__ $WXGPE
41469 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41470 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41471 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41472 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41476 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41477 wxUSE_DEBUG_INFO=yes
41478 if test "$GCC" = yes; then
41479 DEBUG_CFLAGS="-ggdb"
41483 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41484 cat >>confdefs.h <<\_ACEOF
41488 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41490 if test "$wxUSE_GTK" = 1 ; then
41491 if test "x$wxGTK_VERSION" = "x1" ; then
41492 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41497 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41498 cat >>confdefs.h <<\_ACEOF
41499 #define wxUSE_MEMORY_TRACING 1
41502 cat >>confdefs.h <<\_ACEOF
41503 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41506 cat >>confdefs.h <<\_ACEOF
41507 #define wxUSE_DEBUG_NEW_ALWAYS 1
41510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41513 if test "$wxUSE_DMALLOC" = "yes" ; then
41514 DMALLOC_LIBS="-ldmallocthcxx"
41518 if test "$wxUSE_PROFILE" = "yes" ; then
41519 PROFILE_FLAGS=" -pg"
41522 if test "$GCC" = "yes" ; then
41523 if test "$wxUSE_NO_RTTI" = "yes" ; then
41524 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41526 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41527 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41529 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41530 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41535 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41538 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41544 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41545 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41546 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41548 if test "$wxUSE_OPTIMISE" = "no" ; then
41549 if test "$GCC" = yes ; then
41550 OPTIMISE_CFLAGS="-O0"
41553 if test "$GCC" = yes ; then
41555 *-pc-os2_emx | *-pc-os2-emx )
41556 OPTIMISE_CFLAGS="-O2"
41559 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41563 OPTIMISE_CFLAGS="-O"
41569 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41570 cat >>confdefs.h <<\_ACEOF
41571 #define WXWIN_COMPATIBILITY_2_6 1
41575 WXWIN_COMPATIBILITY_2_8="yes"
41578 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41579 cat >>confdefs.h <<\_ACEOF
41580 #define WXWIN_COMPATIBILITY_2_8 1
41586 if test "$wxUSE_GUI" = "yes"; then
41587 cat >>confdefs.h <<\_ACEOF
41588 #define wxUSE_GUI 1
41595 if test "$wxUSE_UNIX" = "yes"; then
41596 cat >>confdefs.h <<\_ACEOF
41597 #define wxUSE_UNIX 1
41603 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41607 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41608 if test "$USE_DOS" = 1; then
41612 for ac_func in dlopen
41614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41615 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41617 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41618 echo $ECHO_N "(cached) $ECHO_C" >&6
41620 cat >conftest.$ac_ext <<_ACEOF
41623 cat confdefs.h >>conftest.$ac_ext
41624 cat >>conftest.$ac_ext <<_ACEOF
41625 /* end confdefs.h. */
41626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41628 #define $ac_func innocuous_$ac_func
41630 /* System header to define __stub macros and hopefully few prototypes,
41631 which can conflict with char $ac_func (); below.
41632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41633 <limits.h> exists even on freestanding compilers. */
41636 # include <limits.h>
41638 # include <assert.h>
41643 /* Override any GCC internal prototype to avoid an error.
41644 Use char because int might match the return type of a GCC
41645 builtin and then its argument prototype would still apply. */
41650 /* The GNU C library defines this for functions which it implements
41651 to always fail with ENOSYS. Some functions are actually named
41652 something starting with __ and the normal name is an alias. */
41653 #if defined __stub_$ac_func || defined __stub___$ac_func
41660 return $ac_func ();
41665 rm -f conftest.$ac_objext conftest$ac_exeext
41666 if { (ac_try="$ac_link"
41667 case "(($ac_try" in
41668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41669 *) ac_try_echo
=$ac_try;;
41671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41672 (eval "$ac_link") 2>conftest.er1
41674 grep -v '^ *+' conftest.er1
>conftest.err
41676 cat conftest.err
>&5
41677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41678 (exit $ac_status); } && {
41679 test -z "$ac_c_werror_flag" ||
41680 test ! -s conftest.err
41681 } && test -s conftest
$ac_exeext &&
41682 $as_test_x conftest
$ac_exeext; then
41683 eval "$as_ac_var=yes"
41685 echo "$as_me: failed program was:" >&5
41686 sed 's/^/| /' conftest.
$ac_ext >&5
41688 eval "$as_ac_var=no"
41691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41692 conftest
$ac_exeext conftest.
$ac_ext
41694 ac_res
=`eval echo '${'$as_ac_var'}'`
41695 { echo "$as_me:$LINENO: result: $ac_res" >&5
41696 echo "${ECHO_T}$ac_res" >&6; }
41697 if test `eval echo '${'$as_ac_var'}'` = yes; then
41698 cat >>confdefs.h
<<_ACEOF
41699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41702 cat >>confdefs.h
<<\_ACEOF
41703 #define HAVE_DLOPEN 1
41710 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41711 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41712 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41713 echo $ECHO_N "(cached) $ECHO_C" >&6
41715 ac_check_lib_save_LIBS
=$LIBS
41717 cat >conftest.
$ac_ext <<_ACEOF
41720 cat confdefs.h
>>conftest.
$ac_ext
41721 cat >>conftest.
$ac_ext <<_ACEOF
41722 /* end confdefs.h. */
41724 /* Override any GCC internal prototype to avoid an error.
41725 Use char because int might match the return type of a GCC
41726 builtin and then its argument prototype would still apply. */
41739 rm -f conftest.
$ac_objext conftest
$ac_exeext
41740 if { (ac_try
="$ac_link"
41741 case "(($ac_try" in
41742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41743 *) ac_try_echo=$ac_try;;
41745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41746 (eval "$ac_link") 2>conftest.er1
41748 grep -v '^ *+' conftest.er1 >conftest.err
41750 cat conftest.err >&5
41751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41752 (exit $ac_status); } && {
41753 test -z "$ac_c_werror_flag" ||
41754 test ! -s conftest.err
41755 } && test -s conftest$ac_exeext &&
41756 $as_test_x conftest$ac_exeext; then
41757 ac_cv_lib_dl_dlopen=yes
41759 echo "$as_me: failed program was:" >&5
41760 sed 's/^/| /' conftest.$ac_ext >&5
41762 ac_cv_lib_dl_dlopen=no
41765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41766 conftest$ac_exeext conftest.$ac_ext
41767 LIBS=$ac_check_lib_save_LIBS
41769 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41770 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41771 if test $ac_cv_lib_dl_dlopen = yes; then
41773 cat >>confdefs.h <<\_ACEOF
41774 #define HAVE_DLOPEN 1
41778 DL_LINK=" -ldl$DL_LINK"
41783 for ac_func in shl_load
41785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41786 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41788 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41789 echo $ECHO_N "(cached) $ECHO_C" >&6
41791 cat >conftest.$ac_ext <<_ACEOF
41794 cat confdefs.h >>conftest.$ac_ext
41795 cat >>conftest.$ac_ext <<_ACEOF
41796 /* end confdefs.h. */
41797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41799 #define $ac_func innocuous_$ac_func
41801 /* System header to define __stub macros and hopefully few prototypes,
41802 which can conflict with char $ac_func (); below.
41803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41804 <limits.h> exists even on freestanding compilers. */
41807 # include <limits.h>
41809 # include <assert.h>
41814 /* Override any GCC internal prototype to avoid an error.
41815 Use char because int might match the return type of a GCC
41816 builtin and then its argument prototype would still apply. */
41821 /* The GNU C library defines this for functions which it implements
41822 to always fail with ENOSYS. Some functions are actually named
41823 something starting with __ and the normal name is an alias. */
41824 #if defined __stub_$ac_func || defined __stub___$ac_func
41831 return $ac_func ();
41836 rm -f conftest.$ac_objext conftest$ac_exeext
41837 if { (ac_try="$ac_link"
41838 case "(($ac_try" in
41839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41840 *) ac_try_echo
=$ac_try;;
41842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41843 (eval "$ac_link") 2>conftest.er1
41845 grep -v '^ *+' conftest.er1
>conftest.err
41847 cat conftest.err
>&5
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); } && {
41850 test -z "$ac_c_werror_flag" ||
41851 test ! -s conftest.err
41852 } && test -s conftest
$ac_exeext &&
41853 $as_test_x conftest
$ac_exeext; then
41854 eval "$as_ac_var=yes"
41856 echo "$as_me: failed program was:" >&5
41857 sed 's/^/| /' conftest.
$ac_ext >&5
41859 eval "$as_ac_var=no"
41862 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41863 conftest
$ac_exeext conftest.
$ac_ext
41865 ac_res
=`eval echo '${'$as_ac_var'}'`
41866 { echo "$as_me:$LINENO: result: $ac_res" >&5
41867 echo "${ECHO_T}$ac_res" >&6; }
41868 if test `eval echo '${'$as_ac_var'}'` = yes; then
41869 cat >>confdefs.h
<<_ACEOF
41870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41873 cat >>confdefs.h
<<\_ACEOF
41874 #define HAVE_SHL_LOAD 1
41881 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41882 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41883 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41884 echo $ECHO_N "(cached) $ECHO_C" >&6
41886 ac_check_lib_save_LIBS
=$LIBS
41887 LIBS
="-lshl_load $LIBS"
41888 cat >conftest.
$ac_ext <<_ACEOF
41891 cat confdefs.h
>>conftest.
$ac_ext
41892 cat >>conftest.
$ac_ext <<_ACEOF
41893 /* end confdefs.h. */
41895 /* Override any GCC internal prototype to avoid an error.
41896 Use char because int might match the return type of a GCC
41897 builtin and then its argument prototype would still apply. */
41910 rm -f conftest.
$ac_objext conftest
$ac_exeext
41911 if { (ac_try
="$ac_link"
41912 case "(($ac_try" in
41913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41914 *) ac_try_echo=$ac_try;;
41916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41917 (eval "$ac_link") 2>conftest.er1
41919 grep -v '^ *+' conftest.er1 >conftest.err
41921 cat conftest.err >&5
41922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41923 (exit $ac_status); } && {
41924 test -z "$ac_c_werror_flag" ||
41925 test ! -s conftest.err
41926 } && test -s conftest$ac_exeext &&
41927 $as_test_x conftest$ac_exeext; then
41928 ac_cv_lib_shl_load_dld=yes
41930 echo "$as_me: failed program was:" >&5
41931 sed 's/^/| /' conftest.$ac_ext >&5
41933 ac_cv_lib_shl_load_dld=no
41936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41937 conftest$ac_exeext conftest.$ac_ext
41938 LIBS=$ac_check_lib_save_LIBS
41940 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41941 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41942 if test $ac_cv_lib_shl_load_dld = yes; then
41945 DL_LINK=" -ldld$DL_LINK"
41961 if test "$HAVE_DL_FUNCS" = 1; then
41963 for ac_func in dlerror
41965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41969 echo $ECHO_N "(cached) $ECHO_C" >&6
41971 cat >conftest.$ac_ext <<_ACEOF
41974 cat confdefs.h >>conftest.$ac_ext
41975 cat >>conftest.$ac_ext <<_ACEOF
41976 /* end confdefs.h. */
41977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41979 #define $ac_func innocuous_$ac_func
41981 /* System header to define __stub macros and hopefully few prototypes,
41982 which can conflict with char $ac_func (); below.
41983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41984 <limits.h> exists even on freestanding compilers. */
41987 # include <limits.h>
41989 # include <assert.h>
41994 /* Override any GCC internal prototype to avoid an error.
41995 Use char because int might match the return type of a GCC
41996 builtin and then its argument prototype would still apply. */
42001 /* The GNU C library defines this for functions which it implements
42002 to always fail with ENOSYS. Some functions are actually named
42003 something starting with __ and the normal name is an alias. */
42004 #if defined __stub_$ac_func || defined __stub___$ac_func
42011 return $ac_func ();
42016 rm -f conftest.$ac_objext conftest$ac_exeext
42017 if { (ac_try="$ac_link"
42018 case "(($ac_try" in
42019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42020 *) ac_try_echo
=$ac_try;;
42022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42023 (eval "$ac_link") 2>conftest.er1
42025 grep -v '^ *+' conftest.er1
>conftest.err
42027 cat conftest.err
>&5
42028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42029 (exit $ac_status); } && {
42030 test -z "$ac_c_werror_flag" ||
42031 test ! -s conftest.err
42032 } && test -s conftest
$ac_exeext &&
42033 $as_test_x conftest
$ac_exeext; then
42034 eval "$as_ac_var=yes"
42036 echo "$as_me: failed program was:" >&5
42037 sed 's/^/| /' conftest.
$ac_ext >&5
42039 eval "$as_ac_var=no"
42042 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42043 conftest
$ac_exeext conftest.
$ac_ext
42045 ac_res
=`eval echo '${'$as_ac_var'}'`
42046 { echo "$as_me:$LINENO: result: $ac_res" >&5
42047 echo "${ECHO_T}$ac_res" >&6; }
42048 if test `eval echo '${'$as_ac_var'}'` = yes; then
42049 cat >>confdefs.h
<<_ACEOF
42050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42052 cat >>confdefs.h
<<\_ACEOF
42053 #define HAVE_DLERROR 1
42058 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42059 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42060 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42061 echo $ECHO_N "(cached) $ECHO_C" >&6
42063 ac_check_lib_save_LIBS
=$LIBS
42065 cat >conftest.
$ac_ext <<_ACEOF
42068 cat confdefs.h
>>conftest.
$ac_ext
42069 cat >>conftest.
$ac_ext <<_ACEOF
42070 /* end confdefs.h. */
42072 /* Override any GCC internal prototype to avoid an error.
42073 Use char because int might match the return type of a GCC
42074 builtin and then its argument prototype would still apply. */
42087 rm -f conftest.
$ac_objext conftest
$ac_exeext
42088 if { (ac_try
="$ac_link"
42089 case "(($ac_try" in
42090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42091 *) ac_try_echo=$ac_try;;
42093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42094 (eval "$ac_link") 2>conftest.er1
42096 grep -v '^ *+' conftest.er1 >conftest.err
42098 cat conftest.err >&5
42099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42100 (exit $ac_status); } && {
42101 test -z "$ac_c_werror_flag" ||
42102 test ! -s conftest.err
42103 } && test -s conftest$ac_exeext &&
42104 $as_test_x conftest$ac_exeext; then
42105 ac_cv_lib_dl_dlerror=yes
42107 echo "$as_me: failed program was:" >&5
42108 sed 's/^/| /' conftest.$ac_ext >&5
42110 ac_cv_lib_dl_dlerror=no
42113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42114 conftest$ac_exeext conftest.$ac_ext
42115 LIBS=$ac_check_lib_save_LIBS
42117 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42118 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42119 if test $ac_cv_lib_dl_dlerror = yes; then
42120 cat >>confdefs.h <<\_ACEOF
42121 #define HAVE_DLERROR 1
42134 if test "$USE_DARWIN" = 1; then
42138 if test "$HAVE_DL_FUNCS" = 0; then
42139 if test "$HAVE_SHL_FUNCS" = 0; then
42140 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42141 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42142 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42143 wxUSE_DYNAMIC_LOADER=no
42144 wxUSE_DYNLIB_CLASS=no
42146 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42147 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42154 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42155 cat >>confdefs.h <<\_ACEOF
42156 #define wxUSE_DYNAMIC_LOADER 1
42160 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42161 cat >>confdefs.h <<\_ACEOF
42162 #define wxUSE_DYNLIB_CLASS 1
42169 if test "$wxUSE_PLUGINS" = "yes" ; then
42170 if test "$wxUSE_SHARED" = "no" ; then
42171 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42172 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42175 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42176 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42177 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42180 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42181 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42182 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42185 if test "$wxUSE_PLUGINS" = "yes" ; then
42186 cat >>confdefs.h <<\_ACEOF
42187 #define wxUSE_PLUGINS 1
42194 if test "$wxUSE_STL" = "yes"; then
42195 cat >>confdefs.h <<\_ACEOF
42196 #define wxUSE_STL 1
42201 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42202 cat >>confdefs.h <<\_ACEOF
42203 #define wxUSE_EXTENDED_RTTI 1
42208 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42209 cat >>confdefs.h <<\_ACEOF
42210 #define wxUSE_APPLE_IEEE 1
42215 if test "$wxUSE_TIMER" = "yes"; then
42216 cat >>confdefs.h <<\_ACEOF
42217 #define wxUSE_TIMER 1
42222 if test "$USE_UNIX" = 1 ; then
42223 if test "$wxUSE_MGL" != 1; then
42224 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42225 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42226 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42227 echo $ECHO_N "(cached) $ECHO_C" >&6
42230 cat >conftest.$ac_ext <<_ACEOF
42233 cat confdefs.h >>conftest.$ac_ext
42234 cat >>conftest.$ac_ext <<_ACEOF
42235 /* end confdefs.h. */
42237 #include <sys/ioctl.h>
42238 #include <sys/soundcard.h>
42244 ioctl(0, SNDCTL_DSP_SPEED, 0);
42250 rm -f conftest.$ac_objext conftest$ac_exeext
42251 if { (ac_try="$ac_link"
42252 case "(($ac_try" in
42253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42254 *) ac_try_echo
=$ac_try;;
42256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42257 (eval "$ac_link") 2>conftest.er1
42259 grep -v '^ *+' conftest.er1
>conftest.err
42261 cat conftest.err
>&5
42262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42263 (exit $ac_status); } && {
42264 test -z "$ac_c_werror_flag" ||
42265 test ! -s conftest.err
42266 } && test -s conftest
$ac_exeext &&
42267 $as_test_x conftest
$ac_exeext; then
42268 ac_cv_header_sys_soundcard
=yes
42270 echo "$as_me: failed program was:" >&5
42271 sed 's/^/| /' conftest.
$ac_ext >&5
42275 LIBS
="$saveLibs -lossaudio"
42276 cat >conftest.
$ac_ext <<_ACEOF
42279 cat confdefs.h
>>conftest.
$ac_ext
42280 cat >>conftest.
$ac_ext <<_ACEOF
42281 /* end confdefs.h. */
42283 #include <sys/ioctl.h>
42284 #include <sys/soundcard.h>
42290 ioctl(0, SNDCTL_DSP_SPEED, 0);
42296 rm -f conftest.
$ac_objext conftest
$ac_exeext
42297 if { (ac_try
="$ac_link"
42298 case "(($ac_try" in
42299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42300 *) ac_try_echo=$ac_try;;
42302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42303 (eval "$ac_link") 2>conftest.er1
42305 grep -v '^ *+' conftest.er1 >conftest.err
42307 cat conftest.err >&5
42308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42309 (exit $ac_status); } && {
42310 test -z "$ac_c_werror_flag" ||
42311 test ! -s conftest.err
42312 } && test -s conftest$ac_exeext &&
42313 $as_test_x conftest$ac_exeext; then
42314 ac_cv_header_sys_soundcard=yes
42316 echo "$as_me: failed program was:" >&5
42317 sed 's/^/| /' conftest.$ac_ext >&5
42321 ac_cv_header_sys_soundcard=no
42326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42327 conftest$ac_exeext conftest.$ac_ext
42332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42333 conftest$ac_exeext conftest.$ac_ext
42336 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42337 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42340 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42341 cat >>confdefs.h <<\_ACEOF
42342 #define HAVE_SYS_SOUNDCARD_H 1
42349 if test "$wxUSE_SOUND" = "yes"; then
42350 if test "$USE_UNIX" = 1 ; then
42351 if test "$wxUSE_LIBSDL" != "no"; then
42353 # Check whether --with-sdl-prefix was given.
42354 if test "${with_sdl_prefix+set}" = set; then
42355 withval=$with_sdl_prefix; sdl_prefix="$withval"
42361 # Check whether --with-sdl-exec-prefix was given.
42362 if test "${with_sdl_exec_prefix+set}" = set; then
42363 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42368 # Check whether --enable-sdltest was given.
42369 if test "${enable_sdltest+set}" = set; then
42370 enableval=$enable_sdltest;
42376 if test x$sdl_exec_prefix != x ; then
42377 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42378 if test x${SDL_CONFIG+set} != xset ; then
42379 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42382 if test x$sdl_prefix != x ; then
42383 sdl_args="$sdl_args --prefix=$sdl_prefix"
42384 if test x${SDL_CONFIG+set} != xset ; then
42385 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42389 if test "x$prefix" != xNONE; then
42390 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42392 # Extract the first word of "sdl-config", so it can be a program name with args.
42393 set dummy sdl-config; ac_word=$2
42394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42396 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42397 echo $ECHO_N "(cached) $ECHO_C" >&6
42399 case $SDL_CONFIG in
42401 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42405 for as_dir in $PATH
42408 test -z "$as_dir" && as_dir=.
42409 for ac_exec_ext in '' $ac_executable_extensions; do
42410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42411 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42419 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42423 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42424 if test -n "$SDL_CONFIG"; then
42425 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42426 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42428 { echo "$as_me:$LINENO: result: no" >&5
42429 echo "${ECHO_T}no" >&6; }
42433 min_sdl_version=1.2.0
42434 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42435 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42437 if test "$SDL_CONFIG" = "no" ; then
42440 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42441 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42443 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42445 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42447 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42449 if test "x$enable_sdltest" = "xyes" ; then
42450 ac_save_CFLAGS="$CFLAGS"
42451 ac_save_CXXFLAGS="$CXXFLAGS"
42452 ac_save_LIBS="$LIBS"
42453 CFLAGS="$CFLAGS $SDL_CFLAGS"
42454 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42455 LIBS="$LIBS $SDL_LIBS"
42457 if test "$cross_compiling" = yes; then
42458 echo $ac_n "cross compiling; assumed OK... $ac_c"
42460 cat >conftest.$ac_ext <<_ACEOF
42463 cat confdefs.h >>conftest.$ac_ext
42464 cat >>conftest.$ac_ext <<_ACEOF
42465 /* end confdefs.h. */
42468 #include <stdlib.h>
42469 #include <string.h>
42473 my_strdup (char *str)
42479 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42480 strcpy (new_str, str);
42488 int main (int argc, char *argv[])
42490 int major, minor, micro;
42493 /* This hangs on some systems (?)
42494 system ("touch conf.sdltest");
42496 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42498 /* HP/UX 9 (%@#!) writes to sscanf strings */
42499 tmp_version = my_strdup("$min_sdl_version");
42500 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42501 printf("%s, bad version string\n", "$min_sdl_version");
42505 if (($sdl_major_version > major) ||
42506 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42507 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42513 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42514 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42515 printf("*** best to upgrade to the required version.\n");
42516 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42517 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42518 printf("*** config.cache before re-running configure\n");
42525 rm -f conftest$ac_exeext
42526 if { (ac_try="$ac_link"
42527 case "(($ac_try" in
42528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42529 *) ac_try_echo
=$ac_try;;
42531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42532 (eval "$ac_link") 2>&5
42534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42535 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42536 { (case "(($ac_try" in
42537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42538 *) ac_try_echo=$ac_try;;
42540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42541 (eval "$ac_try") 2>&5
42543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42544 (exit $ac_status); }; }; then
42547 echo "$as_me: program exited with status $ac_status" >&5
42548 echo "$as_me: failed program was:" >&5
42549 sed 's/^/| /' conftest.$ac_ext >&5
42551 ( exit $ac_status )
42554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42558 CFLAGS="$ac_save_CFLAGS"
42559 CXXFLAGS="$ac_save_CXXFLAGS"
42560 LIBS="$ac_save_LIBS"
42563 if test "x$no_sdl" = x ; then
42564 { echo "$as_me:$LINENO: result: yes" >&5
42565 echo "${ECHO_T}yes" >&6; }
42567 EXTRALIBS_SDL="$SDL_LIBS"
42568 CFLAGS="$SDL_CFLAGS $CFLAGS"
42569 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42570 cat >>confdefs.h <<\_ACEOF
42571 #define wxUSE_LIBSDL 1
42576 { echo "$as_me:$LINENO: result: no" >&5
42577 echo "${ECHO_T}no" >&6; }
42578 if test "$SDL_CONFIG" = "no" ; then
42579 echo "*** The sdl-config script installed by SDL could not be found"
42580 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42581 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42582 echo "*** full path to sdl-config."
42584 if test -f conf.sdltest ; then
42587 echo "*** Could not run SDL test program, checking why..."
42588 CFLAGS="$CFLAGS $SDL_CFLAGS"
42589 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42590 LIBS="$LIBS $SDL_LIBS"
42591 cat >conftest.$ac_ext <<_ACEOF
42594 cat confdefs.h >>conftest.$ac_ext
42595 cat >>conftest.$ac_ext <<_ACEOF
42596 /* end confdefs.h. */
42601 int main(int argc, char *argv[])
42604 #define main K_and_R_C_main
42614 rm -f conftest.$ac_objext conftest$ac_exeext
42615 if { (ac_try="$ac_link"
42616 case "(($ac_try" in
42617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42618 *) ac_try_echo
=$ac_try;;
42620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42621 (eval "$ac_link") 2>conftest.er1
42623 grep -v '^ *+' conftest.er1
>conftest.err
42625 cat conftest.err
>&5
42626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42627 (exit $ac_status); } && {
42628 test -z "$ac_c_werror_flag" ||
42629 test ! -s conftest.err
42630 } && test -s conftest
$ac_exeext &&
42631 $as_test_x conftest
$ac_exeext; then
42632 echo "*** The test program compiled, but did not run. This usually means"
42633 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42634 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42635 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42636 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42637 echo "*** is required on your system"
42639 echo "*** If you have an old version installed, it is best to remove it, although"
42640 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42642 echo "$as_me: failed program was:" >&5
42643 sed 's/^/| /' conftest.
$ac_ext >&5
42645 echo "*** The test program failed to compile or link. See the file config.log for the"
42646 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42647 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42648 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42651 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42652 conftest
$ac_exeext conftest.
$ac_ext
42653 CFLAGS
="$ac_save_CFLAGS"
42654 CXXFLAGS
="$ac_save_CXXFLAGS"
42655 LIBS
="$ac_save_LIBS"
42666 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42671 if test "$wxUSE_MGL" = 1; then
42672 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42673 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42679 if test "$wxUSE_SOUND" = "yes"; then
42680 cat >>confdefs.h
<<\_ACEOF
42681 #define wxUSE_SOUND 1
42684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42687 if test "$WXGTK2" = 1; then
42690 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42691 if test -n "$ac_tool_prefix"; then
42692 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42693 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42696 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42697 echo $ECHO_N "(cached) $ECHO_C" >&6
42699 case $PKG_CONFIG in
42701 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42705 for as_dir
in $PATH
42708 test -z "$as_dir" && as_dir
=.
42709 for ac_exec_ext
in '' $ac_executable_extensions; do
42710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42711 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42722 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42723 if test -n "$PKG_CONFIG"; then
42724 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42725 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42727 { echo "$as_me:$LINENO: result: no" >&5
42728 echo "${ECHO_T}no" >&6; }
42733 if test -z "$ac_cv_path_PKG_CONFIG"; then
42734 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42735 # Extract the first word of "pkg-config", so it can be a program name with args.
42736 set dummy pkg
-config; ac_word
=$2
42737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42739 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42740 echo $ECHO_N "(cached) $ECHO_C" >&6
42742 case $ac_pt_PKG_CONFIG in
42744 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42748 for as_dir
in $PATH
42751 test -z "$as_dir" && as_dir
=.
42752 for ac_exec_ext
in '' $ac_executable_extensions; do
42753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42754 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42765 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42766 if test -n "$ac_pt_PKG_CONFIG"; then
42767 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42768 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42770 { echo "$as_me:$LINENO: result: no" >&5
42771 echo "${ECHO_T}no" >&6; }
42774 if test "x$ac_pt_PKG_CONFIG" = x
; then
42777 case $cross_compiling:$ac_tool_warned in
42779 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42780 whose name does not start with the host triplet. If you think this
42781 configuration is useful to you, please write to autoconf@gnu.org." >&5
42782 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42783 whose name does not start with the host triplet. If you think this
42784 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42785 ac_tool_warned
=yes ;;
42787 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42790 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42794 if test -n "$PKG_CONFIG"; then
42795 _pkg_min_version
=0.9.0
42796 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42797 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42798 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42799 { echo "$as_me:$LINENO: result: yes" >&5
42800 echo "${ECHO_T}yes" >&6; }
42802 { echo "$as_me:$LINENO: result: no" >&5
42803 echo "${ECHO_T}no" >&6; }
42809 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42811 if test "$wxUSE_GTKPRINT" = "yes" ; then
42815 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42816 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42818 if test -n "$PKG_CONFIG"; then
42819 if test -n "$GTKPRINT_CFLAGS"; then
42820 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42822 if test -n "$PKG_CONFIG" && \
42823 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42824 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42827 (exit $ac_status); }; then
42828 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42836 if test -n "$PKG_CONFIG"; then
42837 if test -n "$GTKPRINT_LIBS"; then
42838 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42840 if test -n "$PKG_CONFIG" && \
42841 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42842 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42845 (exit $ac_status); }; then
42846 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42857 if test $pkg_failed = yes; then
42859 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42860 _pkg_short_errors_supported
=yes
42862 _pkg_short_errors_supported
=no
42864 if test $_pkg_short_errors_supported = yes; then
42865 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42867 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42869 # Put the nasty error message in config.log where it belongs
42870 echo "$GTKPRINT_PKG_ERRORS" >&5
42873 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42874 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42875 wxUSE_GTKPRINT
="no"
42878 elif test $pkg_failed = untried
; then
42880 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42881 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42882 wxUSE_GTKPRINT
="no"
42886 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42887 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42888 { echo "$as_me:$LINENO: result: yes" >&5
42889 echo "${ECHO_T}yes" >&6; }
42891 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42892 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42893 cat >>confdefs.h
<<\_ACEOF
42894 #define wxUSE_GTKPRINT 1
42901 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42905 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42906 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42908 if test -n "$PKG_CONFIG"; then
42909 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42910 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42912 if test -n "$PKG_CONFIG" && \
42913 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42914 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42917 (exit $ac_status); }; then
42918 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42926 if test -n "$PKG_CONFIG"; then
42927 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42928 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42930 if test -n "$PKG_CONFIG" && \
42931 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42932 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42935 (exit $ac_status); }; then
42936 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42947 if test $pkg_failed = yes; then
42949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42950 _pkg_short_errors_supported
=yes
42952 _pkg_short_errors_supported
=no
42954 if test $_pkg_short_errors_supported = yes; then
42955 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42957 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42959 # Put the nasty error message in config.log where it belongs
42960 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42963 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42964 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42965 wxUSE_LIBGNOMEPRINT
="no"
42968 elif test $pkg_failed = untried
; then
42970 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42971 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42972 wxUSE_LIBGNOMEPRINT
="no"
42976 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42977 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42978 { echo "$as_me:$LINENO: result: yes" >&5
42979 echo "${ECHO_T}yes" >&6; }
42981 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42982 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42983 cat >>confdefs.h
<<\_ACEOF
42984 #define wxUSE_LIBGNOMEPRINT 1
42992 if test "$wxUSE_MIMETYPE" = "yes" ; then
42993 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42997 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42998 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43000 if test -n "$PKG_CONFIG"; then
43001 if test -n "$GNOMEVFS_CFLAGS"; then
43002 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43004 if test -n "$PKG_CONFIG" && \
43005 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43006 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43009 (exit $ac_status); }; then
43010 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43018 if test -n "$PKG_CONFIG"; then
43019 if test -n "$GNOMEVFS_LIBS"; then
43020 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43022 if test -n "$PKG_CONFIG" && \
43023 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43024 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43027 (exit $ac_status); }; then
43028 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43039 if test $pkg_failed = yes; then
43041 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43042 _pkg_short_errors_supported
=yes
43044 _pkg_short_errors_supported
=no
43046 if test $_pkg_short_errors_supported = yes; then
43047 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43049 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43051 # Put the nasty error message in config.log where it belongs
43052 echo "$GNOMEVFS_PKG_ERRORS" >&5
43055 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43056 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43057 wxUSE_LIBGNOMEVFS
="no"
43060 elif test $pkg_failed = untried
; then
43062 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43063 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43064 wxUSE_LIBGNOMEVFS
="no"
43068 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43069 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43070 { echo "$as_me:$LINENO: result: yes" >&5
43071 echo "${ECHO_T}yes" >&6; }
43073 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43074 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43075 cat >>confdefs.h
<<\_ACEOF
43076 #define wxUSE_LIBGNOMEVFS 1
43084 if test "$wxUSE_LIBHILDON" = "yes" ; then
43087 { echo "$as_me:$LINENO: checking for HILDON" >&5
43088 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43090 if test -n "$PKG_CONFIG"; then
43091 if test -n "$HILDON_CFLAGS"; then
43092 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43094 if test -n "$PKG_CONFIG" && \
43095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43096 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43099 (exit $ac_status); }; then
43100 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43108 if test -n "$PKG_CONFIG"; then
43109 if test -n "$HILDON_LIBS"; then
43110 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43112 if test -n "$PKG_CONFIG" && \
43113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43114 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43117 (exit $ac_status); }; then
43118 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43129 if test $pkg_failed = yes; then
43131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43132 _pkg_short_errors_supported
=yes
43134 _pkg_short_errors_supported
=no
43136 if test $_pkg_short_errors_supported = yes; then
43137 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43139 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43141 # Put the nasty error message in config.log where it belongs
43142 echo "$HILDON_PKG_ERRORS" >&5
43145 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43146 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43147 wxUSE_LIBHILDON
="no"
43150 elif test $pkg_failed = untried
; then
43152 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43153 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43154 wxUSE_LIBHILDON
="no"
43158 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43159 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43160 { echo "$as_me:$LINENO: result: yes" >&5
43161 echo "${ECHO_T}yes" >&6; }
43163 EXTRALIBS_HILDON
="$HILDON_LIBS"
43164 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43165 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43166 cat >>confdefs.h
<<\_ACEOF
43167 #define wxUSE_LIBHILDON 1
43175 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43176 cat >>confdefs.h
<<\_ACEOF
43177 #define wxUSE_CMDLINE_PARSER 1
43182 if test "$wxUSE_STOPWATCH" = "yes"; then
43183 cat >>confdefs.h
<<\_ACEOF
43184 #define wxUSE_STOPWATCH 1
43189 if test "$wxUSE_DATETIME" = "yes"; then
43190 cat >>confdefs.h
<<\_ACEOF
43191 #define wxUSE_DATETIME 1
43196 if test "$wxUSE_FILE" = "yes"; then
43197 cat >>confdefs.h
<<\_ACEOF
43198 #define wxUSE_FILE 1
43203 if test "$wxUSE_FFILE" = "yes"; then
43204 cat >>confdefs.h
<<\_ACEOF
43205 #define wxUSE_FFILE 1
43210 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43211 if test "$wxUSE_STREAMS" != yes; then
43212 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43213 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43214 wxUSE_ARCHIVE_STREAMS
=no
43216 cat >>confdefs.h
<<\_ACEOF
43217 #define wxUSE_ARCHIVE_STREAMS 1
43223 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43224 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43225 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43226 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43227 elif test "$wxUSE_ZLIB" = "no"; then
43228 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43229 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43231 cat >>confdefs.h
<<\_ACEOF
43232 #define wxUSE_ZIPSTREAM 1
43238 if test "$wxUSE_TARSTREAM" = "yes"; then
43239 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43240 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43241 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43243 cat >>confdefs.h
<<\_ACEOF
43244 #define wxUSE_TARSTREAM 1
43250 if test "$wxUSE_FILESYSTEM" = "yes"; then
43251 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43252 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43253 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43254 wxUSE_FILESYSTEM
=no
43256 cat >>confdefs.h
<<\_ACEOF
43257 #define wxUSE_FILESYSTEM 1
43263 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43264 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43265 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43266 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43268 cat >>confdefs.h
<<\_ACEOF
43269 #define wxUSE_FS_ARCHIVE 1
43275 if test "$wxUSE_FS_ZIP" = "yes"; then
43276 if test "$wxUSE_FS_ARCHIVE" != yes; then
43277 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43278 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43280 cat >>confdefs.h
<<\_ACEOF
43281 #define wxUSE_FS_ZIP 1
43287 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43288 if test "$USE_UNIX" != 1; then
43289 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43290 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43291 wxUSE_ON_FATAL_EXCEPTION
=no
43293 cat >>confdefs.h
<<\_ACEOF
43294 #define wxUSE_ON_FATAL_EXCEPTION 1
43300 if test "$wxUSE_STACKWALKER" = "yes"; then
43301 cat >>confdefs.h
<<\_ACEOF
43302 #define wxUSE_STACKWALKER 1
43307 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43308 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43309 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43310 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43311 wxUSE_DEBUGREPORT
=no
43313 cat >>confdefs.h
<<\_ACEOF
43314 #define wxUSE_DEBUGREPORT 1
43317 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43318 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43323 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43324 cat >>confdefs.h
<<\_ACEOF
43325 #define wxUSE_SNGLINST_CHECKER 1
43330 if test "$wxUSE_BUSYINFO" = "yes"; then
43331 cat >>confdefs.h
<<\_ACEOF
43332 #define wxUSE_BUSYINFO 1
43337 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43338 cat >>confdefs.h
<<\_ACEOF
43339 #define wxUSE_STD_IOSTREAM 1
43344 if test "$wxUSE_STD_STRING" = "yes"; then
43345 cat >>confdefs.h
<<\_ACEOF
43346 #define wxUSE_STD_STRING 1
43351 if test "$wxUSE_STDPATHS" = "yes"; then
43352 cat >>confdefs.h
<<\_ACEOF
43353 #define wxUSE_STDPATHS 1
43358 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43359 cat >>confdefs.h
<<\_ACEOF
43360 #define wxUSE_TEXTBUFFER 1
43365 if test "$wxUSE_TEXTFILE" = "yes"; then
43366 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43367 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43368 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43370 cat >>confdefs.h
<<\_ACEOF
43371 #define wxUSE_TEXTFILE 1
43377 if test "$wxUSE_CONFIG" = "yes" ; then
43378 if test "$wxUSE_TEXTFILE" != "yes"; then
43379 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43380 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43382 cat >>confdefs.h
<<\_ACEOF
43383 #define wxUSE_CONFIG 1
43386 cat >>confdefs.h
<<\_ACEOF
43387 #define wxUSE_CONFIG_NATIVE 1
43390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43394 if test "$wxUSE_INTL" = "yes" ; then
43395 if test "$wxUSE_FILE" != "yes"; then
43396 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43397 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43399 cat >>confdefs.h
<<\_ACEOF
43400 #define wxUSE_INTL 1
43403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43404 GUIDIST
="$GUIDIST INTL_DIST"
43408 if test "$wxUSE_XLOCALE" = "yes" ; then
43409 cat >>confdefs.h
<<\_ACEOF
43410 #define wxUSE_XLOCALE 1
43413 { echo "$as_me:$LINENO: checking for locale_t" >&5
43414 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43415 if test "${ac_cv_type_locale_t+set}" = set; then
43416 echo $ECHO_N "(cached) $ECHO_C" >&6
43418 cat >conftest.
$ac_ext <<_ACEOF
43421 cat confdefs.h
>>conftest.
$ac_ext
43422 cat >>conftest.
$ac_ext <<_ACEOF
43423 /* end confdefs.h. */
43424 #include <xlocale.h>
43425 #include <locale.h>
43427 typedef locale_t ac__type_new_;
43431 if ((ac__type_new_ *) 0)
43433 if (sizeof (ac__type_new_))
43439 rm -f conftest.
$ac_objext
43440 if { (ac_try
="$ac_compile"
43441 case "(($ac_try" in
43442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43443 *) ac_try_echo=$ac_try;;
43445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43446 (eval "$ac_compile") 2>conftest.er1
43448 grep -v '^ *+' conftest.er1 >conftest.err
43450 cat conftest.err >&5
43451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43452 (exit $ac_status); } && {
43453 test -z "$ac_c_werror_flag" ||
43454 test ! -s conftest.err
43455 } && test -s conftest.$ac_objext; then
43456 ac_cv_type_locale_t=yes
43458 echo "$as_me: failed program was:" >&5
43459 sed 's/^/| /' conftest.$ac_ext >&5
43461 ac_cv_type_locale_t=no
43464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43466 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43467 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43468 if test $ac_cv_type_locale_t = yes; then
43470 cat >>confdefs.h <<_ACEOF
43471 #define HAVE_LOCALE_T 1
43479 if test "$wxUSE_LOG" = "yes"; then
43480 cat >>confdefs.h <<\_ACEOF
43481 #define wxUSE_LOG 1
43485 if test "$wxUSE_LOGGUI" = "yes"; then
43486 cat >>confdefs.h <<\_ACEOF
43487 #define wxUSE_LOGGUI 1
43492 if test "$wxUSE_LOGWINDOW" = "yes"; then
43493 cat >>confdefs.h <<\_ACEOF
43494 #define wxUSE_LOGWINDOW 1
43499 if test "$wxUSE_LOGDIALOG" = "yes"; then
43500 cat >>confdefs.h <<\_ACEOF
43501 #define wxUSE_LOG_DIALOG 1
43506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43509 if test "$wxUSE_LONGLONG" = "yes"; then
43510 cat >>confdefs.h <<\_ACEOF
43511 #define wxUSE_LONGLONG 1
43516 if test "$wxUSE_GEOMETRY" = "yes"; then
43517 cat >>confdefs.h <<\_ACEOF
43518 #define wxUSE_GEOMETRY 1
43523 if test "$wxUSE_BASE64" = "yes"; then
43524 cat >>confdefs.h <<\_ACEOF
43525 #define wxUSE_BASE64 1
43530 if test "$wxUSE_STREAMS" = "yes" ; then
43531 cat >>confdefs.h <<\_ACEOF
43532 #define wxUSE_STREAMS 1
43537 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43538 cat >>confdefs.h <<\_ACEOF
43539 #define wxUSE_PRINTF_POS_PARAMS 1
43544 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43545 cat >>confdefs.h <<\_ACEOF
43546 #define wxUSE_OBJC_UNIQUIFYING 1
43552 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43553 cat >>confdefs.h <<\_ACEOF
43554 #define wxUSE_CONSOLE_EVENTLOOP 1
43558 if test "$wxUSE_UNIX" = "yes"; then
43559 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43560 cat >>confdefs.h <<\_ACEOF
43561 #define wxUSE_SELECT_DISPATCHER 1
43566 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43568 for ac_header in sys/epoll.h
43570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43574 echo $ECHO_N "(cached) $ECHO_C" >&6
43576 cat >conftest.$ac_ext <<_ACEOF
43579 cat confdefs.h >>conftest.$ac_ext
43580 cat >>conftest.$ac_ext <<_ACEOF
43581 /* end confdefs.h. */
43582 $ac_includes_default
43584 #include <$ac_header>
43586 rm -f conftest.$ac_objext
43587 if { (ac_try="$ac_compile"
43588 case "(($ac_try" in
43589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43590 *) ac_try_echo
=$ac_try;;
43592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43593 (eval "$ac_compile") 2>conftest.er1
43595 grep -v '^ *+' conftest.er1
>conftest.err
43597 cat conftest.err
>&5
43598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43599 (exit $ac_status); } && {
43600 test -z "$ac_c_werror_flag" ||
43601 test ! -s conftest.err
43602 } && test -s conftest.
$ac_objext; then
43603 eval "$as_ac_Header=yes"
43605 echo "$as_me: failed program was:" >&5
43606 sed 's/^/| /' conftest.
$ac_ext >&5
43608 eval "$as_ac_Header=no"
43611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43613 ac_res
=`eval echo '${'$as_ac_Header'}'`
43614 { echo "$as_me:$LINENO: result: $ac_res" >&5
43615 echo "${ECHO_T}$ac_res" >&6; }
43616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43617 cat >>confdefs.h
<<_ACEOF
43618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43625 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43626 cat >>confdefs.h
<<\_ACEOF
43627 #define wxUSE_EPOLL_DISPATCHER 1
43631 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43632 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43641 for ac_func
in gettimeofday ftime
43643 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43646 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43647 echo $ECHO_N "(cached) $ECHO_C" >&6
43649 cat >conftest.
$ac_ext <<_ACEOF
43652 cat confdefs.h
>>conftest.
$ac_ext
43653 cat >>conftest.
$ac_ext <<_ACEOF
43654 /* end confdefs.h. */
43655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43657 #define $ac_func innocuous_$ac_func
43659 /* System header to define __stub macros and hopefully few prototypes,
43660 which can conflict with char $ac_func (); below.
43661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43662 <limits.h> exists even on freestanding compilers. */
43665 # include <limits.h>
43667 # include <assert.h>
43672 /* Override any GCC internal prototype to avoid an error.
43673 Use char because int might match the return type of a GCC
43674 builtin and then its argument prototype would still apply. */
43679 /* The GNU C library defines this for functions which it implements
43680 to always fail with ENOSYS. Some functions are actually named
43681 something starting with __ and the normal name is an alias. */
43682 #if defined __stub_$ac_func || defined __stub___$ac_func
43689 return $ac_func ();
43694 rm -f conftest.
$ac_objext conftest
$ac_exeext
43695 if { (ac_try
="$ac_link"
43696 case "(($ac_try" in
43697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43698 *) ac_try_echo=$ac_try;;
43700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43701 (eval "$ac_link") 2>conftest.er1
43703 grep -v '^ *+' conftest.er1 >conftest.err
43705 cat conftest.err >&5
43706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43707 (exit $ac_status); } && {
43708 test -z "$ac_c_werror_flag" ||
43709 test ! -s conftest.err
43710 } && test -s conftest$ac_exeext &&
43711 $as_test_x conftest$ac_exeext; then
43712 eval "$as_ac_var=yes"
43714 echo "$as_me: failed program was:" >&5
43715 sed 's/^/| /' conftest.$ac_ext >&5
43717 eval "$as_ac_var=no"
43720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43721 conftest$ac_exeext conftest.$ac_ext
43723 ac_res=`eval echo '${'$as_ac_var'}'`
43724 { echo "$as_me:$LINENO: result: $ac_res" >&5
43725 echo "${ECHO_T}$ac_res" >&6; }
43726 if test `eval echo '${'$as_ac_var'}'` = yes; then
43727 cat >>confdefs.h <<_ACEOF
43728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43735 if test "$ac_cv_func_gettimeofday" = "yes"; then
43736 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43737 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43738 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43739 echo $ECHO_N "(cached) $ECHO_C" >&6
43742 cat >conftest.$ac_ext <<_ACEOF
43745 cat confdefs.h >>conftest.$ac_ext
43746 cat >>conftest.$ac_ext <<_ACEOF
43747 /* end confdefs.h. */
43749 #include <sys/time.h>
43750 #include <unistd.h>
43757 gettimeofday(&tv, NULL);
43763 rm -f conftest.$ac_objext
43764 if { (ac_try="$ac_compile"
43765 case "(($ac_try" in
43766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43767 *) ac_try_echo
=$ac_try;;
43769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43770 (eval "$ac_compile") 2>conftest.er1
43772 grep -v '^ *+' conftest.er1
>conftest.err
43774 cat conftest.err
>&5
43775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43776 (exit $ac_status); } && {
43777 test -z "$ac_c_werror_flag" ||
43778 test ! -s conftest.err
43779 } && test -s conftest.
$ac_objext; then
43780 wx_cv_func_gettimeofday_has_2_args
=yes
43782 echo "$as_me: failed program was:" >&5
43783 sed 's/^/| /' conftest.
$ac_ext >&5
43785 cat >conftest.
$ac_ext <<_ACEOF
43788 cat confdefs.h
>>conftest.
$ac_ext
43789 cat >>conftest.
$ac_ext <<_ACEOF
43790 /* end confdefs.h. */
43792 #include <sys/time.h>
43793 #include <unistd.h>
43806 rm -f conftest.
$ac_objext
43807 if { (ac_try
="$ac_compile"
43808 case "(($ac_try" in
43809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43810 *) ac_try_echo=$ac_try;;
43812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43813 (eval "$ac_compile") 2>conftest.er1
43815 grep -v '^ *+' conftest.er1 >conftest.err
43817 cat conftest.err >&5
43818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43819 (exit $ac_status); } && {
43820 test -z "$ac_c_werror_flag" ||
43821 test ! -s conftest.err
43822 } && test -s conftest.$ac_objext; then
43823 wx_cv_func_gettimeofday_has_2_args=no
43825 echo "$as_me: failed program was:" >&5
43826 sed 's/^/| /' conftest.$ac_ext >&5
43829 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43830 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43831 wx_cv_func_gettimeofday_has_2_args=unknown
43836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43843 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43844 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43846 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43847 cat >>confdefs.h <<\_ACEOF
43848 #define WX_GETTIMEOFDAY_NO_TZ 1
43854 if test "$wxUSE_DATETIME" = "yes"; then
43855 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43856 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43857 if test "${wx_cv_var_timezone+set}" = set; then
43858 echo $ECHO_N "(cached) $ECHO_C" >&6
43862 ac_cpp='$CXXCPP $CPPFLAGS'
43863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43867 cat >conftest.$ac_ext <<_ACEOF
43870 cat confdefs.h >>conftest.$ac_ext
43871 cat >>conftest.$ac_ext <<_ACEOF
43872 /* end confdefs.h. */
43887 rm -f conftest.$ac_objext
43888 if { (ac_try="$ac_compile"
43889 case "(($ac_try" in
43890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43891 *) ac_try_echo
=$ac_try;;
43893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43894 (eval "$ac_compile") 2>conftest.er1
43896 grep -v '^ *+' conftest.er1
>conftest.err
43898 cat conftest.err
>&5
43899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43900 (exit $ac_status); } && {
43901 test -z "$ac_cxx_werror_flag" ||
43902 test ! -s conftest.err
43903 } && test -s conftest.
$ac_objext; then
43905 wx_cv_var_timezone
=timezone
43908 echo "$as_me: failed program was:" >&5
43909 sed 's/^/| /' conftest.
$ac_ext >&5
43912 cat >conftest.
$ac_ext <<_ACEOF
43915 cat confdefs.h
>>conftest.
$ac_ext
43916 cat >>conftest.
$ac_ext <<_ACEOF
43917 /* end confdefs.h. */
43932 rm -f conftest.
$ac_objext
43933 if { (ac_try
="$ac_compile"
43934 case "(($ac_try" in
43935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43936 *) ac_try_echo=$ac_try;;
43938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43939 (eval "$ac_compile") 2>conftest.er1
43941 grep -v '^ *+' conftest.er1 >conftest.err
43943 cat conftest.err >&5
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); } && {
43946 test -z "$ac_cxx_werror_flag" ||
43947 test ! -s conftest.err
43948 } && test -s conftest.$ac_objext; then
43950 wx_cv_var_timezone=_timezone
43953 echo "$as_me: failed program was:" >&5
43954 sed 's/^/| /' conftest.$ac_ext >&5
43957 cat >conftest.$ac_ext <<_ACEOF
43960 cat confdefs.h >>conftest.$ac_ext
43961 cat >>conftest.$ac_ext <<_ACEOF
43962 /* end confdefs.h. */
43977 rm -f conftest.$ac_objext
43978 if { (ac_try="$ac_compile"
43979 case "(($ac_try" in
43980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43981 *) ac_try_echo
=$ac_try;;
43983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43984 (eval "$ac_compile") 2>conftest.er1
43986 grep -v '^ *+' conftest.er1
>conftest.err
43988 cat conftest.err
>&5
43989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43990 (exit $ac_status); } && {
43991 test -z "$ac_cxx_werror_flag" ||
43992 test ! -s conftest.err
43993 } && test -s conftest.
$ac_objext; then
43995 wx_cv_var_timezone
=__timezone
43998 echo "$as_me: failed program was:" >&5
43999 sed 's/^/| /' conftest.
$ac_ext >&5
44002 if test "$USE_DOS" = 0 ; then
44003 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44004 echo "$as_me: WARNING: no timezone variable" >&2;}
44010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44022 ac_cpp
='$CPP $CPPFLAGS'
44023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44030 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44031 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44033 if test "x$wx_cv_var_timezone" != x
; then
44034 cat >>confdefs.h
<<_ACEOF
44035 #define WX_TIMEZONE $wx_cv_var_timezone
44041 for ac_func
in localtime
44043 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44044 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44046 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44047 echo $ECHO_N "(cached) $ECHO_C" >&6
44049 cat >conftest.
$ac_ext <<_ACEOF
44052 cat confdefs.h
>>conftest.
$ac_ext
44053 cat >>conftest.
$ac_ext <<_ACEOF
44054 /* end confdefs.h. */
44055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44057 #define $ac_func innocuous_$ac_func
44059 /* System header to define __stub macros and hopefully few prototypes,
44060 which can conflict with char $ac_func (); below.
44061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44062 <limits.h> exists even on freestanding compilers. */
44065 # include <limits.h>
44067 # include <assert.h>
44072 /* Override any GCC internal prototype to avoid an error.
44073 Use char because int might match the return type of a GCC
44074 builtin and then its argument prototype would still apply. */
44079 /* The GNU C library defines this for functions which it implements
44080 to always fail with ENOSYS. Some functions are actually named
44081 something starting with __ and the normal name is an alias. */
44082 #if defined __stub_$ac_func || defined __stub___$ac_func
44089 return $ac_func ();
44094 rm -f conftest.
$ac_objext conftest
$ac_exeext
44095 if { (ac_try
="$ac_link"
44096 case "(($ac_try" in
44097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44098 *) ac_try_echo=$ac_try;;
44100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44101 (eval "$ac_link") 2>conftest.er1
44103 grep -v '^ *+' conftest.er1 >conftest.err
44105 cat conftest.err >&5
44106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44107 (exit $ac_status); } && {
44108 test -z "$ac_c_werror_flag" ||
44109 test ! -s conftest.err
44110 } && test -s conftest$ac_exeext &&
44111 $as_test_x conftest$ac_exeext; then
44112 eval "$as_ac_var=yes"
44114 echo "$as_me: failed program was:" >&5
44115 sed 's/^/| /' conftest.$ac_ext >&5
44117 eval "$as_ac_var=no"
44120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44121 conftest$ac_exeext conftest.$ac_ext
44123 ac_res=`eval echo '${'$as_ac_var'}'`
44124 { echo "$as_me:$LINENO: result: $ac_res" >&5
44125 echo "${ECHO_T}$ac_res" >&6; }
44126 if test `eval echo '${'$as_ac_var'}'` = yes; then
44127 cat >>confdefs.h <<_ACEOF
44128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44135 if test "$ac_cv_func_localtime" = "yes"; then
44136 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44137 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44138 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44139 echo $ECHO_N "(cached) $ECHO_C" >&6
44142 cat >conftest.$ac_ext <<_ACEOF
44145 cat confdefs.h >>conftest.$ac_ext
44146 cat >>conftest.$ac_ext <<_ACEOF
44147 /* end confdefs.h. */
44162 rm -f conftest.$ac_objext
44163 if { (ac_try="$ac_compile"
44164 case "(($ac_try" in
44165 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44166 *) ac_try_echo
=$ac_try;;
44168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44169 (eval "$ac_compile") 2>conftest.er1
44171 grep -v '^ *+' conftest.er1
>conftest.err
44173 cat conftest.err
>&5
44174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44175 (exit $ac_status); } && {
44176 test -z "$ac_c_werror_flag" ||
44177 test ! -s conftest.err
44178 } && test -s conftest.
$ac_objext; then
44180 wx_cv_struct_tm_has_gmtoff
=yes
44183 echo "$as_me: failed program was:" >&5
44184 sed 's/^/| /' conftest.
$ac_ext >&5
44186 wx_cv_struct_tm_has_gmtoff
=no
44190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44193 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44194 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44197 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44198 cat >>confdefs.h
<<\_ACEOF
44199 #define WX_GMTOFF_IN_TM 1
44204 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44208 if test "$wxUSE_SOCKETS" = "yes"; then
44209 if test "$wxUSE_MGL" = 1; then
44210 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44211 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44216 if test "$wxUSE_SOCKETS" = "yes"; then
44217 if test "$TOOLKIT" != "MSW"; then
44218 { echo "$as_me:$LINENO: checking for socket" >&5
44219 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44220 if test "${ac_cv_func_socket+set}" = set; then
44221 echo $ECHO_N "(cached) $ECHO_C" >&6
44223 cat >conftest.
$ac_ext <<_ACEOF
44226 cat confdefs.h
>>conftest.
$ac_ext
44227 cat >>conftest.
$ac_ext <<_ACEOF
44228 /* end confdefs.h. */
44229 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44231 #define socket innocuous_socket
44233 /* System header to define __stub macros and hopefully few prototypes,
44234 which can conflict with char socket (); below.
44235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44236 <limits.h> exists even on freestanding compilers. */
44239 # include <limits.h>
44241 # include <assert.h>
44246 /* Override any GCC internal prototype to avoid an error.
44247 Use char because int might match the return type of a GCC
44248 builtin and then its argument prototype would still apply. */
44253 /* The GNU C library defines this for functions which it implements
44254 to always fail with ENOSYS. Some functions are actually named
44255 something starting with __ and the normal name is an alias. */
44256 #if defined __stub_socket || defined __stub___socket
44268 rm -f conftest.
$ac_objext conftest
$ac_exeext
44269 if { (ac_try
="$ac_link"
44270 case "(($ac_try" in
44271 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44272 *) ac_try_echo=$ac_try;;
44274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44275 (eval "$ac_link") 2>conftest.er1
44277 grep -v '^ *+' conftest.er1 >conftest.err
44279 cat conftest.err >&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); } && {
44282 test -z "$ac_c_werror_flag" ||
44283 test ! -s conftest.err
44284 } && test -s conftest$ac_exeext &&
44285 $as_test_x conftest$ac_exeext; then
44286 ac_cv_func_socket=yes
44288 echo "$as_me: failed program was:" >&5
44289 sed 's/^/| /' conftest.$ac_ext >&5
44291 ac_cv_func_socket=no
44294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44295 conftest$ac_exeext conftest.$ac_ext
44297 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44298 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44299 if test $ac_cv_func_socket = yes; then
44303 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44304 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44305 if test "${ac_cv_lib_socket_socket+set}" = set; then
44306 echo $ECHO_N "(cached) $ECHO_C" >&6
44308 ac_check_lib_save_LIBS=$LIBS
44309 LIBS="-lsocket $LIBS"
44310 cat >conftest.$ac_ext <<_ACEOF
44313 cat confdefs.h >>conftest.$ac_ext
44314 cat >>conftest.$ac_ext <<_ACEOF
44315 /* end confdefs.h. */
44317 /* Override any GCC internal prototype to avoid an error.
44318 Use char because int might match the return type of a GCC
44319 builtin and then its argument prototype would still apply. */
44332 rm -f conftest.$ac_objext conftest$ac_exeext
44333 if { (ac_try="$ac_link"
44334 case "(($ac_try" in
44335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44336 *) ac_try_echo
=$ac_try;;
44338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44339 (eval "$ac_link") 2>conftest.er1
44341 grep -v '^ *+' conftest.er1
>conftest.err
44343 cat conftest.err
>&5
44344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44345 (exit $ac_status); } && {
44346 test -z "$ac_c_werror_flag" ||
44347 test ! -s conftest.err
44348 } && test -s conftest
$ac_exeext &&
44349 $as_test_x conftest
$ac_exeext; then
44350 ac_cv_lib_socket_socket
=yes
44352 echo "$as_me: failed program was:" >&5
44353 sed 's/^/| /' conftest.
$ac_ext >&5
44355 ac_cv_lib_socket_socket
=no
44358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44359 conftest
$ac_exeext conftest.
$ac_ext
44360 LIBS
=$ac_check_lib_save_LIBS
44362 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44363 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44364 if test $ac_cv_lib_socket_socket = yes; then
44365 if test "$INET_LINK" != " -lsocket"; then
44366 INET_LINK
="$INET_LINK -lsocket"
44370 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44371 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44384 if test "$wxUSE_SOCKETS" = "yes" ; then
44385 if test "$TOOLKIT" != "MSW"; then
44386 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44387 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44388 if test "${wx_cv_type_getsockname3+set}" = set; then
44389 echo $ECHO_N "(cached) $ECHO_C" >&6
44393 ac_cpp
='$CXXCPP $CPPFLAGS'
44394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44398 cat >conftest.
$ac_ext <<_ACEOF
44401 cat confdefs.h
>>conftest.
$ac_ext
44402 cat >>conftest.
$ac_ext <<_ACEOF
44403 /* end confdefs.h. */
44405 #include <sys/types.h>
44406 #include <sys/socket.h>
44413 getsockname(0, 0, &len);
44419 rm -f conftest.
$ac_objext
44420 if { (ac_try
="$ac_compile"
44421 case "(($ac_try" in
44422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44423 *) ac_try_echo=$ac_try;;
44425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44426 (eval "$ac_compile") 2>conftest.er1
44428 grep -v '^ *+' conftest.er1 >conftest.err
44430 cat conftest.err >&5
44431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432 (exit $ac_status); } && {
44433 test -z "$ac_cxx_werror_flag" ||
44434 test ! -s conftest.err
44435 } && test -s conftest.$ac_objext; then
44436 wx_cv_type_getsockname3=socklen_t
44438 echo "$as_me: failed program was:" >&5
44439 sed 's/^/| /' conftest.$ac_ext >&5
44442 CFLAGS_OLD="$CFLAGS"
44443 if test "$GCC" = yes ; then
44444 CFLAGS="-Werror $CFLAGS"
44447 cat >conftest.$ac_ext <<_ACEOF
44450 cat confdefs.h >>conftest.$ac_ext
44451 cat >>conftest.$ac_ext <<_ACEOF
44452 /* end confdefs.h. */
44454 #include <sys/types.h>
44455 #include <sys/socket.h>
44462 getsockname(0, 0, &len);
44468 rm -f conftest.$ac_objext
44469 if { (ac_try="$ac_compile"
44470 case "(($ac_try" in
44471 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44472 *) ac_try_echo
=$ac_try;;
44474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44475 (eval "$ac_compile") 2>conftest.er1
44477 grep -v '^ *+' conftest.er1
>conftest.err
44479 cat conftest.err
>&5
44480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481 (exit $ac_status); } && {
44482 test -z "$ac_cxx_werror_flag" ||
44483 test ! -s conftest.err
44484 } && test -s conftest.
$ac_objext; then
44485 wx_cv_type_getsockname3
=size_t
44487 echo "$as_me: failed program was:" >&5
44488 sed 's/^/| /' conftest.
$ac_ext >&5
44490 cat >conftest.
$ac_ext <<_ACEOF
44493 cat confdefs.h
>>conftest.
$ac_ext
44494 cat >>conftest.
$ac_ext <<_ACEOF
44495 /* end confdefs.h. */
44497 #include <sys/types.h>
44498 #include <sys/socket.h>
44505 getsockname(0, 0, &len);
44511 rm -f conftest.
$ac_objext
44512 if { (ac_try
="$ac_compile"
44513 case "(($ac_try" in
44514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44515 *) ac_try_echo=$ac_try;;
44517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44518 (eval "$ac_compile") 2>conftest.er1
44520 grep -v '^ *+' conftest.er1 >conftest.err
44522 cat conftest.err >&5
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); } && {
44525 test -z "$ac_cxx_werror_flag" ||
44526 test ! -s conftest.err
44527 } && test -s conftest.$ac_objext; then
44528 wx_cv_type_getsockname3=int
44530 echo "$as_me: failed program was:" >&5
44531 sed 's/^/| /' conftest.$ac_ext >&5
44533 wx_cv_type_getsockname3=unknown
44537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44543 CFLAGS="$CFLAGS_OLD"
44548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44550 ac_cpp='$CPP $CPPFLAGS'
44551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44557 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44558 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44560 if test "$wx_cv_type_getsockname3" = "unknown"; then
44562 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44563 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44565 cat >>confdefs.h <<_ACEOF
44566 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44570 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44571 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44572 if test "${wx_cv_type_getsockopt5+set}" = set; then
44573 echo $ECHO_N "(cached) $ECHO_C" >&6
44577 ac_cpp='$CXXCPP $CPPFLAGS'
44578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44582 cat >conftest.$ac_ext <<_ACEOF
44585 cat confdefs.h >>conftest.$ac_ext
44586 cat >>conftest.$ac_ext <<_ACEOF
44587 /* end confdefs.h. */
44589 #include <sys/types.h>
44590 #include <sys/socket.h>
44597 getsockopt(0, 0, 0, 0, &len);
44603 rm -f conftest.$ac_objext
44604 if { (ac_try="$ac_compile"
44605 case "(($ac_try" in
44606 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44607 *) ac_try_echo
=$ac_try;;
44609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44610 (eval "$ac_compile") 2>conftest.er1
44612 grep -v '^ *+' conftest.er1
>conftest.err
44614 cat conftest.err
>&5
44615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44616 (exit $ac_status); } && {
44617 test -z "$ac_cxx_werror_flag" ||
44618 test ! -s conftest.err
44619 } && test -s conftest.
$ac_objext; then
44620 wx_cv_type_getsockopt5
=socklen_t
44622 echo "$as_me: failed program was:" >&5
44623 sed 's/^/| /' conftest.
$ac_ext >&5
44626 cat >conftest.
$ac_ext <<_ACEOF
44629 cat confdefs.h
>>conftest.
$ac_ext
44630 cat >>conftest.
$ac_ext <<_ACEOF
44631 /* end confdefs.h. */
44633 #include <sys/types.h>
44634 #include <sys/socket.h>
44641 getsockopt(0, 0, 0, 0, &len);
44647 rm -f conftest.
$ac_objext
44648 if { (ac_try
="$ac_compile"
44649 case "(($ac_try" in
44650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44651 *) ac_try_echo=$ac_try;;
44653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44654 (eval "$ac_compile") 2>conftest.er1
44656 grep -v '^ *+' conftest.er1 >conftest.err
44658 cat conftest.err >&5
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); } && {
44661 test -z "$ac_cxx_werror_flag" ||
44662 test ! -s conftest.err
44663 } && test -s conftest.$ac_objext; then
44664 wx_cv_type_getsockopt5=size_t
44666 echo "$as_me: failed program was:" >&5
44667 sed 's/^/| /' conftest.$ac_ext >&5
44669 cat >conftest.$ac_ext <<_ACEOF
44672 cat confdefs.h >>conftest.$ac_ext
44673 cat >>conftest.$ac_ext <<_ACEOF
44674 /* end confdefs.h. */
44676 #include <sys/types.h>
44677 #include <sys/socket.h>
44684 getsockopt(0, 0, 0, 0, &len);
44690 rm -f conftest.$ac_objext
44691 if { (ac_try="$ac_compile"
44692 case "(($ac_try" in
44693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44694 *) ac_try_echo
=$ac_try;;
44696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44697 (eval "$ac_compile") 2>conftest.er1
44699 grep -v '^ *+' conftest.er1
>conftest.err
44701 cat conftest.err
>&5
44702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44703 (exit $ac_status); } && {
44704 test -z "$ac_cxx_werror_flag" ||
44705 test ! -s conftest.err
44706 } && test -s conftest.
$ac_objext; then
44707 wx_cv_type_getsockopt5
=int
44709 echo "$as_me: failed program was:" >&5
44710 sed 's/^/| /' conftest.
$ac_ext >&5
44712 wx_cv_type_getsockopt5
=unknown
44716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44727 ac_cpp
='$CPP $CPPFLAGS'
44728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44734 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44735 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44737 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44739 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44740 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44742 cat >>confdefs.h
<<_ACEOF
44743 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44750 if test "$wxUSE_SOCKETS" = "yes" ; then
44751 if test "$wxUSE_IPV6" = "yes"; then
44752 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44753 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44754 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44755 echo $ECHO_N "(cached) $ECHO_C" >&6
44758 cat >conftest.
$ac_ext <<_ACEOF
44761 cat confdefs.h
>>conftest.
$ac_ext
44762 cat >>conftest.
$ac_ext <<_ACEOF
44763 /* end confdefs.h. */
44765 #include <sys/types.h>
44766 #include <sys/socket.h>
44767 #include <netinet/in.h>
44773 struct sockaddr_in6 sa6;
44779 rm -f conftest.
$ac_objext
44780 if { (ac_try
="$ac_compile"
44781 case "(($ac_try" in
44782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44783 *) ac_try_echo=$ac_try;;
44785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44786 (eval "$ac_compile") 2>conftest.er1
44788 grep -v '^ *+' conftest.er1 >conftest.err
44790 cat conftest.err >&5
44791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44792 (exit $ac_status); } && {
44793 test -z "$ac_c_werror_flag" ||
44794 test ! -s conftest.err
44795 } && test -s conftest.$ac_objext; then
44796 wx_cv_type_sockaddr_in6=yes
44798 echo "$as_me: failed program was:" >&5
44799 sed 's/^/| /' conftest.$ac_ext >&5
44801 wx_cv_type_sockaddr_in6=no
44805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44809 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44810 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44812 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44813 cat >>confdefs.h <<\_ACEOF
44814 #define wxUSE_IPV6 1
44818 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44819 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_SOCKETS 1
44827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44830 if test "$wxUSE_PROTOCOL" = "yes"; then
44831 if test "$wxUSE_SOCKETS" != "yes"; then
44832 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44833 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44838 if test "$wxUSE_PROTOCOL" = "yes"; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_PROTOCOL 1
44844 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44845 cat >>confdefs.h <<\_ACEOF
44846 #define wxUSE_PROTOCOL_HTTP 1
44850 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44851 cat >>confdefs.h <<\_ACEOF
44852 #define wxUSE_PROTOCOL_FTP 1
44856 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44857 cat >>confdefs.h <<\_ACEOF
44858 #define wxUSE_PROTOCOL_FILE 1
44863 if test "$wxUSE_FS_INET" = "yes"; then
44864 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44865 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44870 if test "$wxUSE_URL" = "yes"; then
44871 if test "$wxUSE_PROTOCOL" != "yes"; then
44872 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44873 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44876 if test "$wxUSE_URL" = "yes"; then
44877 cat >>confdefs.h <<\_ACEOF
44878 #define wxUSE_URL 1
44884 if test "$wxUSE_VARIANT" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_VARIANT 1
44891 if test "$wxUSE_FS_INET" = "yes"; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_FS_INET 1
44899 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44902 if test "$TOOLKIT" = "MSW"; then
44905 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44906 if test "$USE_DARWIN" = 1; then
44907 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44908 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44910 ac_cpp='$CXXCPP $CPPFLAGS'
44911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44915 cat >conftest.$ac_ext <<_ACEOF
44918 cat confdefs.h >>conftest.$ac_ext
44919 cat >>conftest.$ac_ext <<_ACEOF
44920 /* end confdefs.h. */
44921 #include <IOKit/hid/IOHIDLib.h>
44925 IOHIDQueueInterface *qi = NULL;
44926 IOHIDCallbackFunction cb = NULL;
44927 qi->setEventCallout(NULL, cb, NULL, NULL);
44932 rm -f conftest.$ac_objext
44933 if { (ac_try="$ac_compile"
44934 case "(($ac_try" in
44935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44936 *) ac_try_echo
=$ac_try;;
44938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44939 (eval "$ac_compile") 2>conftest.er1
44941 grep -v '^ *+' conftest.er1
>conftest.err
44943 cat conftest.err
>&5
44944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44945 (exit $ac_status); } && {
44946 test -z "$ac_cxx_werror_flag" ||
44947 test ! -s conftest.err
44948 } && test -s conftest.
$ac_objext; then
44952 echo "$as_me: failed program was:" >&5
44953 sed 's/^/| /' conftest.
$ac_ext >&5
44958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44960 ac_cpp
='$CPP $CPPFLAGS'
44961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44965 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44966 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44970 if test "$wxUSE_MGL" != 1; then
44972 for ac_header
in linux
/joystick.h
44974 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44977 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44978 echo $ECHO_N "(cached) $ECHO_C" >&6
44980 cat >conftest.
$ac_ext <<_ACEOF
44983 cat confdefs.h
>>conftest.
$ac_ext
44984 cat >>conftest.
$ac_ext <<_ACEOF
44985 /* end confdefs.h. */
44986 $ac_includes_default
44988 #include <$ac_header>
44990 rm -f conftest.
$ac_objext
44991 if { (ac_try
="$ac_compile"
44992 case "(($ac_try" in
44993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44994 *) ac_try_echo=$ac_try;;
44996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44997 (eval "$ac_compile") 2>conftest.er1
44999 grep -v '^ *+' conftest.er1 >conftest.err
45001 cat conftest.err >&5
45002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45003 (exit $ac_status); } && {
45004 test -z "$ac_c_werror_flag" ||
45005 test ! -s conftest.err
45006 } && test -s conftest.$ac_objext; then
45007 eval "$as_ac_Header=yes"
45009 echo "$as_me: failed program was:" >&5
45010 sed 's/^/| /' conftest.$ac_ext >&5
45012 eval "$as_ac_Header=no"
45015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45017 ac_res=`eval echo '${'$as_ac_Header'}'`
45018 { echo "$as_me:$LINENO: result: $ac_res" >&5
45019 echo "${ECHO_T}$ac_res" >&6; }
45020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45021 cat >>confdefs.h <<_ACEOF
45022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45032 if test "$wxUSE_JOYSTICK" = "yes"; then
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_JOYSTICK 1
45037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45039 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45040 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45046 if test "$wxUSE_FONTENUM" = "yes" ; then
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_FONTENUM 1
45053 if test "$wxUSE_FONTMAP" = "yes" ; then
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_FONTMAP 1
45060 if test "$wxUSE_UNICODE" = "yes" ; then
45061 cat >>confdefs.h <<\_ACEOF
45062 #define wxUSE_UNICODE 1
45066 if test "$USE_WIN32" != 1; then
45067 wxUSE_UNICODE_MSLU=no
45070 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45071 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45072 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45073 if test "${ac_cv_lib_unicows_main+set}" = set; then
45074 echo $ECHO_N "(cached) $ECHO_C" >&6
45076 ac_check_lib_save_LIBS=$LIBS
45077 LIBS="-lunicows $LIBS"
45078 cat >conftest.$ac_ext <<_ACEOF
45081 cat confdefs.h >>conftest.$ac_ext
45082 cat >>conftest.$ac_ext <<_ACEOF
45083 /* end confdefs.h. */
45094 rm -f conftest.$ac_objext conftest$ac_exeext
45095 if { (ac_try="$ac_link"
45096 case "(($ac_try" in
45097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45098 *) ac_try_echo
=$ac_try;;
45100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45101 (eval "$ac_link") 2>conftest.er1
45103 grep -v '^ *+' conftest.er1
>conftest.err
45105 cat conftest.err
>&5
45106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45107 (exit $ac_status); } && {
45108 test -z "$ac_c_werror_flag" ||
45109 test ! -s conftest.err
45110 } && test -s conftest
$ac_exeext &&
45111 $as_test_x conftest
$ac_exeext; then
45112 ac_cv_lib_unicows_main
=yes
45114 echo "$as_me: failed program was:" >&5
45115 sed 's/^/| /' conftest.
$ac_ext >&5
45117 ac_cv_lib_unicows_main
=no
45120 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45121 conftest
$ac_exeext conftest.
$ac_ext
45122 LIBS
=$ac_check_lib_save_LIBS
45124 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45125 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45126 if test $ac_cv_lib_unicows_main = yes; then
45128 cat >>confdefs.h
<<\_ACEOF
45129 #define wxUSE_UNICODE_MSLU 1
45135 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45136 Applications will only run on Windows NT/2000/XP!" >&5
45137 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45138 Applications will only run on Windows NT/2000/XP!" >&2;}
45139 wxUSE_UNICODE_MSLU
=no
45146 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45147 cat >>confdefs.h
<<\_ACEOF
45148 #define wxUSE_UNICODE_UTF8 1
45152 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45153 cat >>confdefs.h
<<\_ACEOF
45154 #define wxUSE_UTF8_LOCALE_ONLY 1
45161 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45162 cat >>confdefs.h
<<\_ACEOF
45163 #define wxUSE_CONSTRAINTS 1
45166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45169 if test "$wxUSE_MDI" = "yes"; then
45170 cat >>confdefs.h
<<\_ACEOF
45171 #define wxUSE_MDI 1
45175 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45176 cat >>confdefs.h
<<\_ACEOF
45177 #define wxUSE_MDI_ARCHITECTURE 1
45180 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45184 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45185 cat >>confdefs.h
<<\_ACEOF
45186 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45192 if test "$wxUSE_HELP" = "yes"; then
45193 cat >>confdefs.h
<<\_ACEOF
45194 #define wxUSE_HELP 1
45197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45199 if test "$wxUSE_MSW" = 1; then
45200 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45201 cat >>confdefs.h
<<\_ACEOF
45202 #define wxUSE_MS_HTML_HELP 1
45208 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45209 if test "$wxUSE_HTML" = "yes"; then
45210 cat >>confdefs.h
<<\_ACEOF
45211 #define wxUSE_WXHTML_HELP 1
45215 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45216 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45217 wxUSE_WXHTML_HELP
=no
45222 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45223 cat >>confdefs.h
<<\_ACEOF
45224 #define wxUSE_PRINTING_ARCHITECTURE 1
45227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45230 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45231 cat >>confdefs.h
<<\_ACEOF
45232 #define wxUSE_POSTSCRIPT 1
45237 cat >>confdefs.h
<<\_ACEOF
45238 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45242 if test "$wxUSE_SVG" = "yes"; then
45243 cat >>confdefs.h
<<\_ACEOF
45244 #define wxUSE_SVG 1
45250 if test "$wxUSE_METAFILE" = "yes"; then
45251 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45252 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45253 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45259 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45260 -o "$wxUSE_CLIPBOARD" = "yes" \
45261 -o "$wxUSE_OLE" = "yes" \
45262 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45263 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45264 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45265 if test "${ac_cv_header_ole2_h+set}" = set; then
45266 echo $ECHO_N "(cached) $ECHO_C" >&6
45268 cat >conftest.
$ac_ext <<_ACEOF
45271 cat confdefs.h
>>conftest.
$ac_ext
45272 cat >>conftest.
$ac_ext <<_ACEOF
45273 /* end confdefs.h. */
45278 rm -f conftest.
$ac_objext
45279 if { (ac_try
="$ac_compile"
45280 case "(($ac_try" in
45281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45282 *) ac_try_echo=$ac_try;;
45284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45285 (eval "$ac_compile") 2>conftest.er1
45287 grep -v '^ *+' conftest.er1 >conftest.err
45289 cat conftest.err >&5
45290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45291 (exit $ac_status); } && {
45292 test -z "$ac_c_werror_flag" ||
45293 test ! -s conftest.err
45294 } && test -s conftest.$ac_objext; then
45295 ac_cv_header_ole2_h=yes
45297 echo "$as_me: failed program was:" >&5
45298 sed 's/^/| /' conftest.$ac_ext >&5
45300 ac_cv_header_ole2_h=no
45303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45305 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45306 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45310 if test "$ac_cv_header_ole2_h" = "yes" ; then
45311 if test "$GCC" = yes ; then
45312 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45313 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45314 cat >conftest.$ac_ext <<_ACEOF
45317 cat confdefs.h >>conftest.$ac_ext
45318 cat >>conftest.$ac_ext <<_ACEOF
45319 /* end confdefs.h. */
45320 #include <windows.h>
45330 rm -f conftest.$ac_objext
45331 if { (ac_try="$ac_compile"
45332 case "(($ac_try" in
45333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45334 *) ac_try_echo
=$ac_try;;
45336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45337 (eval "$ac_compile") 2>conftest.er1
45339 grep -v '^ *+' conftest.er1
>conftest.err
45341 cat conftest.err
>&5
45342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45343 (exit $ac_status); } && {
45344 test -z "$ac_c_werror_flag" ||
45345 test ! -s conftest.err
45346 } && test -s conftest.
$ac_objext; then
45347 { echo "$as_me:$LINENO: result: no" >&5
45348 echo "${ECHO_T}no" >&6; }
45350 echo "$as_me: failed program was:" >&5
45351 sed 's/^/| /' conftest.
$ac_ext >&5
45353 { echo "$as_me:$LINENO: result: yes" >&5
45354 echo "${ECHO_T}yes" >&6; }
45355 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45359 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45360 if test "$wxUSE_OLE" = "yes" ; then
45361 cat >>confdefs.h
<<\_ACEOF
45362 #define wxUSE_OLE 1
45365 cat >>confdefs.h
<<\_ACEOF
45366 #define wxUSE_OLE_AUTOMATION 1
45369 cat >>confdefs.h
<<\_ACEOF
45370 #define wxUSE_ACTIVEX 1
45373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45377 if test "$wxUSE_DATAOBJ" = "yes" ; then
45378 cat >>confdefs.h
<<\_ACEOF
45379 #define wxUSE_DATAOBJ 1
45384 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45385 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45388 wxUSE_DRAG_AND_DROP
=no
45393 if test "$wxUSE_METAFILE" = "yes"; then
45394 cat >>confdefs.h
<<\_ACEOF
45395 #define wxUSE_METAFILE 1
45399 cat >>confdefs.h
<<\_ACEOF
45400 #define wxUSE_ENH_METAFILE 1
45406 if test "$wxUSE_IPC" = "yes"; then
45407 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45408 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45409 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45413 if test "$wxUSE_IPC" = "yes"; then
45414 cat >>confdefs.h
<<\_ACEOF
45415 #define wxUSE_IPC 1
45418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45422 if test "$wxUSE_DATAOBJ" = "yes"; then
45423 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45424 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45425 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45428 cat >>confdefs.h
<<\_ACEOF
45429 #define wxUSE_DATAOBJ 1
45434 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45435 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45437 wxUSE_DRAG_AND_DROP
=no
45440 if test "$wxUSE_CLIPBOARD" = "yes"; then
45441 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45442 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45443 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45447 if test "$wxUSE_CLIPBOARD" = "yes"; then
45448 cat >>confdefs.h
<<\_ACEOF
45449 #define wxUSE_CLIPBOARD 1
45455 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45456 if test "$wxUSE_GTK" = 1; then
45457 if test "$WXGTK12" != 1; then
45458 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45459 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45460 wxUSE_DRAG_AND_DROP
=no
45464 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45465 "$wxUSE_DFB" = 1; then
45466 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45467 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45468 wxUSE_DRAG_AND_DROP
=no
45471 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45472 cat >>confdefs.h
<<\_ACEOF
45473 #define wxUSE_DRAG_AND_DROP 1
45480 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45484 if test "$wxUSE_CLIPBOARD" = "yes"; then
45485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45488 if test "$wxUSE_SPLINES" = "yes" ; then
45489 cat >>confdefs.h
<<\_ACEOF
45490 #define wxUSE_SPLINES 1
45495 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45496 cat >>confdefs.h
<<\_ACEOF
45497 #define wxUSE_MOUSEWHEEL 1
45504 if test "$wxUSE_CONTROLS" = "yes"; then
45508 if test "$wxUSE_ACCEL" = "yes"; then
45509 cat >>confdefs.h
<<\_ACEOF
45510 #define wxUSE_ACCEL 1
45516 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45517 cat >>confdefs.h
<<\_ACEOF
45518 #define wxUSE_ANIMATIONCTRL 1
45522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45525 if test "$wxUSE_BUTTON" = "yes"; then
45526 cat >>confdefs.h
<<\_ACEOF
45527 #define wxUSE_BUTTON 1
45533 if test "$wxUSE_BMPBUTTON" = "yes"; then
45534 cat >>confdefs.h
<<\_ACEOF
45535 #define wxUSE_BMPBUTTON 1
45541 if test "$wxUSE_CALCTRL" = "yes"; then
45542 cat >>confdefs.h
<<\_ACEOF
45543 #define wxUSE_CALENDARCTRL 1
45547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45550 if test "$wxUSE_CARET" = "yes"; then
45551 cat >>confdefs.h
<<\_ACEOF
45552 #define wxUSE_CARET 1
45556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45559 if test "$wxUSE_COLLPANE" = "yes"; then
45560 cat >>confdefs.h
<<\_ACEOF
45561 #define wxUSE_COLLPANE 1
45565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45568 if test "$wxUSE_COMBOBOX" = "yes"; then
45569 cat >>confdefs.h
<<\_ACEOF
45570 #define wxUSE_COMBOBOX 1
45576 if test "$wxUSE_COMBOCTRL" = "yes"; then
45577 cat >>confdefs.h
<<\_ACEOF
45578 #define wxUSE_COMBOCTRL 1
45584 if test "$wxUSE_CHOICE" = "yes"; then
45585 cat >>confdefs.h
<<\_ACEOF
45586 #define wxUSE_CHOICE 1
45592 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45593 cat >>confdefs.h
<<\_ACEOF
45594 #define wxUSE_CHOICEBOOK 1
45600 if test "$wxUSE_CHECKBOX" = "yes"; then
45601 cat >>confdefs.h
<<\_ACEOF
45602 #define wxUSE_CHECKBOX 1
45608 if test "$wxUSE_CHECKLST" = "yes"; then
45609 cat >>confdefs.h
<<\_ACEOF
45610 #define wxUSE_CHECKLISTBOX 1
45616 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45617 cat >>confdefs.h
<<\_ACEOF
45618 #define wxUSE_COLOURPICKERCTRL 1
45624 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45625 cat >>confdefs.h
<<\_ACEOF
45626 #define wxUSE_DATEPICKCTRL 1
45632 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45633 cat >>confdefs.h
<<\_ACEOF
45634 #define wxUSE_DIRPICKERCTRL 1
45640 if test "$wxUSE_FILECTRL" = "yes"; then
45641 cat >>confdefs.h
<<\_ACEOF
45642 #define wxUSE_FILECTRL 1
45648 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45649 cat >>confdefs.h
<<\_ACEOF
45650 #define wxUSE_FILEPICKERCTRL 1
45656 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45657 cat >>confdefs.h
<<\_ACEOF
45658 #define wxUSE_FONTPICKERCTRL 1
45664 if test "$wxUSE_DISPLAY" = "yes"; then
45665 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45666 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45667 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45670 cat >>confdefs.h
<<\_ACEOF
45671 #define wxUSE_DISPLAY 1
45674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45678 if test "$wxUSE_DETECT_SM" = "yes"; then
45679 cat >>confdefs.h
<<\_ACEOF
45680 #define wxUSE_DETECT_SM 1
45685 if test "$wxUSE_GAUGE" = "yes"; then
45686 cat >>confdefs.h
<<\_ACEOF
45687 #define wxUSE_GAUGE 1
45693 if test "$wxUSE_GRID" = "yes"; then
45694 cat >>confdefs.h
<<\_ACEOF
45695 #define wxUSE_GRID 1
45699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45702 if test "$wxUSE_HEADERCTRL" = "yes"; then
45703 cat >>confdefs.h
<<\_ACEOF
45704 #define wxUSE_HEADERCTRL 1
45710 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45711 cat >>confdefs.h
<<\_ACEOF
45712 #define wxUSE_HYPERLINKCTRL 1
45718 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45719 cat >>confdefs.h
<<\_ACEOF
45720 #define wxUSE_BITMAPCOMBOBOX 1
45726 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45727 cat >>confdefs.h
<<\_ACEOF
45728 #define wxUSE_DATAVIEWCTRL 1
45732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45735 if test "$wxUSE_IMAGLIST" = "yes"; then
45736 cat >>confdefs.h
<<\_ACEOF
45737 #define wxUSE_IMAGLIST 1
45742 if test "$wxUSE_LISTBOOK" = "yes"; then
45743 cat >>confdefs.h
<<\_ACEOF
45744 #define wxUSE_LISTBOOK 1
45750 if test "$wxUSE_LISTBOX" = "yes"; then
45751 cat >>confdefs.h
<<\_ACEOF
45752 #define wxUSE_LISTBOX 1
45758 if test "$wxUSE_LISTCTRL" = "yes"; then
45759 if test "$wxUSE_IMAGLIST" = "yes"; then
45760 cat >>confdefs.h
<<\_ACEOF
45761 #define wxUSE_LISTCTRL 1
45765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45767 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45768 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45772 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45773 cat >>confdefs.h
<<\_ACEOF
45774 #define wxUSE_EDITABLELISTBOX 1
45780 if test "$wxUSE_NOTEBOOK" = "yes"; then
45781 cat >>confdefs.h
<<\_ACEOF
45782 #define wxUSE_NOTEBOOK 1
45786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45789 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45790 cat >>confdefs.h
<<\_ACEOF
45791 #define wxUSE_NOTIFICATION_MESSAGE 1
45796 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45797 cat >>confdefs.h
<<\_ACEOF
45798 #define wxUSE_ODCOMBOBOX 1
45802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45805 if test "$wxUSE_RADIOBOX" = "yes"; then
45806 cat >>confdefs.h
<<\_ACEOF
45807 #define wxUSE_RADIOBOX 1
45813 if test "$wxUSE_RADIOBTN" = "yes"; then
45814 cat >>confdefs.h
<<\_ACEOF
45815 #define wxUSE_RADIOBTN 1
45821 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45822 cat >>confdefs.h
<<\_ACEOF
45823 #define wxUSE_REARRANGECTRL 1
45828 if test "$wxUSE_SASH" = "yes"; then
45829 cat >>confdefs.h
<<\_ACEOF
45830 #define wxUSE_SASH 1
45833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45836 if test "$wxUSE_SCROLLBAR" = "yes"; then
45837 cat >>confdefs.h
<<\_ACEOF
45838 #define wxUSE_SCROLLBAR 1
45842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
45845 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45846 cat >>confdefs.h
<<\_ACEOF
45847 #define wxUSE_SEARCHCTRL 1
45853 if test "$wxUSE_SLIDER" = "yes"; then
45854 cat >>confdefs.h
<<\_ACEOF
45855 #define wxUSE_SLIDER 1
45861 if test "$wxUSE_SPINBTN" = "yes"; then
45862 cat >>confdefs.h
<<\_ACEOF
45863 #define wxUSE_SPINBTN 1
45869 if test "$wxUSE_SPINCTRL" = "yes"; then
45870 cat >>confdefs.h
<<\_ACEOF
45871 #define wxUSE_SPINCTRL 1
45877 if test "$wxUSE_SPLITTER" = "yes"; then
45878 cat >>confdefs.h
<<\_ACEOF
45879 #define wxUSE_SPLITTER 1
45882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45885 if test "$wxUSE_STATBMP" = "yes"; then
45886 cat >>confdefs.h
<<\_ACEOF
45887 #define wxUSE_STATBMP 1
45893 if test "$wxUSE_STATBOX" = "yes"; then
45894 cat >>confdefs.h
<<\_ACEOF
45895 #define wxUSE_STATBOX 1
45901 if test "$wxUSE_STATTEXT" = "yes"; then
45902 cat >>confdefs.h
<<\_ACEOF
45903 #define wxUSE_STATTEXT 1
45909 if test "$wxUSE_STATLINE" = "yes"; then
45910 cat >>confdefs.h
<<\_ACEOF
45911 #define wxUSE_STATLINE 1
45917 if test "$wxUSE_STATUSBAR" = "yes"; then
45918 cat >>confdefs.h
<<\_ACEOF
45919 #define wxUSE_NATIVE_STATUSBAR 1
45922 cat >>confdefs.h
<<\_ACEOF
45923 #define wxUSE_STATUSBAR 1
45928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45931 if test "$wxUSE_TEXTCTRL" = "yes"; then
45932 cat >>confdefs.h
<<\_ACEOF
45933 #define wxUSE_TEXTCTRL 1
45937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45939 cat >>confdefs.h
<<\_ACEOF
45940 #define wxUSE_RICHEDIT 1
45943 cat >>confdefs.h
<<\_ACEOF
45944 #define wxUSE_RICHEDIT2 1
45949 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45950 if test "$wxUSE_COCOA" = 1 ; then
45951 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45952 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45956 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45957 cat >>confdefs.h
<<\_ACEOF
45958 #define wxUSE_TOGGLEBTN 1
45965 if test "$wxUSE_TOOLBAR" = "yes"; then
45966 cat >>confdefs.h
<<\_ACEOF
45967 #define wxUSE_TOOLBAR 1
45972 if test "$wxUSE_UNIVERSAL" = "yes"; then
45973 wxUSE_TOOLBAR_NATIVE
="no"
45975 wxUSE_TOOLBAR_NATIVE
="yes"
45976 cat >>confdefs.h
<<\_ACEOF
45977 #define wxUSE_TOOLBAR_NATIVE 1
45982 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45985 if test "$wxUSE_TOOLTIPS" = "yes"; then
45986 if test "$wxUSE_MOTIF" = 1; then
45987 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45988 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45990 if test "$wxUSE_UNIVERSAL" = "yes"; then
45991 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45992 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45994 cat >>confdefs.h
<<\_ACEOF
45995 #define wxUSE_TOOLTIPS 1
46002 if test "$wxUSE_TREEBOOK" = "yes"; then
46003 cat >>confdefs.h
<<\_ACEOF
46004 #define wxUSE_TREEBOOK 1
46010 if test "$wxUSE_TOOLBOOK" = "yes"; then
46011 cat >>confdefs.h
<<\_ACEOF
46012 #define wxUSE_TOOLBOOK 1
46018 if test "$wxUSE_TREECTRL" = "yes"; then
46019 if test "$wxUSE_IMAGLIST" = "yes"; then
46020 cat >>confdefs.h
<<\_ACEOF
46021 #define wxUSE_TREECTRL 1
46025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46027 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46028 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46032 if test "$wxUSE_POPUPWIN" = "yes"; then
46033 if test "$wxUSE_COCOA" = 1 ; then
46034 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46035 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46037 if test "$wxUSE_PM" = 1; then
46038 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46039 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46041 cat >>confdefs.h
<<\_ACEOF
46042 #define wxUSE_POPUPWIN 1
46045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46052 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46053 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46054 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46055 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46057 cat >>confdefs.h
<<\_ACEOF
46058 #define wxUSE_DIALUP_MANAGER 1
46061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46065 if test "$wxUSE_TIPWINDOW" = "yes"; then
46066 if test "$wxUSE_PM" = 1; then
46067 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46068 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46070 cat >>confdefs.h
<<\_ACEOF
46071 #define wxUSE_TIPWINDOW 1
46077 if test "$USES_CONTROLS" = 1; then
46078 cat >>confdefs.h
<<\_ACEOF
46079 #define wxUSE_CONTROLS 1
46085 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46086 cat >>confdefs.h
<<\_ACEOF
46087 #define wxUSE_ACCESSIBILITY 1
46090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46093 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46094 cat >>confdefs.h
<<\_ACEOF
46095 #define wxUSE_DRAGIMAGE 1
46098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46101 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46102 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46103 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46104 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46106 cat >>confdefs.h
<<\_ACEOF
46107 #define wxUSE_EXCEPTIONS 1
46110 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46115 if test "$wxUSE_HTML" = "yes"; then
46116 cat >>confdefs.h
<<\_ACEOF
46117 #define wxUSE_HTML 1
46121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46123 if test "$wxUSE_WEBKIT" = "yes"; then
46124 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46125 old_CPPFLAGS
="$CPPFLAGS"
46126 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46127 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46128 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46129 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46130 echo $ECHO_N "(cached) $ECHO_C" >&6
46132 cat >conftest.
$ac_ext <<_ACEOF
46135 cat confdefs.h
>>conftest.
$ac_ext
46136 cat >>conftest.
$ac_ext <<_ACEOF
46137 /* end confdefs.h. */
46139 #include <Carbon/Carbon.h>
46140 #include <WebKit/WebKit.h>
46143 #include <WebKit/HIWebView.h>
46145 rm -f conftest.
$ac_objext
46146 if { (ac_try
="$ac_compile"
46147 case "(($ac_try" in
46148 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46149 *) ac_try_echo=$ac_try;;
46151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46152 (eval "$ac_compile") 2>conftest.er1
46154 grep -v '^ *+' conftest.er1 >conftest.err
46156 cat conftest.err >&5
46157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46158 (exit $ac_status); } && {
46159 test -z "$ac_c_werror_flag" ||
46160 test ! -s conftest.err
46161 } && test -s conftest.$ac_objext; then
46162 ac_cv_header_WebKit_HIWebView_h=yes
46164 echo "$as_me: failed program was:" >&5
46165 sed 's/^/| /' conftest.$ac_ext >&5
46167 ac_cv_header_WebKit_HIWebView_h=no
46170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46172 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46173 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46174 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46176 cat >>confdefs.h <<\_ACEOF
46177 #define wxUSE_WEBKIT 1
46180 WEBKIT_LINK="-framework WebKit"
46184 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46185 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46191 CPPFLAGS="$old_CPPFLAGS"
46192 elif test "$wxUSE_COCOA" = 1; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_WEBKIT 1
46200 if test "$wxUSE_WEBKIT" = "yes"; then
46201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46206 if test "$wxUSE_XRC" = "yes"; then
46207 if test "$wxUSE_XML" != "yes"; then
46208 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46209 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46212 cat >>confdefs.h <<\_ACEOF
46213 #define wxUSE_XRC 1
46217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46222 if test "$wxUSE_AUI" = "yes"; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_AUI 1
46228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46232 if test "$wxUSE_PROPGRID" = "yes"; then
46233 cat >>confdefs.h <<\_ACEOF
46234 #define wxUSE_PROPGRID 1
46238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46242 if test "$wxUSE_STC" = "yes"; then
46243 cat >>confdefs.h <<\_ACEOF
46244 #define wxUSE_STC 1
46248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46250 # Extract the first word of "python", so it can be a program name with args.
46251 set dummy python; ac_word=$2
46252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46254 if test "${ac_cv_path_PYTHON+set}" = set; then
46255 echo $ECHO_N "(cached) $ECHO_C" >&6
46259 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46263 for as_dir in $PATH
46266 test -z "$as_dir" && as_dir=.
46267 for ac_exec_ext in '' $ac_executable_extensions; do
46268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46269 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46280 PYTHON=$ac_cv_path_PYTHON
46281 if test -n "$PYTHON"; then
46282 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46283 echo "${ECHO_T}$PYTHON" >&6; }
46285 { echo "$as_me:$LINENO: result: no" >&5
46286 echo "${ECHO_T}no" >&6; }
46290 if test "x$PYTHON" = "x"; then
46296 if test "$wxUSE_MENUS" = "yes"; then
46297 cat >>confdefs.h <<\_ACEOF
46298 #define wxUSE_MENUS 1
46301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46304 if test "$wxUSE_METAFILE" = "yes"; then
46305 cat >>confdefs.h <<\_ACEOF
46306 #define wxUSE_METAFILE 1
46311 if test "$wxUSE_MIMETYPE" = "yes"; then
46312 cat >>confdefs.h <<\_ACEOF
46313 #define wxUSE_MIMETYPE 1
46318 if test "$wxUSE_MINIFRAME" = "yes"; then
46319 cat >>confdefs.h <<\_ACEOF
46320 #define wxUSE_MINIFRAME 1
46325 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_SYSTEM_OPTIONS 1
46332 if test "$wxUSE_TASKBARICON" = "yes"; then
46333 cat >>confdefs.h <<\_ACEOF
46334 #define wxUSE_TASKBARICON 1
46337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46341 if test "$wxUSE_VALIDATORS" = "yes"; then
46342 cat >>confdefs.h <<\_ACEOF
46343 #define wxUSE_VALIDATORS 1
46346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46349 if test "$wxUSE_PALETTE" = "yes" ; then
46350 if test "$wxUSE_DFB" = 1; then
46351 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46352 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46355 cat >>confdefs.h <<\_ACEOF
46356 #define wxUSE_PALETTE 1
46362 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46363 LIBS=" -lunicows $LIBS"
46367 if test "$wxUSE_RICHTEXT" = "yes"; then
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_RICHTEXT 1
46373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46377 if test "$wxUSE_IMAGE" = "yes" ; then
46378 cat >>confdefs.h <<\_ACEOF
46379 #define wxUSE_IMAGE 1
46383 if test "$wxUSE_GIF" = "yes" ; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_GIF 1
46390 if test "$wxUSE_PCX" = "yes" ; then
46391 cat >>confdefs.h <<\_ACEOF
46392 #define wxUSE_PCX 1
46397 if test "$wxUSE_TGA" = "yes" ; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_TGA 1
46404 if test "$wxUSE_IFF" = "yes" ; then
46405 cat >>confdefs.h <<\_ACEOF
46406 #define wxUSE_IFF 1
46411 if test "$wxUSE_PNM" = "yes" ; then
46412 cat >>confdefs.h <<\_ACEOF
46413 #define wxUSE_PNM 1
46418 if test "$wxUSE_XPM" = "yes" ; then
46419 cat >>confdefs.h <<\_ACEOF
46420 #define wxUSE_XPM 1
46425 if test "$wxUSE_ICO_CUR" = "yes" ; then
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_ICO_CUR 1
46434 if test "$wxUSE_ABOUTDLG" = "yes"; then
46435 cat >>confdefs.h <<\_ACEOF
46436 #define wxUSE_ABOUTDLG 1
46441 if test "$wxUSE_CHOICEDLG" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_CHOICEDLG 1
46448 if test "$wxUSE_COLOURDLG" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_COLOURDLG 1
46455 if test "$wxUSE_FILEDLG" = "yes"; then
46456 cat >>confdefs.h <<\_ACEOF
46457 #define wxUSE_FILEDLG 1
46462 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46463 cat >>confdefs.h <<\_ACEOF
46464 #define wxUSE_FINDREPLDLG 1
46469 if test "$wxUSE_FONTDLG" = "yes"; then
46470 cat >>confdefs.h <<\_ACEOF
46471 #define wxUSE_FONTDLG 1
46476 if test "$wxUSE_DIRDLG" = "yes"; then
46477 if test "$wxUSE_TREECTRL" != "yes"; then
46478 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46479 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_DIRDLG 1
46488 if test "$wxUSE_MSGDLG" = "yes"; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_MSGDLG 1
46495 if test "$wxUSE_NUMBERDLG" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_NUMBERDLG 1
46502 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_PROGRESSDLG 1
46509 if test "$wxUSE_SPLASH" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_SPLASH 1
46514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46517 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_STARTUP_TIPS 1
46524 if test "$wxUSE_TEXTDLG" = "yes"; then
46525 cat >>confdefs.h <<\_ACEOF
46526 #define wxUSE_TEXTDLG 1
46531 if test "$wxUSE_WIZARDDLG" = "yes"; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_WIZARDDLG 1
46536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46540 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46541 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_OWNER_DRAWN 1
46550 if test "$wxUSE_MSW" = 1 ; then
46552 if test "$wxUSE_DC_CACHEING" = "yes"; then
46553 cat >>confdefs.h <<\_ACEOF
46554 #define wxUSE_DC_CACHEING 1
46559 if test "$wxUSE_DIB" = "yes"; then
46560 cat >>confdefs.h <<\_ACEOF
46561 #define wxUSE_WXDIB 1
46566 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46567 cat >>confdefs.h <<\_ACEOF
46568 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46573 if test "$wxUSE_UXTHEME" = "yes"; then
46574 cat >>confdefs.h <<\_ACEOF
46575 #define wxUSE_UXTHEME 1
46582 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_AUTOID_MANAGEMENT 1
46589 if test "$USE_WIN32" = 1 ; then
46590 if test "$wxUSE_INICONF" = "yes"; then
46591 cat >>confdefs.h <<\_ACEOF
46592 #define wxUSE_INICONF 1
46597 if test "$wxUSE_REGKEY" = "yes"; then
46598 cat >>confdefs.h <<\_ACEOF
46599 #define wxUSE_REGKEY 1
46606 if test "$wxUSE_MAC" = 1; then
46607 wxUSE_GRAPHICS_CONTEXT="yes"
46610 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46611 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46612 cat >>confdefs.h <<\_ACEOF
46613 #define wxUSE_GRAPHICS_CONTEXT 1
46616 elif test "$wxUSE_GTK" != 1; then
46617 cat >>confdefs.h <<\_ACEOF
46618 #define wxUSE_GRAPHICS_CONTEXT 1
46624 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46625 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46627 if test -n "$PKG_CONFIG"; then
46628 if test -n "$CAIRO_CFLAGS"; then
46629 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46631 if test -n "$PKG_CONFIG" && \
46632 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46633 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46636 (exit $ac_status); }; then
46637 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46645 if test -n "$PKG_CONFIG"; then
46646 if test -n "$CAIRO_LIBS"; then
46647 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46649 if test -n "$PKG_CONFIG" && \
46650 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46651 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46654 (exit $ac_status); }; then
46655 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46666 if test $pkg_failed = yes; then
46668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46669 _pkg_short_errors_supported=yes
46671 _pkg_short_errors_supported=no
46673 if test $_pkg_short_errors_supported = yes; then
46674 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46676 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46678 # Put the nasty error message in config.log where it belongs
46679 echo "$CAIRO_PKG_ERRORS" >&5
46681 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46682 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46684 elif test $pkg_failed = untried; then
46685 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46686 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46689 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46690 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46691 { echo "$as_me:$LINENO: result: yes" >&5
46692 echo "${ECHO_T}yes" >&6; }
46693 cat >>confdefs.h <<\_ACEOF
46694 #define wxUSE_GRAPHICS_CONTEXT 1
46704 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46707 if test "$wxUSE_GTK" = 1; then
46708 wxUSE_GSTREAMER="no"
46710 GST_VERSION_MAJOR=0
46711 GST_VERSION_MINOR=10
46712 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46714 if test "$wxUSE_GSTREAMER8" = "no"; then
46717 { echo "$as_me:$LINENO: checking for GST" >&5
46718 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46720 if test -n "$PKG_CONFIG"; then
46721 if test -n "$GST_CFLAGS"; then
46722 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46724 if test -n "$PKG_CONFIG" && \
46725 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46726 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46729 (exit $ac_status); }; then
46730 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46738 if test -n "$PKG_CONFIG"; then
46739 if test -n "$GST_LIBS"; then
46740 pkg_cv_GST_LIBS="$GST_LIBS"
46742 if test -n "$PKG_CONFIG" && \
46743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46744 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46747 (exit $ac_status); }; then
46748 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46759 if test $pkg_failed = yes; then
46761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46762 _pkg_short_errors_supported=yes
46764 _pkg_short_errors_supported=no
46766 if test $_pkg_short_errors_supported = yes; then
46767 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46769 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46771 # Put the nasty error message in config.log where it belongs
46772 echo "$GST_PKG_ERRORS" >&5
46775 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46776 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46777 GST_VERSION_MINOR=8
46780 elif test $pkg_failed = untried; then
46782 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46783 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46784 GST_VERSION_MINOR=8
46788 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46789 GST_LIBS=$pkg_cv_GST_LIBS
46790 { echo "$as_me:$LINENO: result: yes" >&5
46791 echo "${ECHO_T}yes" >&6; }
46793 wxUSE_GSTREAMER="yes"
46794 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46798 GST_VERSION_MINOR=8
46801 if test $GST_VERSION_MINOR = "8"; then
46802 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46805 { echo "$as_me:$LINENO: checking for GST" >&5
46806 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46808 if test -n "$PKG_CONFIG"; then
46809 if test -n "$GST_CFLAGS"; then
46810 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46812 if test -n "$PKG_CONFIG" && \
46813 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46814 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46817 (exit $ac_status); }; then
46818 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46826 if test -n "$PKG_CONFIG"; then
46827 if test -n "$GST_LIBS"; then
46828 pkg_cv_GST_LIBS="$GST_LIBS"
46830 if test -n "$PKG_CONFIG" && \
46831 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46832 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46835 (exit $ac_status); }; then
46836 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46847 if test $pkg_failed = yes; then
46849 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46850 _pkg_short_errors_supported=yes
46852 _pkg_short_errors_supported=no
46854 if test $_pkg_short_errors_supported = yes; then
46855 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46857 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46859 # Put the nasty error message in config.log where it belongs
46860 echo "$GST_PKG_ERRORS" >&5
46863 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46864 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46866 elif test $pkg_failed = untried; then
46868 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46869 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46872 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46873 GST_LIBS=$pkg_cv_GST_LIBS
46874 { echo "$as_me:$LINENO: result: yes" >&5
46875 echo "${ECHO_T}yes" >&6; }
46876 wxUSE_GSTREAMER="yes"
46881 if test "$wxUSE_GSTREAMER" = "yes"; then
46882 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46883 EXTRALIBS_MEDIA="$GST_LIBS"
46885 cat >>confdefs.h <<\_ACEOF
46886 #define wxUSE_GSTREAMER 1
46894 if test $USE_MEDIA = 1; then
46895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46896 cat >>confdefs.h <<\_ACEOF
46897 #define wxUSE_MEDIACTRL 1
46901 if test "$wxUSE_MEDIACTRL" = "yes"; then
46902 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46903 echo "$as_me: error: GStreamer not available" >&2;}
46904 { (exit 1); exit 1; }; }
46906 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46907 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46913 if test "$cross_compiling" != "no"; then
46916 OSINFO=`uname
-s -r -m`
46917 OSINFO="\"$OSINFO\""
46920 cat >>confdefs.h <<_ACEOF
46921 #define WXWIN_OS_DESCRIPTION $OSINFO
46926 if test "x$prefix" != "xNONE"; then
46929 wxPREFIX=$ac_default_prefix
46932 cat >>confdefs.h <<_ACEOF
46933 #define wxINSTALL_PREFIX "$wxPREFIX"
46939 STD_BASE_LIBS="base"
46941 BUILT_WX_LIBS="base"
46942 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46944 if test "$wxUSE_SOCKETS" = "yes" ; then
46945 STD_BASE_LIBS="net $STD_BASE_LIBS"
46946 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46948 if test "$wxUSE_XML" = "yes" ; then
46949 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46950 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46953 if test "$wxUSE_GUI" = "yes"; then
46954 STD_GUI_LIBS="adv core"
46955 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46957 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46958 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46959 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46961 if test "$wxUSE_HTML" = "yes" ; then
46962 STD_GUI_LIBS="html $STD_GUI_LIBS"
46963 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46965 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46966 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46968 if test "$wxUSE_OPENGL" = "yes" ; then
46969 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46971 if test "$wxUSE_AUI" = "yes" ; then
46972 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46974 if test "$wxUSE_PROPGRID" = "yes" ; then
46975 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46977 if test "$wxUSE_RICHTEXT" = "yes" ; then
46978 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
46980 if test "$wxUSE_STC" = "yes" ; then
46981 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46983 if test "$wxUSE_XRC" = "yes" ; then
46984 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46985 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46996 if test "$wxUSE_MAC" = 1 ; then
46997 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46998 if test "$USE_DARWIN" = 1; then
46999 LDFLAGS="$LDFLAGS -framework QuickTime"
47002 if test "$USE_DARWIN" = 1; then
47003 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47006 if test "$wxUSE_COCOA" = 1 ; then
47007 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47008 if test "$wxUSE_MEDIACTRL" = "yes"; then
47009 LDFLAGS="$LDFLAGS -framework QuickTime"
47012 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47013 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47016 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47018 if test "$wxUSE_GUI" = "yes"; then
47021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47022 erase event exec font image minimal render \
47023 shaped svg taborder vscroll widgets wrapsizer"
47025 if test "$wxUSE_MONOLITHIC" != "yes"; then
47026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47028 if test "$TOOLKIT" = "MSW"; then
47029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47030 if test "$wxUSE_UNIVERSAL" != "yes"; then
47031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47034 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47038 SAMPLES_SUBDIRS="console"
47039 if test "$wxUSE_SOCKETS" = "yes" ; then
47040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47042 if test "$wxUSE_IPC" = "yes" ; then
47043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47048 if test "x$INTELCC" = "xyes" ; then
47049 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47050 elif test "$GCC" = yes ; then
47051 CWARNINGS="-Wall -Wundef"
47054 if test "x$INTELCXX" = "xyes" ; then
47055 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47056 elif test "$GXX" = yes ; then
47057 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47058 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47059 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47060 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47061 echo $ECHO_N "(cached) $ECHO_C" >&6
47063 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47066 ac_cpp='$CXXCPP $CPPFLAGS'
47067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47071 ac_save_CXXFLAGS="$CXXFLAGS"
47072 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47073 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47074 cat >conftest.$ac_ext <<_ACEOF
47077 cat confdefs.h >>conftest.$ac_ext
47078 cat >>conftest.$ac_ext <<_ACEOF
47079 /* end confdefs.h. */
47089 rm -f conftest.$ac_objext
47090 if { (ac_try="$ac_compile"
47091 case "(($ac_try" in
47092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47093 *) ac_try_echo
=$ac_try;;
47095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47096 (eval "$ac_compile") 2>conftest.er1
47098 grep -v '^ *+' conftest.er1
>conftest.err
47100 cat conftest.err
>&5
47101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47102 (exit $ac_status); } && {
47103 test -z "$ac_cxx_werror_flag" ||
47104 test ! -s conftest.err
47105 } && test -s conftest.
$ac_objext; then
47106 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47108 echo "$as_me: failed program was:" >&5
47109 sed 's/^/| /' conftest.
$ac_ext >&5
47114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47116 CXXFLAGS
="$ac_save_CXXFLAGS"
47118 ac_cpp
='$CPP $CPPFLAGS'
47119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47125 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47126 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47127 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47131 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47132 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47133 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47136 (exit $ac_status); }
47137 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47138 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47141 (exit $ac_status); }
47142 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47148 if test "$wxUSE_MAC" = 1 ; then
47149 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
47154 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47155 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47158 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47159 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47160 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47163 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47164 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47165 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47166 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47167 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47169 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47172 if test "x$MWCC" = "xyes"; then
47174 CC
="$CC -cwd source -I-"
47175 CXX
="$CXX -cwd source -I-"
47180 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47181 EXTRALIBS_XML
="$EXPAT_LINK"
47182 EXTRALIBS_HTML
="$MSPACK_LINK"
47183 EXTRALIBS_MEDIA
="$GST_LIBS"
47184 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47185 if test "$wxUSE_GUI" = "yes"; then
47186 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47188 if test "$wxUSE_OPENGL" = "yes"; then
47189 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47192 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47194 WXCONFIG_LIBS
="$LIBS"
47196 if test "$wxUSE_REGEX" = "builtin" ; then
47197 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47199 if test "$wxUSE_EXPAT" = "builtin" ; then
47200 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47202 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47203 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47205 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47206 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47208 if test "$wxUSE_LIBPNG" = "builtin" ; then
47209 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47211 if test "$wxUSE_ZLIB" = "builtin" ; then
47212 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47215 for i
in $wxconfig_3rdparty ; do
47216 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47220 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47223 case "$wxUNIV_THEMES" in
47225 cat >>confdefs.h
<<\_ACEOF
47226 #define wxUSE_ALL_THEMES 1
47232 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47233 cat >>confdefs.h
<<_ACEOF
47234 #define wxUSE_THEME_$t 1
47250 if test $wxUSE_MONOLITHIC = "yes" ; then
47256 if test $wxUSE_PLUGINS = "yes" ; then
47262 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47268 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47301 TOOLKIT_LOWERCASE
=xxx
47302 if test "$TOOLKIT" = "MAC"; then
47303 TOOLKIT_LOWERCASE
=osx_carbon
47305 if test "$TOOLKIT" = "OSX_CARBON"; then
47306 TOOLKIT_LOWERCASE
=osx_carbon
47308 if test "$TOOLKIT" = "OSX_COCOA"; then
47309 TOOLKIT_LOWERCASE
=osx_cocoa
47311 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47312 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47326 TOOLKIT_DESC
="GTK+"
47327 if test "$WXGTK2" = 1; then
47328 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47329 if test "$wxUSE_GTKPRINT" = "yes" ; then
47330 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47332 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47333 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47335 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47336 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47338 if test "$wxUSE_LIBHILDON" = "yes"; then
47339 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47342 if test "$TOOLKIT_EXTRA" != ""; then
47343 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47349 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47353 TOOLKIT_DESC
="base only"
47357 if test "$wxUSE_WINE" = "yes"; then
47358 BAKEFILE_FORCE_PLATFORM
=win32
47361 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47363 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47364 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47365 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47366 echo $ECHO_N "(cached) $ECHO_C" >&6
47369 echo '#include <stdio.h>
47370 const wchar_t test_var[] = L"awidetest";' > conftest.h
47372 echo '#include "conftest.h"
47375 printf("%ls", test_var);
47379 wx_cv_gcc_pch_bug
="pch not supported"
47381 if $CXX conftest.h
>/dev
/null
2>&1
47385 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47387 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47388 grep awidetest
>/dev
/null
47390 wx_cv_gcc_pch_bug
=no
47392 wx_cv_gcc_pch_bug
=yes
47397 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47400 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47401 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47403 if test "$wx_cv_gcc_pch_bug" = yes; then
47414 if test "x$BAKEFILE_HOST" = "x"; then
47415 if test "x${host}" = "x" ; then
47416 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47417 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47418 { (exit 1); exit 1; }; }
47421 BAKEFILE_HOST
="${host}"
47424 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47426 if test -n "$ac_tool_prefix"; then
47427 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47428 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47431 if test "${ac_cv_prog_RANLIB+set}" = set; then
47432 echo $ECHO_N "(cached) $ECHO_C" >&6
47434 if test -n "$RANLIB"; then
47435 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47438 for as_dir
in $PATH
47441 test -z "$as_dir" && as_dir
=.
47442 for ac_exec_ext
in '' $ac_executable_extensions; do
47443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47444 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47454 RANLIB
=$ac_cv_prog_RANLIB
47455 if test -n "$RANLIB"; then
47456 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47457 echo "${ECHO_T}$RANLIB" >&6; }
47459 { echo "$as_me:$LINENO: result: no" >&5
47460 echo "${ECHO_T}no" >&6; }
47465 if test -z "$ac_cv_prog_RANLIB"; then
47466 ac_ct_RANLIB
=$RANLIB
47467 # Extract the first word of "ranlib", so it can be a program name with args.
47468 set dummy ranlib
; ac_word
=$2
47469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47471 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47472 echo $ECHO_N "(cached) $ECHO_C" >&6
47474 if test -n "$ac_ct_RANLIB"; then
47475 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47478 for as_dir
in $PATH
47481 test -z "$as_dir" && as_dir
=.
47482 for ac_exec_ext
in '' $ac_executable_extensions; do
47483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47484 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47494 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47495 if test -n "$ac_ct_RANLIB"; then
47496 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47497 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47499 { echo "$as_me:$LINENO: result: no" >&5
47500 echo "${ECHO_T}no" >&6; }
47503 if test "x$ac_ct_RANLIB" = x
; then
47506 case $cross_compiling:$ac_tool_warned in
47508 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47509 whose name does not start with the host triplet. If you think this
47510 configuration is useful to you, please write to autoconf@gnu.org." >&5
47511 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47512 whose name does not start with the host triplet. If you think this
47513 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47514 ac_tool_warned
=yes ;;
47516 RANLIB
=$ac_ct_RANLIB
47519 RANLIB
="$ac_cv_prog_RANLIB"
47522 # Find a good install program. We prefer a C program (faster),
47523 # so one script is as good as another. But avoid the broken or
47524 # incompatible versions:
47525 # SysV /etc/install, /usr/sbin/install
47526 # SunOS /usr/etc/install
47527 # IRIX /sbin/install
47529 # AmigaOS /C/install, which installs bootblocks on floppy discs
47530 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47531 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47532 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47533 # OS/2's system install, which has a completely different semantic
47534 # ./install, which can be erroneously created by make from ./install.sh.
47535 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47536 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47537 if test -z "$INSTALL"; then
47538 if test "${ac_cv_path_install+set}" = set; then
47539 echo $ECHO_N "(cached) $ECHO_C" >&6
47541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47542 for as_dir
in $PATH
47545 test -z "$as_dir" && as_dir
=.
47546 # Account for people who put trailing slashes in PATH elements.
47548 .
/ | .
// | /cC
/* | \
47549 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47550 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47553 # OSF1 and SCO ODT 3.0 have their own names for install.
47554 # Don't use installbsd from OSF since it installs stuff as root
47556 for ac_prog
in ginstall scoinst
install; do
47557 for ac_exec_ext
in '' $ac_executable_extensions; do
47558 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47559 if test $ac_prog = install &&
47560 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47561 # AIX install. It has an incompatible calling convention.
47563 elif test $ac_prog = install &&
47564 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47565 # program-specific install script used by HP pwplus--don't use.
47568 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47581 if test "${ac_cv_path_install+set}" = set; then
47582 INSTALL
=$ac_cv_path_install
47584 # As a last resort, use the slow shell script. Don't cache a
47585 # value for INSTALL within a source directory, because that will
47586 # break other packages using the cache if that directory is
47587 # removed, or if the value is a relative name.
47588 INSTALL
=$ac_install_sh
47591 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47592 echo "${ECHO_T}$INSTALL" >&6; }
47594 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47595 # It thinks the first close brace ends the variable substitution.
47596 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47598 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47600 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47602 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47603 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47605 if test "$LN_S" = "ln -s"; then
47606 { echo "$as_me:$LINENO: result: yes" >&5
47607 echo "${ECHO_T}yes" >&6; }
47609 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47610 echo "${ECHO_T}no, using $LN_S" >&6; }
47614 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47615 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47616 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47617 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47618 echo $ECHO_N "(cached) $ECHO_C" >&6
47620 cat >conftest.
make <<\_ACEOF
47623 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47625 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47626 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47627 *@@@
%%%=?
*=@@@
%%%*)
47628 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47630 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47632 rm -f conftest.
make
47634 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47635 { echo "$as_me:$LINENO: result: yes" >&5
47636 echo "${ECHO_T}yes" >&6; }
47639 { echo "$as_me:$LINENO: result: no" >&5
47640 echo "${ECHO_T}no" >&6; }
47641 SET_MAKE
="MAKE=${MAKE-make}"
47646 if test "x$SUNCXX" = "xyes"; then
47648 AROPTIONS
="-xar -o"
47650 elif test "x$SGICC" = "xyes"; then
47655 if test -n "$ac_tool_prefix"; then
47656 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47657 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47660 if test "${ac_cv_prog_AR+set}" = set; then
47661 echo $ECHO_N "(cached) $ECHO_C" >&6
47663 if test -n "$AR"; then
47664 ac_cv_prog_AR
="$AR" # Let the user override the test.
47666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47667 for as_dir
in $PATH
47670 test -z "$as_dir" && as_dir
=.
47671 for ac_exec_ext
in '' $ac_executable_extensions; do
47672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47673 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47684 if test -n "$AR"; then
47685 { echo "$as_me:$LINENO: result: $AR" >&5
47686 echo "${ECHO_T}$AR" >&6; }
47688 { echo "$as_me:$LINENO: result: no" >&5
47689 echo "${ECHO_T}no" >&6; }
47694 if test -z "$ac_cv_prog_AR"; then
47696 # Extract the first word of "ar", so it can be a program name with args.
47697 set dummy
ar; ac_word
=$2
47698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47700 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47701 echo $ECHO_N "(cached) $ECHO_C" >&6
47703 if test -n "$ac_ct_AR"; then
47704 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47707 for as_dir
in $PATH
47710 test -z "$as_dir" && as_dir
=.
47711 for ac_exec_ext
in '' $ac_executable_extensions; do
47712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47713 ac_cv_prog_ac_ct_AR
="ar"
47714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47723 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47724 if test -n "$ac_ct_AR"; then
47725 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47726 echo "${ECHO_T}$ac_ct_AR" >&6; }
47728 { echo "$as_me:$LINENO: result: no" >&5
47729 echo "${ECHO_T}no" >&6; }
47732 if test "x$ac_ct_AR" = x
; then
47735 case $cross_compiling:$ac_tool_warned in
47737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47738 whose name does not start with the host triplet. If you think this
47739 configuration is useful to you, please write to autoconf@gnu.org." >&5
47740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47741 whose name does not start with the host triplet. If you think this
47742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47743 ac_tool_warned
=yes ;;
47748 AR
="$ac_cv_prog_AR"
47755 if test -n "$ac_tool_prefix"; then
47756 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47757 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47760 if test "${ac_cv_prog_STRIP+set}" = set; then
47761 echo $ECHO_N "(cached) $ECHO_C" >&6
47763 if test -n "$STRIP"; then
47764 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47767 for as_dir
in $PATH
47770 test -z "$as_dir" && as_dir
=.
47771 for ac_exec_ext
in '' $ac_executable_extensions; do
47772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47773 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47783 STRIP
=$ac_cv_prog_STRIP
47784 if test -n "$STRIP"; then
47785 { echo "$as_me:$LINENO: result: $STRIP" >&5
47786 echo "${ECHO_T}$STRIP" >&6; }
47788 { echo "$as_me:$LINENO: result: no" >&5
47789 echo "${ECHO_T}no" >&6; }
47794 if test -z "$ac_cv_prog_STRIP"; then
47796 # Extract the first word of "strip", so it can be a program name with args.
47797 set dummy strip
; ac_word
=$2
47798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47800 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47801 echo $ECHO_N "(cached) $ECHO_C" >&6
47803 if test -n "$ac_ct_STRIP"; then
47804 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47807 for as_dir
in $PATH
47810 test -z "$as_dir" && as_dir
=.
47811 for ac_exec_ext
in '' $ac_executable_extensions; do
47812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47813 ac_cv_prog_ac_ct_STRIP
="strip"
47814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47823 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47824 if test -n "$ac_ct_STRIP"; then
47825 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47826 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47828 { echo "$as_me:$LINENO: result: no" >&5
47829 echo "${ECHO_T}no" >&6; }
47832 if test "x$ac_ct_STRIP" = x
; then
47835 case $cross_compiling:$ac_tool_warned in
47837 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47838 whose name does not start with the host triplet. If you think this
47839 configuration is useful to you, please write to autoconf@gnu.org." >&5
47840 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47841 whose name does not start with the host triplet. If you think this
47842 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47843 ac_tool_warned
=yes ;;
47848 STRIP
="$ac_cv_prog_STRIP"
47851 if test -n "$ac_tool_prefix"; then
47852 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47853 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47856 if test "${ac_cv_prog_NM+set}" = set; then
47857 echo $ECHO_N "(cached) $ECHO_C" >&6
47859 if test -n "$NM"; then
47860 ac_cv_prog_NM
="$NM" # Let the user override the test.
47862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47863 for as_dir
in $PATH
47866 test -z "$as_dir" && as_dir
=.
47867 for ac_exec_ext
in '' $ac_executable_extensions; do
47868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47869 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47880 if test -n "$NM"; then
47881 { echo "$as_me:$LINENO: result: $NM" >&5
47882 echo "${ECHO_T}$NM" >&6; }
47884 { echo "$as_me:$LINENO: result: no" >&5
47885 echo "${ECHO_T}no" >&6; }
47890 if test -z "$ac_cv_prog_NM"; then
47892 # Extract the first word of "nm", so it can be a program name with args.
47893 set dummy nm
; ac_word
=$2
47894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47896 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47897 echo $ECHO_N "(cached) $ECHO_C" >&6
47899 if test -n "$ac_ct_NM"; then
47900 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47903 for as_dir
in $PATH
47906 test -z "$as_dir" && as_dir
=.
47907 for ac_exec_ext
in '' $ac_executable_extensions; do
47908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47909 ac_cv_prog_ac_ct_NM
="nm"
47910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47919 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47920 if test -n "$ac_ct_NM"; then
47921 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47922 echo "${ECHO_T}$ac_ct_NM" >&6; }
47924 { echo "$as_me:$LINENO: result: no" >&5
47925 echo "${ECHO_T}no" >&6; }
47928 if test "x$ac_ct_NM" = x
; then
47931 case $cross_compiling:$ac_tool_warned in
47933 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47934 whose name does not start with the host triplet. If you think this
47935 configuration is useful to you, please write to autoconf@gnu.org." >&5
47936 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47937 whose name does not start with the host triplet. If you think this
47938 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47939 ac_tool_warned
=yes ;;
47944 NM
="$ac_cv_prog_NM"
47948 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47949 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47950 INSTALL_TEST_DIR
=acbftest$$
47951 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
47952 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
47953 rmdir $INSTALL_TEST_DIR
47954 INSTALL_DIR
='$(INSTALL) -d'
47955 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47956 echo "${ECHO_T}$INSTALL -d" >&6; }
47958 INSTALL_DIR
="mkdir -p"
47959 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47960 echo "${ECHO_T}mkdir -p" >&6; }
47965 case ${BAKEFILE_HOST} in
47966 *-*-cygwin* | *-*-mingw32* )
47967 LDFLAGS_GUI
="-mwindows"
47973 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47974 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47975 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47976 echo $ECHO_N "(cached) $ECHO_C" >&6
47979 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47980 egrep -s GNU
> /dev
/null
); then
47981 bakefile_cv_prog_makeisgnu
="yes"
47983 bakefile_cv_prog_makeisgnu
="no"
47987 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47988 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47990 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48007 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48008 case "${BAKEFILE_HOST}" in
48015 *-pc-os2_emx | *-pc-os2-emx )
48025 powerpc
-apple-macos* )
48034 case "$BAKEFILE_FORCE_PLATFORM" in
48069 # Check whether --enable-omf was given.
48070 if test "${enable_omf+set}" = set; then
48071 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48075 case "${BAKEFILE_HOST}" in
48077 if test "x$GCC" = "xyes"; then
48078 CFLAGS
="$CFLAGS -fno-common"
48079 CXXFLAGS
="$CXXFLAGS -fno-common"
48081 if test "x$XLCC" = "xyes"; then
48082 CFLAGS
="$CFLAGS -qnocommon"
48083 CXXFLAGS
="$CXXFLAGS -qnocommon"
48087 *-pc-os2_emx | *-pc-os2-emx )
48088 if test "x$bk_os2_use_omf" = "xyes" ; then
48091 LDFLAGS
="-Zomf $LDFLAGS"
48092 CFLAGS
="-Zomf $CFLAGS"
48093 CXXFLAGS
="-Zomf $CXXFLAGS"
48101 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48107 SO_SUFFIX_MODULE
="so"
48112 DLLPREFIX_MODULE
=""
48116 case "${BAKEFILE_HOST}" in
48121 SO_SUFFIX_MODULE
="sl"
48125 SO_SUFFIX_MODULE
="a"
48129 SO_SUFFIX_MODULE
="dll"
48130 DLLIMP_SUFFIX
="dll.a"
48137 SO_SUFFIX_MODULE
="dll"
48138 DLLIMP_SUFFIX
="dll.a"
48148 *-pc-os2_emx | *-pc-os2-emx )
48150 SO_SUFFIX_MODULE
="dll"
48151 DLLIMP_SUFFIX
=$OS2_LIBEXT
48155 LIBEXT
=".$OS2_LIBEXT"
48160 SO_SUFFIX_MODULE
="bundle"
48164 if test "x$DLLIMP_SUFFIX" = "x" ; then
48165 DLLIMP_SUFFIX
="$SO_SUFFIX"
48180 if test "x$GCC" = "xyes"; then
48184 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48185 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48188 case "${BAKEFILE_HOST}" in
48190 if test "x$GCC" != "xyes"; then
48191 LDFLAGS
="$LDFLAGS -L/usr/lib"
48193 SHARED_LD_CC
="${CC} -b -o"
48194 SHARED_LD_CXX
="${CXX} -b -o"
48200 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48202 elif test "x$SUNCXX" = "xyes"; then
48203 SHARED_LD_CC
="${CC} -G -o"
48204 SHARED_LD_CXX
="${CXX} -G -o"
48210 if test "x$SUNCXX" = xyes
; then
48211 SHARED_LD_CC
="${CC} -G -o"
48212 SHARED_LD_CXX
="${CXX} -G -o"
48220 cat <<EOF >shared-ld-sh
48222 #-----------------------------------------------------------------------------
48223 #-- Name: distrib/mac/shared-ld-sh
48224 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48225 #-- Author: Gilles Depeyrot
48226 #-- Copyright: (c) 2002 Gilles Depeyrot
48227 #-- Licence: any use permitted
48228 #-----------------------------------------------------------------------------
48233 linking_flag="-dynamiclib"
48234 ldargs="-r -keep_private_externs -nostdlib"
48236 if test "x${D}CXX" = "x"; then
48240 while test ${D}# -gt 0; do
48247 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48248 # collect these options and values
48249 args="${D}{args} ${D}1 ${D}2"
48254 # collect these options and values
48255 ldargs="${D}{ldargs} ${D}1 ${D}2"
48260 # collect these load args
48261 ldargs="${D}{ldargs} ${D}1"
48264 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48265 # collect these options
48266 args="${D}{args} ${D}1"
48269 -dynamiclib|-bundle)
48270 linking_flag="${D}1"
48274 echo "shared-ld: unhandled option '${D}1'"
48278 *.o | *.a | *.dylib)
48279 # collect object files
48280 objects="${D}{objects} ${D}1"
48284 echo "shared-ld: unhandled argument '${D}1'"
48295 # Link one module containing all the others
48297 if test ${D}{verbose} = 1; then
48298 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48300 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48304 # Link the shared library from the single module created, but only if the
48305 # previous command didn't fail:
48307 if test ${D}{status} = 0; then
48308 if test ${D}{verbose} = 1; then
48309 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48311 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48316 # Remove intermediate module
48318 rm -f master.${D}${D}.o
48323 chmod +x shared
-ld-sh
48325 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48326 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48329 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48330 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48331 if test "${bakefile_cv_gcc31+set}" = set; then
48332 echo $ECHO_N "(cached) $ECHO_C" >&6
48335 cat >conftest.
$ac_ext <<_ACEOF
48338 cat confdefs.h
>>conftest.
$ac_ext
48339 cat >>conftest.
$ac_ext <<_ACEOF
48340 /* end confdefs.h. */
48346 #if (__GNUC__ < 3) || \
48347 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48355 rm -f conftest.
$ac_objext
48356 if { (ac_try
="$ac_compile"
48357 case "(($ac_try" in
48358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48359 *) ac_try_echo=$ac_try;;
48361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48362 (eval "$ac_compile") 2>conftest.er1
48364 grep -v '^ *+' conftest.er1 >conftest.err
48366 cat conftest.err >&5
48367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48368 (exit $ac_status); } && {
48369 test -z "$ac_c_werror_flag" ||
48370 test ! -s conftest.err
48371 } && test -s conftest.$ac_objext; then
48373 bakefile_cv_gcc31=yes
48376 echo "$as_me: failed program was:" >&5
48377 sed 's/^/| /' conftest.$ac_ext >&5
48380 bakefile_cv_gcc31=no
48385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48388 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48389 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48390 if test "$bakefile_cv_gcc31" = "no"; then
48391 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48392 SHARED_LD_CXX="$SHARED_LD_CC"
48394 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48395 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48398 if test "x$GCC" == "xyes"; then
48399 PIC_FLAG="-dynamic -fPIC"
48401 if test "x$XLCC" = "xyes"; then
48402 PIC_FLAG="-dynamic -DPIC"
48407 if test "x$GCC" = "xyes"; then
48410 case "${BAKEFILE_HOST}" in
48412 LD_EXPFULL="-Wl,-bexpfull"
48416 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48417 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48419 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48420 set dummy makeC++SharedLib; ac_word=$2
48421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48423 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48424 echo $ECHO_N "(cached) $ECHO_C" >&6
48426 if test -n "$AIX_CXX_LD"; then
48427 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48430 for as_dir in $PATH
48433 test -z "$as_dir" && as_dir=.
48434 for ac_exec_ext in '' $ac_executable_extensions; do
48435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48436 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48444 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48447 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48448 if test -n "$AIX_CXX_LD"; then
48449 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48450 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48452 { echo "$as_me:$LINENO: result: no" >&5
48453 echo "${ECHO_T}no" >&6; }
48457 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48458 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48463 SHARED_LD_CC="${LD} -nostart -o"
48464 SHARED_LD_CXX="${LD} -nostart -o"
48468 if test "x$GCC" != "xyes"; then
48473 *-*-cygwin* | *-*-mingw32* )
48475 SHARED_LD_CC="\$(CC) -shared -o"
48476 SHARED_LD_CXX="\$(CXX) -shared -o"
48480 *-pc-os2_emx | *-pc-os2-emx )
48481 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48482 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48486 cat <<EOF >dllar.sh
48489 # dllar - a tool to build both a .dll and an .a file
48490 # from a set of object (.o) files for EMX/OS2.
48492 # Written by Andrew Zabolotny, bit@freya.etu.ru
48493 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48495 # This script will accept a set of files on the command line.
48496 # All the public symbols from the .o files will be exported into
48497 # a .DEF file, then linker will be run (through gcc) against them to
48498 # build a shared library consisting of all given .o files. All libraries
48499 # (.a) will be first decompressed into component .o files then act as
48500 # described above. You can optionally give a description (-d "description")
48501 # which will be put into .DLL. To see the list of accepted options (as well
48502 # as command-line format) simply run this program without options. The .DLL
48503 # is built to be imported by name (there is no guarantee that new versions
48504 # of the library you build will have same ordinals for same symbols).
48506 # dllar is free software; you can redistribute it and/or modify
48507 # it under the terms of the GNU General Public License as published by
48508 # the Free Software Foundation; either version 2, or (at your option)
48509 # any later version.
48511 # dllar is distributed in the hope that it will be useful,
48512 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48513 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48514 # GNU General Public License for more details.
48516 # You should have received a copy of the GNU General Public License
48517 # along with dllar; see the file COPYING. If not, write to the Free
48518 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48521 # To successfuly run this program you will need:
48522 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48523 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48525 # (used to build the .dll)
48527 # (used to create .def file from .o files)
48529 # (used to create .a file from .def file)
48530 # - GNU text utilites (cat, sort, uniq)
48531 # used to process emxexp output
48532 # - GNU file utilities (mv, rm)
48534 # - lxlite (optional, see flag below)
48535 # (used for general .dll cleanup)
48542 # basnam, variant of basename, which does _not_ remove the path, _iff_
48543 # second argument (suffix to remove) is given
48547 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48550 echo ${D}1 | sed 's/'${D}2'${D}//'
48553 echo "error in basnam ${D}*"
48559 # Cleanup temporary files and output
48562 for i in ${D}inputFiles ; do
48565 rm -rf \`basnam
${D}i
!\
`
48572 # Kill result in case of failure as there is just to many stupid make/nmake
48573 # things out there which doesn't do this.
48574 if [ ${D}# -eq 0 ]; then
48575 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48579 # Print usage and exit script with rc=1.
48581 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48582 echo ' [-name-mangler-script script.sh]'
48583 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48584 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48585 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48586 echo ' [*.o] [*.a]'
48587 echo '*> "output_file" should have no extension.'
48588 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48589 echo ' The import library name is derived from this and is set to "name".a,'
48590 echo ' unless overridden by -import'
48591 echo '*> "importlib_name" should have no extension.'
48592 echo ' If it has the .o, or .a extension, it is automatically removed.'
48593 echo ' This name is used as the import library name and may be longer and'
48594 echo ' more descriptive than the DLL name which has to follow the old '
48595 echo ' 8.3 convention of FAT.'
48596 echo '*> "script.sh may be given to override the output_file name by a'
48597 echo ' different name. It is mainly useful if the regular make process'
48598 echo ' of some package does not take into account OS/2 restriction of'
48599 echo ' DLL name lengths. It takes the importlib name as input and is'
48600 echo ' supposed to procude a shorter name as output. The script should'
48601 echo ' expect to get importlib_name without extension and should produce'
48602 echo ' a (max.) 8 letter name without extension.'
48603 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48604 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48605 echo ' These flags will be put at the start of GCC command line.'
48606 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48607 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48608 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48609 echo ' If the last character of a symbol is "*", all symbols beginning'
48610 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48611 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48612 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48613 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48614 echo ' C runtime DLLs.'
48615 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48616 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48617 echo ' unchanged to GCC at the end of command line.'
48618 echo '*> If you create a DLL from a library and you do not specify -o,'
48619 echo ' the basename for DLL and import library will be set to library name,'
48620 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48621 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48622 echo ' library will be renamed into gcc_s.a.'
48625 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48626 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48631 # Execute a command.
48632 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48633 # @Uses Whatever CleanUp() uses.
48639 if [ ${D}rcCmd -ne 0 ]; then
48640 echo "command failed, exit code="${D}rcCmd
48655 CFLAGS="-s -Zcrtdll"
48657 EXPORT_BY_ORDINALS=0
48662 case ${D}curDirS in
48666 curDirS=${D}{curDirS}"/"
48669 # Parse commandline
48672 while [ ${D}1 ]; do
48675 EXPORT_BY_ORDINALS=1;
48685 -name-mangler-script)
48706 exclude_symbols=${D}{exclude_symbols}${D}1" "
48710 library_flags=${D}{library_flags}${D}1" "
48729 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48732 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48733 if [ ${D}omfLinking -eq 1 ]; then
48734 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48736 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48741 if [ ${D}libsToLink -ne 0 ]; then
48742 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48744 for file in ${D}1 ; do
48745 if [ -f ${D}file ]; then
48746 inputFiles="${D}{inputFiles} ${D}file"
48750 if [ ${D}found -eq 0 ]; then
48751 echo "ERROR: No file(s) found: "${D}1
48758 done # iterate cmdline words
48761 if [ -z "${D}inputFiles" ]; then
48762 echo "dllar: no input files"
48766 # Now extract all .o files from .a files
48768 for file in ${D}inputFiles ; do
48779 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48784 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48786 if [ ${D}? -ne 0 ]; then
48787 echo "Failed to create subdirectory ./${D}dirname"
48791 # Append '!' to indicate archive
48792 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48793 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48796 for subfile in ${D}dirname/*.o* ; do
48797 if [ -f ${D}subfile ]; then
48799 if [ -s ${D}subfile ]; then
48800 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48801 newInputFiles="${D}newInputFiles ${D}subfile"
48805 if [ ${D}found -eq 0 ]; then
48806 echo "WARNING: there are no files in archive \\'${D}file\\'"
48810 newInputFiles="${D}{newInputFiles} ${D}file"
48814 inputFiles="${D}newInputFiles"
48816 # Output filename(s).
48818 if [ -z ${D}outFile ]; then
48820 set outFile ${D}inputFiles; outFile=${D}2
48823 # If it is an archive, remove the '!' and the '_%' suffixes
48824 case ${D}outFile in
48826 outFile=\`basnam
${D}outFile _
%!\
`
48831 case ${D}outFile in
48833 outFile=\`basnam
${D}outFile .dll\
`
48836 outFile=\`basnam
${D}outFile .DLL\
`
48839 outFile=\`basnam
${D}outFile .o\
`
48842 outFile=\`basnam
${D}outFile .obj\
`
48845 outFile=\`basnam
${D}outFile .a\
`
48848 outFile=\`basnam
${D}outFile .lib\
`
48853 case ${D}outimpFile in
48855 outimpFile=\`basnam
${D}outimpFile .a\
`
48858 outimpFile=\`basnam
${D}outimpFile .lib\
`
48863 if [ -z ${D}outimpFile ]; then
48864 outimpFile=${D}outFile
48866 defFile="${D}{outFile}.def"
48867 arcFile="${D}{outimpFile}.a"
48868 arcFile2="${D}{outimpFile}.lib"
48870 #create ${D}dllFile as something matching 8.3 restrictions,
48871 if [ -z ${D}renameScript ] ; then
48872 dllFile="${D}outFile"
48874 dllFile=\`${D}renameScript
${D}outimpFile\
`
48877 if [ ${D}do_backup -ne 0 ] ; then
48878 if [ -f ${D}arcFile ] ; then
48879 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48881 if [ -f ${D}arcFile2 ] ; then
48882 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48886 # Extract public symbols from all the object files.
48887 tmpdefFile=${D}{defFile}_%
48888 rm -f ${D}tmpdefFile
48889 for file in ${D}inputFiles ; do
48894 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48899 # Create the def file.
48901 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
48902 dllFile="${D}{dllFile}.dll"
48903 if [ ! -z ${D}description ]; then
48904 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48906 echo "EXPORTS" >> ${D}defFile
48908 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48909 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48911 # Checks if the export is ok or not.
48912 for word in ${D}exclude_symbols; do
48913 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48914 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48918 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48919 sed "=" < ${D}tmpdefFile | \\
48923 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48925 ' > ${D}{tmpdefFile}%
48926 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48928 rm -f ${D}{tmpdefFile}%
48930 cat ${D}tmpdefFile >> ${D}defFile
48931 rm -f ${D}tmpdefFile
48933 # Do linking, create implib, and apply lxlite.
48935 for file in ${D}inputFiles ; do
48940 gccCmdl="${D}gccCmdl ${D}file"
48944 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48945 touch "${D}{outFile}.dll"
48947 doCommand "emximp -o ${D}arcFile ${D}defFile"
48948 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48950 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48953 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48955 doCommand "emxomf -s -l ${D}arcFile"
48965 powerpc-apple-macos* | \
48966 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48976 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48977 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48978 { (exit 1); exit 1; }; }
48981 if test "x$PIC_FLAG" != "x" ; then
48982 PIC_FLAG="$PIC_FLAG -DPIC"
48985 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48986 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48988 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48989 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49008 case "${BAKEFILE_HOST}" in
49009 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49010 *-*-k*bsd*-gnu | *-*-mirbsd* )
49011 if test "x$SUNCXX" = "xyes"; then
49014 SONAME_FLAG="-Wl,-soname,"
49049 # Check whether --enable-dependency-tracking was given.
49050 if test "${enable_dependency_tracking+set}" = set; then
49051 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49055 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49056 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49059 if test "x$bk_use_trackdeps" = "xno" ; then
49061 { echo "$as_me:$LINENO: result: disabled" >&5
49062 echo "${ECHO_T}disabled" >&6; }
49066 if test "x$GCC" = "xyes"; then
49068 case "${BAKEFILE_HOST}" in
49070 DEPSFLAG="-no-cpp-precomp -MMD"
49076 { echo "$as_me:$LINENO: result: gcc" >&5
49077 echo "${ECHO_T}gcc" >&6; }
49078 elif test "x$MWCC" = "xyes"; then
49081 { echo "$as_me:$LINENO: result: mwcc" >&5
49082 echo "${ECHO_T}mwcc" >&6; }
49083 elif test "x$SUNCC" = "xyes"; then
49086 { echo "$as_me:$LINENO: result: Sun cc" >&5
49087 echo "${ECHO_T}Sun cc" >&6; }
49088 elif test "x$SGICC" = "xyes"; then
49091 { echo "$as_me:$LINENO: result: SGI cc" >&5
49092 echo "${ECHO_T}SGI cc" >&6; }
49093 elif test "x$HPCC" = "xyes"; then
49096 { echo "$as_me:$LINENO: result: HP cc" >&5
49097 echo "${ECHO_T}HP cc" >&6; }
49098 elif test "x$COMPAQCC" = "xyes"; then
49101 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49102 echo "${ECHO_T}Compaq cc" >&6; }
49105 { echo "$as_me:$LINENO: result: none" >&5
49106 echo "${ECHO_T}none" >&6; }
49109 if test $DEPS_TRACKING = 1 ; then
49115 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49116 # script. It is used to track C/C++ files dependencies in portable way.
49118 # Permission is given to use this file in any way.
49120 DEPSMODE=${DEPSMODE}
49121 DEPSFLAG="${DEPSFLAG}"
49124 if test ${D}DEPSMODE = gcc ; then
49125 ${D}* ${D}{DEPSFLAG}
49128 # determine location of created files:
49129 while test ${D}# -gt 0; do
49143 objfilebase=\`basename ${D}objfile\
`
49144 builddir=\`dirname ${D}objfile\
`
49145 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49146 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49147 depsdir=${D}builddir/${D}DEPSDIRBASE
49148 mkdir -p ${D}depsdir
49150 # if the compiler failed, we're done:
49151 if test ${D}{status} != 0 ; then
49156 # move created file to the location we want it in:
49157 if test -f ${D}depfile ; then
49158 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49161 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49162 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49163 if test ! -f ${D}depfile ; then
49164 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49165 depfile="${D}objfile.d"
49167 if test -f ${D}depfile ; then
49168 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49174 elif test ${D}DEPSMODE = mwcc ; then
49175 ${D}* || exit ${D}?
49176 # Run mwcc again with -MM and redirect into the dep file we want
49177 # NOTE: We can't use shift here because we need ${D}* to be valid
49179 for arg in ${D}* ; do
49180 if test "${D}prevarg" = "-o"; then
49194 objfilebase=\`basename ${D}objfile\
`
49195 builddir=\`dirname ${D}objfile\
`
49196 depsdir=${D}builddir/${D}DEPSDIRBASE
49197 mkdir -p ${D}depsdir
49199 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49202 elif test ${D}DEPSMODE = unixcc; then
49203 ${D}* || exit ${D}?
49204 # Run compiler again with deps flag and redirect into the dep file.
49205 # It doesn't work if the '-o FILE' option is used, but without it the
49206 # dependency file will contain the wrong name for the object. So it is
49207 # removed from the command line, and the dep file is fixed with sed.
49209 while test ${D}# -gt 0; do
49216 eval arg${D}#=\\${D}1
49217 cmd="${D}cmd \\${D}arg${D}#"
49223 objfilebase=\`basename ${D}objfile\
`
49224 builddir=\`dirname ${D}objfile\
`
49225 depsdir=${D}builddir/${D}DEPSDIRBASE
49226 mkdir -p ${D}depsdir
49228 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49238 BK_DEPS="`pwd`/bk-deps"
49246 case ${BAKEFILE_HOST} in
49247 *-*-cygwin* | *-*-mingw32* )
49248 if test -n "$ac_tool_prefix"; then
49249 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49250 set dummy ${ac_tool_prefix}windres; ac_word=$2
49251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49253 if test "${ac_cv_prog_WINDRES+set}" = set; then
49254 echo $ECHO_N "(cached) $ECHO_C" >&6
49256 if test -n "$WINDRES"; then
49257 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49260 for as_dir in $PATH
49263 test -z "$as_dir" && as_dir=.
49264 for ac_exec_ext in '' $ac_executable_extensions; do
49265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49266 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49276 WINDRES=$ac_cv_prog_WINDRES
49277 if test -n "$WINDRES"; then
49278 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49279 echo "${ECHO_T}$WINDRES" >&6; }
49281 { echo "$as_me:$LINENO: result: no" >&5
49282 echo "${ECHO_T}no" >&6; }
49287 if test -z "$ac_cv_prog_WINDRES"; then
49288 ac_ct_WINDRES=$WINDRES
49289 # Extract the first word of "windres", so it can be a program name with args.
49290 set dummy windres; ac_word=$2
49291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49293 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49294 echo $ECHO_N "(cached) $ECHO_C" >&6
49296 if test -n "$ac_ct_WINDRES"; then
49297 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49300 for as_dir in $PATH
49303 test -z "$as_dir" && as_dir=.
49304 for ac_exec_ext in '' $ac_executable_extensions; do
49305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49306 ac_cv_prog_ac_ct_WINDRES="windres"
49307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49316 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49317 if test -n "$ac_ct_WINDRES"; then
49318 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49319 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49321 { echo "$as_me:$LINENO: result: no" >&5
49322 echo "${ECHO_T}no" >&6; }
49325 if test "x$ac_ct_WINDRES" = x; then
49328 case $cross_compiling:$ac_tool_warned in
49330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49331 whose name does not start with the host triplet. If you think this
49332 configuration is useful to you, please write to autoconf@gnu.org." >&5
49333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49334 whose name does not start with the host triplet. If you think this
49335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49336 ac_tool_warned=yes ;;
49338 WINDRES=$ac_ct_WINDRES
49341 WINDRES="$ac_cv_prog_WINDRES"
49346 *-*-darwin* | powerpc-apple-macos* )
49347 # Extract the first word of "Rez", so it can be a program name with args.
49348 set dummy Rez; ac_word=$2
49349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49351 if test "${ac_cv_prog_REZ+set}" = set; then
49352 echo $ECHO_N "(cached) $ECHO_C" >&6
49354 if test -n "$REZ"; then
49355 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49358 for as_dir in $PATH
49361 test -z "$as_dir" && as_dir=.
49362 for ac_exec_ext in '' $ac_executable_extensions; do
49363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49364 ac_cv_prog_REZ="Rez"
49365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49372 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49375 REZ=$ac_cv_prog_REZ
49376 if test -n "$REZ"; then
49377 { echo "$as_me:$LINENO: result: $REZ" >&5
49378 echo "${ECHO_T}$REZ" >&6; }
49380 { echo "$as_me:$LINENO: result: no" >&5
49381 echo "${ECHO_T}no" >&6; }
49385 # Extract the first word of "SetFile", so it can be a program name with args.
49386 set dummy SetFile; ac_word=$2
49387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49389 if test "${ac_cv_prog_SETFILE+set}" = set; then
49390 echo $ECHO_N "(cached) $ECHO_C" >&6
49392 if test -n "$SETFILE"; then
49393 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49396 for as_dir in $PATH
49399 test -z "$as_dir" && as_dir=.
49400 for ac_exec_ext in '' $ac_executable_extensions; do
49401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49402 ac_cv_prog_SETFILE="SetFile"
49403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49410 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49413 SETFILE=$ac_cv_prog_SETFILE
49414 if test -n "$SETFILE"; then
49415 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49416 echo "${ECHO_T}$SETFILE" >&6; }
49418 { echo "$as_me:$LINENO: result: no" >&5
49419 echo "${ECHO_T}no" >&6; }
49434 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49437 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49441 # Check whether --enable-precomp-headers was given.
49442 if test "${enable_precomp_headers+set}" = set; then
49443 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49452 case ${BAKEFILE_HOST} in
49458 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49459 if test "x$GCC" = "xyes"; then
49460 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49461 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49462 cat >conftest.$ac_ext <<_ACEOF
49465 cat confdefs.h >>conftest.$ac_ext
49466 cat >>conftest.$ac_ext <<_ACEOF
49467 /* end confdefs.h. */
49473 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49474 There is no PCH support
49477 There is no PCH support
49479 #if (__GNUC__ == 3) && \
49480 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49481 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49482 ( defined(__INTEL_COMPILER) )
49483 There is no PCH support
49490 rm -f conftest.$ac_objext
49491 if { (ac_try="$ac_compile"
49492 case "(($ac_try" in
49493 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49494 *) ac_try_echo
=$ac_try;;
49496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49497 (eval "$ac_compile") 2>conftest.er1
49499 grep -v '^ *+' conftest.er1
>conftest.err
49501 cat conftest.err
>&5
49502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49503 (exit $ac_status); } && {
49504 test -z "$ac_c_werror_flag" ||
49505 test ! -s conftest.err
49506 } && test -s conftest.
$ac_objext; then
49508 { echo "$as_me:$LINENO: result: yes" >&5
49509 echo "${ECHO_T}yes" >&6; }
49513 echo "$as_me: failed program was:" >&5
49514 sed 's/^/| /' conftest.
$ac_ext >&5
49517 if test "$INTELCXX8" = "yes"; then
49518 { echo "$as_me:$LINENO: result: yes" >&5
49519 echo "${ECHO_T}yes" >&6; }
49521 if test "$INTELCXX10" = "yes"; then
49522 ICC_PCH_CREATE_SWITCH
="-pch-create"
49523 ICC_PCH_USE_SWITCH
="-pch-use"
49525 ICC_PCH_CREATE_SWITCH
="-create-pch"
49526 ICC_PCH_USE_SWITCH
="-use-pch"
49529 { echo "$as_me:$LINENO: result: no" >&5
49530 echo "${ECHO_T}no" >&6; }
49535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49536 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49540 cat <<EOF >bk-make-pch
49543 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49544 # script. It is used to generated precompiled headers.
49546 # Permission is given to use this file in any way.
49553 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49558 while test ${D}{#} -gt 0; do
49562 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49563 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49564 headerfile="${D}{incdir}/${D}{header}"
49567 -use-pch|-use_pch|-pch-use )
49572 if test ${D}add_to_cmdline = 1 ; then
49573 compiler="${D}{compiler} ${D}{1}"
49578 if test "x${D}{headerfile}" = "x" ; then
49579 echo "error: can't find header ${D}{header} in include paths" >&2
49581 if test -f ${D}{outfile} ; then
49582 rm -f ${D}{outfile}
49584 mkdir -p \`dirname ${D}{outfile}\`
49586 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49587 mkdir -p ${D}{builddir}/.deps
49588 if test "x${GCC_PCH}" = "x1" ; then
49589 # can do this because gcc is >= 3.4:
49590 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49591 elif test "x${ICC_PCH}" = "x1" ; then
49592 filename=pch_gen-${D}${D}
49593 file=${D}{filename}.c
49594 dfile=${D}{filename}.d
49595 cat > ${D}file <<EOT
49596 #include "${D}header"
49598 # using -MF icc complains about differing command lines in creation/use
49599 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49600 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49601 rm -f ${D}file ${D}dfile ${D}{filename}.o
49607 chmod +x bk
-make-pch
49608 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49619 COND_BUILD_DEBUG
="#"
49620 if test "x$BUILD" = "xdebug" ; then
49621 COND_BUILD_DEBUG
=""
49624 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49625 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49626 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49629 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49630 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49631 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49634 COND_BUILD_DEBUG_UNICODE_0
="#"
49635 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49636 COND_BUILD_DEBUG_UNICODE_0
=""
49639 COND_BUILD_DEBUG_UNICODE_1
="#"
49640 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49641 COND_BUILD_DEBUG_UNICODE_1
=""
49644 COND_BUILD_RELEASE
="#"
49645 if test "x$BUILD" = "xrelease" ; then
49646 COND_BUILD_RELEASE
=""
49649 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49650 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49651 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49654 COND_BUILD_RELEASE_UNICODE_0
="#"
49655 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49656 COND_BUILD_RELEASE_UNICODE_0
=""
49659 COND_BUILD_RELEASE_UNICODE_1
="#"
49660 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49661 COND_BUILD_RELEASE_UNICODE_1
=""
49664 COND_BUILD_debug
="#"
49665 if test "x$BUILD" = "xdebug" ; then
49666 COND_BUILD_debug
=""
49669 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49670 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49671 COND_BUILD_debug_DEBUG_FLAG_default
=""
49674 COND_BUILD_debug_DEBUG_INFO_default
="#"
49675 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49676 COND_BUILD_debug_DEBUG_INFO_default
=""
49679 COND_BUILD_debug_UNICODE_0
="#"
49680 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49681 COND_BUILD_debug_UNICODE_0
=""
49684 COND_BUILD_debug_UNICODE_1
="#"
49685 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49686 COND_BUILD_debug_UNICODE_1
=""
49689 COND_BUILD_release
="#"
49690 if test "x$BUILD" = "xrelease" ; then
49691 COND_BUILD_release
=""
49694 COND_BUILD_release_DEBUG_INFO_default
="#"
49695 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49696 COND_BUILD_release_DEBUG_INFO_default
=""
49699 COND_BUILD_release_UNICODE_0
="#"
49700 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49701 COND_BUILD_release_UNICODE_0
=""
49704 COND_BUILD_release_UNICODE_1
="#"
49705 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49706 COND_BUILD_release_UNICODE_1
=""
49709 COND_DEBUG_FLAG_1
="#"
49710 if test "x$DEBUG_FLAG" = "x1" ; then
49711 COND_DEBUG_FLAG_1
=""
49714 COND_DEBUG_INFO_0
="#"
49715 if test "x$DEBUG_INFO" = "x0" ; then
49716 COND_DEBUG_INFO_0
=""
49719 COND_DEBUG_INFO_1
="#"
49720 if test "x$DEBUG_INFO" = "x1" ; then
49721 COND_DEBUG_INFO_1
=""
49724 COND_DEPS_TRACKING_0
="#"
49725 if test "x$DEPS_TRACKING" = "x0" ; then
49726 COND_DEPS_TRACKING_0
=""
49729 COND_DEPS_TRACKING_1
="#"
49730 if test "x$DEPS_TRACKING" = "x1" ; then
49731 COND_DEPS_TRACKING_1
=""
49735 if test "x$GCC_PCH" = "x1" ; then
49740 if test "x$ICC_PCH" = "x1" ; then
49744 COND_MONOLITHIC_0
="#"
49745 if test "x$MONOLITHIC" = "x0" ; then
49746 COND_MONOLITHIC_0
=""
49749 COND_MONOLITHIC_0_SHARED_0
="#"
49750 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49751 COND_MONOLITHIC_0_SHARED_0
=""
49754 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49755 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49756 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49759 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49760 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49761 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49764 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49765 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49766 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49769 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49770 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49774 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49775 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49776 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49779 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49781 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49784 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49786 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49789 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49791 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49794 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49796 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49799 COND_MONOLITHIC_0_SHARED_1
="#"
49800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49801 COND_MONOLITHIC_0_SHARED_1
=""
49804 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49806 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49809 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49814 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49816 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49819 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49829 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49831 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49834 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49836 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49839 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49841 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49849 COND_MONOLITHIC_0_USE_AUI_1
="#"
49850 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49851 COND_MONOLITHIC_0_USE_AUI_1
=""
49854 COND_MONOLITHIC_0_USE_GUI_1
="#"
49855 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49856 COND_MONOLITHIC_0_USE_GUI_1
=""
49859 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49860 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49864 COND_MONOLITHIC_0_USE_HTML_1
="#"
49865 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49866 COND_MONOLITHIC_0_USE_HTML_1
=""
49869 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49870 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49871 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49874 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49875 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49876 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
49879 COND_MONOLITHIC_0_USE_QA_1
="#"
49880 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49881 COND_MONOLITHIC_0_USE_QA_1
=""
49884 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49885 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49886 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49889 COND_MONOLITHIC_0_USE_STC_1
="#"
49890 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49891 COND_MONOLITHIC_0_USE_STC_1
=""
49894 COND_MONOLITHIC_0_USE_XRC_1
="#"
49895 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49896 COND_MONOLITHIC_0_USE_XRC_1
=""
49899 COND_MONOLITHIC_1
="#"
49900 if test "x$MONOLITHIC" = "x1" ; then
49901 COND_MONOLITHIC_1
=""
49904 COND_MONOLITHIC_1_SHARED_0
="#"
49905 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49906 COND_MONOLITHIC_1_SHARED_0
=""
49909 COND_MONOLITHIC_1_SHARED_1
="#"
49910 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49911 COND_MONOLITHIC_1_SHARED_1
=""
49914 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49915 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49916 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49919 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49920 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49921 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49924 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49925 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49926 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49929 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49930 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49931 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49934 COND_PLATFORM_MACOSX_1
="#"
49935 if test "x$PLATFORM_MACOSX" = "x1" ; then
49936 COND_PLATFORM_MACOSX_1
=""
49939 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
49940 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49941 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
49944 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
49945 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49946 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
49949 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
49950 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49951 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
49954 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
49955 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49956 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
49959 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
49960 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49961 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
49964 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49965 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49966 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49969 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
49970 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49971 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
49974 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49975 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49976 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49979 COND_PLATFORM_MACOS_1
="#"
49980 if test "x$PLATFORM_MACOS" = "x1" ; then
49981 COND_PLATFORM_MACOS_1
=""
49984 COND_PLATFORM_MAC_0
="#"
49985 if test "x$PLATFORM_MAC" = "x0" ; then
49986 COND_PLATFORM_MAC_0
=""
49989 COND_PLATFORM_MAC_1
="#"
49990 if test "x$PLATFORM_MAC" = "x1" ; then
49991 COND_PLATFORM_MAC_1
=""
49994 COND_PLATFORM_MSDOS_0
="#"
49995 if test "x$PLATFORM_MSDOS" = "x0" ; then
49996 COND_PLATFORM_MSDOS_0
=""
49999 COND_PLATFORM_MSDOS_1
="#"
50000 if test "x$PLATFORM_MSDOS" = "x1" ; then
50001 COND_PLATFORM_MSDOS_1
=""
50004 COND_PLATFORM_OS2_1
="#"
50005 if test "x$PLATFORM_OS2" = "x1" ; then
50006 COND_PLATFORM_OS2_1
=""
50009 COND_PLATFORM_UNIX_0
="#"
50010 if test "x$PLATFORM_UNIX" = "x0" ; then
50011 COND_PLATFORM_UNIX_0
=""
50014 COND_PLATFORM_UNIX_1
="#"
50015 if test "x$PLATFORM_UNIX" = "x1" ; then
50016 COND_PLATFORM_UNIX_1
=""
50019 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50020 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50021 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50024 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50025 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50026 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50029 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50030 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50031 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50034 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50035 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50036 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50039 COND_PLATFORM_WIN32_0
="#"
50040 if test "x$PLATFORM_WIN32" = "x0" ; then
50041 COND_PLATFORM_WIN32_0
=""
50044 COND_PLATFORM_WIN32_1
="#"
50045 if test "x$PLATFORM_WIN32" = "x1" ; then
50046 COND_PLATFORM_WIN32_1
=""
50050 if test "x$SHARED" = "x0" ; then
50054 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50055 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50056 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50059 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50060 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50061 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50064 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50065 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50066 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50069 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50070 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50071 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50074 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50075 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50076 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50079 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50080 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50081 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50084 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50085 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50086 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50089 COND_SHARED_0_USE_STC_1
="#"
50090 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50091 COND_SHARED_0_USE_STC_1
=""
50094 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50095 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50096 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50099 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50100 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50101 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50104 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50105 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50106 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50110 if test "x$SHARED" = "x1" ; then
50114 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50115 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50116 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50120 if test "x$TOOLKIT" = "x" ; then
50124 COND_TOOLKIT_COCOA
="#"
50125 if test "x$TOOLKIT" = "xCOCOA" ; then
50126 COND_TOOLKIT_COCOA
=""
50129 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50130 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50131 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50134 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50135 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50136 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50139 COND_TOOLKIT_DFB
="#"
50140 if test "x$TOOLKIT" = "xDFB" ; then
50141 COND_TOOLKIT_DFB
=""
50144 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50145 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50146 COND_TOOLKIT_DFB_USE_GUI_1
=""
50149 COND_TOOLKIT_GTK
="#"
50150 if test "x$TOOLKIT" = "xGTK" ; then
50151 COND_TOOLKIT_GTK
=""
50154 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50155 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50156 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50159 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50160 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50161 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50164 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50165 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50166 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50169 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50170 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50171 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50174 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50175 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50176 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50179 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50180 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50181 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50184 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50185 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50186 COND_TOOLKIT_GTK_USE_GUI_1
=""
50189 COND_TOOLKIT_MAC
="#"
50190 if test "x$TOOLKIT" = "xMAC" ; then
50191 COND_TOOLKIT_MAC
=""
50194 COND_TOOLKIT_MGL
="#"
50195 if test "x$TOOLKIT" = "xMGL" ; then
50196 COND_TOOLKIT_MGL
=""
50199 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50200 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50201 COND_TOOLKIT_MGL_USE_GUI_1
=""
50204 COND_TOOLKIT_MOTIF
="#"
50205 if test "x$TOOLKIT" = "xMOTIF" ; then
50206 COND_TOOLKIT_MOTIF
=""
50209 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50210 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50211 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50214 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50215 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50216 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50219 COND_TOOLKIT_MSW
="#"
50220 if test "x$TOOLKIT" = "xMSW" ; then
50221 COND_TOOLKIT_MSW
=""
50224 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50225 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50226 COND_TOOLKIT_MSW_USE_GUI_1
=""
50229 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50230 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50231 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50234 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50235 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50236 COND_TOOLKIT_MSW_WXUNIV_0
=""
50239 COND_TOOLKIT_OSX_CARBON
="#"
50240 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50241 COND_TOOLKIT_OSX_CARBON
=""
50244 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50245 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50246 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50249 COND_TOOLKIT_OSX_COCOA
="#"
50250 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50251 COND_TOOLKIT_OSX_COCOA
=""
50254 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50255 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50256 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50259 COND_TOOLKIT_OSX_IPHONE
="#"
50260 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50261 COND_TOOLKIT_OSX_IPHONE
=""
50264 COND_TOOLKIT_PM
="#"
50265 if test "x$TOOLKIT" = "xPM" ; then
50269 COND_TOOLKIT_PM_USE_GUI_1
="#"
50270 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50271 COND_TOOLKIT_PM_USE_GUI_1
=""
50274 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50275 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50276 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50279 COND_TOOLKIT_WINCE
="#"
50280 if test "x$TOOLKIT" = "xWINCE" ; then
50281 COND_TOOLKIT_WINCE
=""
50284 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50285 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50286 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50289 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50290 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50291 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50294 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50295 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50296 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50299 COND_TOOLKIT_X11
="#"
50300 if test "x$TOOLKIT" = "xX11" ; then
50301 COND_TOOLKIT_X11
=""
50304 COND_TOOLKIT_X11_USE_GUI_1
="#"
50305 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50306 COND_TOOLKIT_X11_USE_GUI_1
=""
50310 if test "x$UNICODE" = "x1" ; then
50314 COND_USE_EXCEPTIONS_0
="#"
50315 if test "x$USE_EXCEPTIONS" = "x0" ; then
50316 COND_USE_EXCEPTIONS_0
=""
50319 COND_USE_EXCEPTIONS_1
="#"
50320 if test "x$USE_EXCEPTIONS" = "x1" ; then
50321 COND_USE_EXCEPTIONS_1
=""
50325 if test "x$USE_GUI" = "x0" ; then
50330 if test "x$USE_GUI" = "x1" ; then
50334 COND_USE_GUI_1_USE_OPENGL_1
="#"
50335 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50336 COND_USE_GUI_1_USE_OPENGL_1
=""
50339 COND_USE_GUI_1_WXUNIV_0
="#"
50340 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50341 COND_USE_GUI_1_WXUNIV_0
=""
50344 COND_USE_GUI_1_WXUNIV_1
="#"
50345 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50346 COND_USE_GUI_1_WXUNIV_1
=""
50349 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50350 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50351 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50354 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50355 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50356 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50359 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50360 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50361 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50364 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50365 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50366 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50369 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50370 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50371 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50374 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50375 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50376 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50379 COND_USE_OPENGL_1
="#"
50380 if test "x$USE_OPENGL" = "x1" ; then
50381 COND_USE_OPENGL_1
=""
50385 if test "x$USE_PCH" = "x1" ; then
50389 COND_USE_PLUGINS_0
="#"
50390 if test "x$USE_PLUGINS" = "x0" ; then
50391 COND_USE_PLUGINS_0
=""
50394 COND_USE_RTTI_0
="#"
50395 if test "x$USE_RTTI" = "x0" ; then
50399 COND_USE_RTTI_1
="#"
50400 if test "x$USE_RTTI" = "x1" ; then
50404 COND_USE_SOSYMLINKS_1
="#"
50405 if test "x$USE_SOSYMLINKS" = "x1" ; then
50406 COND_USE_SOSYMLINKS_1
=""
50409 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50410 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50411 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50414 COND_USE_SOVERLINUX_1
="#"
50415 if test "x$USE_SOVERLINUX" = "x1" ; then
50416 COND_USE_SOVERLINUX_1
=""
50419 COND_USE_SOVERSION_0
="#"
50420 if test "x$USE_SOVERSION" = "x0" ; then
50421 COND_USE_SOVERSION_0
=""
50424 COND_USE_SOVERSOLARIS_1
="#"
50425 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50426 COND_USE_SOVERSOLARIS_1
=""
50430 if test "x$USE_STC" = "x1" ; then
50434 COND_USE_THREADS_0
="#"
50435 if test "x$USE_THREADS" = "x0" ; then
50436 COND_USE_THREADS_0
=""
50439 COND_USE_THREADS_1
="#"
50440 if test "x$USE_THREADS" = "x1" ; then
50441 COND_USE_THREADS_1
=""
50445 if test "x$USE_XRC" = "x1" ; then
50449 COND_WINDOWS_IMPLIB_1
="#"
50450 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50451 COND_WINDOWS_IMPLIB_1
=""
50454 COND_WITH_PLUGIN_SDL_1
="#"
50455 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50456 COND_WITH_PLUGIN_SDL_1
=""
50460 if test "x$WXUNIV" = "x0" ; then
50465 if test "x$WXUNIV" = "x1" ; then
50469 COND_WXUSE_EXPAT_BUILTIN
="#"
50470 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50471 COND_WXUSE_EXPAT_BUILTIN
=""
50474 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50475 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50476 COND_WXUSE_LIBJPEG_BUILTIN
=""
50479 COND_WXUSE_LIBPNG_BUILTIN
="#"
50480 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50481 COND_WXUSE_LIBPNG_BUILTIN
=""
50484 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50485 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50486 COND_WXUSE_LIBTIFF_BUILTIN
=""
50489 COND_WXUSE_REGEX_BUILTIN
="#"
50490 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50491 COND_WXUSE_REGEX_BUILTIN
=""
50494 COND_WXUSE_ZLIB_BUILTIN
="#"
50495 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50496 COND_WXUSE_ZLIB_BUILTIN
=""
50499 COND_wxUSE_EXPAT_builtin
="#"
50500 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50501 COND_wxUSE_EXPAT_builtin
=""
50504 COND_wxUSE_LIBJPEG_builtin
="#"
50505 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50506 COND_wxUSE_LIBJPEG_builtin
=""
50509 COND_wxUSE_LIBPNG_builtin
="#"
50510 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50511 COND_wxUSE_LIBPNG_builtin
=""
50514 COND_wxUSE_LIBTIFF_builtin
="#"
50515 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50516 COND_wxUSE_LIBTIFF_builtin
=""
50519 COND_wxUSE_REGEX_builtin
="#"
50520 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50521 COND_wxUSE_REGEX_builtin
=""
50524 COND_wxUSE_ZLIB_builtin
="#"
50525 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50526 COND_wxUSE_ZLIB_builtin
=""
50531 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50532 { { 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
50533 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;}
50534 { (exit 1); exit 1; }; }
50537 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50538 { { 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
50539 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;}
50540 { (exit 1); exit 1; }; }
50547 ?
:* ) # Drive letter, considered as absolute.
50550 INSTALL
=`pwd`/${INSTALL} ;;
50553 if test "$wxUSE_GUI" = "yes"; then
50555 if test "$wxUSE_MSW" = 1 ; then
50556 if test "x$WINDRES" = "x"; then
50557 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50558 echo "$as_me: error: Required windres program not found" >&2;}
50559 { (exit 1); exit 1; }; }
50565 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50566 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50567 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50569 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50571 # Extract the first word of "DeRez", so it can be a program name with args.
50572 set dummy DeRez
; ac_word
=$2
50573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50575 if test "${ac_cv_prog_DEREZ+set}" = set; then
50576 echo $ECHO_N "(cached) $ECHO_C" >&6
50578 if test -n "$DEREZ"; then
50579 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50582 for as_dir
in $PATH
50585 test -z "$as_dir" && as_dir
=.
50586 for ac_exec_ext
in '' $ac_executable_extensions; do
50587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50588 ac_cv_prog_DEREZ
="DeRez"
50589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50596 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50599 DEREZ
=$ac_cv_prog_DEREZ
50600 if test -n "$DEREZ"; then
50601 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50602 echo "${ECHO_T}$DEREZ" >&6; }
50604 { echo "$as_me:$LINENO: result: no" >&5
50605 echo "${ECHO_T}no" >&6; }
50610 MACSETFILE
="\$(SETFILE)"
50612 if test "$wxUSE_OSX_CARBON" = 1; then
50613 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50615 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50617 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50618 RESCOMP
="cat /dev/null \| $REZ"
50619 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50625 if test "$wxUSE_PM" = 1; then
50627 WXCONFIG_RESFLAGS
="-ep"
50629 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50631 POSTLINK_COMMAND
="@true"
50638 if test $GCC_PCH = 1
50640 if test "$wx_cv_gcc_pch_bug" = yes; then
50641 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50642 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50643 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50644 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50645 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50646 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50649 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50650 # the headers that benefit from precompilation are mostly C++ headers.
50651 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50652 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50653 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50657 if test "$wxUSE_MAC" = 1 ; then
50658 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50659 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50665 if test "$wxUSE_SHARED" = "yes"; then
50667 *-pc-os2_emx | *-pc-os2-emx )
50668 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50669 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50670 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50671 cp -p ${srcdir}/src
/os
2/dllar.sh .
50675 if test "$wxUSE_OMF" = "yes"; then
50677 *-pc-os2_emx | *-pc-os2-emx )
50678 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50679 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50680 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50685 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50690 if test "$GCC" = yes; then
50691 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50692 LIBS
=`echo $LIBS | sed 's/-mt//'`
50693 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50698 if test "x$SUNCXX" = xyes
; then
50699 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50700 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50701 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50706 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50707 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50708 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50709 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50711 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50772 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50773 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50774 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50775 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50776 echo $ECHO_N "(cached) $ECHO_C" >&6
50778 cat >conftest.
make <<\_ACEOF
50781 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50783 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50784 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50785 *@@@
%%%=?
*=@@@
%%%*)
50786 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50788 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50790 rm -f conftest.
make
50792 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50793 { echo "$as_me:$LINENO: result: yes" >&5
50794 echo "${ECHO_T}yes" >&6; }
50797 { echo "$as_me:$LINENO: result: no" >&5
50798 echo "${ECHO_T}no" >&6; }
50799 SET_MAKE
="MAKE=${MAKE-make}"
50804 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50807 if test "$USE_WIN32" = 1; then
50808 ac_config_commands
="$ac_config_commands rcdefs.h"
50812 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50815 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50818 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50821 if test "$wx_cv_version_script" = "yes"; then
50822 ac_config_files
="$ac_config_files version-script"
50825 ac_config_files
="$ac_config_files Makefile"
50828 ac_config_commands
="$ac_config_commands wx-config"
50832 if test "$wxWITH_SUBDIRS" != "no"; then
50833 if test "$wxUSE_GUI" = "yes"; then
50834 SUBDIRS
="samples demos utils"
50836 SUBDIRS
="samples utils"
50841 # Check whether --with-cppunit-prefix was given.
50842 if test "${with_cppunit_prefix+set}" = set; then
50843 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50845 cppunit_config_prefix
=""
50849 # Check whether --with-cppunit-exec-prefix was given.
50850 if test "${with_cppunit_exec_prefix+set}" = set; then
50851 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50853 cppunit_config_exec_prefix
=""
50857 if test x
$cppunit_config_exec_prefix != x
; then
50858 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50859 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50860 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50863 if test x
$cppunit_config_prefix != x
; then
50864 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50865 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50866 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50870 # Extract the first word of "cppunit-config", so it can be a program name with args.
50871 set dummy cppunit
-config; ac_word
=$2
50872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50874 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50875 echo $ECHO_N "(cached) $ECHO_C" >&6
50877 case $CPPUNIT_CONFIG in
50879 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50883 for as_dir
in $PATH
50886 test -z "$as_dir" && as_dir
=.
50887 for ac_exec_ext
in '' $ac_executable_extensions; do
50888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50889 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50897 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50901 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50902 if test -n "$CPPUNIT_CONFIG"; then
50903 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50904 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50906 { echo "$as_me:$LINENO: result: no" >&5
50907 echo "${ECHO_T}no" >&6; }
50911 cppunit_version_min
=1.8.0
50913 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50914 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50916 if test "$CPPUNIT_CONFIG" = "no" ; then
50917 { echo "$as_me:$LINENO: result: no" >&5
50918 echo "${ECHO_T}no" >&6; }
50921 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50922 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50923 cppunit_version
=`$CPPUNIT_CONFIG --version`
50925 cppunit_major_version
=`echo $cppunit_version | \
50926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50927 cppunit_minor_version
=`echo $cppunit_version | \
50928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50929 cppunit_micro_version
=`echo $cppunit_version | \
50930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50932 cppunit_major_min
=`echo $cppunit_version_min | \
50933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50934 cppunit_minor_min
=`echo $cppunit_version_min | \
50935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50936 cppunit_micro_min
=`echo $cppunit_version_min | \
50937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50939 cppunit_version_proper
=`expr \
50940 $cppunit_major_version \> $cppunit_major_min \| \
50941 $cppunit_major_version \= $cppunit_major_min \& \
50942 $cppunit_minor_version \> $cppunit_minor_min \| \
50943 $cppunit_major_version \= $cppunit_major_min \& \
50944 $cppunit_minor_version \= $cppunit_minor_min \& \
50945 $cppunit_micro_version \>= $cppunit_micro_min `
50947 if test "$cppunit_version_proper" = "1" ; then
50948 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50949 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50951 { echo "$as_me:$LINENO: result: no" >&5
50952 echo "${ECHO_T}no" >&6; }
50957 if test "x$no_cppunit" = x
; then
50958 SUBDIRS
="$SUBDIRS tests"
50969 for subdir
in $SUBDIRS; do
50970 if test -d ${srcdir}/${subdir} ; then
50971 if test "$wxUSE_GUI" = "yes"; then
50972 if test ${subdir} = "samples"; then
50973 makefiles
="samples/Makefile.in $makefiles"
50974 for sample
in $SAMPLES_SUBDIRS; do
50975 if test -d $srcdir/samples
/$sample; then
50976 makefiles
="samples/$sample/Makefile.in $makefiles"
50980 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50981 eval "disabled=\$$disabled_var"
50982 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50983 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50986 if test ${subdir} = "samples"; then
50987 makefiles
="samples/Makefile.in $makefiles"
50988 for sample
in `echo $SAMPLES_SUBDIRS`; do
50989 if test -d $srcdir/samples
/$sample; then
50990 makefiles
="samples/$sample/Makefile.in $makefiles"
50993 elif test ${subdir} = "utils"; then
50995 for util
in ifacecheck
; do
50996 if test -d $srcdir/utils
/$util ; then
50997 makefiles
="utils/$util/src/Makefile.in \
51002 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51006 for mkin
in $makefiles ; do
51007 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51008 ac_config_files
="$ac_config_files $mk"
51014 cat >confcache
<<\_ACEOF
51015 # This file is a shell script that caches the results of configure
51016 # tests run on this system so they can be shared between configure
51017 # scripts and configure runs, see configure's option --config-cache.
51018 # It is not useful on other systems. If it contains results you don't
51019 # want to keep, you may remove or edit it.
51021 # config.status only pays attention to the cache file if you give it
51022 # the --recheck option to rerun configure.
51024 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51025 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51026 # following values.
51030 # The following way of writing the cache mishandles newlines in values,
51031 # but we know of no workaround that is simple, portable, and efficient.
51032 # So, we kill variables containing newlines.
51033 # Ultrix sh set writes to stderr and can't be redirected directly,
51034 # and sets the high bit in the cache file unless we assign to the vars.
51036 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51037 eval ac_val
=\$
$ac_var
51041 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51042 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51045 _
| IFS
| as_nl
) ;; #(
51046 *) $as_unset $ac_var ;;
51052 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51053 *${as_nl}ac_space
=\
*)
51054 # `set' does not quote correctly, so add quotes (double-quote
51055 # substitution turns \\\\ into \\, and sed turns \\ into \).
51058 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51061 # `set' quotes correctly as required by POSIX, so do not add quotes.
51062 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51071 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51073 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51075 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51076 if test -w "$cache_file"; then
51077 test "x$cache_file" != "x/dev/null" &&
51078 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51079 echo "$as_me: updating cache $cache_file" >&6;}
51080 cat confcache
>$cache_file
51082 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51083 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51088 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51089 # Let make expand exec_prefix.
51090 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51092 DEFS
=-DHAVE_CONFIG_H
51096 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51097 # 1. Remove the extension, and $U if already installed.
51098 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51099 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51100 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51101 # will be set to the directory where LIBOBJS objects are built.
51102 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51103 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51105 LIBOBJS
=$ac_libobjs
51107 LTLIBOBJS
=$ac_ltlibobjs
51111 : ${CONFIG_STATUS=./config.status}
51112 ac_clean_files_save
=$ac_clean_files
51113 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51114 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51115 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51116 cat >$CONFIG_STATUS <<_ACEOF
51118 # Generated by $as_me.
51119 # Run this file to recreate the current configuration.
51120 # Compiler output produced by configure, useful for debugging
51121 # configure, is in config.log if it exists.
51124 ac_cs_recheck=false
51126 SHELL=\${CONFIG_SHELL-$SHELL}
51129 cat >>$CONFIG_STATUS <<\_ACEOF
51130 ## --------------------- ##
51131 ## M4sh Initialization. ##
51132 ## --------------------- ##
51134 # Be more Bourne compatible
51135 DUALCASE
=1; export DUALCASE
# for MKS sh
51136 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51139 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51140 # is contrary to our usage. Disable this feature.
51141 alias -g '${1+"$@"}'='"$@"'
51142 setopt NO_GLOB_SUBST
51144 case `(set -o) 2>/dev/null` in
51145 *posix
*) set -o posix
;;
51154 # Avoid depending upon Character Ranges.
51155 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51156 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51157 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51158 as_cr_digits
='0123456789'
51159 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51161 # The user is always right.
51162 if test "${PATH_SEPARATOR+set}" != set; then
51163 echo "#! /bin/sh" >conf$$.sh
51164 echo "exit 0" >>conf$$.sh
51166 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51174 # Support unset when possible.
51175 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51183 # We need space, tab and new line, in precisely that order. Quoting is
51184 # there to prevent editors from complaining about space-tab.
51185 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51186 # splitting by setting IFS to empty value.)
51191 # Find who we are. Look in the path if we contain no directory separator.
51193 *[\\/]* ) as_myself
=$0 ;;
51194 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51195 for as_dir
in $PATH
51198 test -z "$as_dir" && as_dir
=.
51199 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51205 # We did not find ourselves, most probably we were run as `sh COMMAND'
51206 # in which case we are not to be found in the path.
51207 if test "x$as_myself" = x
; then
51210 if test ! -f "$as_myself"; then
51211 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51212 { (exit 1); exit 1; }
51215 # Work around bugs in pre-3.0 UWIN ksh.
51216 for as_var
in ENV MAIL MAILPATH
51217 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51225 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51226 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51227 LC_TELEPHONE LC_TIME
51229 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51230 eval $as_var=C
; export $as_var
51232 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51236 # Required to use basename.
51237 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51238 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51244 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51245 as_basename
=basename
51251 # Name of the executable.
51252 as_me
=`$as_basename -- "$0" ||
51253 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51254 X"$0" : 'X\(//\)$' \| \
51255 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51257 sed '/^.*\/\([^/][^/]*\)\/*$/{
51276 as_lineno_1
=$LINENO
51277 as_lineno_2
=$LINENO
51278 test "x$as_lineno_1" != "x$as_lineno_2" &&
51279 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51281 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51282 # uniformly replaced by the line number. The first 'sed' inserts a
51283 # line-number line after each line using $LINENO; the second 'sed'
51284 # does the real work. The second script uses 'N' to pair each
51285 # line-number line with the line containing $LINENO, and appends
51286 # trailing '-' during substitution so that $LINENO is not a special
51287 # case at line end.
51288 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51289 # scripts with optimization help from Paolo Bonzini. Blame Lee
51290 # E. McMahon (1931-1989) for sed's syntax. :-)
51302 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51305 ' >$as_me.lineno
&&
51306 chmod +x
"$as_me.lineno" ||
51307 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51308 { (exit 1); exit 1; }; }
51310 # Don't try to exec as it changes $[0], causing all sort of problems
51311 # (the dirname of $[0] is not the place where we might find the
51312 # original and so on. Autoconf is especially sensitive to this).
51313 .
"./$as_me.lineno"
51314 # Exit status is that of the last command.
51319 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51325 ECHO_C
= ECHO_N
= ECHO_T
=
51326 case `echo -n x` in
51328 case `echo 'x\c'` in
51329 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51336 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51337 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51343 rm -f conf$$ conf$$.exe conf$$.
file
51344 if test -d conf$$.dir
; then
51345 rm -f conf$$.dir
/conf$$.
file
51351 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51353 # ... but there are two gotchas:
51354 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51355 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51356 # In both cases, we have to default to `cp -p'.
51357 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51359 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51364 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51365 rmdir conf$$.dir
2>/dev
/null
51367 if mkdir -p .
2>/dev
/null
; then
51370 test -d .
/-p && rmdir .
/-p
51374 if test -x / >/dev
/null
2>&1; then
51375 as_test_x
='test -x'
51377 if ls -dL / >/dev
/null
2>&1; then
51384 if test -d "$1"; then
51390 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51391 ???[sx]*):;;*)false;;esac;fi
51395 as_executable_p
=$as_test_x
51397 # Sed expression to map a string onto a valid CPP name.
51398 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51400 # Sed expression to map a string onto a valid variable name.
51401 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51406 # Save the log message, to keep $[0] and so on meaningful, and to
51407 # report actual input values of CONFIG_FILES etc. instead of their
51408 # values after options handling.
51410 This file was extended by wxWidgets $as_me 2.9.0, which was
51411 generated by GNU Autoconf 2.61. Invocation command line was
51413 CONFIG_FILES = $CONFIG_FILES
51414 CONFIG_HEADERS = $CONFIG_HEADERS
51415 CONFIG_LINKS = $CONFIG_LINKS
51416 CONFIG_COMMANDS = $CONFIG_COMMANDS
51419 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51424 cat >>$CONFIG_STATUS <<_ACEOF
51425 # Files that config.status was made for.
51426 config_files="$ac_config_files"
51427 config_headers="$ac_config_headers"
51428 config_commands="$ac_config_commands"
51432 cat >>$CONFIG_STATUS <<\_ACEOF
51434 \`$as_me' instantiates files from templates according to the
51435 current configuration.
51437 Usage: $0 [OPTIONS] [FILE]...
51439 -h, --help print this help, then exit
51440 -V, --version print version number and configuration settings, then exit
51441 -q, --quiet do not print progress messages
51442 -d, --debug don't remove temporary files
51443 --recheck update $as_me by reconfiguring in the same conditions
51444 --file=FILE[:TEMPLATE]
51445 instantiate the configuration file FILE
51446 --header=FILE[:TEMPLATE]
51447 instantiate the configuration header FILE
51449 Configuration files:
51452 Configuration headers:
51455 Configuration commands:
51458 Report bugs to <bug-autoconf@gnu.org>."
51461 cat >>$CONFIG_STATUS <<_ACEOF
51463 wxWidgets config.status 2.9.0
51464 configured by $0, generated by GNU Autoconf 2.61,
51465 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51467 Copyright (C) 2006 Free Software Foundation, Inc.
51468 This config.status script is free software; the Free Software Foundation
51469 gives unlimited permission to copy, distribute and modify it."
51476 cat >>$CONFIG_STATUS <<\_ACEOF
51477 # If no file are specified by the user, then we need to provide default
51478 # value. By we need to know if files were specified by the user.
51484 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51485 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51496 # Handling of the options.
51497 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51499 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51500 echo "$ac_cs_version"; exit ;;
51501 --debug | --debu | --deb | --de | --d | -d )
51503 --file | --fil | --fi | --f )
51505 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51506 ac_need_defaults
=false
;;
51507 --header | --heade | --head | --hea )
51509 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51510 ac_need_defaults
=false
;;
51512 # Conflict between --help and --header
51513 { echo "$as_me: error: ambiguous option: $1
51514 Try \`$0 --help' for more information." >&2
51515 { (exit 1); exit 1; }; };;
51516 --help | --hel | -h )
51517 echo "$ac_cs_usage"; exit ;;
51518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51519 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51522 # This is an error.
51523 -*) { echo "$as_me: error: unrecognized option: $1
51524 Try \`$0 --help' for more information." >&2
51525 { (exit 1); exit 1; }; } ;;
51527 *) ac_config_targets
="$ac_config_targets $1"
51528 ac_need_defaults
=false
;;
51534 ac_configure_extra_args
=
51536 if $ac_cs_silent; then
51538 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51542 cat >>$CONFIG_STATUS <<_ACEOF
51543 if \$ac_cs_recheck; then
51544 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51545 CONFIG_SHELL=$SHELL
51546 export CONFIG_SHELL
51547 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51551 cat >>$CONFIG_STATUS <<\_ACEOF
51555 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51556 ## Running $as_me. ##
51562 cat >>$CONFIG_STATUS <<_ACEOF
51568 infile="$srcdir/include/wx/msw/genrcdefs.h"
51569 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51572 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51573 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51574 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51580 cat >>$CONFIG_STATUS <<\_ACEOF
51582 # Handling of arguments.
51583 for ac_config_target
in $ac_config_targets
51585 case $ac_config_target in
51586 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51587 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51588 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51589 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51590 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51591 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51592 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51593 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51594 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51596 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51597 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51598 { (exit 1); exit 1; }; };;
51603 # If the user did not use the arguments to specify the items to instantiate,
51604 # then the envvar interface is used. Set only those that are not.
51605 # We use the long form for the default assignment because of an extremely
51606 # bizarre bug on SunOS 4.1.3.
51607 if $ac_need_defaults; then
51608 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51609 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51610 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51613 # Have a temporary directory for convenience. Make it in the build tree
51614 # simply because there is no reason against having it here, and in addition,
51615 # creating and moving files from /tmp can sometimes cause problems.
51616 # Hook for its removal unless debugging.
51617 # Note that there is a small window in which the directory will not be cleaned:
51618 # after its creation but before its name has been assigned to `$tmp'.
51622 trap 'exit_status=$?
51623 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51625 trap '{ (exit 1); exit 1; }' 1 2 13 15
51627 # Create a (secure) tmp directory for tmp files.
51630 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51631 test -n "$tmp" && test -d "$tmp"
51634 tmp
=.
/conf$$
-$RANDOM
51635 (umask 077 && mkdir "$tmp")
51638 echo "$me: cannot create a temporary directory in ." >&2
51639 { (exit 1); exit 1; }
51643 # Set up the sed scripts for CONFIG_FILES section.
51646 # No need to generate the scripts if there are no CONFIG_FILES.
51647 # This happens for instance when ./config.status config.h
51648 if test -n "$CONFIG_FILES"; then
51655 for ac_last_try
in false false false false false
:; do
51656 cat >conf$
$subs.
sed <<_ACEOF
51657 SHELL!$SHELL$ac_delim
51658 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51659 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51660 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51661 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51662 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51663 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51664 exec_prefix!$exec_prefix$ac_delim
51665 prefix!$prefix$ac_delim
51666 program_transform_name!$program_transform_name$ac_delim
51667 bindir!$bindir$ac_delim
51668 sbindir!$sbindir$ac_delim
51669 libexecdir!$libexecdir$ac_delim
51670 datarootdir!$datarootdir$ac_delim
51671 datadir!$datadir$ac_delim
51672 sysconfdir!$sysconfdir$ac_delim
51673 sharedstatedir!$sharedstatedir$ac_delim
51674 localstatedir!$localstatedir$ac_delim
51675 includedir!$includedir$ac_delim
51676 oldincludedir!$oldincludedir$ac_delim
51677 docdir!$docdir$ac_delim
51678 infodir!$infodir$ac_delim
51679 htmldir!$htmldir$ac_delim
51680 dvidir!$dvidir$ac_delim
51681 pdfdir!$pdfdir$ac_delim
51682 psdir!$psdir$ac_delim
51683 libdir!$libdir$ac_delim
51684 localedir!$localedir$ac_delim
51685 mandir!$mandir$ac_delim
51686 DEFS!$DEFS$ac_delim
51687 ECHO_C!$ECHO_C$ac_delim
51688 ECHO_N!$ECHO_N$ac_delim
51689 ECHO_T!$ECHO_T$ac_delim
51690 LIBS!$LIBS$ac_delim
51691 build_alias!$build_alias$ac_delim
51692 host_alias!$host_alias$ac_delim
51693 target_alias!$target_alias$ac_delim
51694 build!$build$ac_delim
51695 build_cpu!$build_cpu$ac_delim
51696 build_vendor!$build_vendor$ac_delim
51697 build_os!$build_os$ac_delim
51698 host!$host$ac_delim
51699 host_cpu!$host_cpu$ac_delim
51700 host_vendor!$host_vendor$ac_delim
51701 host_os!$host_os$ac_delim
51702 wx_top_builddir!$wx_top_builddir$ac_delim
51704 CFLAGS!$CFLAGS$ac_delim
51705 LDFLAGS!$LDFLAGS$ac_delim
51706 CPPFLAGS!$CPPFLAGS$ac_delim
51707 ac_ct_CC!$ac_ct_CC$ac_delim
51708 EXEEXT!$EXEEXT$ac_delim
51709 OBJEXT!$OBJEXT$ac_delim
51711 GREP!$GREP$ac_delim
51712 EGREP!$EGREP$ac_delim
51714 CXXFLAGS!$CXXFLAGS$ac_delim
51715 ac_ct_CXX!$ac_ct_CXX$ac_delim
51717 subdirs!$subdirs$ac_delim
51718 PKG_CONFIG!$PKG_CONFIG$ac_delim
51719 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51720 GTK_LIBS!$GTK_LIBS$ac_delim
51721 GTK_CONFIG!$GTK_CONFIG$ac_delim
51722 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51723 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51724 XMKMF!$XMKMF$ac_delim
51725 X_CFLAGS!$X_CFLAGS$ac_delim
51726 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51727 X_LIBS!$X_LIBS$ac_delim
51728 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51729 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51730 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51731 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51732 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51733 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51734 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51735 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51736 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51737 LIBICONV!$LIBICONV$ac_delim
51738 GXX_VERSION!$GXX_VERSION$ac_delim
51739 SDL_CONFIG!$SDL_CONFIG$ac_delim
51740 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51741 SDL_LIBS!$SDL_LIBS$ac_delim
51742 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51743 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51744 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51745 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51746 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51747 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51748 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51749 HILDON_LIBS!$HILDON_LIBS$ac_delim
51750 PYTHON!$PYTHON$ac_delim
51751 COND_PYTHON!$COND_PYTHON$ac_delim
51752 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51753 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51756 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51758 elif $ac_last_try; then
51759 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51760 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51761 { (exit 1); exit 1; }; }
51763 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51767 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51768 if test -n "$ac_eof"; then
51769 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51770 ac_eof
=`expr $ac_eof + 1`
51773 cat >>$CONFIG_STATUS <<_ACEOF
51774 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51775 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51778 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51779 s/^/s,@/; s/!/@,|#_!!_#|/
51782 s/'"$ac_delim"'$/,g/; t
51784 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51785 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51786 rm -f conf$
$subs.
sed
51787 cat >>$CONFIG_STATUS <<_ACEOF
51793 for ac_last_try
in false false false false false
:; do
51794 cat >conf$
$subs.
sed <<_ACEOF
51795 GST_CFLAGS!$GST_CFLAGS$ac_delim
51796 GST_LIBS!$GST_LIBS$ac_delim
51797 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51798 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51799 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51800 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51801 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51802 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51803 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51804 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51805 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51806 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51807 VENDOR!$VENDOR$ac_delim
51808 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51809 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51810 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51811 WXUNIV!$WXUNIV$ac_delim
51812 MONOLITHIC!$MONOLITHIC$ac_delim
51813 USE_PLUGINS!$USE_PLUGINS$ac_delim
51814 CXXWARNINGS!$CXXWARNINGS$ac_delim
51815 EXTRALIBS!$EXTRALIBS$ac_delim
51816 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51817 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51818 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51819 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51820 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51821 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51822 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51823 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51824 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51825 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51826 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51827 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51828 UNICODE!$UNICODE$ac_delim
51829 BUILD!$BUILD$ac_delim
51830 DEBUG_INFO!$DEBUG_INFO$ac_delim
51831 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51832 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51833 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51834 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51835 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51836 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51837 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51838 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51839 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51840 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51841 RANLIB!$RANLIB$ac_delim
51842 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51843 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51844 INSTALL_DATA!$INSTALL_DATA$ac_delim
51845 LN_S!$LN_S$ac_delim
51846 SET_MAKE!$SET_MAKE$ac_delim
51847 MAKE_SET!$MAKE_SET$ac_delim
51848 AROPTIONS!$AROPTIONS$ac_delim
51849 STRIP!$STRIP$ac_delim
51851 INSTALL_DIR!$INSTALL_DIR$ac_delim
51852 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51853 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51854 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51855 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51856 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51857 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51858 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51859 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51860 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51861 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51862 SO_SUFFIX!$SO_SUFFIX$ac_delim
51863 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51864 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51865 LIBPREFIX!$LIBPREFIX$ac_delim
51866 LIBEXT!$LIBEXT$ac_delim
51867 DLLPREFIX!$DLLPREFIX$ac_delim
51868 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51869 dlldir!$dlldir$ac_delim
51870 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51871 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51872 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51873 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51874 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51875 PIC_FLAG!$PIC_FLAG$ac_delim
51876 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51877 USE_SOVERSION!$USE_SOVERSION$ac_delim
51878 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51879 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51880 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51881 USE_MACVERSION!$USE_MACVERSION$ac_delim
51882 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51883 SONAME_FLAG!$SONAME_FLAG$ac_delim
51884 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51885 BK_DEPS!$BK_DEPS$ac_delim
51886 WINDRES!$WINDRES$ac_delim
51888 SETFILE!$SETFILE$ac_delim
51889 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51890 GCC_PCH!$GCC_PCH$ac_delim
51891 ICC_PCH!$ICC_PCH$ac_delim
51894 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51896 elif $ac_last_try; then
51897 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51898 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51899 { (exit 1); exit 1; }; }
51901 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51905 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51906 if test -n "$ac_eof"; then
51907 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51908 ac_eof
=`expr $ac_eof + 1`
51911 cat >>$CONFIG_STATUS <<_ACEOF
51912 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51916 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51917 s/^/s,@/; s/!/@,|#_!!_#|/
51920 s/'"$ac_delim"'$/,g/; t
51922 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51923 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51924 rm -f conf$
$subs.
sed
51925 cat >>$CONFIG_STATUS <<_ACEOF
51931 for ac_last_try
in false false false false false
:; do
51932 cat >conf$
$subs.
sed <<_ACEOF
51933 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51934 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51935 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51936 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51937 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51938 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51939 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51940 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51941 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51942 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51943 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51944 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51945 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51946 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51947 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51948 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51949 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51950 COND_BUILD_release!$COND_BUILD_release$ac_delim
51951 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51952 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51953 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51954 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51955 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51956 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51957 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51958 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51959 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51960 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51961 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51962 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51963 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51964 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51965 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51966 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51967 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51968 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51969 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51970 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51971 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51972 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51973 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51974 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51975 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51976 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51977 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51978 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51979 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51980 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51981 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51982 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51983 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51984 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51985 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51986 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51987 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51988 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51989 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51990 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51991 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51992 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51993 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51994 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51995 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51996 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51997 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51998 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51999 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52000 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52001 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52002 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
52003 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52004 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
52005 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52006 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52007 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52008 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52009 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52010 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52011 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52012 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52013 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52014 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52015 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52016 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52017 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52018 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52019 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52020 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52021 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52022 COND_SHARED_0!$COND_SHARED_0$ac_delim
52023 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52024 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52025 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52026 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52027 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52028 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52029 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52032 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52034 elif $ac_last_try; then
52035 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52036 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52037 { (exit 1); exit 1; }; }
52039 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52043 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52044 if test -n "$ac_eof"; then
52045 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52046 ac_eof
=`expr $ac_eof + 1`
52049 cat >>$CONFIG_STATUS <<_ACEOF
52050 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52051 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52054 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52055 s/^/s,@/; s/!/@,|#_!!_#|/
52058 s/'"$ac_delim"'$/,g/; t
52060 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52061 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52062 rm -f conf$
$subs.
sed
52063 cat >>$CONFIG_STATUS <<_ACEOF
52069 for ac_last_try
in false false false false false
:; do
52070 cat >conf$
$subs.
sed <<_ACEOF
52071 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52072 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52073 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52074 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52075 COND_SHARED_1!$COND_SHARED_1$ac_delim
52076 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52077 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52078 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52079 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52080 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52081 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52082 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52083 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52084 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52085 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52086 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52087 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52088 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52089 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52090 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52091 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52092 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52093 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52094 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52095 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52096 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52097 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52098 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52099 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52100 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52101 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52102 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52103 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52104 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52105 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52106 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52107 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52108 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52109 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52110 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52111 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52112 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52113 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52114 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52115 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52116 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52117 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52118 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52119 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52120 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52121 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52122 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52123 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52124 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52125 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52126 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52127 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52128 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52129 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52130 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52131 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52132 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52133 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52134 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52135 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52136 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52137 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52138 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52139 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52140 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52141 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52142 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52143 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52144 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52145 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52146 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52147 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52148 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52149 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52150 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52151 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52152 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52153 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52154 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52155 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52156 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52157 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52158 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52159 DEREZ!$DEREZ$ac_delim
52160 SHARED!$SHARED$ac_delim
52161 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52162 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52163 USE_GUI!$USE_GUI$ac_delim
52164 AFMINSTALL!$AFMINSTALL$ac_delim
52165 WIN32INSTALL!$WIN32INSTALL$ac_delim
52166 TOOLKIT!$TOOLKIT$ac_delim
52167 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52170 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52172 elif $ac_last_try; then
52173 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52174 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52175 { (exit 1); exit 1; }; }
52177 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52181 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52182 if test -n "$ac_eof"; then
52183 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52184 ac_eof
=`expr $ac_eof + 1`
52187 cat >>$CONFIG_STATUS <<_ACEOF
52188 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52189 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52192 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52193 s/^/s,@/; s/!/@,|#_!!_#|/
52196 s/'"$ac_delim"'$/,g/; t
52198 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52199 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52200 rm -f conf$
$subs.
sed
52201 cat >>$CONFIG_STATUS <<_ACEOF
52207 for ac_last_try
in false false false false false
:; do
52208 cat >conf$
$subs.
sed <<_ACEOF
52209 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52210 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52211 cross_compiling!$cross_compiling$ac_delim
52212 WIDGET_SET!$WIDGET_SET$ac_delim
52213 WX_RELEASE!$WX_RELEASE$ac_delim
52214 WX_VERSION!$WX_VERSION$ac_delim
52215 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52216 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52217 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52218 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52219 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52220 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52221 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52222 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52223 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52224 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52225 GUIDIST!$GUIDIST$ac_delim
52226 DISTDIR!$DISTDIR$ac_delim
52227 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52228 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52229 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52230 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52231 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52232 RESCOMP!$RESCOMP$ac_delim
52233 RESFLAGS!$RESFLAGS$ac_delim
52234 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52235 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52236 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52237 LIBWXMACRES!$LIBWXMACRES$ac_delim
52238 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52239 MACSETFILE!$MACSETFILE$ac_delim
52241 DLLTOOL!$DLLTOOL$ac_delim
52242 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52243 LIBOBJS!$LIBOBJS$ac_delim
52244 LTLIBOBJS!$LTLIBOBJS$ac_delim
52247 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
52249 elif $ac_last_try; then
52250 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52251 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52252 { (exit 1); exit 1; }; }
52254 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52258 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52259 if test -n "$ac_eof"; then
52260 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52261 ac_eof
=`expr $ac_eof + 1`
52264 cat >>$CONFIG_STATUS <<_ACEOF
52265 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52266 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52269 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52270 s/^/s,@/; s/!/@,|#_!!_#|/
52273 s/'"$ac_delim"'$/,g/; t
52275 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52276 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52277 rm -f conf$
$subs.
sed
52278 cat >>$CONFIG_STATUS <<_ACEOF
52285 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52286 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52287 # trailing colons and then remove the whole line if VPATH becomes empty
52288 # (actually we leave an empty line to preserve line numbers).
52289 if test "x$srcdir" = x.
; then
52290 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52291 s/:*\$(srcdir):*/:/
52292 s/:*\${srcdir}:*/:/
52294 s/^\([^=]*=[ ]*\):*/\1/
52300 cat >>$CONFIG_STATUS <<\_ACEOF
52301 fi # test -n "$CONFIG_FILES"
52304 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52307 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52309 case $ac_mode$ac_tag in
52311 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52312 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52313 { (exit 1); exit 1; }; };;
52314 :[FH
]-) ac_tag
=-:-;;
52315 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52332 -) ac_f
="$tmp/stdin";;
52333 *) # Look for the file first in the build tree, then in the source tree
52334 # (if the path is not absolute). The absolute path cannot be DOS-style,
52335 # because $ac_f cannot contain `:'.
52339 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52341 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52342 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52343 { (exit 1); exit 1; }; };;
52345 ac_file_inputs
="$ac_file_inputs $ac_f"
52348 # Let's still pretend it is `configure' which instantiates (i.e., don't
52349 # use $as_me), people would be surprised to read:
52350 # /* config.h. Generated by config.status. */
52351 configure_input
="Generated from "`IFS=:
52352 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52353 if test x
"$ac_file" != x
-; then
52354 configure_input
="$ac_file. $configure_input"
52355 { echo "$as_me:$LINENO: creating $ac_file" >&5
52356 echo "$as_me: creating $ac_file" >&6;}
52360 *:-:* | *:-) cat >"$tmp/stdin";;
52365 ac_dir
=`$as_dirname -- "$ac_file" ||
52366 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52367 X"$ac_file" : 'X\(//\)[^/]' \| \
52368 X"$ac_file" : 'X\(//\)$' \| \
52369 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52375 /^X\(\/\/\)[^/].*/{
52390 -*) as_dir
=.
/$as_dir;;
52392 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52396 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52397 *) as_qdir
=$as_dir;;
52399 as_dirs
="'$as_qdir' $as_dirs"
52400 as_dir
=`$as_dirname -- "$as_dir" ||
52401 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52402 X"$as_dir" : 'X\(//\)[^/]' \| \
52403 X"$as_dir" : 'X\(//\)$' \| \
52404 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52410 /^X\(\/\/\)[^/].*/{
52423 test -d "$as_dir" && break
52425 test -z "$as_dirs" || eval "mkdir $as_dirs"
52426 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52427 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52428 { (exit 1); exit 1; }; }; }
52432 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52434 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52435 # A ".." for each directory in $ac_dir_suffix.
52436 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52437 case $ac_top_builddir_sub in
52438 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52439 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52442 ac_abs_top_builddir
=$ac_pwd
52443 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52444 # for backward compatibility:
52445 ac_top_builddir
=$ac_top_build_prefix
52448 .
) # We are building in place.
52450 ac_top_srcdir
=$ac_top_builddir_sub
52451 ac_abs_top_srcdir
=$ac_pwd ;;
52452 [\\/]* | ?
:[\\/]* ) # Absolute name.
52453 ac_srcdir
=$srcdir$ac_dir_suffix;
52454 ac_top_srcdir
=$srcdir
52455 ac_abs_top_srcdir
=$srcdir ;;
52456 *) # Relative name.
52457 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52458 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52459 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52461 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52471 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52472 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52476 cat >>$CONFIG_STATUS <<\_ACEOF
52477 # If the template does not know about datarootdir, expand it.
52478 # FIXME: This hack should be removed a few years after 2.60.
52479 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52481 case `sed -n '/datarootdir/ {
52490 ' $ac_file_inputs` in
52491 *datarootdir
*) ac_datarootdir_seen
=yes;;
52492 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52493 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52494 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52496 cat >>$CONFIG_STATUS <<_ACEOF
52497 ac_datarootdir_hack='
52498 s&@datadir@&$datadir&g
52499 s&@docdir@&$docdir&g
52500 s&@infodir@&$infodir&g
52501 s&@localedir@&$localedir&g
52502 s&@mandir@&$mandir&g
52503 s&\\\${datarootdir}&$datarootdir&g' ;;
52507 # Neutralize VPATH when `$srcdir' = `.'.
52508 # Shell code in configure.ac might set extrasub.
52509 # FIXME: do we really want to maintain this feature?
52510 cat >>$CONFIG_STATUS <<_ACEOF
52514 cat >>$CONFIG_STATUS <<\_ACEOF
52516 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52517 s
&@configure_input@
&$configure_input&;t t
52518 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52519 s
&@srcdir@
&$ac_srcdir&;t t
52520 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52521 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52522 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52523 s
&@builddir@
&$ac_builddir&;t t
52524 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52525 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52526 s
&@INSTALL@
&$ac_INSTALL&;t t
52527 $ac_datarootdir_hack
52528 " $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
52530 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52531 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52532 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52533 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52534 which seems to be undefined. Please make sure it is defined." >&5
52535 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52536 which seems to be undefined. Please make sure it is defined." >&2;}
52540 -) cat "$tmp/out"; rm -f "$tmp/out";;
52541 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52550 # Transform confdefs.h into a sed script `conftest.defines', that
52551 # substitutes the proper values into config.h.in to produce config.h.
52552 rm -f conftest.defines conftest.
tail
52553 # First, append a space to every undef/define line, to ease matching.
52554 echo 's/$/ /' >conftest.defines
52555 # Then, protect against being on the right side of a sed subst, or in
52556 # an unquoted here document, in config.status. If some macros were
52557 # called several times there might be several #defines for the same
52558 # symbol, which is useless. But do not sort them, since the last
52559 # AC_DEFINE must be honored.
52560 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52561 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52562 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52563 # PARAMS is the parameter list in the macro definition--in most cases, it's
52564 # just an empty string.
52565 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52566 ac_dB
='\\)[ (].*,\\1define\\2'
52574 s/^[ ]*#[ ]*define[ ][ ]*//
52579 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52580 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52581 ' >>conftest.defines
52583 # Remove the space that was appended to ease matching.
52584 # Then replace #undef with comments. This is necessary, for
52585 # example, in the case of _POSIX_SOURCE, which is predefined and required
52586 # on some systems where configure will not decide to define it.
52587 # (The regexp can be short, since the line contains either #define or #undef.)
52589 s,^[ #]*u.*,/* & */,' >>conftest.defines
52591 # Break up conftest.defines:
52592 ac_max_sed_lines
=50
52594 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52595 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52596 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52598 ac_in
='$ac_file_inputs'
52599 ac_out
='"$tmp/out1"'
52600 ac_nxt
='"$tmp/out2"'
52604 # Write a here document:
52605 cat >>$CONFIG_STATUS <<_ACEOF
52606 # First, check the format of the line:
52607 cat >"\$tmp/defines.sed" <<\\CEOF
52608 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52609 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52613 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52615 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52616 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52617 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52618 grep . conftest.
tail >/dev
/null
|| break
52619 rm -f conftest.defines
52620 mv conftest.
tail conftest.defines
52622 rm -f conftest.defines conftest.
tail
52624 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52625 cat >>$CONFIG_STATUS <<\_ACEOF
52626 if test x
"$ac_file" != x
-; then
52627 echo "/* $configure_input */" >"$tmp/config.h"
52628 cat "$ac_result" >>"$tmp/config.h"
52629 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52630 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52631 echo "$as_me: $ac_file is unchanged" >&6;}
52634 mv "$tmp/config.h" $ac_file
52637 echo "/* $configure_input */"
52643 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52644 echo "$as_me: executing $ac_file commands" >&6;}
52649 case $ac_file$ac_mode in
52651 mkdir -p $outdir &&
52652 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52654 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52655 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52656 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52657 "wx-config":C
) rm -f wx
-config
52658 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52665 { (exit 0); exit 0; }
52667 chmod +x
$CONFIG_STATUS
52668 ac_clean_files
=$ac_clean_files_save
52671 # configure is writing to config.log, and then calls config.status.
52672 # config.status does its own redirection, appending to config.log.
52673 # Unfortunately, on DOS this fails, as config.log is still kept open
52674 # by configure, so config.status won't be able to write to it; its
52675 # output is simply discarded. So we exec the FD to /dev/null,
52676 # effectively closing config.log, so it can be properly (re)opened and
52677 # appended to by config.status. When coming back to configure, we
52678 # need to make the FD available again.
52679 if test "$no_create" != yes; then
52681 ac_config_status_args
=
52682 test "$silent" = yes &&
52683 ac_config_status_args
="$ac_config_status_args --quiet"
52685 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52687 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52688 # would make configure fail if this is the last instruction.
52689 $ac_cs_success || { (exit 1); exit 1; }
52693 # CONFIG_SUBDIRS section.
52695 if test "$no_recursion" != yes; then
52697 # Remove --cache-file and --srcdir arguments so they do not pile up.
52698 ac_sub_configure_args
=
52700 eval "set x $ac_configure_args"
52704 if test -n "$ac_prev"; then
52709 -cache-file | --cache-file | --cache-fil | --cache-fi \
52710 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52711 ac_prev
=cache_file
;;
52712 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52713 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52716 --config-cache | -C)
52718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52722 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52724 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52728 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52730 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52734 # Always prepend --prefix to ensure using the same prefix
52735 # in subdir configurations.
52736 ac_arg
="--prefix=$prefix"
52738 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52740 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52743 if test "$silent" = yes; then
52744 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52748 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52750 # Do not complain, so a configure script can configure whichever
52751 # parts of a large source tree are present.
52752 test -d "$srcdir/$ac_dir" || continue
52754 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52755 echo "$as_me:$LINENO: $ac_msg" >&5
52759 -*) as_dir
=.
/$as_dir;;
52761 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52765 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52766 *) as_qdir
=$as_dir;;
52768 as_dirs
="'$as_qdir' $as_dirs"
52769 as_dir
=`$as_dirname -- "$as_dir" ||
52770 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52771 X"$as_dir" : 'X\(//\)[^/]' \| \
52772 X"$as_dir" : 'X\(//\)$' \| \
52773 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52779 /^X\(\/\/\)[^/].*/{
52792 test -d "$as_dir" && break
52794 test -z "$as_dirs" || eval "mkdir $as_dirs"
52795 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52796 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52797 { (exit 1); exit 1; }; }; }
52801 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52803 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52804 # A ".." for each directory in $ac_dir_suffix.
52805 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52806 case $ac_top_builddir_sub in
52807 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52808 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52811 ac_abs_top_builddir
=$ac_pwd
52812 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52813 # for backward compatibility:
52814 ac_top_builddir
=$ac_top_build_prefix
52817 .
) # We are building in place.
52819 ac_top_srcdir
=$ac_top_builddir_sub
52820 ac_abs_top_srcdir
=$ac_pwd ;;
52821 [\\/]* | ?
:[\\/]* ) # Absolute name.
52822 ac_srcdir
=$srcdir$ac_dir_suffix;
52823 ac_top_srcdir
=$srcdir
52824 ac_abs_top_srcdir
=$srcdir ;;
52825 *) # Relative name.
52826 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52827 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52828 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52830 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52835 # Check for guested configure; otherwise get Cygnus style configure.
52836 if test -f "$ac_srcdir/configure.gnu"; then
52837 ac_sub_configure
=$ac_srcdir/configure.gnu
52838 elif test -f "$ac_srcdir/configure"; then
52839 ac_sub_configure
=$ac_srcdir/configure
52840 elif test -f "$ac_srcdir/configure.in"; then
52841 # This should be Cygnus configure.
52842 ac_sub_configure
=$ac_aux_dir/configure
52844 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52845 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52849 # The recursion is here.
52850 if test -n "$ac_sub_configure"; then
52851 # Make the cache file name correct relative to the subdirectory.
52852 case $cache_file in
52853 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52854 *) # Relative name.
52855 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52858 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52859 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52860 # The eval makes quoting arguments work.
52861 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52862 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52863 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52864 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52865 { (exit 1); exit 1; }; }
52874 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52876 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52877 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52879 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52880 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52881 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52882 if test "$wxUSE_UNICODE" = "yes"; then
52883 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52884 echo " (using UTF-8)"
52886 echo " (using wchar_t)"
52892 echo " What level of wxWidgets compatibility should be enabled?"
52893 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52894 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52896 echo " Which libraries should wxWidgets use?"
52897 echo " STL ${wxUSE_STL}"
52898 echo " jpeg ${wxUSE_LIBJPEG-none}"
52899 echo " png ${wxUSE_LIBPNG-none}"
52900 echo " regex ${wxUSE_REGEX}"
52901 echo " tiff ${wxUSE_LIBTIFF-none}"
52902 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52903 echo " xpm ${wxUSE_LIBXPM-none}"
52905 echo " zlib ${wxUSE_ZLIB}"
52906 echo " expat ${wxUSE_EXPAT}"
52907 echo " libmspack ${wxUSE_LIBMSPACK}"
52908 echo " sdl ${wxUSE_LIBSDL}"